LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-01-2005, 06:26 PM   #1
kernel_bum
Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
pmap_set failed trying to start fam w/ xinetd


I'm having some problems starting FAM-2.6.8-12 with xinetd on Fedora Core 1. In began with courier-imap logging the following errors:

Code:
imapd: Check for proper operation and configuration
imapd: of the File Access Monitor daemon (famd).
imapd: Failed to create cache file: maildirwatch 
imapd: Error: Input/output error
The courier-imap FAQ stats that FAM needs to be running along with portmap. Portmap is running but when I try to restart xinetd I get this error:

Code:
pmap_set failed. service=sgi_fam program=391002 version=2
Here is the config for sgi_fam from xinted:

Code:
# default: on
# description: FAM is a file monitoring daemon. It can \
# be used to get reports when files change.
service sgi_fam
{
        type         = RPC UNLISTED
        socket_type  = stream
        user         = root
        group        = nobody
        server       = /usr/bin/fam
        wait         = yes
        protocol     = tcp
        rpc_version  = 2
        rpc_number   = 391002
        bind         = 127.0.0.1
}
pmap_sgi looks like it sets the list of registered RPC programs on the localhost. rpcinfo -p outputs:

Code:
program vers proto   port
 100000    2   tcp    111  portmapper
 100000    2   udp    111  portmapper
 391002    2   tcp    917  sgi_fam
Obviously, netstat -pnl | grep 917 shows there is nothing bound to that port. My understanding of rpc is limited and googling has either shown that running portmap solves the problem or I need to install FAM. Shutting down courier-imap and xinetd, then running fam -d -f outputs:

Code:
fam[19877]: log level is LOG_DEBUG
fam[19877]: read /etc/fam.conf line 13: "insecure_compatibility" = "false"
fam[19877]: read /etc/fam.conf line 20: "untrusted_user" = "nobody"
fam[19877]: read /etc/fam.conf line 28: "local_only" = "false"
fam[19877]: read /etc/fam.conf line 35: "xtab_verification" = "true"
fam[19877]: Setting untrusted-user to "nobody" (uid: 99, gid: 99)
fam[19877]: listening for clients on descriptor 3
Looks like it's working in standalone, but can't be started from xinetd. Any help is always appreciated.
 
Old 10-13-2005, 12:05 AM   #2
sww
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
pmap_set and sgi_fam

Had the same problem. Aparently the portmapper had an instance of it already registered. Here is how I resolved it.

pmap_dump > /tmp/x

edit the file /tmp/x and remove the sgi_fam line.

then stop portmap and restart THIS way

/etc/init.d/portmap stop
/etc/init.d/portmap start

reload the portmap

pmap_set < /tmp/x

then reactivate sgi_fam like this

chkconfig sgi_fam on


watch your /var/log/messages file and your should see no failures. If you do, then this was not your problem.
 
Old 01-21-2006, 10:32 PM   #3
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Rep: Reputation: 30
I am attempting to install squirrelmail and aspell.

I tried the example above and here was my output:

file x:
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper

My logs are showing this:



Jan 21 20:24:13 mind imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 21 20:24:13 mind imapd: LOGIN, user=sapient@hingedmind.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Jan 21 20:24:13 mind imapd: Failed to create cache file: maildirwatch (sapient@hingedmind.com)
Jan 21 20:24:13 mind imapd: Error: Input/output error
Jan 21 20:24:13 mind imapd: Check for proper operation and configuration
Jan 21 20:24:13 mind imapd: of the File Access Monitor daemon (famd).
Jan 21 20:24:13 mind imapd: Failed to create cache file: maildirwatch (sapient@hingedmind.com)
Jan 21 20:24:13 mind imapd: Error: Input/output error
Jan 21 20:24:13 mind imapd: Check for proper operation and configuration
Jan 21 20:24:13 mind imapd: of the File Access Monitor daemon (famd).
Jan 21 20:24:13 mind imapd: LOGOUT, user=sapient@hingedmind.com, ip=[::ffff:127.0.0.1], headers=0, body=0, time=0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xinetd reload failed allelopath Linux - Networking 6 04-14-2005 04:38 PM
start services without xinetd penguinview Linux - Newbie 3 09-27-2003 12:10 PM
Xinetd doesn't start Suse8.2 Linux - Networking 2 09-09-2003 12:30 PM
Bind failed in xinetd justAnotherGuy Linux - General 1 08-02-2003 10:32 PM
Xinetd failed to reload nacosta Linux - Networking 2 11-28-2001 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration