Steve,
disabled=yes is not in xinetd.conf. I enabled daytime and xinetd started it up so I know it is working. When I restart xinetd all that shows up in messages is:
tail /var/log/messages
Jun 22 16:03:27 alert-2 xinetd[27615]: Exiting...
Jun 22 16:03:27 alert-2 xinetd: xinetd shutdown succeeded
Jun 22 16:03:27 alert-2 xinetd: xinetd startup succeeded
Jun 22 16:03:28 alert-2 xinetd[29218]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
Jun 22 16:03:28 alert-2 xinetd[29218]: Started working: 0 available services
'bb 1984/tcp bigbrother' is in /etc/services.
I have tried to start it manually:
[root@alert-2 bin]# ./bb2ns start -l bb2ns.log
BB2NS daemon starting...
[root@alert-2 bin]#
And the log just shows:
17:51 Opening logfile
17:51 bb2ns daemon starting
But, it never launches. I assume it should show up in the proc list and it doesn't. And an nmap scan for 1984/tcp yields this:
Starting nmap 3.70 (
http://www.insecure.org/nmap/ ) at 2006-06-22 17:57 PDT
Interesting ports on alert-2 (172.16.100.18):
PORT STATE SERVICE
1984/tcp closed bigbrother
You can see it recognizes the port.
Could there be something wrong with the compiling process:
make bb2ns
cc bb2ns.c -o bb2ns
[root@alert-2 bb2ns-v1.0]# ll bb2ns
-rwxr-xr-x 1 root root 18036 Jun 22 18:00 bb2ns
Is 18036 the right size for the executable?