Solved

"Init chat failed,exiting...: Interrupted system call" problem

Posted on 2004-09-08
3
1,331 Views
Last Modified: 2013-12-15
Hi all,

I have RH9 setup as a dial-in server using D-link external modems for ttyS0 and ttyS1.  It was working perfectly until last month.  The problem is...sometimes when the user logged in and they're connection to the server was interrupted abnormally, the client's phone hang up ok. But in the server side, the phone line isn't clear.  When you do a 'who' command in RH9, it seems that no one is using the port and the modem's CD light is off.  But when you dial the number again, it says "Sorry, this line is not accessible at the moment'. And I have to reset the modem by turning it on and off once for it to be accessible again, so that it can accept calls again. I looked at the /var/log/messages and found this error message again and again....
  Init chat failed, exiting...: Interrupted system call
  failed in mg_init_data, dev=ttyS0, pid=708

I can't figure out the problem.  Is it the phone line, RH9 config of mgetty or pppd or the modem itself.

Can someone enlighten me.

thanks
0
Comment
Question by:SAHARA25
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 150 total points
ID: 12013159
For some reason the system isn't getting the word that the call has terminated, or isn't paying attention to the loss of carrier. Based on the fact that you can't dial the line when it is in this state I'm a little suspicious of the modems, even though they do sense the loss of carrier as shown by the CD light's state. The modem should go on-hook at that point.

It would be interesting to know what happens if you disconnect the RS232 data cable from a modem in this state. If it doesn't go on-hook at that point it would tend to implicate the modem or possibly the phone lines.

Another possibility is that loss of CD isn't being sensed by the system's serial port. To check that you'd want to interpose a breakout box and see if the CD line changes state.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now