Solved

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

Posted on 2004-09-08
3
1,339 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

948 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

22 Experts available now in Live!

Get 1:1 Help Now