1. The "respawn" message is definitely a big deal. It means the process is
starting, ending, and restarting repeatedly. This both consumes a lot of CPU
time and indicates a configuration error in the inittab line. I don't have
your prior messages to consult (and in any case you've used several
variations on the line), so I can't suggest what that error might be. But
you definitely want to fix it.

2. What it *might* be is hinted at by these lines taken from the log
fragment you posted:

>Apr 23 07:04:43 dhamma mgetty[381]: init chat failed, exiting...:
Interrupted system call
>Apr 23 07:04:43 dhamma mgetty[381]: failed in mg_init_data, dev=modem, pid=381
>Apr 23 07:05:59 dhamma mgetty[426]: init chat failed, exiting...:
Interrupted system call
>Apr 23 07:05:59 dhamma mgetty[426]: failed in mg_init_data, dev=modem, pid=426
>Apr 23 07:07:15 dhamma mgetty[431]: init chat failed, exiting...:
Interrupted system call
>Apr 23 07:07:15 dhamma mgetty[431]: failed in mg_init_data, dev=modem, pid=431

This makes me think that you somehow have mgetty set up to execute pppd
(which in turn executes chat) each time it starts ... when what you actually
want to do is have mgetty execute pppd only after it receives an incoming
call (or do you even want it to do that? I forget now the details of your
planned setup).

3. You don't need the /etc/hosts entries in order for pppd to work. You do
need them to let each machine locate the other (and, ideally, itself) by
name. Otherwise, you'd have to use the actual IP addresses to connect. Not
knowing the details of your setup, I'm not *sure* if the entries are exactly
right, but the hosts for the main server (dhamma, right?) *looks* okay, the
one for mail1 wrong (it needs an entry for mail2, but probably not one for
dhamma, or at least not one with the IP address for dhamma's ppp0 interface).

4. The machines should NOT be listed in /etc/resolv.conf (unless they are
running named, in which case they should be listed as nameservers).

At 10:45 AM 4/23/99 -0600, Jacob (Mettavihari) wrote [abridged]:

>I have in the main server "/etc/hosts"
>
>204.143.107.46 dhamma  dhamma
>127.0.0.1      localhost       localhost.localdomain
>10.1.1.1       mail1
>10.1.1.128     mail2
>
>
>and on the mail1 "/etc/hosts" server
>
>10.1.1.1       mail1   mail1.metta.lk
>204.143.107.46 dhamma  dhamma
>
>+++++++++++++++++++++++++++++++++++
>I have in the "/etc/resolv.conf" on the main server 
>
>search metta.lk 
>nameserver 204.143.107.34
>nameserver 204.143.96.17
>mail1  10.1.1.1
>mail2  10.1.1.128
>
>and on the mail1 server I have
>nameserver 10.1.1.1
>dhamma 204.143.107.46 
>
>If you see anything wrong please let me know.

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.328.4219 voice                              [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to