LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-02-2005, 11:45 AM   #1
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Rep: Reputation: 15
Missing files for NFS on bootup....


Hi all,

I'm been wrestling with my NFS connection for a while. When I issue the command /etc/inid.d/nfs start I get a bunch of "unable to register service" errors which are also shown during the bootup sequence. During the bootup sequence the system is also looking for the "libc.so.6" and "libnsl.so.1" files but can't find them. These files look like they are the culprits. When I search for these files they are reported as "broken links" so of course the system can't find them. Anyone have an idea how I can get them back?.... I tried re-installing the glibc RPM but the software told me that it was already installed.... Do I need to override that somehow?


-- vino
 
Old 03-02-2005, 11:56 AM   #2
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
Your best bet would to be

1) Find out what version you have

rpm -q glibc

2) Obtain the same version from an official mirror of Redhat

3) Force the reinstallation of the package

rpm -ivh glibc-<insert full name>-.rpm --force

obviously you would use the full package name in the above action.
 
Old 03-02-2005, 12:28 PM   #3
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
OK, the force on the RPM install worked fine but the system still can't find the two files on bootup.....


If I do a file search (with the Fedora file search GUI) I find that the file should be in the /lib directory as a link to something else but the link is listed as "broken".

When I look at the /lib directory it shows that it is linked to libc-2.3.4.so and the link looks valid... but for some reason the system thinks it is broken. Anybody have any ideas why?
 
Old 03-02-2005, 01:59 PM   #4
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
Have you tried removing the links, then relinking them? Take note to which file each link is pointing to then remove the link and relink it.
 
Old 03-02-2005, 02:53 PM   #5
Duudson
Member
 
Registered: Dec 2004
Distribution: RHEL3, FC3
Posts: 53

Rep: Reputation: 15
Re: Missing files for NFS on bootup....

Quote:
Originally posted by vinoloco
Hi all,

I'm been wrestling with my NFS connection for a while. When I issue the command /etc/inid.d/nfs start I get a bunch of "unable to register service" errors which are also shown during the bootup sequence.

-- vino
Is portmap running?
 
Old 03-02-2005, 03:39 PM   #6
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
I don't think so. The errors I get seem to preclude portmap from running. At least those are the messages I get on startup. I don't see a "portmap" process running.


The specific errors I get when I start NFS are as follow:


/etc/init.d/nfs start
Starting NFS services: [OK]
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp). [FAILED]
Starting NFS daemon: [FAILED]
Starting NFS mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused [FAILED]
 
Old 03-02-2005, 04:32 PM   #7
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Oh yeah, I also re-linked the file. No luck.... system still sees it as a broken link and can't find it.
 
Old 03-03-2005, 03:58 AM   #8
Duudson
Member
 
Registered: Dec 2004
Distribution: RHEL3, FC3
Posts: 53

Rep: Reputation: 15
What kind of error messages do you get when you try to start portmap?
 
Old 03-03-2005, 11:42 AM   #9
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Duudson,

The error messages I get when I start portmap are as follows:

Starting portmap: portmap: error while loading shared libraries: libnsl.so.1: cannot open shared object file: Permission denied


I'm getting the feeling that my system is seriously screwed.... The files are all there (and linked properly) but it can't find them.

-- vino
 
Old 03-03-2005, 02:45 PM   #10
Duudson
Member
 
Registered: Dec 2004
Distribution: RHEL3, FC3
Posts: 53

Rep: Reputation: 15
Ok, do you have SElinux enabled?

Try
Code:
fixfiles restore
 
Old 03-03-2005, 03:44 PM   #11
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Duudson,

How do I figure out if I have SELinux enabled? Is the "fixfiles" entered on the command line? Sorry but I'm still a little new to Linux.....


-- vino
 
Old 03-04-2005, 01:42 AM   #12
Duudson
Member
 
Registered: Dec 2004
Distribution: RHEL3, FC3
Posts: 53

Rep: Reputation: 15
It's enabled in file /etc/sysconfig/selinux

But try giving that fixfiles restore command in commandline
 
Old 03-04-2005, 03:49 PM   #13
vinoloco
Member
 
Registered: Jan 2005
Posts: 53

Original Poster
Rep: Reputation: 15
Duudson,

Looks like that worked! I'll have to read up on the "fixfiles" command. Thanks for the help.

-- vino
 
  


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
How do you disable NFS so that it doesn't try to start on bootup? FunBunny Mandriva 1 05-24-2005 10:23 PM
client side NFS files? bobbens Linux - Networking 3 11-01-2004 02:52 AM
Knoppix bootup files question pauly99 Debian 2 07-08-2004 12:38 PM
NFS Permissions on files kpw4v Linux - Networking 7 10-08-2003 06:05 PM
NFS and MS Access MDB Files ja_nch Linux - Networking 1 09-20-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:35 PM.

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