Date: Wed, 13 Dec 2006 22:50:20 +0300 From: "Alexei" <root@sovetnik.org> To: "Artyom Viklenko" <artem@aws-net.org.ua> Cc: freebsd-net@freebsd.org Subject: Re: Re[6]: mpd pppoe client problems Message-ID: <web-352292940@backend4.aha.ru> In-Reply-To: <60499.217.12.197.82.1166002263.squirrel@sigma.interami.com> References: <166800308.20061212122746@sovetnik.org> <50521.217.12.197.82.1165919086.squirrel@sigma.interami.com> <1553703324.20061212134138@sovetnik.org> <59764.217.12.197.82.1165920505.squirrel@sigma.interami.com> <web-348724528@backend4.aha.ru> <51033.217.12.197.82.1165988784.squirrel@sigma.interami.com> <1374382666.20061213100122@sovetnik.org> <53106.217.12.197.82.1165998342.squirrel@sigma.interami.com> <338990136.20061213113551@sovetnik.org> <60499.217.12.197.82.1166002263.squirrel@sigma.interami.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Dec 2006 11:31:03 +0200 (EET)
"Artyom Viklenko" <artem@aws-net.org.ua> wrote:
Yeap, you were right. That startup script didn't work out
as it should, so ``mpd: [PPPoE] IFACE: Up event'' didn't
come. Thats why mpd looked like it hangs.
I still can't understand, why that script doesn't work.. It
looked like:
sys# ps -auxww | grep mpd
root 47936 0,0 0,3 1644 1028 ?? I вт19
0:00,00 sh -c /usr/local/etc/mpd/inet-up.sh ng0 inet
81.88.209.42 81.88.208.255 **** >/dev/null 2>&1
root 47937 0,0 0,3 1644 1024 ?? I вт19
0:00,01 /bin/sh /usr/local/etc/mpd/inet-up.sh ng0 inet
81.88.209.42 81.88.208.255 ****
root 49450 0,0 0,3 1644 1028 ?? I вт19
0:00,00 sh -c /usr/local/etc/mpd/inet-up.sh ng0 inet
81.88.209.42 81.88.208.255 l**** >/dev/null 2>&1
root 49451 0,0 0,3 1644 1024 ?? I вт19
0:00,01 /bin/sh /usr/local/etc/mpd/inet-up.sh ng0 inet
81.88.209.42 81.88.208.255 ****
dmn 98679 0,0 0,1 1200 564 p0 I+ 22:23
0:00,00 tail -f /var/log/mpd.log
root 98864 0,0 0,2 1520 940 p1 S+ 22:24
0:00,00 grep mpd
sys# ps -auxww | grep mpd | awk '{print "kill -9 " $2}' |
sh
kill: 98896: No such process
sys# ps -auxww | grep mpd
root 98913 0,0 0,2 1460 840 p1 R+ 22:24
0:00,00 grep mpd
sys# ps -auxww | grep restart
root 47959 0,0 0,3 1764 1168 ?? I вт19
0:00,01 /bin/sh /etc/rc.d/ntpd restart
root 48299 0,0 0,3 1644 1028 ?? Is вт19
0:00,01 sh -c /etc/rc.d/ntpd restart
root 48302 0,0 0,3 1764 1168 ?? I вт19
0:00,01 /bin/sh /etc/rc.d/ntpd restart
root 49473 0,0 0,3 1764 1168 ?? I вт19
0:00,01 /bin/sh /etc/rc.d/ntpd restart
root 49834 0,0 0,3 1644 1028 ?? Is вт19
0:00,01 sh -c /etc/rc.d/ntpd restart
root 49837 0,0 0,3 1764 1168 ?? I вт19
0:00,01 /bin/sh /etc/rc.d/ntpd restart
root 99047 0,0 0,1 1440 476 p1 R+ 22:25
0:00,00 grep restart
sys# ps -auxww | grep stop
root 47965 0,0 0,3 1764 1168 ?? S вт19
0:54,89 /bin/sh /etc/rc.d/ntpd stop
root 48318 0,0 0,3 1764 1168 ?? S вт19
0:54,36 /bin/sh /etc/rc.d/ntpd stop
root 49479 0,0 0,3 1764 1168 ?? S вт19
0:54,25 /bin/sh /etc/rc.d/ntpd stop
root 49865 0,0 0,3 1764 1168 ?? S вт19
0:53,98 /bin/sh /etc/rc.d/ntpd stop
root 99179 0,0 0,1 1440 556 p1 R+ 22:25
0:00,00 grep stop
--
Grats, Alexei, root@sovetnik.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-352292940>
