SID.log file too large
Upgrade SYBASE ASE from 15.7 to 16.0 / upgrade_bs_rdbms issue
Hello Experts,
Facing the below issues with the upgrade_bs_rdbms.bat.
1.yesterday I had tried running the batch file upgrade_bs_rdbms.bat then it has asked me master device path
but i could not proceed with the upgrade as I had faced Iog in issues for user-sa.. today after solving that issue I had run the bat file again.but this time it had not asked for the master device password.
2.it has just asked for Sa password and ASE os user and its password. then am facing the below error. and after this error DB service is going down,
I have tried this with <SID>adm & also with syb<sid> .. result remained the same.
please help how to proceed.(EP2 is my SID.)
thanks in advance.
Indrajith.
SQL1505][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Create unique index aborted on duplicate key
Hi All,
System copy export completed but while importing into the Target system getting below error.
Error:
(SQL error 3701)
error message returned by DbSl:
[ASE Error SQL3701][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Cannot drop the index '/BI0/F0SMD_PED1./BI0/F0SMD_PED1~0', because it doesn't exist in the system catalogs.
(IMP) INFO: a failed DROP attempt is not necessarily a problem
(DB) ERROR: DDL statement failed
(CREATE UNIQUE INDEX "/BI0/F0SMD_PED1~0" ON "/BI0/F0SMD_PED1" ( "KEY_0SMD_PED1P", "KEY_0SMD_PED1T", "KEY_0SMD_PED1U", "KEY_0SMD_PED11", "KEY_0SMD_PED12", "KEY_0SMD_PED13", "KEY_0SMD_PED14", "KEY_0SMD_PED15", "KEY_0SMD_PED16", "KEY_0SMD_PED17", "KEY_0SMD_PED18", "KEY_0SMD_PED19" ) with sorted_data )
DbSlExecute: rc = 99
(SQL error 1505)
error message returned by DbSl:
[ASE Error SQL1505][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Create unique index aborted on duplicate key. Primary key is '18, 160, 0, 66, 31, 67, 4, 17, 175, 3, 2, 2'
Import Monitor jobs: running 1, waiting 1, completed 42, failed 0, total 44.
Loading of 'SAPDFACT_2' import package: ERROR
Import Monitor jobs: running 0, waiting 1, completed 42, failed 1, total 44.
Please advice.
Regards,
Karthik
Homogeneous System copy with Same SID
Hello All,
I am trying to restore SAP system which got crashed.
I have a backup of the crashed system.
Can i build the system with same SID using System copy---> Backup/Restore ---->Load dump manually.
System Details are
OS:- Windows 2012R2
SAP:- SAP ERP6.0 EHP7
DB:-SAP SYBASE ASE 16.0
Need suggestions Urgently.
Regards
Anand
Data on dump will not fit into current database
Hello Experts,
i am rebuilding my crashed SAP system with same SID based on Sybase ASE DB.
The method opted by me for this is System copy---> Backup/Restore ---->Load dump manually when prompted by SWPM.i am
while loading the dump i am getting error as
"""Data on dump will not fit into current database. Need 151984 Mbyte database."""
Current devices are as follows
---------------------------------------------
ECD_data_001
E:\sybase\ECD\sapdata_1\ECD_data_001.dat
158720.00 MB, Free: 0.00 MB
ECD_log_001
E:\sybase\ECD\saplog_1\ECD_log_001.dat
15360.00 MB, Free: 0.00 MB
master
E:\sybase\ECD\sybsystem\master.dat
file system device, special, dsync on, directio off, default disk, physical disk,
400.00 MB, Free: 80.00 MB
I have tried by dropping database and recreated data_device for load....with 200GB(error is for 151984M---151GB) still getting the error.
Please advise.
Regards
Anand
kernel Could not allocate memory using Huge Pages.
Hi All.
I have got below in SID.log file when tried to increase Max Memory parameter.
00:0002:00000:00658:2016/06/05 11:55:08.23 kernel Could not allocate memory using Huge Pages. Allocated using regular pages. For better performance, reboot the server after configuring enough Huge Pages.
Can you please help how to fix this issue.
Regards,
Karthik
Time Out error while creating relational connection from BO IDT to Sybase ASE 16.0
Hi All,
I am trying to create a relational connection from BO IDT to Sybase ASE 16.0.Its throwing error "JZ006:Caught IO Exception:Java.net.Connect Exception:Connection timed out:Connect". The Sybase drivers and class path to jconn4.jar on Sybase.sbo file is set properly. I also checked SCN for related posts but no help found.
Infrastructure details:
BO Server Version - SAP BO 4.2 (On Linux)
Sybase ASE 16.0 (On Linux)
Please let me know how to resolve the Sybase connectivity issue.
Regards,
Javed
DBA Cockpit error DB13
Hi Friends, Enviorment is SAP ERP 6.0 EHP 6. Occurring error while doing Clean-up in DBA Cockpit Calendar (DB13). please find attached screen shot. Thanks in advance.
regards,
Akshay
When ASE uses /dev/shm ?
Hi all,
We installed ASE 15.7 on RHEL 6.7 with Hugepages support on a server with 256GB memory.
ASE started fine with max memory of 120GB and logs indicate using Hugepages.
00:0000:00000:00000:2016/06/06 19:05:32.64 kernel Allocated memory using Huge pages.
00:0000:00000:00000:2016/06/06 19:05:32.65 kernel Internal run-time model set for Linux - Native
00:0000:00000:00000:2016/06/06 19:05:32.65 kernel Adaptive Server is using the threaded kernel mode.
00:0000:00000:00000:2016/06/06 19:05:32.65 kernel Using 40000 file descriptors.
00:0000:00000:00000:2016/06/06 19:05:32.65 kernel Adaptive Server Enterprise/15.7/EBF 25127 SMP SP136 /P/x86_64/Enterprise Linux/ase157sp136x/3955/64-bit/FBO/Mon Oct 19 19:12:00 2015
GLS1_TOK_PRD_ASE.master> conf 'max memory'
Parameter Name Default Memory Used Config Value Run Value Unit Type
--------------------
max memory 114688 125829120 62914560 62914560 memory pages(2k) dynamic
(1 row affected, return status = 0)
However, /dev/shm is not 120GB used, as seen below.
Filesystem Size Used Avail Use% Mounted on
tmpfs 127G 17G 110G 13% /dev/shm
17GB used is, tempdb devices are under /dev/shm.
Questions are:
1) When ASE uses /dev/shm ?
2) Is it good to put tempdb devices on /dev/shm ?
Thanks for your answers.
Client import : sql error 30046 performing INS on table BSEG, Connection to the server has been lost
Hello,
I am doing a client import on SAP ECC EHP6, Windows 2008, and Sybase 15.7 131.
The database size is quite small : 250 GB, but i could not perfrom the client import becasue of diverse sybase issues.
Over the past years, I have perfomed similar client copy activities on other datbases, never faced that kind of issues.
Right now, the issues we are dealing with is ASE ODBC Driver disconnection when trying to import table BSEG.
While trying to import this table, 99% of the memory is used ton the PAS Application server !
Free SWAP is then significantly reduced o nthe SAP Primary application server
And the import fails :
4 ETW000 [ dev trc,00000] ERROR: -1 in function ExeNormalModify (execute) [line 25387]
4 ETW000 [ dev trc,00000] (30046) [08S01] [SAP][ASE ODBC Driver]Connection to the server has been lost. Connection died wh
4 ETW000 [ dev trc,00000] ile writing to socket. Socket returned error code 10055. Check the server to det
4 ETW000 [ dev trc,00000] ermine the status of any open transactions.
4 ETW000 [ dev trc,00000] syb_glob.dbsl_ca.errclass set to DBSL_EC_RESTART
4 ETW000 [ dev trc,00000] statement id is ==> [3 BSEG 268435456 20150324205840]
4 ETW000 [ dev trc,00000] ERROR: -1 in function GetTranState (SQLAllocStmt failed) [line 38062]
4 ETW000 [ dev trc,00000] evaluation of transaction state failed.
4 ETW000 [ dev trc,00000] Mon Jun 13 22:05:27 2016
4 ETW000 [ dbtrtab ,00000] ***LOG BY4=>sql error 30046 performing INS on table BSEG
4 ETW000 [ dbtrtab ,00000] ***LOG BY0=>[ASE Error SQL30046:08S01][SAP][ASE ODBC Driver]Connection to the server has been lost. Connection died while writing to socket. Socket returned error code 10055. Check the server to determine the status of any open transactions.
2EETW000 sap_dext called with msgnr "1":
2EETW000 ---- db call info ----
2EETW000 function: db_xrtab
2EETW000 fcode: RT_MI_LOAD
2EETW000 tabname: BSEG
2EETW000 len (char): 1830
2EETW000 key: 400110060001833712015002 0000000000000000 50S H
2EETW000 retcode: 1
2EETW000 sql error: 30046 [ASE Error SQL30046:08S01][SAP][ASE ODBC Driver]Connection to the server has been lost. Connection died while writing to socket. Socket returned error code 10055. Check the server to determine
2EETW125 SQL error "30046" during "" access: "[ASE Error SQL30046:08S01][SAP][ASE ODBC Driver]Connection to the server has been lost. Connection died while writing to socket. Socket returned error code 10055. Check the server to determine the status of any open transactions."
SAP has released the note 1912732 - Client Copy performance with SYBASE database which basically tells you to patch everything, and points to dozens of sap notes ...
I have patched the ODBC Driver, didnt help
I could not find anything about what seems to be a memory leak issue on R3trans.
Any advice, help would be higky appreciated.
Thanks
Does ASE accpet a date which is format of EDT, GMT... time?
I have a vendor file where they send me the date in form of date time EDT or GMT (For example 07/19/201610:10:10:453 EDT ). The bcp process fails when the data is send to a datettime field.Is there a configuration parameter to set for the dataserver to accept this as a date? or the time zones are not accepted in the conversion to date time in ASE?
ASE16/SolMan saptools logsegment size
Hello,
what should be the default size of the saptools logsegment?
Currently I have the issue with SolMan on ASE16 that it is running full in minutes.
Size is now 2000M - full.
"sp_dboption saptools, 'trunc',true" is set on saptools, but that seems not to work...
What is your size of saptools logsegment? Maybe ours is still to small.
Me feeling is that it is running full after starting dbacockpit or over night?!
Greetings,
Hauke
Upgrade Sybase 15.7 SP110 to SP132 fails
I got an error message when overlaying from SP110 to SP132 on Windows server
Running installmaster script...
instmstr: 10% complete.
instmstr: 100% complete.
Updating Adaptive Server failed.
Error fetching results for query: '
/*
** File: helpuser
*/
create procedure sp_helpuser
@name_in_db varchar(255) = NULL,
@opt varchar(255) = null /* Could be "display_object" */
as
declare @msg varchar(1024)
, @len1 int
, @len2 int
, @len3 int
, @sqlj_proc int /* indicates a sqlj proc */
, @sptlang int
, @ro_user varchar(255)
, @rouser varchar(255)
if @@trancount = 0
begin
set chained off
end
set transaction isolation level 1
select @sptlang = @@langid
if @@langid != 0
begin
if not exists (
select * from master.dbo.sysmessages where error
between 17100 and 17109
and langid = @@langid)
select @sptlang = 0
end
set nocount on
/*
** SP_HELPUSER name_in_db, DISPLAY_OBJECT
** display objects and user-defined datatypes
** owned by name_in_db in the
** current database.
*/
/* "display_object" is the only allowed value for @opt now */
if ((@opt is not null) and (@opt not in ("display_object")))
begin
/*
** 19213, "Invalid argument or unsupported command: %1!."
*/
raiserror 19213, @opt
/* Print out the correct command usage */
print "Usage: sp_helpuser [{'name_in_db'| null} [, display_object]]"
return (1)
end
if (@opt = "display_object")
begin
if @name_in_db is NULL
begin
/*
** If the user name is not specified,
** get the caller's user name.
*/
select @name_in_db = user_name()
end
else
/*
** Check if the specified user name exists
** in sysusers.
*/
begin
if (not exists (select 1 from sysusers
where name = @name_in_db))
begin
/*
** 18552, "'%1!' is not a valid user of this database."
*/
raiserror 18552, @name_in_db
return (1)
end
end
select @sqlj_proc = hextoint("0x2000000")
/*
** Instead of Triggers are sub_types of trigger
** type; so first check for sysstat to be 8, then build the
** prefix of "instead of" for the trigger if needed.
*/
select Object_name = o.name,
Object_type = (case
when ((o.sysstat & 15) = 8)
then (case
when (o.type = "IT")
then "instead of "
else null
end)
else null
end
)
+ (m.description + x.name),
Create_date = o.crdate
into #sphelpuserdisobj
from sysobjects o, master.dbo.spt_values v, sysusers u,
master.dbo.spt_values x, master.dbo.sysmessages m
/*
** The following where clause is used to get the correct
** string names of object_type. In order to use the right
** local language, all object type names except for
** REPROT TYPES are retrieved from sysmessages.description.
** "report types" is retrieved from spt_values.name.
**
** Error msgs 17100 - 17199: names for basic objec types
** E.g.,
** 17100: "trigger",
** 17101: "system table",
** etc.
** Error msg 17587: "partition condition",
** 17588: "encrypton key",
** 17589: "computed column",
** 18903: "SQLJ function",
** 18904: "SQLJ procedure".
*/
where o.uid = u.uid
and u.name = @name_in_db
and o.sysstat & 2063 = v.number
and ((v.type = "O" and
(o.type != "XP" and (o.sysstat2 & @sqlj_proc) = 0)) or
(v.type = "O1" and o.type = "XP") or
(v.type = "O2" and (o.sysstat2 & @sqlj_proc) != 0) or
(v.type = "EK" and o.type = "EK"))
and v.msgnum = m.error
and isnull(m.langid, 0) = @sptlang
and ((m.error between 17100 and 17199) or
(m.error between 17587 and 17589) or
(m.error between 18903 and 18904))
/* Report Type */
and x.type = "R"
and o.userstat & -32768 = x.number
exec sp_autoformat @fulltabname = #sphelpuserdisobj,
@orderby = "order by 2, 1"
drop table #sphelpuserdisobj
/* Display user-defined datatypes owned by name_in_db */
select .....'.
sybase max and network memory
Dear All,
When we execute sp_monitorconfig "all" we get additional network memory and max memory values as attached
Kindly advice the max memory and additional network memory are consumed separately from physical memory
We are having around 50GB in which the taskmanger->process in windows 2012 shows 47GB utilised. But when we calculate the total memory displayed in taskmanger process its suming to only 25GB not sure where the memory leakage is happening
Kindly advice
Sybase error code=102, SQLState="42000" , while using import tool in Sybase ASE
Hi All Gurus and Experts,
Greetings of the day !!
With due respect
{
Does this issue still persist with Interactive SQL , as one of the user facing this same issue, even error is same.
As at that time in this thread an user named 'Neal' said that it might be a bug of import utility. if he is right then its been long time 2009-2016(almost 7 yrs.)
SAP Sybase Forums - ASE - General Discussion - Import CSV into Sybase
What may be the cause of this , as if everyone forcing to use 'INPUT from' or 'bcp in' then what is the need of this ?
please put some light on this.
}
Thanks & Regards
pankaj
unable to open DB13 time out error
HI friends Tcode db13 is not opening timeout error environment is SAP ERP 6.0 EHP6 sybase database 15.7.0.122.
thanks in advance
DBACOCKPIT Error after SAP_UI Upgrade
Hi together,
i get the following error after upgrade of SAP_UI 740 PL 16 to 750 PL 3
500 SAP Internal Server Error
ERROR: Syntaxfehler im Programm CL_SALV_WD_CHANGELIST_UI======CP . (termination: RABAX_STATE)
and the following shortdump
Syntax error in program "CL_SALV_WD_CHANGELIST_UI======CP | ". |
happened?
Error in the ABAP Application Program
The current ABAP program "CL_SALV_WD_MODEL_TABLE========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
In include "CL_SALV_WD_CHANGELIST_UI======CM01A | ", in line 1 of progra |
"CL_SALV_WD_CHANGELIST_UI======CP | ", the following syntax errors |
have occurred:
Die Methode "RESET_UI_FILTER_SUGGESTION" wurde innerhalb der Klasse "C
L_SALV_WD_CHANGELIST_UI" weder deklariert noch geerbt.
Author and last person to change the include are:
Author | SAP |
Last changed by "SAP | " |
do you have any ideas? I found no SAP Note which is regarding to this error. Thank you in advance.
Kind regards
Ali
Planing to Upgrade the ASE 15.7 to 16
Hi ALL,
i am new in sysbase and we are planing to upgrade our sybase database form !5.7 to 16
currently our sybase version is Adaptive Server Enterprise/15.7/EBF 22777 SMP SP122
can you guys guide me how to process the Upgrade activity
Warm Regards
Prashant
Homogeneous System copy with Same SID
Hello All,
I am trying to restore SAP system which got crashed.
I have a backup of the crashed system.
Can i build the system with same SID using System copy---> Backup/Restore ---->Load dump manually.
System Details are
OS:- Windows 2012R2
SAP:- SAP ERP6.0 EHP7
DB:-SAP SYBASE ASE 16.0
Need suggestions Urgently.
Regards
Anand
sp_monitorconfig "all"
Hi all,
Good morning. When i am checking the health of our database (sybase) with sybsid using command sp_monitorconfig "all" the row
pct_act column shows 100% to some parameters , others are below 100 only. will it show any performance issue. the following are the parameters
for your reference. additional network memory 100, max memory 100, no. of open indexes 100, number of open partitions 100.
please guide me regarding on this.
Regards,
NN