on 02-07-2008 9:36 PM
Hi
Am stuck with the new SAP NetWeaver 7.0 - TestDrive installation which was successfull.did a saplicense -get and applied for license key in minisap.htm page and received the license in mail.But am unable to install it.
the index.html in the testdrive says start database and then apply.but i get the following error when i start up.
-
LOGFILE FOR STARTING DATABASE
Trying to start database ...
-
Thu Feb 7 21:14:13 GMT 2008
Checking required environment variables
SAPSYSTEMNAME is >N4S<
Start database with xuserkey >c<
-
Thu Feb 7 21:14:13 GMT 2008
Connect to the database to check the database state
dbmcli: connect check finished with return code: 0
Database not available
-
Thu Feb 7 21:14:13 GMT 2008
Starting XServer
ERR 11779 NISERVER Error during startup:'NI: listen failed,Service in use'
WNG 12457 XSERVER NI Init: Automatic niserver start failed
WNG 12453 NISSLSRV NISSL Init: SSL: Could not locate licence file
12902 XSERVER started, 'X64/LINUX 7.6.00 Build 018-123-119-055'
-
Thu Feb 7 21:14:13 GMT 2008
Starting database
Starting Database Instance...
Error! Connection failed to node n4shost for database N4S: connection refused: x_server not runnin
Opening Database...
Error! Connection failed to node n4shost for database N4S: connection refused: x_server not runnin
-
Thu Feb 7 21:14:13 GMT 2008
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Database start failed
-
am i right in assuming that the problem with startup is with the license file/key not installed for the test drive?
links,suggestions and advice highly appreciated.
Cheers
Surya
The problem seems to be that the x_server can´t be started because another service is running on the same port.
Do you have other MaxDB installations on the system?
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Markus
Many Thanks !had a previous install of Testdrive N4s on the same machine/h/w , but later i wiped out my Linux install and reinstalled Linux on top of which i reinstalled SAP N4S.
Is there a way to remove / check for the previous traces ?
how can i get my current install working from here ?
Cheers
Surya
Markus
Mant Thanks!lsof -i :7210 returns nothing .....but lsof -i shows something which you can help me with ...
-
x1-6-00-18-f3-a2-81-1b:~ # lsof -i :7210
x1-6-00-18-f3-a2-81-1b:~ # lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dhcpcd 3414 root 4u IPv4 9062 UDP *:bootpc
mdnsd 3554 mdnsd 3u IPv4 9999 UDP *:filenet-tms
mdnsd 3554 mdnsd 4u IPv4 97131 UDP *:mdns
portmap 3686 nobody 3u IPv4 10494 UDP *:sunrpc
portmap 3686 nobody 4u IPv4 10495 TCP *:sunrpc (LISTEN)
zmd 3911 root 5u IPv4 11086 TCP localhost:novell-zen (LISTEN)
cupsd 3937 root 0u IPv4 12476 TCP localhost:ipp (LISTEN)
cupsd 3937 root 2u IPv6 12477 TCP localhost:ipp (LISTEN)
cupsd 3937 root 4u IPv4 12480 UDP *:ipp
master 3950 root 11u IPv4 11387 TCP localhost:smtp (LISTEN)
master 3950 root 12u IPv6 11389 TCP localhost:smtp (LISTEN)
sshd 3983 root 3u IPv6 11369 TCP *:ssh (LISTEN)
X 4130 root 1u IPv6 12523 TCP *:6000 (LISTEN)
X 4130 root 3u IPv4 12524 TCP *:6000 (LISTEN)
RedSwoosh 14872 root 20u IPv4 45017 TCP localhost:9421 (LISTEN)
RedSwoosh 14872 root 28u IPv4 45028 TCP x1-6-00-18-f3-a2-81-1b.suri:40393->213.200.111.115:https (ESTABLISHED)
RedSwoosh 14872 root 30u IPv4 45034 UDP localhost:filenet-nch
RedSwoosh 14872 root 31u IPv4 45035 UDP x1-6-00-18-f3-a2-81-1b.suri:filenet-rmi
RedSwoosh 14872 root 32u IPv4 45036 TCP x1-6-00-18-f3-a2-81-1b.suri:9420 (LISTEN)
RedSwoosh 14872 root 35u IPv4 45038 UDP x1-6-00-18-f3-a2-81-1b.suri:filenet-pa
*niserver 21931 sdb 5u IPv4 135103 TCP :sapdbni72 (LISTEN)
firefox-b 23290 root 9u IPv4 221987 TCP x1-6-00-18-f3-a2-81-1b.suri:60079->fg-in-f19.google.com:http (ESTABLISHED)
firefox-b 23290 root 45u IPv4 220178 TCP x1-6-00-18-f3-a2-81-1b.suri:52178->166-176.amazon.com:http (ESTABLISHED)
firefox-b 23290 root 47u IPv4 220196 TCP x1-6-00-18-f3-a2-81-1b.suri:51898->210-11.amazon.com:http (ESTABLISHED)
firefox-b 23290 root 49u IPv4 222058 TCP x1-6-00-18-f3-a2-81-1b.suri:32901->88.221.26.33:http (ESTABLISHED)
firefox-b 23290 root 51u IPv4 220213 TCP x1-6-00-18-f3-a2-81-1b.suri:38118->88.221.26.89:http (ESTABLISHED)
firefox-b 23290 root 52u IPv4 220218 TCP x1-6-00-18-f3-a2-81-1b.suri:52181->166-176.amazon.com:http (ESTABLISHED)
firefox-b 23290 root 54u IPv4 220227 TCP x1-6-00-18-f3-a2-81-1b.suri:38120->88.221.26.89:http (ESTABLISHED)
firefox-b 23290 root 57u IPv4 222195 TCP x1-6-00-18-f3-a2-81-1b.suri:55301->88.221.26.74:http (ESTABLISHED)
firefox-b 23290 root 62u IPv4 222059 TCP x1-6-00-18-f3-a2-81-1b.suri:32902->88.221.26.33:http (ESTABLISHED)
firefox-b 23290 root 64u IPv4 222074 TCP x1-6-00-18-f3-a2-81-1b.suri:42314->88.221.26.90:http (ESTABLISHED)
firefox-b 23290 root 65u IPv4 222099 TCP x1-6-00-18-f3-a2-81-1b.suri:34833->88.221.26.91:http (ESTABLISHED)
firefox-b 23290 root 66u IPv4 222101 TCP x1-6-00-18-f3-a2-81-1b.suri:34834->88.221.26.91:http (ESTABLISHED)
sshd 23728 root 3u IPv6 226559 TCP x1-6-00-18-f3-a2-81-1b.suri:ssh->219.239.218.162:57128 (ESTABLISHED)
sshd 23729 sshd 3u IPv6 226559 TCP x1-6-00-18-f3-a2-81-1b.suri:ssh->219.239.218.162:57128 (ESTABLISHED)
-
i just a entry for niserver in this list
*niserver 21931 sdb 5u IPv4 135103 TCP :sapdbni72 (LISTEN)
is this indicative of anything in relation to my problem? how can this be rectified/fixed ?
Cheers
Surya
Markus
Went ahead and killed the process with the PID and tried restarting the db, but failed again...but with a different message this time...
-
-
Thu Feb 7 22:43:19 GMT 2008
LOGFILE FOR STARTING DATABASE
Trying to start database ...
-
Thu Feb 7 22:43:19 GMT 2008
Checking required environment variables
SAPSYSTEMNAME is >N4S<
Start database with xuserkey >c<
-
Thu Feb 7 22:43:19 GMT 2008
Connect to the database to check the database state
dbmcli: connect check finished with return code: 0
Database not available
-
Thu Feb 7 22:43:19 GMT 2008
Starting XServer
12798 NISERVER NI support started.
WNG 12453 NISSLSRV NISSL Init: SSL: Could not locate licence file
12902 XSERVER started, 'X64/LINUX 7.6.00 Build 018-123-119-055'
-
Thu Feb 7 22:43:19 GMT 2008
Starting database
Starting Database Instance...
Error! Connection failed to node n4shost for database N4S: connection refused: x_server not runnin
Opening Database...
Error! Connection failed to node n4shost for database N4S: connection refused: x_server not runnin
-
Thu Feb 7 22:43:19 GMT 2008
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Database start failed
-
Any clues
Cheers
Surya
Markus
Found another thread by u for the related error...
12798 NISERVER NI support started.
WNG 12453 NISSLSRV NISSL Init: SSL: Could not locate licence file
12902 XSERVER started, 'X64/LINUX 7.6.00 Build 018-123-119-055'
currently looking into the note mentioned there ...and btw the command output for the check is
-
x1-6-00-18-f3-a2-81-1b:~ # ldd /sapdb/programs/bin/dbmrfc
libsapu16.so => not found
libdl.so.2 => /lib64/libdl.so.2 (0x00002b9feaa4c000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b9feac50000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b9feae8a000)
librt.so.1 => /lib64/librt.so.1 (0x00002b9feb0a5000)
libstdc+.so.5 => /usr/lib64/libstdc+.so.5 (0x00002b9feb2ae000)
libm.so.6 => /lib64/libm.so.6 (0x00002b9feb58c000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b9feb7e2000)
libc.so.6 => /lib64/libc.so.6 (0x00002b9feb9f0000)
/lib64/ld-linux-x86-64.so.2 (0x00002b9fea82e000)
-
Cheers
Surya
Markus
get the following error when i try starting x_server..
n4shost:n4sadm 8> /sapdb/programs/bin/x_server start
ERR 11779 NISERVER Error during startup:'fgets error/sapdb/data/wrk/niserver_x1-6-00-18-f3-a2-81-1b.pid'
ERR 11779 NISERVER Error during startup:'No system errortext for ERRNO 2'
WNG 12457 XSERVER NI Init: Automatic niserver start failed
WNG 12453 NISSLSRV NISSL Init: SSL: Could not locate licence file
12902 XSERVER started, 'X64/LINUX 7.6.00 Build 018-123-119-055'
Cheers
Surya
Markus
hope i have done things properly during install... and following are some commands which might be useful..
1.hostname looks fine...
n4shost:n4sadm 18> hostname
n4shost
2.library issues dont seem to exist when i run this cmd as n4sadm...
n4shost:n4sadm 19> ldd /sapdb/programs/bin/dbmrfc
libsapu16.so => /usr/sap/N4S/SYS/exe/run/libsapu16.so (0x00002b8b09266000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b8b09466000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b8b0966a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b8b098a4000)
librt.so.1 => /lib64/librt.so.1 (0x00002b8b09abf000)
libstdc+.so.5 => /usr/lib64/libstdc+.so.5 (0x00002b8b09cc8000)
libm.so.6 => /lib64/libm.so.6 (0x00002b8b09fa6000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b8b0a1fc000)
libc.so.6 => /lib64/libc.so.6 (0x00002b8b0a40a000)
/lib64/ld-linux-x86-64.so.2 (0x00002b8b09248000)
3. since i got this error ..
n4shost:n4sadm 12> /sapdb/programs/bin/x_server start
ERR 11779 NISERVER Error during startup:'fgets error/sapdb/data/wrk/niserver_x1-6-00-18-f3-a2-81-1b.pid'
ERR 11779 NISERVER Error during startup:'No system errortext for ERRNO 2'
WNG 12457 XSERVER NI Init: Automatic niserver start failed
WNG 12453 NISSLSRV NISSL Init: SSL: Could not locate licence file
12902 XSERVER started, 'X64/LINUX 7.6.00 Build 018-123-119-055'
tried checking the file at the location...
n4shost:n4sadm 20> pwd
/sapdb/data/wrk
n4shost:n4sadm 21> ls -ltr
total 1324
-rw-r----- 1 root sapinst 63297 2006-06-12 14:47 MaxDBServer_install-12.06.2006-15.47.log
-rw-rr 1 sdb sdba 498 2006-06-12 14:47 xserver_n4shost.nitrace
-rw-rr 1 sdb sdba 189 2006-06-12 14:47 nisslserver_n4shost.trace
-rw-rw---- 1 sdb sdba 497 2006-06-12 14:47 niserver_n4shost.trace
-rw-rw---- 1 sdb sdba 245 2006-06-12 14:47 niserver_n4shost.prot
-rw-rw---- 1 sdb sdba 5 2006-06-12 14:47 niserver_n4shost.pid
-rw-rw---- 1 sdb sdba 1129862 2006-06-12 15:16 loader.prt
drwxrwx--- 2 sdb sdba 4096 2006-06-12 15:17 sdb
drwxr-xr-x 2 sdb sdba 4096 2006-06-12 23:18 n4sadm
-rw-rw---- 1 sdb sdba 15920 2006-06-14 12:00 dbmsrv_n4shost.prt
-rw-rw---- 1 sdb sdba 2592 2006-06-23 16:57 N4S.dbm.shi
-rw-rw---- 1 sdb sdba 528 2006-06-23 17:16 N4S.dbm.shm
-rw-rw---- 1 sdb sdba 388 2006-06-23 17:40 N4S.mdf
-rw-rw---- 1 sdb sdba 851 2006-06-23 18:31 N4S.knl
-rw-rw---- 1 sdb sdba 12452 2006-06-25 06:47 dbmsrv_ls3533.prt
-rw-r----- 1 sdb sdba 65536 2006-06-25 07:27 xserver_n4shost.prt
drwxrwx--- 4 sdb sdba 4096 2006-06-26 16:57 N4S
-rw-r----- 1 sdb sdba 65536 2008-02-07 23:09 xserver_x1-6-00-18-f3-a2-81-1b.prt
-rw-rr 1 sdb sdba 0 2008-02-07 23:09 nisslserver_x1-6-00-18-f3-a2-81-1b.trace
-rw-rw---- 1 sdb sdba 0 2008-02-07 23:09 niserver_x1-6-00-18-f3-a2-81-1b.trace
-rw-rw---- 1 sdb sdba 0 2008-02-07 23:09 niserver_x1-6-00-18-f3-a2-81-1b.prot
-rw-rw---- 1 sdb sdba 0 2008-02-07 23:09 niserver_x1-6-00-18-f3-a2-81-1b.pid
wondering why the last 5 files highlighted have a different hostname(my DHCP assigned hostname) part attached rather than being _n4shost.pid etc. Is this the cause for trouble ??
Think its too late for you for today Markus,hope to catch ur response/suggestion tmw...
Thanks
Surya.
Markus
Issued the commands this is what it throws up..
n4shost:n4sadm 16> startsap n4shost
Warning: Could not found virtuell host in ifconfig list
Checking ADA db Database
-
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
-
19:15:47 08.02.2008 LOG: Effective User Id is root
******************************************************************************
This is Saposcol Version COLL 20.89 700 - AMD/Intel x86_64 with Linux, PL:52, Mar 31 2006
Usage: saposcol -l: Start OS Collector
saposcol -k: Stop OS Collector
saposcol -d: OS Collector Dialog Mode
saposcol -s: OS Collector Status
Starting collector (create new process)
******************************************************************************
saposcol on host x1-6-00-18-f3-a2-81-1b started
Running /usr/sap/N4S/SYS/exe/run/startdb
Trying to start database ...
Log file: /home/n4sadm/startdb.log
Database start failed
DB startup failed
n4shost:n4sadm 6> tail -f startsap_.log
DB startup failed
Checking ADA db Database
-
ABAP Database is not available via R3trans
Starting SAP-Collector Daemon
-
saposcol on host x1-6-00-18-f3-a2-81-1b started
Running /usr/sap/N4S/SYS/exe/run/startdb
n4shost:n4sadm 7> tail -f startdb.log
-
Fri Feb 8 19:15:54 GMT 2008
Checking required environment variables
SAPSYSTEMNAME is >N4S<
Start database with xuserkey >c<
-
Fri Feb 8 19:15:54 GMT 2008
Connect to the database to check the database state
dbmcli: connect check finished with return code: 0
Database not available
-
Fri Feb 8 19:22:13 GMT 2008
Starting XServer
ERR 11779 NISERVER Error during startup:'fgets error/sapdb/data/wrk/niserver_x1-6-00-18-f3-a2-81-1b.pid'
ERR 11779 NISERVER Error during startup:'No system errortext for ERRNO 2'
WNG 12457 XSERVER NI Init: Automatic niserver start failed
WNG 12453 NISSLSRV NISSL Init: SSL: Could not locate licence file
12902 XSERVER started, 'X64/LINUX 7.6.00 Build 018-123-119-055'
-
Fri Feb 8 19:22:13 GMT 2008
Starting database
Starting Database Instance...
Error! Connection failed to node n4shost for database N4S: cannot connect to server socket
Opening Database...
Error! Connection failed to node n4shost for database N4S: cannot connect to server socket
-
Fri Feb 8 19:31:40 GMT 2008
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Database start failed
Thanks
Surya
Markus
The files dont seem to be modified at all after the install during startup.....
n4shost:n4sadm 23> pwd
/sapdb/data/wrk/N4S
n4shost:n4sadm 24> ls -ltr
total 15160
-rw-rw---- 1 sdb sdba 181 2006-06-23 17:03 dbm.mmm
drwxrwx--- 2 sdb sdba 4096 2006-06-23 17:16 rtedump_dir
-rw-rw---- 1 sdb sdba 1536 2006-06-23 17:17 dbm.upc
drwxrwxrwx 3 sdb sdba 4096 2006-06-23 17:20 DIAGHISTORY
-rw-rw---- 1 sdb sdba 0 2006-06-23 17:22 dbm.cfg
-rw-rw---- 1 sdb sdba 388 2006-06-23 17:40 dbm.mdf
-rw-rw---- 1 sdb sdba 851 2006-06-23 18:31 dbm.knl
-rw-rw---- 1 sdb sdba 2535896 2006-06-26 16:57 comseg.dump
-rw-rw---- 1 sdb sdba 819234 2006-06-26 16:57 dbm.utl
-rw-rw---- 1 sdb sdba 1090760 2006-06-26 16:57 KnlMsg.old
-rw-rw---- 1 sdb sdba 845325 2006-06-26 16:57 knldiag.old
-rw-rw---- 1 sdb sdba 8183808 2006-06-26 16:57 knltrace
-rw-rw---- 1 sdb sdba 1090160 2006-06-26 16:57 KnlMsg
-rw-rw---- 1 sdb sdba 13752 2006-06-26 16:57 knldiag.err
-rw-rw---- 1 sdb sdba 845388 2006-06-26 16:57 knldiag
-rw-rw---- 1 sdb sdba 14930 2006-06-26 16:57 dbm.prt
should i still check in the knldiag and the knldiag.err files for anything ??
Thanks
Surya
Markus
I dont find anything with 'current' in the files...
n4shost:n4sadm 34> cat knldiag.err | more
-
Date Time TID Typ MsgID Label Message-Text
-
2006-06-23 18:04:40 --- Starting GMT 2006-06-23 16:04:40 7.6.00 Build 018-123-119-055
2006-06-23 18:16:03 ___ Stopping GMT 2006-06-23 16:16:03 7.6.00 Build 018-123-119-055
2006-06-23 18:16:18 --- Starting GMT 2006-06-23 16:16:18 7.6.00 Build 018-123-119-055
2006-06-23 18:16:31 26 ERR 11000 d0_vatta Cannot open volume, No such file or directory
2006-06-23 18:16:31 26 ERR 11000 d0_vatta Volume name 'DATA0001'
2006-06-23 18:16:31 24 ERR 11000 vattach dev0_vattach returned FALSE
2006-06-23 18:16:31 24 ERR 20031 IOMan IOMan_Volume.cpp:976
2006-06-23 18:16:31 24 ERR 20031 IOMan 2006-06-23 18:16:31 IOMan Error 20031
2006-06-23 18:16:31 24 ERR 20031 IOMan Attach error on Data volume 1: Could not open volume
2006-06-23 18:16:31 24 ERR 20040 IOMan IOMan_Manager.cpp:585
2006-06-23 18:16:31 24 ERR 20040 IOMan 2006-06-23 18:16:31 IOMan Error 20040
2006-06-23 18:16:31 24 ERR 20040 IOMan Bad restart page on Data volume 0 blockno 0
2006-06-23 18:16:31 24 ERR 11196 DBCRASH vabort:Emergency Shutdown, IOMan_Manager.cpp: 585
2006-06-23 18:16:31 24 ERR 11599 BTRACE -
> Emergency Stack Back Trace <----
2006-06-23 18:16:33 24 ERR 7 Messages Msg_List.cpp:3617
2006-06-23 18:16:33 24 ERR 7 Messages 2006-06-23 18:16:33 Messages Error 7
2006-06-23 18:16:33 24 ERR 7 Messages Begin of dump of registered messages
2006-06-23 18:16:33 24 ERR 8 Messages Msg_List.cpp:3636
2006-06-23 18:16:33 24 ERR 8 Messages 2006-06-23 18:16:33 Messages Error 8
2006-06-23 18:16:33 24 ERR 8 Messages End of the message list registry dump
2006-06-23 18:16:34 24 ERR 11196 DBCRASH vabort:Emergency Shutdown, Task: 93
2006-06-23 18:16:35 0 ERR 12006 DBCRASH Kernel exited without core and exit status 0x200
2006-06-23 18:16:35 0 ERR 12010 DBCRASH Kernel exited exit code 2
2006-06-23 18:16:35 ___ Stopping GMT 2006-06-23 16:16:35 7.6.00 Build 018-123-119-055
2006-06-23 18:20:54 --- Starting GMT 2006-06-23 16:20:54 7.6.00 Build 018-123-119-055
-
n4shost:n4sadm 34> cat knldiag| more
2006-06-26 17:57:14 1 20235 RTE Dump of all kernel parameters done
2006-06-26 17:57:14 1 WNG 11489 PARAM Open system console '/dev/console' reports (13) Permission denied
2006-06-26 17:57:14 1 WNG 11489 PARAM Modify parameter OPMSG1 or enable write access to prevent this message
2006-06-26 17:57:14 1 12770 INFO SERVERNODE: 'ls3533'
2006-06-26 17:57:18 9 3 RunTime State changed from STARTING to ADMIN
======================================= end of startup part ====================
2006-06-26 17:57:19 9 11570 startup complete
2006-06-26 17:57:24 7 12852 DBSTATE Caught STOP signal
2006-06-26 17:57:24 7 12696 DBSTATE Change DbState to 'STOP'(28)
2006-06-26 17:57:24 7 12697 DBSTATE Resuming tracewriter
2006-06-26 17:57:24 18 12825 TASKING state 28 before shutkill(1)
2006-06-26 17:57:24 18 12825 TASKING state 28 before shutkill(1)
2006-06-26 17:57:24 18 12825 TASKING state 28 before shutkill(1)
2006-06-26 17:57:24 18 20000 Trace Start flush kernel trace
2006-06-26 17:57:24 6 12696 DBSTATE Change DbState to 'TRACE_WRITER_WAIT'(28)
2006-06-26 17:57:24 18 20001 Trace Stop flush kernel trace
2006-06-26 17:57:24 18 12619 TASKING Releasing tracewriter
2006-06-26 17:57:24 1 12611 DBSTATE SERVERDB is being stopped
+++++++++++++++++++++++++++++++++++++++ Kernel Exit ++++++++++++++++++++++++++++
2006-06-26 17:57:25 0 12845 DBSTATE Kernel exited normal
2006-06-26 17:57:25 0 12696 DBSTATE Change DbState to 'OFFLINE '(28)
-
current write position -
these are some of the parts of both the files which i thought might have some warning message.If you require i can cat the entire file and paste it out here.have these files been written after i tried starting the db now today but why are they having old timestamps in them ??
Thanks
Surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.