Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 1998 11:54:56 +0300 (EEST)
From:      Sergey Kosinov <sergey@osvita.frk.kirovograd.ua>
To:        questions@FreeBSD.ORG
Subject:   Please help me resolve this
Message-ID:  <Pine.BSF.3.96.980518101204.23642A-100000@osvita.frk.kirovograd.ua>

next in thread | raw e-mail | index | archive | help
Dear Sir or Madam,

I am unable to solve some problems that constantly occur in my system, so
I ask You to give me Your competent advice to help me out.
I have Free BSD 2.2.2.

1. My first headache is my mail system. We have a _very_ low bandwidth
connection, and quite often, when users subscribe to some highly populated
mailing lists or order something rather large via ftp-mail, the memory of
the server becomes stuffed with lots of idle sendmail processes. In such
situations the output of "ps -ax" command looks like:

------ some lines deleted ------
  113  ??  Ss     0:00.28 sendmail: rejecting connections on port 25: 15 childr
 1255  ??  I      0:00.01 sendmail: server falcon.glas.apc.org [193.124.5.54] c
 1256  ??  I      0:00.02 sendmail: RAA01256 falcon.glas.apc.org [193.124.5.54]
 1288  ??  I      0:00.01 sendmail: server falcon.glas.apc.org [193.124.5.54] c
 1289  ??  I      0:00.02 sendmail: RAA01289 falcon.glas.apc.org [193.124.5.54]
 1445  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1451  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1452  ??  I      0:00.02 sendmail: TAA01452 kremvax.demos.su [194.87.0.20]: DA
 1453  ??  I      0:00.02 sendmail: server kremvax.demos.su [194.87.0.20] child
 1458  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1461  ??  I      0:00.02 sendmail: TAA01461 kremvax.demos.su [194.87.0.20]: DA
 1464  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1467  ??  I      0:00.05 sendmail: TAA01467 kremvax.demos.su [194.87.0.20]: DA
 1469  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1470  ??  I      0:00.02 sendmail: TAA01470 kremvax.demos.su [194.87.0.20]: DA
 1473  ??  I      0:00.02 sendmail: TAA01473 kremvax.demos.su [194.87.0.20]: DA
 1479  ??  I      0:00.03 sendmail: TAA01479 kremvax.demos.su [194.87.0.20]: DA
 1482  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1484  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1486  ??  I      0:00.02 sendmail: TAA01486 kremvax.demos.su [194.87.0.20]: DA
 1487  ??  I      0:00.03 sendmail: TAA01487 kremvax.demos.su [194.87.0.20]: DA
 1509  ??  I      0:00.02 sendmail: server ultra.ts.kiev.ua [193.124.229.197] c
 1511  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1512  ??  I      0:00.02 sendmail: TAA01512 kremvax.demos.su [194.87.0.20]: DA
 1513  ??  I      0:00.01 sendmail: server kremvax.demos.su [194.87.0.20] child
 1514  ??  I      0:00.02 sendmail: TAA01514 kremvax.demos.su [194.87.0.20]: DA
 1570  ??  I      0:00.27 sendmail: NAA07360 physics1.byu.edu: client EHLO (sen
 1590  ??  S      0:00.04 sendmail: server root@baser.frk.kirovograd.ua [194.18
 1599  ??  S      0:00.02 sendmail: server root@baser.frk.kirovograd.ua [194.18
------ some lines deleted ------

Usually, after that I got similar error messages in my log files:

"maillog" - log file
May 17 12:37:53 osvita sendmail[22395]: collect: premature EOM: Error 0
May 17 12:37:53 osvita sendmail[22395]: collect: unexpected close on connection from [192.114.215.2], sender=<C1371937@sapir.makash.ac.il>: Error 0

"messages" - log file
May 12 19:01:50 osvita sendmail[803]: collect: premature EOM: Operation timed out with netra.graphnet.com
May 12 19:01:50 osvita sendmail[803]: QAA00803: SYSERR(root): collect: I/O error on connection from netra.graphnet.com, from=<ekytchanova@graphnet.com>: Operation timed out with netra.graphnet.com
May 12 19:01:50 osvita sendmail[803]: QAA00803: SYSERR(root): collect: I/O error on connection from netra.graphnet.com, from=<ekytchanova@graphnet.com>: Operation timed out with netra.graphnet.com

Is there any hope to cure the way things happen?  Should I install more
memory (now I have only 32M physical RAM)? Or, should I try to tune up
sendmail config somehow?



2. The second problem (well, it does not hurt very much, but I'd rather I 
didn't have it) is the ppp users. According to the log file there are some
conflicts between pppd and routed when a ppp user connects. Is it
necessary to turn off "proxy arp" setting in pppd config file? Or should I
turn off routed completely? The excerpt of the log file is given below.

------ some lines deleted ------
May 14 19:32:03 osvita pppd[16736]: pppd 2.2.0 started by sergey, uid 1011
May 14 19:32:03 osvita pppd[16736]: Connect: ppp0 <--> /dev/cuaa0
May 14 19:32:09 osvita pppd[16736]: local  IP address 194.183.166.97
May 14 19:32:09 osvita pppd[16736]: remote IP address 194.183.166.110
May 14 19:32:09 osvita routed[58]: IP_ADD_MEMBERSHIP ALLHOSTS: Address already in use
May 14 19:32:09 osvita routed[58]: IP_ADD_MEMBERSHIP ALLHOSTS: Address already in use
May 14 19:32:09 osvita routed[58]: setsockopt(IP_ADD_MEMBERSHIP RIP): Address already in use
May 14 19:32:09 osvita routed[58]: setsockopt(IP_ADD_MEMBERSHIP RIP): Address already in use
May 14 19:32:09 osvita routed[58]: punt RTM_ADD without gateway
May 14 19:32:09 osvita routed[58]: punt RTM_ADD without gateway
May 14 19:32:49 osvita pppd[16736]: Modem hangup
May 14 19:32:49 osvita routed[58]: interface ppp0 to 194.183.166.97 turned off
May 14 19:32:49 osvita routed[58]: interface ppp0 to 194.183.166.97 turned off
May 14 19:33:20 osvita routed[58]: punt RTM_LOSING without gateway
May 14 19:33:20 osvita routed[58]: punt RTM_LOSING without gateway
May 14 19:37:35 osvita routed[58]: punt RTM_LOSING without gateway
May 14 19:37:35 osvita routed[58]: punt RTM_LOSING without gateway
May 14 20:04:47 osvita routed[58]: punt RTM_LOSING without gateway
May 14 20:04:47 osvita routed[58]: punt RTM_LOSING without gateway
May 14 20:33:20 osvita routed[58]: punt RTM_LOSING without gateway
------ some lines deleted ------

3. How to log ftp logins and ftp transers? While working with Linux, I
used "xferlog"-file for these purposes. But now, with Free BSD I don't
seem to find anything like "xferlog"-file. 

4. And finally, I just wanted to ask how can I configure syslogd to log
password change events. Is there a simple way to do it in Free BSD?


Thanks a lot for Your assistance. Please take my apologies for being so
much wordy. I didn't mean to, but I thought I'd better give as much
information as possible to describe my situation.

Thank You in advance.

Sincerely,
	Sergey Kosinov
	Net Admin assistant


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980518101204.23642A-100000>