|
From: Thiruvarasu a/l M. <s98...@mm...> - 2002-10-24 07:27:48
|
There's no files in my cmd folder. This is the output of the cmdloop script which was ran together with backup.php [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 > On Tue, 2002-10-22 at 08:00, Thiruvarasu a/l Muthusamy wrote: >> Rene, >> >> I've done the changes that you suggested. But i still not able to see >> any files and there's still some error messages on the right pane. The >> error is >> >> >> Warning: First argument to array_keys() should be an array in >> /var/www/html/bobs/inc/class_db.php on line 424 >> >> Warning: Invalid argument supplied for foreach() in >> /var/www/html/bobs/inc/class_db.php on line 425 >> No files were found in > > > 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 > > >> >> >> thanks >> >> > >> > Could you please try this: >> > edit the file "inc/class_files.php" >> > >> > and change line 52 from this: >> > $this->data = $db->db_fetch_entries ( $indexes, $values ); >> > to this: >> > $this->data = $db->db_fetch_entries ( $where, $indexes, $values >> > ); >> > >> > I'm not sure this is a complete fix, so I still working on it. You >> > should be able to browse you files after changing this. >> > I'll post an update when I figure out if this is the only place that >> > is broken. >> > >> > -Rene >> > >> > >> > On Mon, 2002-10-14 at 09:34, Thiruvarasu a/l Muthusamy wrote: >> >> Rene, >> >> >> >> The folder which i'm trying to backup contains files but i don't >> >> seem to be able to see any under the current and the incremental >> >> folders. >> >> >> >> This is the error message i'm getting on the right pane. >> >> >> >> Warning: Missing argument 3 for db_fetch_entries() >> >> in /var/www/html/bobs/inc/class_db.php on line 412 >> >> No files were found in >> >> >> >> >> >> First i created the share and then i ran the backup.php script. >> >> From my observation it is creating all the files within >> >> the /usr/local/share/bobsdata/current/sambaserver/ >> >> and /usr/local/share/bobsdata/incremental/sambaserver/ >> >> >> >> >> >> Thanks >> >> >> >> >> >> > On Wed, 2002-10-09 at 15:36, Thiruvarasu a/l Muthusamy wrote: >> >> >> Rene, >> >> >> >> >> >> I've managed to get rid of the php errors which i had earlier. >> >> >> The only error i get now is on the left pane of the frame. This >> >> >> happens when i try to browse through both the current and >> >> >> incremental. >> >> > >> >> > Do you have files in your backup? >> >> > Do you see any files in any directories? >> >> > >> >> > Please make sure you have a few files and directories on the >> >> > computer you make backups of. Those files should show up when you >> >> > run the backup.php script. >> >> > >> >> > I see the problem but you should not worry much about i right >> >> > now. It will go away when you have files in your backup. >> >> > >> >> > I've just reinstalled my workstation, so I'm not able to test it >> >> > myself at the moment. When I'm finished I'll do some more testing >> >> > and fixing of your problems. >> >> > >> >> > -Rene >> >> > >> >> >> >> >> >> Warning: Missing argument 3 for db_fetch_entries() in >> >> >> /var/www/html/bobs/inc/class_db.php on line 412 >> >> >> No files were found in >> >> >> >> >> >> >> >> >> Thanks >> >> >> >> >> >> >> >> >> >> >> >> On Wed, 2002-10-09 at 03:45, Rene Rask wrote: >> >> >> > On Tue, 2002-10-08 at 18:15, Thiruvarasu a/l Muthusamy wrote: >> >> >> > > Rene, >> >> >> > > >> >> >> > > I think there's something very basic that i think i'm doin >> >> >> > > wrong here. Let me just run through how i installed, n tell >> >> >> > > me if there's anything wrong. I just did the ./configure >> >> >> > > using root with all the default settings n did the "make >> >> >> > > install". Since i'll be doin back up for samba files only i >> >> >> > > didn't install nfs or rsync. Then i logged on to the >> >> >> > > admin.php and added a new share with the "create backup of >> >> >> > > this server checked". After creating all that i tried loggin >> >> >> > > in as the specified user and tried to browse through but i'm >> >> >> > > getting the DBA errors. >> >> >> > >> >> >> > I think you need to run the backup before these directories >> >> >> > are created. >> >> >> > >> >> >> > run the command "php /var/www/html/bobs/cron/backup.php" as >> >> >> > root user. and move backup.php into /etc/cron.daily/ to have >> >> >> > it run every night >> >> >> > >> >> >> > The install script is not installing a file which is needed. >> >> >> > >> >> >> > Edit the file <bobs-sources>/cron/check_loop and change the >> >> >> > line: CMDLOOP_DIR=/mnt/tera1/backup/process >> >> >> > to >> >> >> > CMDLOOP_DIR=/usr/local/share/bobsdata/current/process >> >> >> > (That path should contain a file called "cmdloop") >> >> >> > Copy the "check_loop" file into into >> >> >> > "/usr/local/share/bobsdata/current/process/" >> >> >> > >> >> >> > To start the script, insert this line into the file >> >> >> > "/etc/crontab" >> >> >> > >> >> >> > Now You'll need to make some changes to your /etc/crontab >> >> >> > file. >> >> >> > >> >> >> > 0-59/5 * * * * root >> >> >> > /usr/local/share/bobsdata/current/process/check_loop & >> >> >> > (Please beware of line breaks in the email. The "&" character >> >> >> > is the last part of the line) >> >> >> > >> >> >> > now reload the cron configuration. >> >> >> > On Redhat run >> >> >> > "/etc/init.d/crond reload" >> >> >> > >> >> >> > This will update the configuration of cron and start the >> >> >> > cmdloop script within 5 minutes. >> >> >> > If you ran backup.php it will start a backup as soon as >> >> >> > cmdloop starts. >> >> >> > >> >> >> > I hope this helps. >> >> >> > >> >> >> > -Rene >> >> >> > I'll look into making most of this happen on installation. >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> >> This sf.net email is sponsored by:ThinkGeek >> >> >> Welcome to geek heaven. >> >> >> http://thinkgeek.com/sf >> >> >> _______________________________________________ >> >> >> Bobs-devel mailing list >> >> >> Bob...@li... >> >> >> https://lists.sourceforge.net/lists/listinfo/bobs-devel >> >> > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > This sf.net email is sponsored by:ThinkGeek >> >> > Welcome to geek heaven. >> >> > http://thinkgeek.com/sf >> >> > _______________________________________________ >> >> > Bobs-devel mailing list >> >> > Bob...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/bobs-devel >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This sf.net email is sponsored by:ThinkGeek >> >> Welcome to geek heaven. >> >> http://thinkgeek.com/sf >> >> _______________________________________________ >> >> Bobs-devel mailing list >> >> Bob...@li... >> >> https://lists.sourceforge.net/lists/listinfo/bobs-devel >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This sf.net email is sponsored by:ThinkGeek >> > Welcome to geek heaven. >> > http://thinkgeek.com/sf >> > _______________________________________________ >> > Bobs-devel mailing list >> > Bob...@li... >> > https://lists.sourceforge.net/lists/listinfo/bobs-devel >> >> >> >> >> ------------------------------------------------------- >> This sf.net emial 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;4699841;7576301;v? >> http://www.sun.com/javavote >> _______________________________________________ >> Bobs-devel mailing list >> Bob...@li... >> https://lists.sourceforge.net/lists/listinfo/bobs-devel > > > > > ------------------------------------------------------- > This sf.net emial 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;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel |