Opened 14 years ago

Last modified 13 years ago

#26345 closed defect

syslog-ng respawn attempts until pid type changed and pidfile added — at Version 1

Reported by: sgilmer50@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: syslog-ng

Description (last modified by jmroot (Joshua Root))

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.

Change History (1)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to markd@…

Please remember to preview and use WikiFormatting, and to cc the maintainer.

Note: See TracTickets for help on using tickets.