cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting DBMgui : -4 server rejected connection

Former Member
0 Kudos

When I tried to add a connection in the DBMgui I get the following error in a popup screen:

-4 server rejected connection

When the connection to this database was already made and was stored, connecting to the database is possible. The problem occers only when try to add it as a new connection.

Restarting the x_server isn't possible because it is an production system.

Best regards,

Gert

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Ivan,

Find below the answers on your questions:

DBMgui runs on my PC. Database is on a linux server.

From my PC it is possible to run the DBMcli command :

C:\Program Files\SDB\DBM>dbmcli -n blcb13 -d YZP -u control,control db_state

OK

State

ONLINE

Ping is possible.

Port is default (7210), forcing the portnumber or/and ip adress make no difference.

DBMgui is running on XP and Windows7

DB is on Suse Linux SLES10

Yes I'm a SAP customer (37262).

Strange problem, isn't?

Regards Gert

Former Member
0 Kudos

Hello Gert,

hmm interesting

is DBMGUI on different server than DB it self ?

can you use dbmcli commands

dbmcli -n <host> -d <SID> -u control,<pwd> db_state

can you ping <host> ?

what port do you use when creating connection in DBMGU , try to enter explicitly 7210

same with host, try ip address, instead of hostname

what os/platform is DBMGUI on ?

what os/platform is DB on ?

are you SAP customer ?

regards

Ivan

Former Member
0 Kudos

Only this error after an succesfull logon with the DBMgui in DBM.prt:

2010-03-02 12:05:11 0x000052f6 INF 216 DBMSrv DBM Server client connection (established at 2010-03-02 12:05:10): PID 5208 on computer ywl610.yzh.nl

2010-03-02 12:05:12 0x000052f6 INF 283 DBMSrv Command 'db_execute SELECT ID,CREATEDATE,USEDSIZE ...' is being executed.

2010-03-02 12:05:12 0x000052f6 ERR -24580 DBMSrv ERR_COMMAND_FAILED: Command 'db_execute' has ended and failed with return code -24988.

0x000052f6 ERR -24988 DBMSrv ERR_SQL: SQL error

0x000052f6 ERR -24778 DBMSrv 100,Row not found

2010-03-02 12:05:12 0x000052f6 INF 283 DBMSrv Command 'auto_extend show' is being executed.

2010-03-02 12:05:12 0x000052f6 INF 419 DBMSrv Command 'auto_extend' has ended with return code 0.

2010-03-02 12:05:13 0x000052f6 INF 283 DBMSrv Command 'auto_update_statistics show' is being executed.

2010-03-02 12:05:13 0x000052f6 INF 419 DBMSrv Command 'auto_update_statistics' has ended with return code 0.

No errors in dbmserv_.prt and other logfiles.

DB version : 7.6.06.03

DBMgui version : 7.6.06.04

A stored (existing) connection in the DBMgui work still fine. But when I delete this server/database and add it again the error mentioned before occurs. This only occured for this database, other saved database connection don't have this problem. So I suggest the gui is not the problem.

Regards, Gert

Former Member
0 Kudos

hello Gert,

ok, let check further,

dbmsrv_<host>.prt

and dbm.prt

any more errors ?

what version do you have (DB version)

what version of DBMGUI you have ?

Regards

Ivan

BTW how do you do this:

When the connection to this database was already made and was stored, connecting to the database is possible. The problem occers only when try to add it as a new connection.

you mean when you add database as new before it is started it works ?

Former Member
0 Kudos

Hi,

do you see any errors in x_server_<db-hostname>.prt ?

Regards

Ivan

Former Member
0 Kudos

Hello Ivan,

No errors in xserver_...prt :

2010-01-13 18:43:08 5305 12898 ENVIRON TMPDIR=/var/tmp

2010-01-13 18:43:08 5305 12898 ENVIRON DBROOT=/sapdb/programs

2010-01-13 18:43:08 5305 12898 ENVIRON LD_LIBRARY_PATH=/sapdb/programs/l

ib

2010-01-13 18:43:08 5305 12898 ENVIRON Environment dump completed

-


end of startup -


2010-01-13 18:43:08 5305 WNG 12458 XSERVER NISSL Utility init: CDKLoadSAPCryp

tModule: 51

-


current write position -


last DB startup was 13 jan.2010.

Regards, Gert