LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-09-2005, 08:22 PM   #16
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30

Hi trickykid, i just discovered that in order for portmap to run at bootup, rc.conf needs to be configured. is this correct ? pls advise.

portmap_enable=YES" in rc.conf

Regards
Daniel


Quote:
Originally posted by DanielTan
Hi, i login as root. Even in the POST, there are errors such as RPC cannot locate portmap . NIS service also cannot started due to portmap. Exact error didn't record. I just did yum update, but it also doesnt' help. Any idea ?

Regards
Daniel
 
Old 06-09-2005, 09:28 PM   #17
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by DanielTan
Hi trickykid, i just discovered that in order for portmap to run at bootup, rc.conf needs to be configured. is this correct ? pls advise.

portmap_enable=YES" in rc.conf

Regards
Daniel
This has nothing to do with the error your getting in which you have not once read my actual replies to try what I've suggested. Your missing a library most likely, that's your issue and you need to either find the proper library its complaining about and or install the correct package that includes that library.
 
Old 06-09-2005, 09:53 PM   #18
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Hi, i did yum update , isn't that it can solve dependencies problem ? what other ways i can solve it without finding one by one missing library ?

Regards
Daniel


Quote:
Originally posted by trickykid
This has nothing to do with the error your getting in which you have not once read my actual replies to try what I've suggested. Your missing a library most likely, that's your issue and you need to either find the proper library its complaining about and or install the correct package that includes that library.
 
Old 06-10-2005, 12:14 AM   #19
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by DanielTan
Hi, i did yum update , isn't that it can solve dependencies problem ? what other ways i can solve it without finding one by one missing library ?

Regards
Daniel
I never told you to run yum as trying to update your system is not going to fix any dependency problems a particular package or service may have. Your going to have to search for that library that is in your error you get when starting portmap and either first find out if its on your system and if its not, then your going to look for it from a site like www.google.com/linux or the like.. your not listening to what I'm telling you to do.. the answer is in front of you right under your nose but you keep beating around the bush..

Like I said.. I'm not going to give you a direct answer. Doing it this way is going to teach you how to use the available resources for something that is very basic and simple. Trust me, this is as basic as it gets when dealing with Linux and RPM's.
 
Old 06-10-2005, 12:19 AM   #20
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
So after doing a google search myself on the first library you mentioned where it was complaining of not having libnol.so.1.. that library brings up nothing..

What is the exact error message you get when attempting to start portmap? Exact error message? The other error message and lib you refer to deals with glibc which I hope you have installed or you'll have more problems than just portmap.
 
Old 06-10-2005, 10:28 AM   #21
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Exact error message is "Starting portmap: portmap: error while loading shared libraries: libnsl.so.1: cannot open shared object file: Permission denied" . What do you mean by installing the package of the library earlier ? The libnsl library is in my system so like what u say earlier it should be missing out some dependencies. But which one ? What is glibc ? i do not see any in service. Thanks

Regards
Daniel



Quote:
Originally posted by trickykid
So after doing a google search myself on the first library you mentioned where it was complaining of not having libnol.so.1.. that library brings up nothing..

What is the exact error message you get when attempting to start portmap? Exact error message? The other error message and lib you refer to deals with glibc which I hope you have installed or you'll have more problems than just portmap.
 
Old 06-10-2005, 10:41 AM   #22
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by DanielTan
Exact error message is "Starting portmap: portmap: error while loading shared libraries: libnsl.so.1: cannot open shared object file: Permission denied" . What do you mean by installing the package of the library earlier ? The libnsl library is in my system so like what u say earlier it should be missing out some dependencies. But which one ? What is glibc ? i do not see any in service. Thanks

Regards
Daniel
Post the output of:

rpm -qa | grep glibc

And what distro is this? Is it really Redhat 9 like your profile says? My guess is you have a portmap version that was compiled against a different glibc version and is why your getting this error.

Output of this as well please:

rpm -qa | grep portmap
 
Old 06-11-2005, 09:19 PM   #23
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Hi, my distro is FC3. Havent updated my profile yet. below are the outputs.
[root@mp420 ~]# rpm -qa | grep glibc
glibc-kernheaders-2.4-9.1.87
glibc-headers-2.3.5-0.fc3.1
glibc-devel-2.3.5-0.fc3.1
glibc-utils-2.3.5-0.fc3.1
glibc-common-2.3.5-0.fc3.1
glibc-2.3.5-0.fc3.1

[root@mp420 ~]# rpm -qa | grep portmap
portmap-4.0-63
portmap-debuginfo-4.0-63

Fyi, earlier i did download one portmap source rpm , trying to recompile. I'm not sure is it because of this or not. when i disable the portmap service , all the error gone including nfs. Only one error left in startup, the syslog library (libc.co.1) also have permission denied in startup. Only this error if i have not enable the portmap.

[root@mp420 i386]# rpm -ivh portmap-4.0-63.i386.rpm
Preparing... ########################################### [100%]
package portmap-4.0-63 is already installed
file /sbin/portmap from install of portmap-4.0-63 conflicts with file from package portmap-4.0-63
file /usr/sbin/pmap_dump from install of portmap-4.0-63 conflicts with file from package portmap-4.0-63
file /usr/sbin/pmap_set from install of portmap-4.0-63 conflicts with file from package portmap-4.0-63

Regards
Daniel




Quote:
Originally posted by trickykid
Post the output of:

rpm -qa | grep glibc

And what distro is this? Is it really Redhat 9 like your profile says? My guess is you have a portmap version that was compiled against a different glibc version and is why your getting this error.

Output of this as well please:

rpm -qa | grep portmap
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs service on linux suchi_s Linux - Software 1 05-18-2005 10:04 AM
nfs and windows service for unix 3.5 yyjsir Linux - Networking 0 02-03-2005 03:36 AM
service nfs start Soulful93 Linux - Networking 1 06-13-2004 02:25 AM
nfs service starts, however it takes 15 mins Kilka Linux - Networking 3 04-30-2004 04:36 PM
nfs server reported service unavailable: Address already in use Gargomel7 Linux - Networking 0 09-16-2003 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:20 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