Quote:
Originally Posted by
porter
This is your inetd.conf line
Code :
poppassd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/poppassd
then this is what inetd is complaining about...
So "inetd" can't execute what it's been told to run, I was asking if you can run them from the command line.
Do you have a "/usr/sbin/poppassd" or "/usr/sbin/tcpd"?
That "<off>/stream" looks very wrong.
Re-performed following steps to further confirm;
$ cat /etc/inetd.conf
Code :
poppassd stream tcp nowait root /usr/sbin/poppassd
$ telnet localhost 106
Code :
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.
$ tail /var/log/syslog
Code :
Dec 17 10:11:16 mail postfix/anvil[5553]: statistics: max connection rate 1/60s
for (smtp:125.27.165.208) at Dec 17 10:07:54
Dec 17 10:11:16 mail postfix/anvil[5553]: statistics: max connection count 1 for
(smtp:125.27.165.208) at Dec 17 10:07:54
Dec 17 10:11:16 mail postfix/anvil[5553]: statistics: max cache size 1 at Dec 17
10:07:54
Dec 17 10:12:07 mail inetd[5589]: execv /usr/sbin/poppassd: No such file or dire
ctory
Dec 17 10:17:01 mail /USR/SBIN/CRON[5597]: (root) CMD ( cd / && run-parts --re
port /etc/cron.hourly)
Dec 17 10:33:17 mail -- MARK --
Dec 17 10:33:28 mail named[4527]: listening on IPv4 interface vmnet8, 192.168.21
3.1#53
Dec 17 10:33:28 mail named[4527]: listening on IPv4 interface vmnet1, 172.16.77.
1#53
Dec 17 10:39:01 mail /USR/SBIN/CRON[5605]: (root) CMD ( [ -d /var/lib/php5 ] &&
find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs
-r -0 rm)
Dec 17 10:47:29 mail inetd[5633]: execv /usr/sbin/poppassd: No such file or dire
ctory
$ cat /etc/inetd.conf
Code :
#<off># ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
poppassd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/poppassd
$ sudo /etc/init.d/inetd restart
Code :
* Restarting internet superserver... [ OK ]
$ telnet localhost 106
Code :
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.
$ tail /var/log/syslog
Code :
Dec 17 10:11:16 mail postfix/anvil[5553]: statistics: max connection count 1 for (smtp:125.27.165.208) at Dec 17 10:07:54
Dec 17 10:11:16 mail postfix/anvil[5553]: statistics: max cache size 1 at Dec 17 10:07:54
Dec 17 10:12:07 mail inetd[5589]: execv /usr/sbin/poppassd: No such file or directory
Dec 17 10:17:01 mail /USR/SBIN/CRON[5597]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Dec 17 10:33:17 mail -- MARK --
Dec 17 10:33:28 mail named[4527]: listening on IPv4 interface vmnet8, 192.168.213.1#53
Dec 17 10:33:28 mail named[4527]: listening on IPv4 interface vmnet1, 172.16.77.1#53
Dec 17 10:39:01 mail /USR/SBIN/CRON[5605]: (root) CMD ( [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Dec 17 10:47:29 mail inetd[5633]: execv /usr/sbin/poppassd: No such file or directory
Dec 17 10:51:03 mail inetd[5656]: execv /usr/sbin/tcpd: No such file or directory
$ locate poppassd
Code :
/etc/pam.d/poppassd
/etc/xinetd.d/poppassd
/usr/sbin/poppassd
/usr/share/doc/poppassd
/usr/share/doc/poppassd/changelog.Debian.gz
/usr/share/doc/poppassd/copyright
/usr/share/doc/poppassd/README.gz
/usr/share/man/man8/poppassd.8.gz
/var/cache/apt/archives/poppassd_1.8.5-3.1ubuntu1_amd64.deb
/var/lib/dpkg/info/poppassd.conffiles
/var/lib/dpkg/info/poppassd.list
/var/lib/dpkg/info/poppassd.md5sums
/var/lib/dpkg/info/poppassd.postinst
/var/lib/dpkg/info/poppassd.postrm
$ locate tcpd
Code :
/usr/sbin/couriertcpd
/usr/sbin/tcpdump
/usr/share/doc/tcpdump
/usr/share/doc/tcpdump/changelog.Debian.gz
/usr/share/doc/tcpdump/changelog.gz
/usr/share/doc/tcpdump/copyright
/usr/share/doc/tcpdump/examples
/usr/share/doc/tcpdump/examples/atime.awk
/usr/share/doc/tcpdump/examples/packetdat.awk
/usr/share/doc/tcpdump/examples/send-ack.awk
/usr/share/doc/tcpdump/examples/stime.awk
/usr/share/doc/tcpdump/README.gz
/usr/share/man/man1/couriertcpd.1.gz
/usr/share/man/man8/tcpdump.8.gz
/usr/share/webmin/caldera/tcpd
/usr/share/webmin/caldera/tcpd/images
/var/cache/apt/archives/tcpdump_3.9.5-2ubuntu1_amd64.deb
/var/lib/dpkg/info/tcpdump.list
/var/lib/dpkg/info/tcpdump.md5sums
$ ls -l /usr/sbin/poppassd
Code :
ls: /usr/sbin/poppassd: No such file or directory
$ ls -al /usr/sbin | grep poppassd
No printout
The file /usr/sbin/poppassd seems missing.
Edit:
Further discovery;
$ apt-cache policy poppassd
Code :
poppassd:
Installed: (none)
Candidate: 1.8.5-3.1ubuntu1
Version table:
1.8.5-3.1ubuntu1 0
500 http://us.archive.ubuntu.com feisty/universe Packages
100 /var/lib/dpkg/status
$ apt-cache policy openbsd-inetd
Code :
openbsd-inetd:
Installed: (none)
Candidate: 0.20050402-3
Version table:
0.20050402-3 0
500 http://us.archive.ubuntu.com feisty/main Packages
They are not installed.
I have no idea when poppassd was removed. Previously I manually installed it on repo.
Shall I reinstall these packages? How about those old files? Any action to be taken?
TIA
satimis