Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all
i am running a perl program in rhel5,when i restart the system and wanted to start the program again, it tells that process is already running,but i could not see even with
ps -ef |grep program.pl
and i tried
ps -aux |grep program.pl
i could not get any process running with that name.Again renamed the prog and tried still same repeated.plz share the answer if anybody knows?
hi all
i am running a perl program in rhel5,when i restart the system and wanted to start the program again, it tells that process is already running,but i could not see even with
ps -ef |grep program.pl
and i tried
ps -aux |grep program.pl
i could not get any process running with that name.Again renamed the prog and tried still same repeated.plz share the answer if anybody knows?
It would help if you told us what the program IS, what it does, etc. Can't guess as to what it's doing when we don't know, and you don't provide any useful information.
If this is something you wrote, tell us what it does, and post the relevant portions of the code. Tell us what process(es) it starts, and what it's trying to do. Could be it's just detecting a stale lock or PID file...
On top of that, if you CAN'T see any perl process running yet the
"program" complains that it's already running ... there's always a
chance that it maintains status via some file, and that the file
didn't get removed when the program went away (e.g., it was kill9ed
and didn't get a chance to clean up).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.