![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script errors out only when its executed via job | mrx1350 | Shell Programming and Scripting | 6 | 03-26-2009 01:50 PM |
| How to know who executed a script? | on9west | Shell Programming and Scripting | 2 | 07-28-2008 05:52 AM |
| AIX server freezes on bootup | srzaman1 | AIX | 1 | 03-21-2007 10:42 PM |
| Unix shell script couldn't be executed. Pls help! | duke0001 | Shell Programming and Scripting | 8 | 09-14-2006 11:15 PM |
| bootup script | vascobrito | UNIX for Advanced & Expert Users | 7 | 01-09-2004 07:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hello all,
I have a script callled 'ABCstartup' setup under /etc/rc.d/init.d Softlink 'S91ABCstartup' pointing to above script has been created under /etc/rc.d/rc3.d The script is not being executed when the server restarts. The script runs successfully via manual execution: ./S91ABCstartup start any suggestions? Thanks |
|
||||
|
Saying it isn't being executed may not be accurate. Have you tried redirecting the output of your script so you can see what is happening?
Just because something works in your shell environment, doesn't mean that it will work in init's or any other environment. Your probably missing an environment variable or you are missing /sbin in the PATH, etc. |
|
||||
|
Within the script, I'm starting up an application. The application startup process does log various info.
When the script is manually executed, I do see the log from application startup. But, no log file being created when the server starts. Is there a way to know if that particular script got triggered during the init? I know there are other scripts within rc3.d that execute fine. Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|