[Csync2] Re: Csync2 Help !

Nitin Kataria nkataria at dataarmor.net
Thu Nov 10 16:23:53 CET 2005


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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/csync2/attachments/20051110/949783ed/attachment.htm


More information about the Csync2 mailing list