Sponsored Content
Full Discussion: inetd.conf in linux
Operating Systems Linux Red Hat inetd.conf in linux Post 302094021 by BOFH on Tuesday 24th of October 2006 12:32:41 PM
Old 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 Smilie

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

inetd.conf file = gone on my home linux box

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

Linux file corresponding to HP-UX inetd.conf

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

Cannot edit inetd.conf???

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

Script for turning processes in etc/inetd.conf on and off

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

basic question on sd.conf and lpc.conf file

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

save resolv.conf in linux

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

Disabling entries on inetd.conf (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

Script to update rsyslog.conf and auditd.conf

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

Configure resolv.conf and nsswitch.conf

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
SHONEYPOT(8)						      System Manager's Manual						      SHONEYPOT(8)

NAME
thpot - Tiny honeypot to setup simple (and fake) services SYNOPSIS
thpot [service name] DESCRIPTION
This manual page documents briefly the thpot command. This manual page was written for the Debian distribution because the original pro- gram does not have a manual page. Instead, it has documentation in the GNU Info format; see below. thpot is a program that enables you to fake services by configuring it to be executed through either xinetd or inetd. All the connection attempts and sessions to simulated services are logged under /var/log/thpot. OPTIONS
This program takes as argument the name of the service which is being simulated, it can be anyone of shell, ftp, http, mssql, smtp, pop3 or ssh. If the service name is none of these a null response is returned (but the session is logged) FILES
/var/log/thpot Location of the connections attempts and sessions to the honeypot services. /etc/thpot/thp.conf Configuration for the honeypot /usr/share/thpot/ Miscellaneous files and functions used by thpot SEE ALSO
inetd.conf(5), inetd(8) AUTHOR
This manual page was written by Javier Fernandez-Sanguino Pen~a <jfs@computer.org>, for the Debian GNU/Linux system (but may be used by others). September 17, 2003 SHONEYPOT(8)
All times are GMT -4. The time now is 02:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy