Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-22-2007, 04:50 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 15

Rep: Reputation: 0
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?

Old 03-22-2007, 06:21 AM   #2
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
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:
grep 2799 /var/lock/*
Old 03-22-2007, 07:59 AM   #3
LQ Newbie
Registered: Mar 2007
Posts: 15

Original Poster
Rep: Reputation: 0
No result for grep 2799 /var/lock/*

Any help?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
my database export shell script run from command line but not form crontab saifee Linux - General 11 01-29-2012 10:24 AM
How to export environment variable from a bash script dimaash Linux - Newbie 20 08-09-2011 08:12 AM
export call in bash script Donald1000 Linux - Software 10 03-12-2009 09:03 PM
cannot export result from awk into a variable in a bash script Emmanuel_uk Linux - Newbie 4 03-07-2005 02:54 AM
set and export using bash script acummings Linux - General 10 01-03-2005 03:22 PM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration