Skip to Content
author's profile photo Former Member
Former Member

database will not started

After a server crash i will restart the database, but i become following error:

dbmcli -d sm1 -u control,control

ERR -11608 COMMUNIC sql03_request: wrong connection state, state is 'requested'

Error! Connection failed to node (local) for database sm1:

Reading header from pipe:closed by serve

output of the command sdbregview -l

sapsm1:sm1adm 53> sdbregview -l

DB Analyzer /sapdb/programs 7.7.07.41 64 bit valid

Server Utilities /sapdb/programs 7.7.07.41 64 bit valid

PCR 7300 /sapdb/programs 7.3.00.60 valid

PCR 7301 /sapdb/programs 7.3.01.22 valid

PCR 7500 /sapdb/programs 7.5.00.52 64 bit valid

SAP Utilities /sapdb/programs 7.7.07.41 64 bit valid

Base /sapdb/programs 7.7.07.41 64 bit valid

Redist Python /sapdb/programs 7.7.07.41 64 bit valid

JDBC /sapdb/programs 7.6.06.05 valid

Messages /sapdb/programs MSG 0.8507 valid

ODBC /sapdb/programs 7.7.07.41 64 bit valid

SQLDBC 77 /sapdb/programs 7.7.07.41 64 bit valid

Database Kernel /sapdb/SM1/db 7.7.07.41 64 bit valid

Loader /sapdb/programs 7.7.07.41 64 bit valid

SQLDBC /sapdb/programs 7.7.07.41 64 bit valid

Fastload API /sapdb/programs 7.7.07.41 64 bit valid

SQLDBC 76 /sapdb/programs 7.6.06.22 64 bit valid

sapsm1:sm1adm 54>

What can i do ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2012 at 04:47 AM

    Hi Yashwanth,

    thanks for your great help. After rename the both files dbm.shi and dbm.shi the

    database worked again. The problem is solved.

    Regards

    Volker

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2012 at 05:48 PM

    Hello Voker,

    Most likely this issue happens when the system is abnormally shutdown/restarted or after a Crash(due to power outage, for example) while the database is running.

    MaxDB uses the OS file system to keep some shared files for the MaxDB internal communications. If the database is in ONLINE state and a OS restart is not properly done, the MaxDB cannot perform a 'clean' shutdown so these runtime files are not removed from the OS file system, causing the old runtime to be present at the new database startup.

    Please do the following and let me know if the issue is resolved.

    1. At OS level(process list), check whether there are any MaxDB/LiveCache (dbmsrv) processes still running. If any process is found, terminate it.
    2. Locate the Runtime files at the File system. These files are named as <name of instance>*.dbm.shi & <name of instance>*.dbm.shm and are located under '/sapdb', /sapdb/data/wrk folders and '/var/lib/sdb/dbm/ipc(this last folder are only valid for UNIX and Linux systems
    3. Rename(do not remove) the files. I.e: <SID>.dbm.shi_old, <SID>.dbm.shm_old.
    4. Try to start up the database: dbmcli -d <your_db_sid> -u <your_dbm_user>,<your_dbm_pwd> db_online.
    5. If everything is ok at the startup the previous command should return an OK as result.
    6. You can confirm whether the database is ONLINE by issuing the command: dbmcli -d <your_db_sid> -u <your_dbm_user>,<your_dbm_pwd> db_state.

    This should return ONLINE then.

    Regards,

    Yashwanth

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2012 at 06:14 AM

    Did you check if the x_server is started properly ?

    If required , restart the x_server

    x_server stop

    x_server start

    Regards

    Ratnajit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 30, 2012 at 09:37 AM

    Hi Ratnajit,

    thanks for your answer. The x_server was started.
    but when i started the dbmcli command, i become the same error.


    Best regards
    Volker

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.