LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot running export database using bash script (https://www.linuxquestions.org/questions/linux-general-1/cannot-running-export-database-using-bash-script-539562/)

tovohery 03-22-2007 03:50 AM

Cannot running export database using bash script
 
Hi all,
I'm new in linux red hat 9. When I try to run a bash script, it doesn't execute and i receive the following error message
20070321:220002|ERROR|[14921]|exportDatabase.bash|Another EXPORT process (pid=2799) is still running.

If i kill this pid, i receive "No such process".
This process was running well before until i run the export manually yesterday within putty and close the session before the export was completed.

Any help?

Regards

fukawi2 03-22-2007 05:21 AM

Sounds like there's a lock file been left by the other process because it wasn't terminated properly...

Have a look in /var/lock/ for a lock file for your database. If you're having trouble:
Code:

grep 2799 /var/lock/*

tovohery 03-22-2007 06:59 AM

No result for grep 2799 /var/lock/*

Any help?


All times are GMT -5. The time now is 02:53 PM.