• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1477
  • Last Modified:

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

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
SAHARA25
Asked:
SAHARA25
1 Solution
 
jlevieCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now