LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2010, 05:07 PM   #1
rfreiberger
Member
 
Registered: Jul 2009
Location: Union City, CA, USA
Distribution: FreeBSD, Mint, CentOS
Posts: 35

Rep: Reputation: 16
What will happen if you recompile and install applications in Linux?


Know it's a newbie questions but I am not sure of the answer, also I'm away from my VM workstation so I can not test this.

I'm working on a system, looks like xinetd is having some start up issues. I could reinstall it using yum but looking at the /etc/xinetd.d folder, there's already a few config files there for other applications.

So if I run a new version xinetd I just download, ./configure, make, make install, will that overwrite all of the config files already in /etc/xinetd.d?

I searched but didn't find much about this, I assume it would leave the current files in the same place.

Thanks,
Rob
 
Old 03-29-2010, 05:18 PM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
has it ever loaded or is this a new install? also what error messages if any are you getting.
 
Old 03-29-2010, 05:58 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by rfreiberger View Post
Know it's a newbie questions but I am not sure of the answer, also I'm away from my VM workstation so I can not test this.

I'm working on a system, looks like xinetd is having some start up issues. I could reinstall it using yum but looking at the /etc/xinetd.d folder, there's already a few config files there for other applications.

So if I run a new version xinetd I just download, ./configure, make, make install, will that overwrite all of the config files already in /etc/xinetd.d?

I searched but didn't find much about this, I assume it would leave the current files in the same place.

Thanks,
Rob

Your distro says Ubuntu, but you're using yum?

Anyway ... I'd recommend against that - see whether yum knows
about an updated/bug-fixed version (if that is indeed the
problem). And as bret said: what errors are you seeing in
the first place?


Cheers,
Tink
 
Old 03-29-2010, 06:57 PM   #4
rfreiberger
Member
 
Registered: Jul 2009
Location: Union City, CA, USA
Distribution: FreeBSD, Mint, CentOS
Posts: 35

Original Poster
Rep: Reputation: 16
I did a install of nrpe, and part of the install requires xinetd. In other servers it was not installed so I installed it either from yum or apt-get but on this server it's already in place.

While I checked nrpe by "netstat -at | grep nrpe" nothing came back.

Checking the services by "service --status-all | grep xinetd" comes back with.


[root@ns2 etc]# service --status-all | grep xinetd
/etc/init.d/avahi-daemon: line 21: [: =: unary operator expected
/etc/init.d/avahi-dnsconfd: line 21: [: =: unary operator expected
capi not installed - No such file or directory (2)
/etc/init.d/conman: line 16: [: =: unary operator expected
/etc/init.d/netplugd: line 21: [: =: unary operator expected
/etc/init.d/ntpd: line 19: [: =: unary operator expected
/etc/init.d/rdisc: line 25: [: =: unary operator expected
/etc/init.d/rwhod: line 16: [: =: unary operator expected
/etc/init.d/smb: line 32: [: =: unary operator expected
/etc/init.d/squid: line 25: [: =: unary operator expected
squid: ERROR: No running copy
/etc/init.d/vncserver: line 14: [: =: unary operator expected
/etc/init.d/vsftpd: line 19: [: =: unary operator expected
/etc/init.d/winbind: line 30: [: =: unary operator expected
/etc/init.d/ypbind: line 28: [: =: unary operator expected
 
Old 03-29-2010, 07:06 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
isnt ubuntu moving away from xinetd to upstart? perhaps you should look at upstart and remove the offending entries from your xinetd config as perhaps they have been migrated to upstart instead
 
Old 03-29-2010, 07:12 PM   #6
rfreiberger
Member
 
Registered: Jul 2009
Location: Union City, CA, USA
Distribution: FreeBSD, Mint, CentOS
Posts: 35

Original Poster
Rep: Reputation: 16
Sorry,

I should have noted that this is Redhat version 4 not Ubuntu. I followed the same steps on Ubuntu with no issues but also xinetd is not used either since I installed it fresh.

I did search the files that were referenced in the error message and here's the line number 21 in the first two.

[ ${NETWORKING} = "no" ] && exit 0

The servers are our DNS servers so I'm hesitant to make any changes until I find out what is causing this.

Thanks,
Rob
 
Old 03-29-2010, 08:14 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by rfreiberger View Post
I did a install of nrpe, and part of the install requires xinetd. In other servers it was not installed so I installed it either from yum or apt-get but on this server it's already in place.

While I checked nrpe by "netstat -at | grep nrpe" nothing came back.

Checking the services by "service --status-all | grep xinetd" comes back with.


[root@ns2 etc]# service --status-all | grep xinetd
/etc/init.d/avahi-daemon: line 21: [: =: unary operator expected
/etc/init.d/avahi-dnsconfd: line 21: [: =: unary operator expected
capi not installed - No such file or directory (2)
/etc/init.d/conman: line 16: [: =: unary operator expected
/etc/init.d/netplugd: line 21: [: =: unary operator expected
/etc/init.d/ntpd: line 19: [: =: unary operator expected
/etc/init.d/rdisc: line 25: [: =: unary operator expected
/etc/init.d/rwhod: line 16: [: =: unary operator expected
/etc/init.d/smb: line 32: [: =: unary operator expected
/etc/init.d/squid: line 25: [: =: unary operator expected
squid: ERROR: No running copy
/etc/init.d/vncserver: line 14: [: =: unary operator expected
/etc/init.d/vsftpd: line 19: [: =: unary operator expected
/etc/init.d/winbind: line 30: [: =: unary operator expected
/etc/init.d/ypbind: line 28: [: =: unary operator expected
You'll probably notice that none of those lines have
got anything to do with xinetd. They're error messages
that service --status-all is outputting, and that grep
isn't processing since they're on stderr, not stdout.


So chances are that service itself is the culprit. What
do you get w/o the grep tacked on?


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why cant I install applications? on Add/Remove Applications totaldisaster Ubuntu 2 04-13-2008 01:02 AM
Do I need to recompile KDE applications now that QT is updated? Old_Fogie Slackware 4 10-27-2006 05:33 PM
new install Ubuntu, what will happen if cp all the files to new partition? gootoo Ubuntu 2 10-04-2006 08:13 PM
Where would i install applications on linux m2azer Linux - Newbie 5 05-27-2005 02:47 PM
Nothing will happen when trying to install Mandrake 10.1 ddc2ooo7 Linux - Newbie 4 01-06-2005 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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