Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Using run installer to install syslog-ng PE in seperate location and register service
설명
Using RPM, it is not possible to install syslog-ng on a different directory. In this case, the run installer has to be used for specifying a location other than the default one. If the register service option is not used then the run installer will not create the regular syslog-ng service disabling other conflicting syslog software like rsyslog etc.
원인
N/A
해결 방안
By using run installer to install syslog-ng PE, there are the following options are available.
--accept-eula or -a: Accept the EULA. --license-file <file> or -l <file>: Path to the license file. --upgrade | -u: Perform automatic upgrade — use the configuration file from an existing installation. --remote <destination host>: Send logs to the specified remote server. Not available when performing an upgrade. --network: Accept messages from the network. Not available when performing an upgrade. --configuration <file>: Use the specified configuration file. --list-installed: List information about all installed syslog-ngs. --path <path> : Install syslog-ng to <path> --register : Try to register this instance as the system's syslog service* --no-register | --dont-register : Don't register syslog-ng as the system's syslog service*ion.
Now, to install using run on a specific location other than the default, the "--path" option has to be used. And the "--register" option will register syslog-ng as the system's default syslog service which is necessary for syslog-ng to perform optimally. A sample command to install syslog-ng on /opt/apps will be:
./syslog-ng-premium-edition-7.0.32.run -- -a --path /opt/apps --register -l "/root/152-794-940.txt"
This will pop up some on-screen options to select similar things again.
If it is required to list down the installed syslog-ng instance then the following sample command can be run:
Additionally, please keep in mind to install the pre-requisite ( redhat-lsb-core package) before installing the syslog-ng PE otherwise the installation may fail.
yum install redhat-lsb-core
추가 정보
More information can be found on the following link:
https://support.oneidentity.com/technical-documents/syslog-ng-premium-edition/7.0.32/administration-guide/14