|
From: Rene R. <re...@gr...> - 2002-10-24 08:13:24
|
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 scri= pt > which was ran together with backup.php=20 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=3DUSERNAME,password=3DPASSWORD //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=C3=A9 >=20 >=20 > [root@localhost process]# ./cmdloop > Starting ./cmd/cmd.1034136170.bash > execvp of smbmnt failed. Error was No such file or directory.smbmnt faile= d: 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/movi= e: > 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 >=20 > <br> > <b>Warning</b>: Wrong datatype in sort() call in > <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136176.php</b> o= n > 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> o= n > 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 >=20 > <br> > <b>Warning</b>: Wrong datatype in sort() call in > <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136179.php</b> o= n > 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> o= n > 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 faile= d: 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: n= ot > 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 >=20 > <br> > <b>Warning</b>: Wrong datatype in sort() call in > <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136186.php</b> o= n > 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> o= n > 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 >=20 > <br> > <b>Warning</b>: Wrong datatype in sort() call in > <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136189.php</b> o= n > 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> o= n > 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 faile= d: 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/cdro= m: > 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 >=20 > <br> > <b>Warning</b>: Wrong datatype in sort() call in > <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136196.php</b> o= n > 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> o= n > 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 >=20 > <br> > <b>Warning</b>: Wrong datatype in sort() call in > <b>/usr/local/share/bobsdata/current/process/cmd/cmd.1034136199.php</b> o= n > 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> o= n > line <b>107</b><br> > Finished ./cmd/cmd.1034136199.php >=20 >=20 > I've also attached the filelist.txt u requested >=20 >=20 >=20 >=20 >=20 > >=20 > >=20 > > It seems that you have a problem with the backup more than a problem > > with the web interface. > >=20 > > Please check the following: > >=20 > > 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) > >=20 > > 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. > >=20 > > When the backup is finish you should be able to see files in the web > > interface.=20 > >=20 > > If you still don't see any files please run the following commands and > > send me the output. > >=20 > > cd /usr/local/share/bobsdata/current/process/ > > find > filelist.txt > >send filelist.txt to me along with the file cmdloop > >=20 > > I hope you have better luck this time. > >=20 > > -Rene > > >=20 >=20 >=20 > ---- >=20 > . > ./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 |