[Csync2] Re: Csync2 Help !

Miguel Cabeça cabeca at ist.utl.pt
Thu Nov 10 16:32:53 CET 2005


Hello,

Did you change anything in /test? Updated any file in the dir? If  
not, this is the correct behaviour.

Best regards

Miguel


On 10 Nov, 2005, at 15:23, Nitin Kataria wrote:

>
> Helo Micahel,
>
> 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 }
>
>
> [root at av root]# cat /etc/csync2.cfg
> group mygroup
> {
>         host 192.168.198.128 192.168.197.121 ;
>       #  host (host4 at host4-eth2);
>
>         key /etc/csync2.key_mygroup;
>
>        # include /etc/apache;
>        # include %homedir%/bob;
>        # exclude %homedir%/bob/temp;
>
>         include /test/;
>         #exclude *~ .*;
>
>         action {
>                 pattern /etc/httpd/conf/httpd.conf;
>                 pattern /var/www/html/*;
>                 exec "/usr/sbin/apache2ctl graceful";
>                 exec " echo "This is done"";
>                 logfile "/var/log/csync2_action.log";
>                 do-local;
>         }
>
>         auto none;
> }
>
> #prefix homedir
> #{
> #        on host[12]:
> #                /users;
> #        on *:
> #                /home;
> #}
>
> #nossl host2 host3;
> #nossl host3 host2;
>
> #config /etc/csync2.cfg_anotherone;
> #config /etc/csync2.cfg_foo /etc/csync2.cfg_bar;
>
> and my output for "csync2 -c -r -v -v"   [ Its kind of similar to  
> "csync2 -x -vv" ]
>
> [root at av root]# csync2 -c -r -v -v  /
> My hostname is av.com.
> Database-File: /var/lib/csync2/av.com.db
> Config-File:   /etc/csync2.cfg
> Running recursive check for / ...
> SQL: SELECT filename from file where filename = '/' or 1 ORDER BY  
> filename
> SQL Query finished.
> Checking /* ..
> Don't check at all: /var
> Don't check at all: /usr
> Don't check at all: /tmp
> Don't check at all: /test
> Don't check at all: /sbin
> Don't check at all: /root
> Don't check at all: /proc
> Don't check at all: /opt
> Don't check at all: /mnt
> Don't check at all: /misc
> Don't check at all: /lost+found
> Don't check at all: /lib
> Don't check at all: /initrd
> Don't check at all: /home
> Don't check at all: /hardware.wci
> Don't check at all: /guestbook
> Don't check at all: /grey
> Don't check at all: /etc
> Don't check at all: /dev
> Don't check at all: /dailycount
> Don't check at all: /boot
> Don't check at all: /bin
> Don't check at all: /.fonts.cache-1
> Don't check at all: /.automount
> Don't check at all: /.autofsck
> SQL: SELECT command, logfile FROM action GROUP BY command, logfile
> SQL Query finished.
> Finished with 0 errors.
>
> I'm still stuck , feeling lost at the moment . Please give some  
> direction .
>
> Thanks,
> Nitin Kataria
>
> Michael Milkovich wrote:
>> Nitin:
>>
>> the first thing I would try is turn on the verbose messages to see  
>> what csync is doing...
>>
>> csync2 -x -vv
>>
>> turns on pretty verbose mode
>>
>> 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.
>>
>> If no joy, send me a copy of your config files and the output from  
>> "csync2 -c -r -v -v  /"
>>
>> -- Mike 
>>
>
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2



More information about the Csync2 mailing list