I believe if you do a master clear and master reset this should rebuild the database and resolve your issue.
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
I believe if you do a master clear and master reset this should rebuild the database and resolve your issue.
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
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
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.
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 ?
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.
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![]()
Originally Posted by sandipto
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.