Solved

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

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

813 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

14 Experts available now in Live!

Get 1:1 Help Now