LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-04-2014, 09:12 AM   #1
linux425
LQ Newbie
 
Registered: Nov 2014
Posts: 4

Rep: Reputation: Disabled
Rsync could not run as daemon


Hi All, this is the first time I post message here. Nice to meet you all first!!

I got a problem on configuring Rsync on my CentOS server. The rsync could not execute on startup and I found the port is not open by netstat -nr |grep ":873" unless I execute rsync --daemon manually. Might I seek for all your suggestion? Here is the configuration files:

======================================
# cat /etc/xinetd.d/rsync
service rsync
{
disable = no
socket_type  = stream
wait      = no
user      = root
server     = /usr/bin/rsync
server_args  = --daemon
log_on_failure += USERID
}
======================================

#cat /etc/rsyncd.conf
log file = /var/log/rsync.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock

secrets file = /etc/rsyncd.secrets
motd file = /etc/rsyncd.motd
read only = yes
list = yes
uid = nobody
gid = nobody

[backup]
comment = Folder on server01
path = /home/backup
auth users =
hosts allow = 192.168.0.0/24
hosts deny = *.microsoft.com
list = false

thank you very much!
 
Old 11-04-2014, 09:33 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Is xinetd started ?
 
Old 11-04-2014, 07:21 PM   #3
linux425
LQ Newbie
 
Registered: Nov 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi linosaurusroot, thank you for your reply.

Yes. I ran systemctl restart xinetd already. Besides, it is confirmed rsync is ON when run chkconfig --list |grep "rsync"

Thank you!
 
  


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
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 04:08 AM
ssh problem with rsync daemon kitkate Linux - Newbie 4 07-21-2008 09:56 AM
Enable daemon to run with service daemon start,etc baddah Programming 6 12-02-2007 05:51 PM
rsync daemon hverne Red Hat 6 06-04-2005 08:37 PM
rsync daemon hverne Fedora 1 05-27-2005 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:42 AM.

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