LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What will happen if you recompile and install applications in Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/what-will-happen-if-you-recompile-and-install-applications-in-linux-798733/)

rfreiberger 03-29-2010 05:07 PM

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

bret381 03-29-2010 05:18 PM

has it ever loaded or is this a new install? also what error messages if any are you getting.

Tinkster 03-29-2010 05:58 PM

Quote:

Originally Posted by rfreiberger (Post 3917225)
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

rfreiberger 03-29-2010 06:57 PM

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

frieza 03-29-2010 07:06 PM

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

rfreiberger 03-29-2010 07:12 PM

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

Tinkster 03-29-2010 08:14 PM

Quote:

Originally Posted by rfreiberger (Post 3917289)
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


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