Viewing 8 posts - 1 through 8 (of 8 total)
  • Argh.. Linux services…
  • molgrips
    Free Member

    CentOS 6.7 – created a service to start Websphere Application Server using the tools it comes with, services work fine invoked manually, chkconfig says they’re set to start automatically, but they don’t.

    Wtf?

    somouk
    Free Member

    Anything in the logs? Any dependent services that are taking time to start causing the ones you’re working on to fail? Correct permissions to run as the required user at start up?

    molgrips
    Free Member

    Looked in /var/log/messages and dmesg, nothing there.

    When I start them manually and then reboot the server, you can see the proper shutdown scripts working perfectly well. Just doens’t come back up when the system restarts.

    molgrips
    Free Member

    Hmm.. the startup scripts are running with different permissions to when I run them as root from the console, which is causing them to fail.

    ironnigel
    Free Member

    Is ther any sort of chmod command being called in the startup?

    euain
    Full Member

    Path issues? You interactive shell may have more locations in the path. At startup, it may not find the programs/scripts?

    chvck
    Free Member

    Use supervisord :p

    molgrips
    Free Member

    I find the same error in boot.log as when I try to run it without root privs from the command line.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Argh.. Linux services…’ is closed to new replies.