|
From: Joe Z. <jz...@co...> - 2004-01-04 20:39:44
|
Jochen Metzger wrote: >Hi Joe, > > > > >>I'll take a look for Rene's rsync restore patch in the mailing list. >> >> >> >fine ;o) > > > >>If you can test the changes I made to systemcheck.php by running "Check >>Configuration" against an rsync_ssh share I'd sure appreciate it. >> >> >Well, it seems o.k. to me. > >Well still I have 2 questions on it and 2 things that do not run smooth. > >1. I try to figure out how the method submit() (in systemcheck.php) works. > Now I understand how it works. > FYI, I picked the method name 'submit()' because I'm an AS400 programmer and the AS400 Control Language 'submit' command is used to send a batch job to the AS400 job queue. > BTW. -> what is the difference > between -> $srvtmpl->parse .... > nad $srvtmpl->assign ??? > > Can you give me a hint? > > I quote from the class.rFastTemplate.php tutorial at http://www.astrofoto.org/people/roland/rFT/tutorial.html "The assign assign() sets up an association between a tag and a value. Internally, this sets a variable for later use; it does not actually do the substitution, that happens when you call parse()." >2. When I run the systemchecks for a servershare which is based on > rsync or rsync_ssh, the systemcheck searches for a mount in process/mounts > but naturally cannot find any, because they are not necessary and > then displays an error. > > I think it would be better to keep this out, when backup_method "rsync" and > "rsync_ssh" is used, cause it is a bit confusing. > > I would just use that when backup_method is not "rsync" nor "rsync_ssh" > (it is on line 405-426) systemcheck.php > > It could be the same test a just below on line 432: > if (($method != "rsync") && ($method != "rsync_ssh")){ > > Okay, I'll put that in. But just to be clear, it did try to create the mount directories before it gave that error, right? What was the failure message? >3. I get no process_id returned on the check (and I get a pass) > Checking for running check_loop process > check_loop process id is PASS > Is this a problem? > > > It could be. The command it uses is '/sbin/pidof -x check_loop'. What is the output of that command on your system? This is what I get on mine: [joe@jupiter joe]$ /sbin/pidof -x check_loop 1024 Thanks for the input and stuff, Joe P.S. I just finished a late breakfast. I'm guessing it's getting close to your bed time. |