User Activity

  • Posted a comment on discussion Help on MPD: FreeBSD PPP daemon

    ah I see, good to get working any how :) Cheers guys

  • Posted a comment on discussion Help on MPD: FreeBSD PPP daemon

    Indeed and changing the interpreter path to /usr/local/bin/perl absolutely worked, but it should not have the entire point of /usr/bin/env and invocation like that is execute things from the standard system path. It seems odd

  • Modified a comment on discussion Help on MPD: FreeBSD PPP daemon

    That would also mean though that neither daemon or running mpd5 from the command line would also fail, this is not the case ~ either will run flawlessly, also: ➜ ~ whereis perl perl: /usr/local/bin/perl /usr/local/lib/perl5/5.34/perl/man/man1/perl.1.gz /usr/src/contrib/file/magic/Magdir/perl Perl is in standard path, as shown from a root login: root@gateway:~ # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin

  • Modified a comment on discussion Help on MPD: FreeBSD PPP daemon

    That would also mean though that neither daemon or running mpd5 from the command line would also fail, this is not the case ~ either will run flawlessly, also: ➜ ~ whereis perl perl: /usr/local/bin/perl /usr/local/lib/perl5/5.34/perl/man/man1/perl.1.gz /usr/src/contrib/file/magic/Magdir/perl Perl is in standard path

  • Posted a comment on discussion Help on MPD: FreeBSD PPP daemon

    That would also mean though that neither daemon or running mpd5 from the command line would also fail, this is not the case ~ either will rn flawlesslt

  • Posted a comment on discussion Help on MPD: FreeBSD PPP daemon

    root@gateway:/usr/local/etc/mpd5 # ls -la *.sh -rwxr-xr-x 1 root wheel 86 Mar 6 01:49 mpd-debug.sh root@gateway:/usr/local/etc/mpd5 # cat mpd-debug.sh #!/bin/sh exec ktrace -if /var/tmp/ktrace.out /usr/local/etc/mpd5/mpd-up.script "$@" root@gateway:/usr/local/etc/mpd5 # ./mpd-debug.sh 54119: old priority -5, new priority -5 CRITICAL Script failure, args: [] root@gateway:/usr/local/etc/mpd5 # du -h /var/tmp/ktrace.out 89K /var/tmp/ktrace.out root@gateway:/usr/local/etc/mpd5 # cp mpd.conf mpd.conf.original...

  • Posted a comment on discussion Help on MPD: FreeBSD PPP daemon

    Both scripts show the same problem, so I posted the shorter one: root@gateway:/usr/local/etc/mpd5 # cat mpd-down.script #!/usr/bin/env perl use warnings; use strict; use Data::Dumper; `ifconfig ue0 -alias 0.0.0.0`; `ifconfig ng0 destroy`; open(my $fh,'>>','/var/log/mpd.log'); print $fh "Down!\n".Dumper(\@ARGV),"\n"; close($fh); exit(0); No path or other trickery is being used and the scripts are all executabe: root@gateway:/usr/local/etc/mpd5 # ls -la *.script -rwxr-xr-x 1 root wheel 842 Mar 6 00:36...

  • Posted a comment on discussion Help on MPD: FreeBSD PPP daemon

    As an extension of the above, I added the following to rc.local: echo "Starting 'BT Connector' daemon" /usr/sbin/daemon -S -R 5 -u root -t "BT Connector" -T mpd5 mpd5 And all is well .... there is something very odd when mpd is triggered from rc.conf going on

View All

Personal Data

Username:
daealc
Joined:
2018-03-29 15:38:18

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB