Re: plog messages tell me what does it mean
On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon connection namenothing happens here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ? it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is. ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog messages tell me what does it mean
Well can you tell me how to use wvdial ? i mean how to make a new connection in wvdial .. or edit the connection .. it seems that wvdial cannot find my modem as it said when i install wvdial .. but my modem is there on com port 2 as pppconfig did pick it up in its default connection file "providers" thanks for the reply Faisal ben [EMAIL PROTECTED] wrote: On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon nothing happens here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is.ben-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more
Re: plog messages tell me what does it mean
ben [EMAIL PROTECTED] wrote: On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon nothing happens here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is.ben-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more
Re: plog messages tell me what does it mean
ben [EMAIL PROTECTED] wrote: On Thursday 25 April 2002 08:22 pm, faisal gillani wrote: as i told earlier that i cannot dial using pppconfig i i type pon nothing happens here is what is present in the plog server pppd [255] : Terminating on signal 15 server pppd [255] : Connect Script failed server pppd [255] : Exit can you tell me what does this mean ?it's looks like your connect script isn't configured correctly to connect to your isp. try using wvdial from a console to make the connection. you'll have to configure wvdial.conf with the details of user, pass, and the number you're dialling. that will output more information that might help better to indicate what the problem is.ben-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more
Re: plog messages tell me what does it mean
On Thursday 25 April 2002 09:50 pm, faisal gillani wrote: Well can you tell me how to use wvdial ? i mean how to make a new connection in wvdial .. or edit the connection .. it seems that wvdial cannot find my modem as it said when i install wvdial .. but my modem is there on com port 2 as pppconfig did pick it up in its default connection file providers faisal, please just reply to the list. don't cc: to me. i just end up with double the messages. if i'm responding to the list, it means i'm reading the list, so the cc: is redundant. the sample /etc/wvdial.conf below works for my box to connect to my isp. my modem is also on com port 2--from a windoze perspective--which in linux translates to /dev/ttyS1. as far as com ports are concerned on linux, or indeed an unix variant, the numbering starts at 0, respecting arabic rather than roman numerics, reflecting a plain sense incorporation of common mathematical logic that should be honored by anyone purporting to serve the interest humans using computers. (sorry, that was an involuntary rant against micro$hit.) getting back to the issue at hand, fire up your favorite editor and load /etc/wvdial.conf and edit it to include the appropriate details for your connection in those sections that are x'ed out in the sample below. you may have to run wvdial as root. that is, if you're running x, open an xterm, type su, hit enter, enter the root password. at the prompt, type wvdial, and hit enter. Modem = /dev/ttyS1 Baud = 57600 Init = ATZ Init2 = AT S11=50 Phone = xxx Username = x Password = xxx Dial Command = ATDP in the event that that doesn't work for you, get back to us--but, please remember, you don't need to cc: to me; just send it to the list. i hope this helps you along. ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog messages tell me what does it mean
Please re-post your question. I missed it because you did not mention ppp in the subject. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog and wvdial output
On Fri, Jul 16, 1999 at 12:41:49AM -0700, David Karlin wrote: Hello, My ppp connection quit working this afternoon, and before finding out that there was a problem on my ISP's end, I reran pppconfig, and edited a config file or two, but I can't remember exaxtly what I did. Well now my ISP is back up again, but my PPP connection is broken. Here's the plog output. It loops infinitely spewing lines like these, differing only by the timestamp: Jul 16 00:13:00 champagne pppd[427]: sent [IPCP ConfReq id=0xd3 addr 192.168.1.10 compress VJ 0f 01] Jul 16 00:13:00 champagne pppd[427]: rcvd [IPCP ConfNak id=0xd3 addr 206.175.227.6] [snip] Try adding the line noipdefault to your /etc/ppp/peers/isp file. Your pppd is insisting on an ip of 192.168.1.10, but your ISP refuses to accept it. When I run wvdial, it also loops, trying (unsuccessfully) to make a connection. Here is the output from wvdial: ATDT 9494614 CONNECT 14400/ARQ -- Carrier detected. Waiting for prompt. 0025VLE Host Name: -- Looks like a login prompt. -- Sending: [EMAIL PROTECTED] [EMAIL PROTECTED] Can't help you with this one. If anyone can make sense of this, it would sure be appreciated. If you need any other info, please let me know. Thanks, --David HTH, Mike [I'm subscribed to the list, no need to CC: me on replys.] -- Michael Merten ([EMAIL PROTECTED]) --- NRA Life Member (http://www.nra.org) --- Debian GNU/Linux Fan (http://www.debian.org) --- CenLA-LUG Founder (http://www.angelfire.com/la2/cenlalug) -- They can't stop us... we're on a mission from God! -- The Blues Brothers
Re: plog and wvdial output
I reran pppconfig, and edited a config file or two, but I can't remember exaxtly what I did. You changed the value in the IP Numbers screen from the default 'noipdefault' to '192.168.1.10:' . Run pppconfig and change it back. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.
Re: Plog
I've , for whatever reason I had (dunno why I did this), deleted /var/log/ppp.log SInce then none of the plog messages appear. I don't know the correct solution to your problem, but you could try this: Do touch ppp.log to create the file, then use chown and chmod so that the file has the right permissions and ownerships. Ie, the directory listing should look like: -rw-r- 1 root adm 0 Feb 24 15:34 /var/log/ppp.log Then have a go and see if this fixes the problem. Cheers, Mark. _/\___/~~\ /~~\_/~~\__/~~\__Mark_Phillips /~~\_/[EMAIL PROTECTED] /~~\HE___/~~\__/~~\APTAIN_ /~~\__/~~\ __ They told me I was gullible ... and I believed them!
Re: Plog
I've , for whatever reason I had (dunno why I did this), deleted /var/log/ppp.log SInce then none of the plog messages appear. I don't know the correct solution to your problem, but you could try this: Do touch ppp.log to create the file, then use chown and chmod so that the file has the right permissions and ownerships. Ie, the directory listing should look like: -rw-r- 1 root adm 0 Feb 24 15:34 /var/log/ppp.log I've tried doing that, but still nothing gets written into the file, when pon is called. I can write into it by piping the output to the file just fine, and then plog just shows me the right output (whatever I piped into the file), but pon refuses to send any data into it. Where can I look for error messages, or what else can I do to fix this, besides reinstall, which I am not sure will be possible, since ppp is a dep. for too many packages.? TIA, Andrew
Re: Plog
Andrei Ivanov writes: I've tried doing that, but still nothing gets written into the file, when pon is called. I can write into it by piping the output to the file just fine, and then plog just shows me the right output (whatever I piped into the file), but pon refuses to send any data into it. Pon doesn't send logging data anywhere. It is just a script that starts pppd. Pppd sends its logging data to syslogd, which sends it on to ppp.log as its config file tells it to. Because syslogd has ppp.log open, removing ppp.log just removed the link. The file still exists and syslogd is still writing to it. As root, type /etc/init.d/sysklogd restart this will restart syslogd, causing it to reread its config file and reopen all its files. Where can I look for error messages, or what else can I do to fix this, besides reinstall, which I am not sure will be possible, since ppp is a dep. for too many packages.? Reinstalling ppp would have no effect on this problem. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: plog
On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote: When I type plog I get this: tail: /var/log/ppp.log: Permission denied the attributes for ppp.log are -rw-r- 1 root adm 8305 Jan 14 20:38 /var/log/ppp.log What can I do to change this? You have to run plog as root. The reason that ppp.log isn't world readable is that your ppp password is more than likely in the log file. -- --- - - --- - - - --- Ben Collins [EMAIL PROTECTED] Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] -- -- - - - --- --- -- The Choice of the GNU Generation
Re: plog
Ben Collins wrote: On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote: When I type plog I get this: tail: /var/log/ppp.log: Permission denied the attributes for ppp.log are -rw-r- 1 root adm 8305 Jan 14 20:38 /var/log/ppp.log What can I do to change this? You have to run plog as root. The reason that ppp.log isn't world readable is that your ppp password is more than likely in the log file. H, my ppp.log file shows the same: ~$ ls -l /var/log/ppp.log -rw-r- 1 root adm848182 Jan 14 16:04 /var/log/ppp.log And as a regular user gives me this: ~$ plog Jan 14 16:03:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x76 magic=0x3f1d] Jan 14 16:03:25 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x76 magic=0x6581af77] Jan 14 16:03:55 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x77 magic=0x3f1d] Jan 14 16:03:55 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x77 magic=0x6581af77] Jan 14 16:04:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x78 magic=0x3f1d] Jan 14 16:04:25 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x78 magic=0x6581af77] Jan 14 16:04:55 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x79 magic=0x3f1d] Jan 14 16:04:55 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x79 magic=0x6581af77] Jan 14 16:05:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x7a magic=0x3f1d] Jan 14 16:05:25 crossyourfingers pppd[772]: rcvd [LCP EchoRep id=0x7a magic=0x6581af77] I looked at the file /var/log/ppp.log itself as a regular user using cat and found my password there. So if I don't have to use plog as root do I have a security problem? I'm confused. Thanks, Kent
Re: plog
On Thu, Jan 14, 1999 at 10:08:15PM +, ktb wrote: Ben Collins wrote: On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote: When I type plog I get this: tail: /var/log/ppp.log: Permission denied the attributes for ppp.log are -rw-r- 1 root adm 8305 Jan 14 20:38 /var/log/ppp.log What can I do to change this? You have to run plog as root. The reason that ppp.log isn't world readable is that your ppp password is more than likely in the log file. H, my ppp.log file shows the same: ~$ ls -l /var/log/ppp.log -rw-r- 1 root adm848182 Jan 14 16:04 /var/log/ppp.log And as a regular user gives me this: ~$ plog --lots of successful looking output--- I looked at the file /var/log/ppp.log itself as a regular user using cat and found my password there. So if I don't have to use plog as root do I have a security problem? I'm confused. Thanks, Kent How 'bout this: While only root can write to the log, in both cases it's readable by anyone in the adm group. So if the output of the command groups user includes adm, then that user can read the plog (and a bunch of other things, too) but not write to them. adduser user group will add user to group and give him all of the rights and privileges (sp?) he is thereto entitled. as for removing a user from a group, I don't remember off the top of my head and couldn't find the command in two minutes or less. Anybody? Rob -- If a train station is a place where a train stops, what's a workstation?
Re: plog
On Fri, Jan 15, 1999 at 01:35:09AM -0500, Rob Mahurin wrote: | |adduser user group will add user to group and give him all of the rights and privileges (sp?) |he is thereto entitled. | |as for removing a user from a group, I don't remember off the top of my head and couldn't |find the command in two minutes or less. Anybody? vigr, or edit /etc/groups.
Re: plog
ktb writes: H, my ppp.log file shows the same: ~$ ls -l /var/log/ppp.log -rw-r- 1 root adm848182 Jan 14 16:04 /var/log/ppp.log And as a regular user gives me this: ~$ plog Jan 14 16:03:25 crossyourfingers pppd[772]: sent [LCP EchoReq id=0x76 magic=0x3f1d] Your regular user is in group adm, right? /var/log/ppp.log is in group adm and is group readable. I looked at the file /var/log/ppp.log itself as a regular user using cat and found my password there. So if I don't have to use plog as root do I have a security problem? Depends. Do you trust your regular user? I don't know why your regular user would be in adm, though. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: plog
On Thu, Jan 14, 1999 at 10:08:15PM +, ktb wrote: Ben Collins wrote: I looked at the file /var/log/ppp.log itself as a regular user using cat and found my password there. So if I don't have to use plog as root do I have a security problem? I'm confused. Thanks, Kent I found this to be true. The ppp.log is readable by any user on a newly installed hamm system. I think one of the scripts in cron.weekly set its permissions to the adm group. If you don't happen to run your machine 24/7, you are unlikey to ever notice, unless you have your machine booted up on when cron.weekly is run. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jim Foltz [EMAIL PROTECTED] --purge \*, let dpkg sort them out AOL/IM: jim foltz
Re: plog
On Thu, Jan 14, 1999 at 10:39:25PM -0500, Ben Collins wrote: On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote: When I type plog I get this: tail: /var/log/ppp.log: Permission denied the attributes for ppp.log are -rw-r- 1 root adm 8305 Jan 14 20:38 /var/log/ppp.log What can I do to change this? You have to run plog as root. The reason that ppp.log isn't world readable is that your ppp password is more than likely in the log file. Under what conditins does the password show up? I just grep'd my /var/log/ppp.log for my password, andi t wasn't there. Is it because I use CHAP that it doesn't show up? -- --- - - --- - - - --- Ben Collins [EMAIL PROTECTED] Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] -- -- - - - --- --- -- The Choice of the GNU Generation -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jim Foltz [EMAIL PROTECTED] --purge \*, let dpkg sort them out AOL/IM: jim foltz
Re: plog
On Fri, Jan 15, 1999 at 11:00:24AM -0500, Jim Foltz wrote: You have to run plog as root. The reason that ppp.log isn't world readable is that your ppp password is more than likely in the log file. Under what conditins does the password show up? I just grep'd my /var/log/ppp.log for my password, andi t wasn't there. Is it because I use CHAP that it doesn't show up? Not sure since I use pap, but my log shows all the transactions between the client and server, including the plain text password as gotten from /etc/ppp/peers/* (which is 600 root.root by default). Very simple solution is be careful who you add to groups other than 'staff' and 'users'. Those groups are usually there for administration reasons. If you need a new group for access control of users, don't use one of the ones already there, make a new one. -- --- - - --- - - - --- Ben Collins [EMAIL PROTECTED] Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] -- -- - - - --- --- -- The Choice of the GNU Generation
Re: plog
Jim Foltz wrote: On Thu, Jan 14, 1999 at 10:39:25PM -0500, Ben Collins wrote: On Thu, Jan 14, 1999 at 08:32:47PM -0700, Robert Kerr wrote: When I type plog I get this: tail: /var/log/ppp.log: Permission denied the attributes for ppp.log are -rw-r- 1 root adm 8305 Jan 14 20:38 /var/log/ppp.log What can I do to change this? You have to run plog as root. The reason that ppp.log isn't world readable is that your ppp password is more than likely in the log file. Under what conditins does the password show up? I just grep'd my /var/log/ppp.log for my password, andi t wasn't there. Is it because I use CHAP that it doesn't show up? Turn off debug and kdebug after you get things working proper. I believe it is kdebug that puts the userid and password in the log if I remember correctly. John -- --- - - --- - - - --- Ben Collins [EMAIL PROTECTED] Debian GNU/Linux UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED] -- -- - - - --- --- -- The Choice of the GNU Generation -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jim Foltz [EMAIL PROTECTED] --purge \*, let dpkg sort them out AOL/IM: jim foltz -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: plog
John writes: Turn off debug and kdebug after you get things working proper. I believe it is kdebug that puts the userid and password in the log if I remember correctly. Plain old 'debug' does it. It's a known bug in pppd. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED] Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.
Re: plog permissions
XRD Lab writes: After some time, whenever I tried to plog, I got 'Permission denied' message. I tracked it the changed group ownership of /var/log/ppp.log from dip to adm. I reset it. It changed again. Should ppp.log belong to adm or dip? If it is being changed periodically, where can I disable it (if it is advisible)? ppp.log is being written by syslogd, which I believe is changing the group. It is not a good idea to make ppp.log too accessible as it may contain passwords. The real solution to this is a safe suid plog. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: plog not working
On Fri, 19 Jun 1998, Robert Kerr wrote: Hi all, I have a question regarding plog. I just recently installed Debian, and have no complaints,but I am kind of puzzled. Until about a week ago, the plog command worked beautifully--it showed me everything I needed to know about my ppp connection. But then it stopped logging to /var/log/ppp.log and just put everything into syslog, which is not nearly so easy to use. How can I get it back to logging in ppp.log? In /etc/syslog.conf, have a line: local2.*-/var/log/ppp.log Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working
Thanks Bob, that was just the ticket. On Fri, 19 Jun 1998, Bob Nielsen wrote: On Fri, 19 Jun 1998, Robert Kerr wrote: Hi all, I have a question regarding plog. I just recently installed Debian, and have no complaints,but I am kind of puzzled. Until about a week ago, the plog command worked beautifully--it showed me everything I needed to know about my ppp connection. But then it stopped logging to /var/log/ppp.log and just put everything into syslog, which is not nearly so easy to use. How can I get it back to logging in ppp.log? In /etc/syslog.conf, have a line: local2.*-/var/log/ppp.log Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen -bob Always remember you're unique, just like everybody else. ** * Robert Kerr, The morphing guy. *MS 0441 Sandia National Labs * * [EMAIL PROTECTED] *Albuquerque NM 87185-0441 * * [EMAIL PROTECTED] * Phone: (505) 844-8606 * * http://www.et.byu.edu/~kerrr* Fax: (505) 844-9297 * ** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
On Tue, 2 Jun 1998, Mark Phillips wrote: I have just upgraded to hamm. pon seems to work okay, but plog doesn't come up with anything. I suspect this is because /etc/syslog.conf has changed, but I'm not sure. I had a look, but I don't know how to change it to fix the problem. Does anyone know? Strange. Does /etc/syslog.conf contain a line: local2.*-/var/log/ppp.log on your machine? Cheers, Joost -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote: On Tue, 2 Jun 1998, Mark Phillips wrote: I have just upgraded to hamm. pon seems to work okay, but plog doesn't come up with anything. I suspect this is because /etc/syslog.conf has changed, but I'm not sure. I had a look, but I don't know how to change it to fix the problem. Does anyone know? Strange. Does /etc/syslog.conf contain a line: local2.*-/var/log/ppp.log on your machine? No it doesn't. I've added it in now though. Can I activate this without rebooting? Cheers, Mark. __ _\/___\__/___Mark_Phillips___/ \__/_\__/--\__/[EMAIL PROTECTED]/ \__/HE___\__/--APTAIN/ \__/_\__/--\__/__/ /__To be is to do.__I. Kant___/ \__/__\__/___/ /__To do is to be.__A. Sartre_/ /__I am.God___/ /__Jesus did.___/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
At 12:06 AM 6/3/98 +0930, you wrote: On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote: No it doesn't. I've added it in now though. Can I activate this without rebooting? Cheers, Mark. Mark, You don't need to reboot to get the deamon to restart. Luckily on this list, I found out that you can do a ps ax and find out which process inetd is. Then do a kill -1 (PS#). That's the numeral one. Then for example, if inetd was process 183, you could do a kill -1 183 and it will stop/restart inetd program. Makes it a lot easier that having to reboot everytime I changed something, which I was doing. I have learn a lot over the past few months just listening to this list. Hope this helps... Mike Mike Acklin [EMAIL PROTECTED] (Work) [EMAIL PROTECTED] (Home) Debian Newbie (Please bear with me!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
At 12:06 AM 6/3/98 +0930, you wrote: No it doesn't. I've added it in now though. Can I activate this without rebooting? Cheers, Mark. Oops, That last message should have been the syslogd instead of the inetd. Sorry but the same Idea. Mike Mike Acklin [EMAIL PROTECTED] (Work) [EMAIL PROTECTED] (Home) Debian Newbie (Please bear with me!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
On Wed, Jun 03, 1998 at 12:06:22AM +0930, Mark Phillips wrote: On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote: On Tue, 2 Jun 1998, Mark Phillips wrote: [...] pon seems to work okay, but plog doesn't come up with anything. I suspect this is because /etc/syslog.conf [...] Strange. Does /etc/syslog.conf contain a line: local2.*-/var/log/ppp.log on your machine? No it doesn't. I've added it in now though. Can I activate this without rebooting? killall -HUP syslogd No need to reboot. -- [EMAIL PROTECTED] Jack Kern Yarmouth, Nova Scotia Debian GNU/Linux 2.0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
On Wed, 3 Jun 1998, Mark Phillips wrote: On Tue, 2 Jun 1998 [EMAIL PROTECTED] wrote: Strange. Does /etc/syslog.conf contain a line: local2.*-/var/log/ppp.log on your machine? No it doesn't. I've added it in now though. Can I activate this without rebooting? You shouldn't even have to restart syslogd. Try: /etc/init.d/sysklogd reload and if that doesn't work, try /etc/init.d/sysklogd restart You have to be root to do this of course. Cheers, Joost -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog not working in hamm.
On Tue, 2 Jun 1998, Michael Acklin wrote: [ snip ] : : You don't need to reboot to get the deamon to restart. Luckily on this : list, I found out that you can do a ps ax and find out which process : inetd is. Then do a kill -1 (PS#). That's the numeral one. As usual, there's an even easier way. Daemons such as inetd keep a PID file in /var/run - so to get inetd to reread its config, do a kill -HUP `cat /var/run/inetd.pid` In the case of daemons like Apache, I find it netter to use /etc/init.d/apache reload (Or restart, or stop; start ... it's up to you!) Cheers, -- Nathan Norman MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104 mailto://[EMAIL PROTECTED] http://www.midco.net finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: plog
On Mon, Jan 19, 1998 at 06:49:33PM -0500, James Dietrich wrote: My 'plog' command has stopped working--by that I mean that when I type 'plog' nothing is printed. And possibly related is the fact that my ppp.log files are empty. I'm running the latest from hamm. Any ideas? For some reason, the 'syslog.conf' file distributed with the latest version of the 'sysklogd' package doesn't include an entry for ppp.log. You can add the following one: local2.*-/var/log/ppp.log -- Adam Klein -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: plog doesn't work anymore under 1.3
On 16 Jun 1997, Stig Sandbeck Mathisen wrote: MP == Mark Phillips [EMAIL PROTECTED] writes: MP Hi, MP I had a look at /var/log/ppp.log and it is empty. It seems like MP this file is no longer written to??? MP Any ideas? What's in /etc/syslog.conf? If this file has been replaced by the upgrade process, I think the old file is copied as /etc/syslog.conf.dpkg-old (AFAIR). Yes, this may be the problem. I did a diff /etc/syslog.conf /etc/syslog.conf.dpkg-old and came up with: 7,8c7 daemon.* -/var/log/daemon.log mail.*/var/log/mail.log --- daemon.*;mail.* -/var/log/daemon.log 28a28 local2.* -/var/log/ppp.log Does this mean there is a bug with the upgrade procedure? Should I change back to the old file? Thanks, - Mark Phillips [EMAIL PROTECTED] They told me I was gullible ... and I believed them! - -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: plog doesn't work anymore under 1.3
MP == Mark Phillips [EMAIL PROTECTED] writes: MP Hi, MP I had a look at /var/log/ppp.log and it is empty. It seems like MP this file is no longer written to??? MP Any ideas? What's in /etc/syslog.conf? If this file has been replaced by the upgrade process, I think the old file is copied as /etc/syslog.conf.dpkg-old (AFAIR). -- SSM - Stig Sandbeck Mathisen Trust the Computer, the Computer is your Friend -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: plog doesn't work anymore under 1.3
On Mon, 16 Jun 1997, Mark Phillips wrote: Hi, I've just upgraded to 1.3 and tried using ppp. I've managed to connect okay (enabling me to send this email) by plog no longer works. When I type it, it comes up blank. I had a look at /var/log/ppp.log and it is empty. It seems like this file is no longer written to??? I believe that the newer ppp writes its logs to /var/log/daemon.log Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: plog doesn't work anymore under 1.3
DS == Dale Scheetz [EMAIL PROTECTED] writes: DS I believe that the newer ppp writes its logs to DS /var/log/daemon.log Go change the script instead, then? -- SSM - Stig Sandbeck Mathisen Trust the Computer, the Computer is your Friend -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .