Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2666

[C++ broker linux] Service init script does not handle config file with "log-to-file" and a relative path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8
    • C++ Broker
    • None
    • Linux

    Description

      The service start script for linux (located in qpid/cpp/etc in svn) when installed will fail if the "log-to-file" option is set in the qpidd.conf file with a relative path (eg log-to-file=my-log.txt); however an absolute path works ok.

      If a relative path is used, the script's use of "qpidd --check" to obtain the PID of the newly started qpid daemon will fail (as it will attempt to open a log file in a directory for which it does not have permissions); hence the pid file will be empty. An error message is printed, but the daemon starts ok. However, the missing PID means that attempting to stop the service will fail, and an administrator will have to find and stop the process manually.

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: