|
From: Rene R. <re...@gr...> - 2002-10-24 17:43:00
|
> I've finally managed to see some file without the error. It was due to > the Path for smbmnt. But now when i select files to be restored, i get > the following error. > > 2. What is the incremental folder is used for ? The incremental folder holds all files which change. When you delete, move, edit or rename a file the orginal file is moved to incremental. Current is a snapshot of the servers files while incremental holds the backups of files that are no longer current. The error you see is because I have forgotten to edit the include line. Please change the line: require($siteroot . "/inc/class_rFastTemplate.php"); to require($siteroot . "/inc/class_rfasttemplate.php"); (change the uppercase letters to lowercase) I think this is corrected in my local bobs version which I will commit to the cvs soon. Hope you have a working BOBS. Please remember that you are working with a cvs version which is not complete yet. You should probably upgrade when the next stable release is made. Best regards Rene > > > > > > Fatal error: Failed opening required > '/var/www/html/bobs/inc/class_rFastTemplate.php' > (include_path='.:/usr/share/pear') in > /var/www/html/bobs/winc/restore.php on line 11 > > > > > > > > > On Thu, 2002-10-24 at 09:22, Thiruvarasu a/l Muthusamy wrote: >>> There's no files in my cmd folder. This is the output of the cmdloop >>> script which was ran together with backup.php >> >> It seems that you have a problem with the smb mounts. >> Can you manually mount the windows share on linux? >> >> The computer you wish to backup is called "sambaserver". Is that >> correct? >> The share you are trying to backup from "sambaserver" is called >> "movie". Correct? >> Please make sure that you have the correct case on the names. eg. >> "Movie" is not the same as "movie". >> >> Please test these commands: >> mkdir -p /mnt/smbtest >> >> and then this (replace USERNAME and PASSWORD with the correct values): >> mount -t smbfs -o username=USERNAME,password=PASSWORD >> //sambaserver/movie /mnt/smbtest >> (make sure that is one line. The email might break the line) >> >> You should now be able to see files in /mnt/smbtest >> >> run: "umount /mnt/smbtest" to unmount the share again. >> >> If you get an error please check that you have access rights to the >> share. >> >> -René >> >>> >>> >>> [root@localhost process]# ./cmdloop >>> Starting ./cmd/cmd.1034136170.bash >>> execvp of smbmnt failed. Error was No such file or directory.smbmnt >>> failed: 1 Finished ./cmd/cmd.1034136170.bash >>> Starting ./cmd/cmd.1034136171.bash >>> Finished ./cmd/cmd.1034136171.bash >>> Starting ./cmd/cmd.1034136172.bash >>> umount: >>> /usr/local/share/bobsdata/current/process/mounts/sambaserver/movie: >>> not mounted >>> Finished ./cmd/cmd.1034136172.bash >>> Starting ./cmd/cmd.1034136173.bash >>> Finished ./cmd/cmd.1034136173.bash >>> Starting ./cmd/cmd.1034136174.bash >>> Finished ./cmd/cmd.1034136174.bash >>> Starting ./cmd/cmd.1034136175.bash >>> Finished ./cmd/cmd.1034136175.bash >>> Starting ./cmd/cmd.1034136176.php >>> X-Powered-By: PHP/4.1.2 >>> Content-type: text/html >>> >>> <br> >>> <b>Warning</b>: Wrong datatype in sort() call in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136176.php</b> >>> on line <b>102</b><br> >>> <br> >>> <b>Warning</b>: Invalid argument supplied for foreach() in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136176.php</b> >>> on line <b>107</b><br> >>> Finished ./cmd/cmd.1034136176.php >>> Starting ./cmd/cmd.1034136177.bash >>> Finished ./cmd/cmd.1034136177.bash >>> Starting ./cmd/cmd.1034136178.bash >>> Finished ./cmd/cmd.1034136178.bash >>> Starting ./cmd/cmd.1034136179.php >>> X-Powered-By: PHP/4.1.2 >>> Content-type: text/html >>> >>> <br> >>> <b>Warning</b>: Wrong datatype in sort() call in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136179.php</b> >>> on line <b>102</b><br> >>> <br> >>> <b>Warning</b>: Invalid argument supplied for foreach() in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136179.php</b> >>> on line <b>107</b><br> >>> Finished ./cmd/cmd.1034136179.php >>> Starting ./cmd/cmd.1034136180.bash >>> 6371: session request to 192.168.1.2 failed (Called name not present) >>> 6371: session request to 192 failed (Called name not present) >>> execvp of smbmnt failed. Error was No such file or directory.smbmnt >>> failed: 1 Finished ./cmd/cmd.1034136180.bash >>> Starting ./cmd/cmd.1034136181.bash >>> Finished ./cmd/cmd.1034136181.bash >>> Starting ./cmd/cmd.1034136182.bash >>> umount: >>> /usr/local/share/bobsdata/current/process/mounts/ameba6/backup: not >>> mounted >>> Finished ./cmd/cmd.1034136182.bash >>> Starting ./cmd/cmd.1034136183.bash >>> Finished ./cmd/cmd.1034136183.bash >>> Starting ./cmd/cmd.1034136186.php >>> X-Powered-By: PHP/4.1.2 >>> Content-type: text/html >>> >>> <br> >>> <b>Warning</b>: Wrong datatype in sort() call in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136186.php</b> >>> on line <b>102</b><br> >>> <br> >>> <b>Warning</b>: Invalid argument supplied for foreach() in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136186.php</b> >>> on line <b>107</b><br> >>> Finished ./cmd/cmd.1034136186.php >>> Starting ./cmd/cmd.1034136187.bash >>> Finished ./cmd/cmd.1034136187.bash >>> Starting ./cmd/cmd.1034136188.bash >>> Finished ./cmd/cmd.1034136188.bash >>> Starting ./cmd/cmd.1034136189.php >>> X-Powered-By: PHP/4.1.2 >>> Content-type: text/html >>> >>> <br> >>> <b>Warning</b>: Wrong datatype in sort() call in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136189.php</b> >>> on line <b>102</b><br> >>> <br> >>> <b>Warning</b>: Invalid argument supplied for foreach() in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136189.php</b> >>> on line <b>107</b><br> >>> Finished ./cmd/cmd.1034136189.php >>> Starting ./cmd/cmd.1034136190.bash >>> execvp of smbmnt failed. Error was No such file or directory.smbmnt >>> failed: 1 Finished ./cmd/cmd.1034136190.bash >>> Starting ./cmd/cmd.1034136191.bash >>> Finished ./cmd/cmd.1034136191.bash >>> Starting ./cmd/cmd.1034136192.bash >>> umount: >>> /usr/local/share/bobsdata/current/process/mounts/sambaserver/cdrom: >>> not mounted >>> Finished ./cmd/cmd.1034136192.bash >>> Starting ./cmd/cmd.1034136193.bash >>> Finished ./cmd/cmd.1034136193.bash >>> Starting ./cmd/cmd.1034136194.bash >>> Finished ./cmd/cmd.1034136194.bash >>> Starting ./cmd/cmd.1034136195.bash >>> Finished ./cmd/cmd.1034136195.bash >>> Starting ./cmd/cmd.1034136196.php >>> X-Powered-By: PHP/4.1.2 >>> Content-type: text/html >>> >>> <br> >>> <b>Warning</b>: Wrong datatype in sort() call in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136196.php</b> >>> on line <b>102</b><br> >>> <br> >>> <b>Warning</b>: Invalid argument supplied for foreach() in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136196.php</b> >>> on line <b>107</b><br> >>> Finished ./cmd/cmd.1034136196.php >>> Starting ./cmd/cmd.1034136199.php >>> X-Powered-By: PHP/4.1.2 >>> Content-type: text/html >>> >>> <br> >>> <b>Warning</b>: Wrong datatype in sort() call in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136199.php</b> >>> on line <b>102</b><br> >>> <br> >>> <b>Warning</b>: Invalid argument supplied for foreach() in >>> <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136199.php</b> >>> on line <b>107</b><br> >>> Finished ./cmd/cmd.1034136199.php >>> >>> >>> I've also attached the filelist.txt u requested >>> >>> >>> >>> >>> >>> > >>> > >>> > It seems that you have a problem with the backup more than a >>> problem with the web interface. >>> > >>> > Please check the following: >>> > >>> > 1. Are there any files in >>> > /usr/local/share/bobsdata/current/process/cmd/ If the there are >>> then open a shell and type the following commands (as root user) >>> > change dir to the process dir: >>> > cd /usr/local/share/bobsdata/current/process/ >>> > run the cmdloop: >>> > ./cmdloop >>> > (leave this running) >>> > >>> > This will run all the scripts in the cmd directory. >>> > If the cmd directory was empty then open another shell and run the >>> command: /var/www/html/bobs/cron/backup.php >>> > Now check the output of the cmdloop script. It should indicate if >>> the backup is running. >>> > >>> > When the backup is finish you should be able to see files in the >>> web interface. >>> > >>> > If you still don't see any files please run the following commands >>> and send me the output. >>> > >>> > cd /usr/local/share/bobsdata/current/process/ >>> > find > filelist.txt >>> >send filelist.txt to me along with the file cmdloop >>> > >>> > I hope you have better luck this time. >>> > >>> > -Rene >>> > >>> >>> >>> >>> ---- >>> >> >>> . >>> ./cmd >>> ./mounts >>> ./mounts/sambaserver >>> ./mounts/sambaserver/movie >>> ./mounts/sambaserver/cdrom >>> ./mounts/ameba6 >>> ./mounts/ameba6/backup >>> ./session >>> ./session/443476091.search.dirindex.db >>> ./session/443476091.restore.dirindex.db >>> ./session/2063182238.restore.dirindex.db >>> ./session/2063182238.search.dirindex.db >>> ./session/664001573.search.dirindex.db >>> ./session/664001573.restore.dirindex.db >>> ./session/1678568231.search.dirindex.db >>> ./session/1678568231.restore.dirindex.db >>> ./session/423255822.search.dirindex.db >>> ./session/49281951.search.dirindex.db >>> ./session/49281951.restore.dirindex.db >>> ./session/1985299833.search.dirindex.db >>> ./session/1985299833.restore.dirindex.db >>> ./session/662768855.search.dirindex.db >>> ./session/662768855.restore.dirindex.db >>> ./session/1966450775.search.dirindex.db >>> ./session/1966450775.restore.dirindex.db >>> ./session/232737919.restore.dirindex.db >>> ./session/232737919.search.dirindex.db >>> ./session/1990527005.search.dirindex.db >>> ./session/575242070.search.dirindex.db >>> ./session/575242070.restore.dirindex.db >>> ./session/981088202.backup.servmount.lock >>> ./cmdloop >>> ./check_loop >>> ./last_pid >>> ./filelist.txt >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: Influence the future >> of Java(TM) technology. Join the Java Community >> Process(SM) (JCP(SM)) program now. >> http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote >> _______________________________________________ >> Bobs-devel mailing list >> Bob...@li... >> https://lists.sourceforge.net/lists/listinfo/bobs-devel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel |