LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-22-2007, 04:50 AM   #1
tovohery
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?

Regards
 
Old 03-22-2007, 06:21 AM   #2
fukawi2
Member
 
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:
Code:
grep 2799 /var/lock/*
 
Old 03-22-2007, 07:59 AM   #3
tovohery
LQ Newbie
 
Registered: Mar 2007
Posts: 15

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

Any help?
 
  


Reply


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


All times are GMT -5. The time now is 11:50 AM.

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