 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

16th October 2005, 08:58 AM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 26

|
|
How do I start a service manually?
Specifically, how can I start services 'echo' and 'echo-udp" (which are apparently internal xinetd services) from an xterm?
I just need them enabled while a program is running, or, at most, until system reboot, and I don't want to mess around with any configuration files.
This is probably very simple, but I've spent over an hour googling for it and couldn't find anything that worked.
Thanks in advance!
|

16th October 2005, 10:38 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Location: Finland
Posts: 5,076

|
|
|
Xinetd based services are controlled by the chkconfig command: "chkconfig echo on" and "chkconfig echo-udp on". You must stop them with "chkconfig <service> off" or they will stay enabled permanently.
|

16th October 2005, 01:27 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Netherlands
Age: 25
Posts: 1,426

|
|
Quote:
|
Originally Posted by markkuk
Xinetd based services are controlled by the chkconfig command: "chkconfig echo on" and "chkconfig echo-udp on". You must stop them with "chkconfig <service> off" or they will stay enabled permanently.
|
Can't you just do:
service echo start
end
service echo-udp start
???
__________________
Registered Linux user number 389291
Laptop: Nec Versa p550, Pentium M 1.86GHz, 1024MB ram, x300, 80 GB HD, bluetooth, 2915BG Wlan card
Desktop: Amd Athlon x2 4200+, 2GB ram, Geforce 7300GT 512MB silent, 160GB HD in a nice centurion 534 case :cool:
|

16th October 2005, 02:47 PM
|
|
Registered User
|
|
Join Date: May 2005
Posts: 26

|
|
Quote:
|
Xinetd based services are controlled by the chkconfig command: "chkconfig echo on" and "chkconfig echo-udp on". You must stop them with "chkconfig <service> off" or they will stay enabled permanently.
|
Thanks, this seems to do it! For some reason though I had to do "su -" (login as root) rather than simple "su" for it to work.
bitrain, I tried this before posting but it wouldn't work. Apparently echo is internal to xinetd, hence "service echo start" complains there is no such service.
|

16th October 2005, 04:37 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Netherlands
Age: 25
Posts: 1,426

|
|
Quote:
|
Originally Posted by JohnF
Thanks, this seems to do it! For some reason though I had to do "su -" (login as root) rather than simple "su" for it to work.
|
Cause /sbin isn't in your path, su - takes root's path, and /sbin is there. If you want to do su, try:
/sbin/chkconfig
Quote:
|
bitrain, I tried this before posting but it wouldn't work. Apparently echo is internal to xinetd, hence "service echo start" complains there is no such service.
|
Thanks.
__________________
Registered Linux user number 389291
Laptop: Nec Versa p550, Pentium M 1.86GHz, 1024MB ram, x300, 80 GB HD, bluetooth, 2915BG Wlan card
Desktop: Amd Athlon x2 4200+, 2GB ram, Geforce 7300GT 512MB silent, 160GB HD in a nice centurion 534 case :cool:
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 18:05 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|