<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
In the log, I see that /test is not being checked. In your config
file, change<br>
<br>
include /test/;<br>
<br>
to<br>
<br>
include /test;<br>
<br>
then, as Miguel suggested, touch a file in /test -- e.g. touch
/test/moose. then rerun csync (with the -vv so you can see that it is
checking this new file). I think this should help.<br>
<pre class="moz-signature" cols="72">--
Mike Milkovich
Partner, Warecorp
<a class="moz-txt-link-abbreviated" href="http://www.warecorp.com">www.warecorp.com</a></pre>
<br>
<br>
Nitin Kataria wrote:
<blockquote cite="mid43736609.2090106@dataarmor.net" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<br>
Helo Micahel, <br>
<br>
Thanks a lot for suggestipon first. Here is my config file . These two
machines are running over different network with VPN connectivity. {
Machines are very much reachable }<br>
<br>
<br>
<b>[root@av root]# cat /etc/csync2.cfg<br>
group mygroup<br>
{<br>
host 192.168.198.128 192.168.197.121 ;<br>
# host (host4@host4-eth2);<br>
<br>
key /etc/csync2.key_mygroup;<br>
<br>
# include /etc/apache;<br>
# include %homedir%/bob;<br>
# exclude %homedir%/bob/temp;<br>
<br>
include /test/;<br>
#exclude *~ .*;<br>
<br>
action {<br>
pattern /etc/httpd/conf/httpd.conf;<br>
pattern /var/www/html/*;<br>
exec "/usr/sbin/apache2ctl graceful";<br>
exec " echo "This is done"";<br>
logfile "/var/log/csync2_action.log";<br>
do-local;<br>
}<br>
<br>
auto none;<br>
}<br>
<br>
#prefix homedir<br>
#{<br>
# on host[12]:<br>
# /users;<br>
# on *:<br>
# /home;<br>
#}<br>
<br>
#nossl host2 host3;<br>
#nossl host3 host2;<br>
<br>
#config /etc/csync2.cfg_anotherone;<br>
#config /etc/csync2.cfg_foo /etc/csync2.cfg_bar;<br>
<br>
</b>and my output for "csync2 -c -r -v -v" [ Its kind of similar to
"csync2 -x -vv" ]<b><br>
<br>
[root@av root]# csync2 -c -r -v -v /<br>
My hostname is av.com.<br>
Database-File: /var/lib/csync2/av.com.db<br>
Config-File: /etc/csync2.cfg<br>
Running recursive check for / ...<br>
SQL: SELECT filename from file where filename = '/' or 1 ORDER BY
filename<br>
SQL Query finished.<br>
Checking /* ..<br>
Don't check at all: /var<br>
Don't check at all: /usr<br>
Don't check at all: /tmp<br>
Don't check at all: /test<br>
Don't check at all: /sbin<br>
Don't check at all: /root<br>
Don't check at all: /proc<br>
Don't check at all: /opt<br>
Don't check at all: /mnt<br>
Don't check at all: /misc<br>
Don't check at all: /lost+found<br>
Don't check at all: /lib<br>
Don't check at all: /initrd<br>
Don't check at all: /home<br>
Don't check at all: /hardware.wci<br>
Don't check at all: /guestbook<br>
Don't check at all: /grey<br>
Don't check at all: /etc<br>
Don't check at all: /dev<br>
Don't check at all: /dailycount<br>
Don't check at all: /boot<br>
Don't check at all: /bin<br>
Don't check at all: /.fonts.cache-1<br>
Don't check at all: /.automount<br>
Don't check at all: /.autofsck<br>
SQL: SELECT command, logfile FROM action GROUP BY command, logfile<br>
SQL Query finished.<br>
Finished with 0 errors.<br>
<br>
</b>I'm still stuck , feeling lost at the moment . Please give some
direction .<br>
<br>
Thanks,<br>
Nitin Kataria<br>
<br>
Michael Milkovich wrote:
<blockquote cite="mid4372AAC3.5000303@warecorp.com" type="cite">Nitin:
<br>
<br>
the first thing I would try is turn on the verbose messages to see what
csync is doing... <br>
<br>
csync2 -x -vv <br>
<br>
turns on pretty verbose mode <br>
<br>
You can tell if items are scheduled for updating but have not yet been
sent over to the remote host(s) by using csync2 -M -- this displays
the content of the "dirty" table. <br>
<br>
If no joy, send me a copy of your config files and the output from
"csync2 -c -r -v -v /" <br>
<br>
-- Mike <br>
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>