-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Chong wrote: > -rw-r--r-- 1 root root 392 Dec 10 2004 /etc/xinetd.d/sgi_fam > But when I try to run it, it tells me permission denied. > Portmap is already running: > As far as I can tell, xinetd is a folder that contains the sgi_fam file. > Sorry, my Linux knowledge is very limited ...
As it was for all of us when we started. You'll get there. :-) The sig_fam file is not a program. It is the configuration file for xinetd to know what program to run (and how to run it) when requests come in for this service. This is true for all the files in the /etc/xinetd.d directory. In order to get fam running, you should put this file back to its original permissions (644), then edit the file and find the line that says "disable = yes" and change the "yes" to "no". This tells xinetd that it CAN run this service. If you don't need fam to be accessible to clients across the network, then you also might want to add "bind = 127.0.0.1" to the list of options in this file as well. This will limit fam service to that one machine only. Then you need to restart/start xinetd. So run "service xinetd restart". (Don't worry if it can't "stop" correctly - that just means it wasn't on to begin with.) After that you should make sure xinetd is set to run automatically at boot. So run "chkconfig --add xinetd" This will turn it on at boot. You can check what its boot status is by running "chkconfig xinetd" (This works for any service on the machine as well.) Now fam should be running and you shouldn't see the imapd errors anymore in the logs. Finally, all the xinetd services should be off by default but just in case you should check and make sure you're not running something and didn't realize it. Run "chkconfig --list", which will print out the status of all your services both in the init.d and xinetd.d directories. Scan to the end of the listing (which will be the xinetd services) and make sure they are all say "off". Or you could do something with grep like "grep -e 'disable.*=.*no' /etc/xinetd.d/*" which will print out any files in that directory which are NOT disabled. If you find any services running that you don't expect, then edit that file in the xinetd.d directory and change the "disable = no" to "disable = yes" and then restart xinetd. HTH. Let us know how it goes. Jeff Jansen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDssRwZxtYeNk78A8RAtETAJ4/Yc/r9RY6FKi+3ny8KFi6LVYhyQCdF+sD LHzHluNY2N9hRue91WN6g+I= =kvYE -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
