on 03-24-2015 6:31 PM
Hi experts,
on a linux ASE System I get the following error on executing stopdb:
./stopdb: Terminating with error code 13
I didn't really find something regarding this, does anybody know what it is about?
Kind regards
Maybe I got it now.
Due to the following Link I've added "guest" via sp_adduser and after that stopdb was working...so for the moment it looks ok.
Thx to everybody for great/FAST!!! help.
I really apreciate...that also in case of self-destroying (my faults) I get support from you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Happy Finally
But the question is - "guest" account is always available in the sybase ASE Database may be chances that it got locked or anything. Infact that was my next question to ask you the output for
select * from master..sysusers
and
select * from master..syslogins
Anyways lets dig if you get the problem again
Now this thread deserves to get marked and closed so that our fellow DBAs can go though if they get this kind of problems
Cheers
Kiran K Adharapuram
Ok I found some error in dev_sybctrl
2015 03/25 07:13:51 == file opened ==
EDbSlConnect: rc 99, SQL-error 5704 => [ASE Error SQL10351][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Server user id 6 is not a valid user in database '<DB-SID>'
[ASE Error SQL30292:HY000][SAP][ASE ODBC Driver]Attempting to read past stream EOM.[ASE Error SQL5704][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Changed client character set setting to 'utf8'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the following in the link below
I've executed select * from sysuser and the id from error-message (6) isn't there.
Does it mean, that I should create it with sp_adduser?
If so, which one? Because in sp_adduser I can not specify the ID..or am I wrong?
Christian,
My documentation says:
10351 errors (Server user id %d is not a valid user in database ’%.*s’) indicate a permissions problem. If the database was loaded from another server, the problem may be due to an incorrect suid/uid combination in sysusers. Check syslogins entries in source and target server, respectively.
Also
If you have a copy of master..syslogins in bcp native format then restore that table too.
You may need to delete most logins except sa & probe.
Regards
Kiran K Adharapuram
Christian,
Can you please type in few lines from the log file removing the confidential information.
If you have a recent master dump, you can bcp out the syslogin table from master database and restore it back to the current machine, also in a simple way you can restore the whole master database if you are ok
Regards
Kiran K Adharapuram
These are the last lines of <sid>log.
But as said, there is not entry created on executing stopdb.
e 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Database 'sybmgmtdb', checkpoint=(2347, 24), first=(23
47, 23), last=(2347, 32).
00:0006:00000:00001:2015/03/24 20:30:30.63 server Completed estimating recovery log boundaries for datab
ase 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Started ANALYSIS pass for database 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Completed ANALYSIS pass for database 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Log contains all committed transactions until 2015/03/
24 19:08:10.19 for database sybmgmtdb.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Started REDO pass for database 'sybmgmtdb'. The total
number of log records to process is 10.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Roll forward transaction '$dmpxact'.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Redo pass of recovery has processed 1 committed and 0
aborted transactions.
00:0006:00000:00001:2015/03/24 20:30:30.63 server Completed REDO pass for database 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.69 server Timestamp for database 'sybmgmtdb' is (0x0000, 0x0000a
5b3).
00:0006:00000:00001:2015/03/24 20:30:30.69 server Recovery of database 'sybmgmtdb' will undo incomplete
nested top actions.
00:0006:00000:00001:2015/03/24 20:30:30.69 server Started recovery checkpoint for database 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.71 server Completed recovery checkpoint for database 'sybmgmtdb'
.
00:0006:00000:00001:2015/03/24 20:30:30.71 server Started filling free space info for database 'sybmgmtd
b'.
00:0006:00000:00001:2015/03/24 20:30:30.71 server Completed filling free space info for database 'sybmgm
tdb'.
00:0006:00000:00001:2015/03/24 20:30:30.72 server Started cleaning up the default data cache for databas
e 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.72 server Completed cleaning up the default data cache for datab
ase 'sybmgmtdb'.
00:0006:00000:00001:2015/03/24 20:30:30.73 server Checking external objects.
00:0006:00000:00001:2015/03/24 20:30:30.84 server The transaction log in the database 'sybmgmtdb' will u
se I/O size of 16 Kb.
00:0006:00000:00001:2015/03/24 20:30:30.85 server Database 'sybmgmtdb' is now online.
00:0006:00000:00001:2015/03/24 20:30:30.85 server Recovery has restored the value of 'local async prefet
ch limit' for '128K' pool in 'default data cache' from '80' to 'DEFAULT'.
00:0006:00000:00001:2015/03/24 20:30:30.85 server Recovery has restored the value of 'local async prefet
ch limit' for '16K' pool in 'default data cache' from '80' to 'DEFAULT'.
00:0006:00000:00001:2015/03/24 20:30:30.95 server Recovery has restored the original size for '128K' poo
l and '16K' pool in 'default data cache'.
00:0006:00000:00001:2015/03/24 20:30:30.95 server Recovery complete.
00:0006:00000:00001:2015/03/24 20:30:30.96 server ASE's default unicode sort order is 'binary'.
00:0006:00000:00001:2015/03/24 20:30:30.97 server ASE's default sort order is:
00:0006:00000:00001:2015/03/24 20:30:30.97 server 'binary' (ID = 25)
00:0006:00000:00001:2015/03/24 20:30:30.97 server on top of default character set:
00:0006:00000:00001:2015/03/24 20:30:30.97 server 'utf8' (ID = 190).
00:0006:00000:00001:2015/03/24 20:30:30.97 server Master device size: 400 megabytes, or 204800 virtual p
ages. (A virtual page is 2048 bytes.)
00:0006:00000:00015:2015/03/24 20:30:31.23 kernel Initializing Job Scheduler Task
00:0006:00000:00015:2015/03/24 20:30:31.26 kernel Installed Job Scheduler sequencer code version 0.29 -
29 tokens
00:0006:00000:00015:2015/03/24 20:30:31.33 kernel Job Scheduler Task started with a clean 'js_history' t
able
00:0006:00000:00015:2015/03/24 20:30:31.43 kernel Job Scheduler Task state set to running, startcount 1.
00:0006:00000:00015:2015/03/24 20:30:32.34 kernel Job Scheduler Task connected with Agent on port 4903
00:0006:00000:00001:2015/03/24 20:30:32.34 kernel Warning: Cannot set console to nonblocking mode, switc
hing to blocking mode.
00:0006:00000:00001:2015/03/24 20:30:32.34 kernel Console logging is disabled. This is controlled via th
e 'enable console logging' configuration parameter.
Hi Christian,
Please see sap note 1790207 - SYB: startdb terminates with error code 13 and note 1796535 - SYB: Start and stop database without SUID bit for sybctrl which deal with the same issue and update the kernel.
The below links will help you if there are any queries with the kernel update procedure:
SAP Note No. 1636252 - Installing a 7.20 kernel in SAP Web AS 7.00/7.01/7.10/7.11
SAP Note No. 1629598 - SAP Kernel 720 will replace older kernel versions
SAP Note No. 19466 - Downloading SAP kernel patches
Also check:
http://scn.sap.com/docs/DOC-1206
(for Manual Kernel Upgrade)
and
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11219
(for kernel upgrade using JSPM)
Regards,
Hemanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.