Quote:
Originally Posted by sarahlizy
its just a bunch of lines like:
/usr/bin/nohup $DIR/app/bin/worker1 &>/dev/null &
|
Like I said, to make the application emit more verbose or debug nfo you have to assess each part of your command chain until you find the part that takes "--verbose" "--debug" or equivalent switches, so don't dump any output into the bit bucket. And Tomcat and Java-based applications often reference log configuration in their own configuration files so check those as well.
Quote:
Originally Posted by sarahlizy
The problem isn't really with the script as the scrips work fine when you use them as a service (and work in other linux os's on boot) it's that the service doesn't successfully start on a bootup so I assume there's something that redhat does differently on startup.
|
I'm not in favor of assuming things. Checking stdout / stderr and log file contents (and if the audit service is available and running also see /var/log/audit) would be my first reflex.