xinetd or inetd
xinetd or inetd
Hi,
yesterday I installed my first CentOS system. Before I was always using Debian for my servers.
When I configured my vsftpd I was just wondering how to setup xinetd or inetd for listening on ports and starting vsftpd.
I found /etc/xinetd.d. But there is no xinetd installed by default. Why? Shall I start all my services in standalone mode? What is the concept of CentOS in this issue?
Regards,
newpipe
yesterday I installed my first CentOS system. Before I was always using Debian for my servers.
When I configured my vsftpd I was just wondering how to setup xinetd or inetd for listening on ports and starting vsftpd.
I found /etc/xinetd.d. But there is no xinetd installed by default. Why? Shall I start all my services in standalone mode? What is the concept of CentOS in this issue?
Regards,
newpipe
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: xinetd or inetd
Welcome to the CentOS fora.
By example:
[root@poq1 ~]# rpm -ql vsftpd | grep etc
/etc/logrotate.d/vsftpd.log
/etc/pam.d/vsftpd
/etc/rc.d/init.d/vsftpd
/etc/vsftpd
/etc/vsftpd/ftpusers
/etc/vsftpd/user_list
/etc/vsftpd/vsftpd.conf
/etc/vsftpd/vsftpd_conf_migrate.sh
See if the service is on by default:
[root@poq1 ~]# chkconfig vsftpd --list
vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
No, so start it and set it to start at boot:
[root@poq1 ~]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
[root@poq1 ~]# chkconfig vsftpd on
[root@poq1 ~]# chkconfig vsftpd --list
vsftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
By example:
[root@poq1 ~]# rpm -ql vsftpd | grep etc
/etc/logrotate.d/vsftpd.log
/etc/pam.d/vsftpd
/etc/rc.d/init.d/vsftpd
/etc/vsftpd
/etc/vsftpd/ftpusers
/etc/vsftpd/user_list
/etc/vsftpd/vsftpd.conf
/etc/vsftpd/vsftpd_conf_migrate.sh
See if the service is on by default:
[root@poq1 ~]# chkconfig vsftpd --list
vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
No, so start it and set it to start at boot:
[root@poq1 ~]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
[root@poq1 ~]# chkconfig vsftpd on
[root@poq1 ~]# chkconfig vsftpd --list
vsftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Re: xinetd or inetd
Thanks for your answer!
vsftpd ans some other daemons are working right now.
My question was just why there is no xinetd or inetd, so that daemons don't have to run all the time.
Regards,
newpipe
vsftpd ans some other daemons are working right now.
My question was just why there is no xinetd or inetd, so that daemons don't have to run all the time.
Regards,
newpipe
Re: xinetd or inetd
[quote]
newpipe wrote:
My question was just why there is no xinetd or inetd, so that daemons don't have to run all the time.
[/quote]
This is purely an upstream decision. You'd have to ask Red Hat why this was done that way.
newpipe wrote:
My question was just why there is no xinetd or inetd, so that daemons don't have to run all the time.
[/quote]
This is purely an upstream decision. You'd have to ask Red Hat why this was done that way.
Re: xinetd or inetd
All right! Thanks for your answer!
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
xinetd or inetd
If you don't have xinetd, then you did not install any services that required it.
My CentOS 5 servers certainly have it.
My CentOS 5 servers certainly have it.
Re: xinetd or inetd
Does it mean that you can use xinetd with upstart scripts with no problems?gerald_clark wrote:If you don't have xinetd, then you did not install any services that required it.
My CentOS 5 servers certainly have it.
Re: xinetd or inetd
Upstart scripts and xinetd have different use cases. I don't know if trying to combine them in some way would make any sort of sense.
Also, upstart is something for CentOS 6 and this message was posted to the CentOS 5 section. CentOS 7 has systemd instead. This might not be the correct subforum for your question, depending on what you are trying to achieve.
Also, upstart is something for CentOS 6 and this message was posted to the CentOS 5 section. CentOS 7 has systemd instead. This might not be the correct subforum for your question, depending on what you are trying to achieve.
Re: xinetd or inetd
Also, you are posting to a 5 year old thread with what looks like an unrelated question. Please start your own thread with a descriptive subject in the correct forum and post more details if you still have questions. This thread is locked.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke