Re: power outage - ADSL
On Tue, 20 Feb 2001 [EMAIL PROTECTED] wrote: The only solution I found was to re-boot the Linux box. I'm sure there must have been a better way, but I couldn't find it. arrgh, rebooting a linux box is never the answer... as a mater of fact, when you have a serious problem, rebooting can make it worse, in the sense that before you reboot you at least have some access to your box, but after you reboot, it might not even come up. what you should've done was strace pptp or read the source, you would've found out that due to the power outage, it left behind a unix domain socket at /var/run/pptp/10.0.138. when you ran it again it found this, refused to recreate it and exited. simply doing 'rm -f /var/run/pptp/10.0.0.138' would've solved your problem. rebooting is the windows way, folks. -- mulix http://www.advogato.com/person/mulix linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
RE: power outage - ADSL
This is apparently a known problem. You need to do the following: rm -f /var/run/pptp/10.0.0.138 after "killall pptp", or the call manager won't reconnect. I finally checked out my scripts, which re-connect to adsl automagically (numerous disconnects and power outages today), so I'll post link to them here later today. They handle this automatically. Haim. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 9:19 PM To: [EMAIL PROTECTED] Subject: power outage - ADSL Hi, I had a short power outage here while online on ADSL. I have a UPS so my computer wasn't affected, but apparantly the ADSL modem disconnected. As I usually do, I made sure to kill pptp and pppd. When I tried to re-connect, pptp wouldn't start and I got the following messages: warn[open_unixsock:pptp_callmgr.c:308]: Call manager for 10.0.0.138 is already running. fatal[callmgr_main:pptp_callmgr.c:124]: Could not open unix socket for 10.0.0.138 fatal[launch_callmgr:pptp.c:216]: Call manager exited with error 256 The only solution I found was to re-boot the Linux box. I'm sure there must have been a better way, but I couldn't find it. I've now moved the ADSL modem to the UPS, so this shouldn't happen again, but I would like to learn from thjis incident. Can anyone tell me what my problem was?? TIA //- Shlomo Solomon E-Mail: [EMAIL PROTECTED] http://come.to/shlomo.solomon Date: 20-Feb-2001 Time: 19:54:42 Message sent by XFMail on a LINUX Mandrake 7.2 machine //- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: power outage - ADSL
On 20-Feb-2001 mulix wrote: On Tue, 20 Feb 2001 [EMAIL PROTECTED] wrote: The only solution I found was to re-boot the Linux box. I'm sure there must have been a better way, but I couldn't find it. arrgh, rebooting a linux box is never the answer... as a mater of fact, I agree with you 100%. Unfortunately, I didn't know how to solve the problem so had no real choice. It's a sort of Catch 22. I couldn't get onto the Internet to look for a solution since my problem was that I couldn't get onto the Internet :-( In any case, thanks to mulix and Haim, I'll know what to do next time. Of course, in theory there shouldn't be a next time since I connected the ADSL modem onto the UPS -- But then again, you never know. //- Shlomo Solomon E-Mail: [EMAIL PROTECTED] http://come.to/shlomo.solomon Date: 20-Feb-2001 Time: 22:45:07 Message sent by XFMail on a LINUX Mandrake 7.2 machine //- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]