Am Sonntag 08 März 2009 schrieb Tobias Powalowski:
Am Sonntag 08 März 2009 schrieb Eric Bélanger:
On Sun, Mar 8, 2009 at 2:37 AM, Tobias Powalowski <t.powa@gmx.de> wrote:
Am Sonntag 08 März 2009 schrieb Tobias Powalowski:
Am Samstag 07 März 2009 schrieb Eric Bélanger:
On Sat, Mar 7, 2009 at 1:11 PM, Tobias Powalowski <t.powa@gmx.de>
wrote:
Am Samstag 07 März 2009 schrieb Eric Bélanger: > On Sat, Mar 7, 2009 at 9:54 AM, Tobias Powalowski <t.powa@gmx.de>
wrote:
> > Hi guys > > while looking at those 2 bugs, i just bumped to new syslog-ng > > 3.x series. http://bugs.archlinux.org/task/6980 > > http://bugs.archlinux.org/task/10776 > > > > Changes: > > - adopted new syntax to config file > > - disable stats logging by default, > > it just floods everything with useless stats. > > - added install message, which mentions syntax change > > > > signoff both arches > > > > greetings > > tpowa > > -- > > Tobias Powalowski > > Archlinux Developer & Package Maintainer (tpowa) > > http://www.archlinux.org > > tpowa@archlinux.org > > It can't create the pid file: > > $ sudo /etc/rc.d/syslog-ng start > > :: Starting Syslog-NG > > [BUSY] syslog-ng: Error creating pid file; > file='/usr/var/run/syslog-ng.pid', error='No such file or > directory' > > There's probably an incorrect configure option
hrm i don't use sudo, without sudo it works fine here.
I get same thing when running as root. Do you have a var symlink in /usr? If so, that's why it works for you. I don't know what could be the problem as we already use --localstatedir=/var/lib/syslog-ng. Maybe there's a configure option for the location of the pid file.
it seems i have such an old system that it still has this old symlink :D ok i'll fix it tomorrow
fixed in -3 package please signoff.
The error is still there. The localstatedir option is now define twice: there is the old one " --localstatedir=/var/lib/syslog-ng" that you didn't removed and the one you just added: "--localstatedir=/var". The old localstatedir wasn't refering to /usr/var so it has no effect on the location of the pid file. You'll need to revert your change and try something else.
doh, you are right ... fixed finally in -4 package, please signoff
-- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tpowa@archlinux.org