cancel
Showing results for 
Search instead for 
Did you mean: 

No listener listening on port 50000 after restart Netweaver CE 7.2

Former Member
0 Kudos

I installed Netweaver CE 7.2 MaxDB on Solaris 10 x64 then deployed ACC on it.

It used to work well until after a restart, there is no listener listening on port 50000.

The url is http://<IP>:50000/, which is not responding.

Because a java component hung, I called "stopsap j2ee" then "startsap j2ee".

But I found there is no listener on port 50000. Then I called "stopsap all", reboot the local zone where sap runs on, "startsap all".

I noticed there is "Unable to open trace file sapstartsrv.log." but don't know if this is the cause. I can not find anything related in SAP notes.

sap4-x64-acc72:c72adm 2% startsap all
Checking ADA db Database
------------------------------
setTrace: false
J2EE Database is not available via  test
See logfile /saphome/c72adm/JdbcCon.log
Running /usr/sap/C72/SYS/exe/run/startj2eedb
Trying to start database ...
Log file: /saphome/c72adm/startj2eedb.log
C72 database started
/usr/sap/C72/SYS/exe/run/startj2eedb completed successfully

Starting Startup Agent sapstartsrv
-----------------------------
Mar 25 21:55:58 sap4-x64-acc72 SAPC72_01[12616]: Unable to open trace file sapstartsrv.log. (Error 11 Resource temporarily unavailable) [ntservsserver.cpp 2645]
OK
Instance Service on host sap4-x64-acc72 started

starting SAP Instance SCS01
------------------------------
Startup-Log is written to /saphome/c72adm/startsap_SCS01.log
/usr/sap/C72/SCS01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start
Instance on host sap4-x64-acc72 started

Starting Startup Agent sapstartsrv
-----------------------------
Mar 25 21:56:09 sap4-x64-acc72 SAPC72_00[12909]: Unable to open trace file sapstartsrv.log. (Error 11 Resource temporarily unavailable) [ntservsserver.cpp 2645]
OK
Instance Service on host sap4-x64-acc72 started

starting SAP Instance J00
------------------------------
Startup-Log is written to /saphome/c72adm/startsap_J00.log
/usr/sap/C72/J00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host sap4-x64-acc72 started

sap4-x64-acc72:c72adm 3% netstat -a |grep 50000 
<- no process listening on port 50000

Many Thanks,

Sherry

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

I found on Linux x86_64 that there was no x_server executable in the /sapdb/clients/<SID>/bin path. There was one in the /sapdb/programs/bin path.

I changed the startj2eedb script in /sapmnt/<SID>/exe/uc/linuxx86_64/ path to use the x_server executable in /sapdb/programs/bin/. I found I had to

change the sticky bits for user and group with chmod us and gs for the x_server file (to be the same as the sdbggloballistener executable.

NB: I don't know if this is a valid workaround, but I was desperate!

Cheers!

Des

Former Member
0 Kudos

I found that the reason is sapdb is not started successfully. I tried to start the db but it failed. Can anyone help solve this problem and start the database? [Sorry about the format. There is no way to fix it]

sap4-x64-acc72:c72adm 69% startsap jdb

Checking ADA db Database

-


setTrace: false

J2EE Database is not available via test

See logfile /saphome/c72adm/JdbcCon.log

Running /usr/sap/C72/SYS/exe/run/startj2eedb

Trying to start database ...

Log file: /saphome/c72adm/startj2eedb.log

Database already running

/usr/sap/C72/SYS/exe/run/startj2eedb completed successfully

sap4-x64-acc72:c72adm 70% startsap j2ee

Checking ADA db Database

-


setTrace: false

J2EE Database is not available via test See logfile /saphome/c72adm/JdbcCon.log

Database ADA db must be started first

sap4-x64-acc72:c72adm 71% more /saphome/c72adm/JdbcCon.log

Start: Mon Mar 29 19:14:13 CEST 2010

OK: disconnected

com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://sap4-x64-acc72/C72 [Cannot connect to host localhost:7210 [Connection refused], -813.].

at com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:156)

at com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:146)

at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:241)

at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)

at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)

at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:674)

at com.sap.sql.connect.datasource.DBDataSourceImpl.newPooledConnection(DBDataSourceImpl.java:624)

at com.sap.sql.connect.datasource.DBDataSourceImpl.getConnection(DBDataSourceImpl.java:104)

urceImpl.java:199).sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSoMore(56%)

at com.sap.inst.jdbc.connect.JdbcCon.connectViaSecureStore(JdbcCon.java:217)

at com.sap.inst.jdbc.connect.JdbcCon.connect(JdbcCon.java:353)

at com.sap.inst.jdbc.connect.TestConnect.mainIntern(TestConnect.java:78) at com.sap.inst.jdbc.connect.JdbcCon.main(JdbcCon.java:553)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:161)

Error: Couldn't connect to DB

com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://sap4-x64-acc72/C72 [Cannot connect to host localhost:7210 [Connection refused], -813.].

Edited by: sherryxyu on Mar 29, 2010 7:29 PM