10-24-2006
That's why I said to man xinetd. I gave you a quick and dirty file that may have no relation to what you really need
Based on the site you probably grabbed this from (
http://www.dmzs.com/~dmz/projects/mrtgsystemload.html) and your error message, you still need to update /etc/services.
Quote:
Each system runs the script from inetd, so /etc/services &
/etc/inetd.conf need to be updated.
services:
# added by dmz for mrtg
stats 7260/tcp
inetd.conf:
# added by dmz 0330 for mrtg
stats stream tcp nowait nobody /usr/local/bin/mrtgsysinfo mrtgsysinfo
It's not going to know what port to be listening on unless you add the info to /etc/services (or possibly in the xinetd file as a "port = 7260" line).
Carl
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there
I'm trying to set up swat on my linux box at home and when i read the man pages on it it says that i have to edit a file called inetd.conf but i did a search like
find / -name inetd.conf
but it only comes up with this.
/etc/linuxconf/archive/Home-Office/etc/inetd.conf
find:... (2 Replies)
Discussion started by: nemex
2 Replies
2. UNIX for Advanced & Expert Users
Hi!!,
I have been working on a HP UX box all these days.. For adding a user defined service, I used to put an entry for this service corresponing to a port number in /etc/services. These services were then defined in inetd.conf.
Now I have moved to Mandrake linux. I can find a file named... (2 Replies)
Discussion started by: jyotipg
2 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to edit the inetd.conf but for some reason when I vi into it, it says "Read Only" even though I am root and the perms are 777?!? (2 Replies)
Discussion started by: shorty
2 Replies
4. Solaris
Anyone have a perl script that can be run via a web browser to turn ftp or telnet on and off in etc/inetd.conf ? Believe it or not but I ride a motorcycle a lot in the summer and carry a laptop in my saddlebags to connect from almost anywhere via Verizon alongside the highway. However, have too... (0 Replies)
Discussion started by: thomi39
0 Replies
5. Solaris
Hello Guys,
Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies
6. Red Hat
hi,
I use red hat linux .
When I start up network service .
I get below error in eth2
root@vls etc]# service network restart
Shutting down interface eth2:
Shutting down loopback interface:
Bringing up loopback interface:
Bringing up interface eth2: RTNETLINK answers: File exists
Error... (10 Replies)
Discussion started by: chuikingman
10 Replies
7. AIX
Hello,
We're working on securing the AIX environment. started with disabling unused services on AIX.
Below are the entries which are not commented on my test LPAR (even other LPARs).
ntalk dgram udp wait root /usr/sbin/talkd talkd
daytime stream tcp nowait root... (1 Reply)
Discussion started by: system.engineer
1 Replies
8. Shell Programming and Scripting
Hello all,
Newbie here.
I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies
9. Solaris
Hi,
I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf.
I used below to configure both settings:
# svccfg -s dns/client
svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
LEARN ABOUT DEBIAN
xtelld
XTELLD(8) System Manager's Manual XTELLD(8)
NAME
xtelld - daemon receiving messages from xtell(1) clients
SYNOPSIS
xtelld [options]
DESCRIPTION
xtelld is daemon receiving messages from the xtell(1) client and displaying them to apropriate user.
OPTIONS
--help Short help
--alone
Force server to run standalone
--inetd
Force server to act as service of inetd
--version
Print version information and exit.
-sX Lifetime for spawned services (in seconds) ex: -s25 maintain connections for up to 25 seconds
-mX Spawn no more than X children services at a time ex: -m15 service no more than 15 requests at once. Note: ignored if inetd service
-pX Use port X, default: 4224
-n Do not lookup addresses, use IP numbers instead
USAGE
Xtell daemon can run either from inetd(preferred) or from command line. If you decide to start it from inetd, add this line to /etc/ser-
vices :
xtell 4224/tcp # xtell server
and this line to /etc/inetd.conf :
xtell stream tcp nowait nobody.tty /usr/sbin/tcpd /usr/local/sbin/xtelld
Notice that the entries are separated by tabs, not spaces. Restart inetd with killall -HUP inetd
What to do if you are a normal user and want to run xtell daemon:
You can't run it from inetd, obviously. Just start ./xtelld to use xtell on default port (4224). In this case, xtell can write messages
only to you. If there is another user on that system willing to get messages, either s/he starts xtelld on another port (e.g. ./xtelld
-p4225), or makes his/her tty writable by you (e.g. chmod a+rw /dev/tty* /dev/pts/*)
AUTHOR
Radovan Garabik (garabik@fmph.uniba.sk)
SEE ALSO
xtell(1), write(1), talk(1), talkd(8), tty(1)
XTELLD(8)