Join Today
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    5

    Default "waiting for database' message - any idea ???

    Hi,
    I am having a message 'waiting for database' when i select the message icon from the main screen. Not sure what exactly is wrong or if i have messed up something accidentally.
    I have put a new sim and it wont show the phone book on the sim and wont show the messages stored on the sim also. Also, if i try to add a new contact, it shows an error stating that it failed to add contact.

    I guess it is something with the database that stores the details but dunno what exactly is wrong.

    Would be glad if someone can shed any light on this one !

    Regards,
    Sandipto

  2. #2

    Default Re: "waiting for database' message - any idea ???

    I believe if you do a master clear and master reset this should rebuild the database and resolve your issue.

  3. #3
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    5

    Default Re: "waiting for database' message - any idea ???

    Yes, I did see a master reset and a master clear option ... also after a bit of telnetting to the phone i found that the tmp directory had a file named 'log_db_srv.txt' and it contained a message and an error code ... a bit of searching thru the filesystem revealed two executables db and db_daemon in /usr/bin ... started up the program called db and everything started working. But, if i switch the mobile off and then switch it on again the database fails to start up ... not sure if there is any mechanism to ensure automatic startup of the database daemon ...

    Regards

  4. #4
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    5

    Default Re: "waiting for database' message - any idea ???

    The actual contents of the log file (db_log_srv.txt) in /tmp has the following ...

    db_daemon[123]: Launch...
    db_daemon[123]: db_daemon: errorcode: -30978, flag: 9

    After telnetting and manually starting the daemon it contains the same message as shown on the telnet console when the db program is launched.

    What does the error code indicate ??

    Regards

  5. #5
    Join Date
    May 2005
    Location
    europe
    Posts
    170

    Default Re: "waiting for database' message - any idea ???

    I guess you messed up with database file permissions. If they are owned by root you must chown them back to ezx (as far as I remember) user.

  6. #6
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    5

    Default Re: "waiting for database' message - any idea ???

    I did check out /ezxlocal/sysDatabase and the files native.db and native_id.db belongs to user ezx, also /usr/SYSdb has the file ram.db and ram_id.db both belongs to user ezx.

    Can you mention the database filenames or paths ?

  7. #7
    Join Date
    May 2005
    Location
    europe
    Posts
    170

    Default Re: "waiting for database' message - any idea ???

    and where dissapeared log* files in sysDatabase directory? I don't know anything about Berkeley DB format, but I guess they store changes and are needed. I'd try to copy blank log* file from /.backup (I don't remember, some directory in / starting with dot), chmod/chown it and try to start database.

  8. #8
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    5

    Default Re: "waiting for database' message - any idea ???

    Yes ... there were two more file log.0000000019 and log.0000000020 (forgot to mention them in the previous post) both belonging to user 'root'. Changed it user 'ezx' and switched off the mobile ... restarted the mobile and voila ... it worked !

    Thanks a lot ! That has been one crazy problem I was facing ... still dunno wht caused it ... thanks again

  9. #9

    Default Re: "waiting for database' message - any idea ???

    Quote Originally Posted by sandipto
    Hi,
    I am having a message 'waiting for database' when i select the message icon from the main screen. Not sure what exactly is wrong or if i have messed up something accidentally.
    I have put a new sim and it wont show the phone book on the sim and wont show the messages stored on the sim also. Also, if i try to add a new contact, it shows an error stating that it failed to add contact.

    I have this exact error, but for the A1200.

    Will your telnetting solution be applicable to the A1200 as well??

    Were you able to retrieve your contact list? I would rather do this telnetting method rather than upgrading the firmware (and losing my contact/message inbox).

    Thanks.


 
+ Reply to Thread

Similar Threads

  1. Waiting on Database? I want to open messages/contacts
    By boboman76 in forum A1200 General Chat
    Replies: 4
    Last Post: 01-07-2009, 09:56 AM
  2. Replies: 4
    Last Post: 05-16-2008, 09:12 PM
  3. Q: A1200 "Waiting for DataBase" error....
    By amin in forum A1200 General Chat
    Replies: 2
    Last Post: 01-10-2008, 07:55 AM
  4. Help: Get "Waiting for Database" message
    By ren2 in forum A1200 General Chat
    Replies: 4
    Last Post: 11-16-2007, 03:10 PM
  5. Waiting for Database
    By Cara124 in forum A1200 General Chat
    Replies: 1
    Last Post: 12-27-2006, 08:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1