Opened 14 years ago
Last modified 14 years ago
#26345 closed defect
syslog-ng respawn attempts until pid type changed and pidfile added — at Initial Version
Reported by: | sgilmer50@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | syslog-ng |
Description
After 'port install' of syslog-ng, syslog-ng shows in /var/log/system.log to attempt respawning:
=== Sep 2 10:27:14 wanx2 org.macports.syslog-ng[107]: Error binding socket; addr='AF_INET(0.0.0.0:514)', error='Address already in use (48)' Sep 2 10:27:14 wanx2 org.macports.syslog-ng[107]: Error initializing source driver; source='net', id='net#0' Sep 2 10:27:14 wanx2 org.macports.syslog-ng[107]: Error initializing message pipeline; Sep 2 10:27:14 wanx2 com.apple.launchd[1] (org.macports.syslog-ng): Throttling respawn: Will start in 10 seconds ===
Changing /opt/local/etc/LaunchDaemons/org.macports.syslog-ng '--pid' line from 'exec' to 'fileauto' and adding '--pidfile=/opt/local/var/syslog-ng.pid' resolves the problem.