Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-09-08
3
Medium Priority
?
1,419 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
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 600 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses
Course of the Month7 days, 16 hours left to enroll

824 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