You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(23) |
Jul
(37) |
Aug
(13) |
Sep
(33) |
Oct
(37) |
Nov
(1) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
(7) |
Mar
(34) |
Apr
(41) |
May
(20) |
Jun
(13) |
Jul
(2) |
Aug
(20) |
Sep
(13) |
Oct
(8) |
Nov
(15) |
Dec
(32) |
2004 |
Jan
(65) |
Feb
(20) |
Mar
(29) |
Apr
(27) |
May
(37) |
Jun
(9) |
Jul
(7) |
Aug
(6) |
Sep
(16) |
Oct
|
Nov
(1) |
Dec
(18) |
2005 |
Jan
(18) |
Feb
(3) |
Mar
|
Apr
(14) |
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
(23) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(13) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Joe Z. <joe...@za...> - 2005-01-26 00:19:46
|
Manfred Rebentisch wrote: >Am Montag, 17. Januar 2005 07:39 schrieb Joe Zacky: > > >>It's been working very well the past week. I get a short email after >>each backup, if it failed I take a look at bobs.log to see why. I've >>done the smb and rsync-ssh templates, still need to do the others. I'm >>also looking into some other errors I see in bobs.log, mostly having to >>do with stat() and is_dir() on very large files failing while building >>the indexes after the backup has run. It seems it's a libc or glibc >>problem, but I need to handle the failure properly in the script. >> >> >> > >This is a problem of PHP. The PHP-Engine and all add-ons have to be compiled >with the Option -D _FILE_OFFSET_BITS=64 . >Without this option the stat member st_size (type off_t) has only 32 Bit. > >I did not know, if we can compile PHP with this option, because there are more >changes needed (or the developers were very strong while using types). > >The glibc does support it very well. > >Manfred > > I'm not doubting you, nor do I pretend to understand anything about libc/glibc. This link is where I got my information. Please take a look at it. http://bugs.php.net/bug.php?id=27765 It won't change how I handle the error because whether it's a php or libc problem, the error has to be handled in the php script. I can't expect everyone that uses bobs to patch their libc and/or rebuild php. Joe |
From: Jochen M. <j.m...@om...> - 2005-01-25 08:57:08
|
Hi Joe, good work. My appreciation. Joe Zacky schrieb: > I update cvs with the changes I've done so far. > > 1) There is a new input field on the server definitions for email > address. If this is not blank, backup completion messages will be sent > to that address. You'll get an error after installing this update > until you walk through the server definition and update it, it'll add > the email address field to the server definition, even if it's blank. > 2) Backup successful or BACKUP FAILED messages will go to bobs.log > after each backup. > 3) I've only implemented these changes for rsync_ssh and smb backup > methods so far. The other methods still need to be done, plus some > more error checking and other mods I think I mentioned in my last post. > > \=/ Cheers, > Joe > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > > |
From: Joe Z. <joe...@za...> - 2005-01-24 19:15:07
|
I update cvs with the changes I've done so far. 1) There is a new input field on the server definitions for email address. If this is not blank, backup completion messages will be sent to that address. You'll get an error after installing this update until you walk through the server definition and update it, it'll add the email address field to the server definition, even if it's blank. 2) Backup successful or BACKUP FAILED messages will go to bobs.log after each backup. 3) I've only implemented these changes for rsync_ssh and smb backup methods so far. The other methods still need to be done, plus some more error checking and other mods I think I mentioned in my last post. \=/ Cheers, Joe |
From: Joe Z. <joe...@za...> - 2005-01-17 18:34:29
|
Manfred Rebentisch wrote: >Am Montag, 17. Januar 2005 07:39 schrieb Joe Zacky: > > >>It's been working very well the past week. I get a short email after >>each backup, if it failed I take a look at bobs.log to see why. I've >>done the smb and rsync-ssh templates, still need to do the others. I'm >>also looking into some other errors I see in bobs.log, mostly having to >>do with stat() and is_dir() on very large files failing while building >>the indexes after the backup has run. It seems it's a libc or glibc >>problem, but I need to handle the failure properly in the script. >> >> >> > >This is a problem of PHP. The PHP-Engine and all add-ons have to be compiled >with the Option -D _FILE_OFFSET_BITS=64 . >Without this option the stat member st_size (type off_t) has only 32 Bit. > >I did not know, if we can compile PHP with this option, because there are more >changes needed (or the developers were very strong while using types). > >The glibc does support it very well. > >Manfred > > Thank you for that explanation, Manfred. My philosophy is to support the lowest. common denominator. In other words, it should work on a standard installation. So I'm going to see if I can simply handle that error in the php script and do some appropriate default action. For example, if it gets that error on an is_dir(), maybe I can just assume it's not a directory. I'll have to take a closer look at the script. Joe |
From: Jochen M. <j.m...@om...> - 2005-01-17 09:53:37
|
Hi Joe, congratulations. > > I'm hoping to put what I've done so far into cvs this week. Not sure > when I'll get to finish it, but I hope soon, I think it's an important > improvement. jepp, me too. |
From: Manfred R. <mre...@co...> - 2005-01-17 08:15:09
|
Am Montag, 17. Januar 2005 07:39 schrieb Joe Zacky: > > It's been working very well the past week. I get a short email after > each backup, if it failed I take a look at bobs.log to see why. I've > done the smb and rsync-ssh templates, still need to do the others. I'm > also looking into some other errors I see in bobs.log, mostly having to > do with stat() and is_dir() on very large files failing while building > the indexes after the backup has run. It seems it's a libc or glibc > problem, but I need to handle the failure properly in the script. > This is a problem of PHP. The PHP-Engine and all add-ons have to be compiled with the Option -D _FILE_OFFSET_BITS=64 . Without this option the stat member st_size (type off_t) has only 32 Bit. I did not know, if we can compile PHP with this option, because there are more changes needed (or the developers were very strong while using types). The glibc does support it very well. Manfred |
From: Joe Z. <jz...@co...> - 2005-01-17 06:40:24
|
Joe Zacky wrote: > Jochen Metzger wrote: > >> Hi Rene, >> Hi Joe, >> >> i am inplementing for a customer and I thinking about logging stuff what >> we talked about a couple of months ago. >> >> Mainly I want: >> >> 1. Have logging what has be updated and what failed. >> 2. Be sure that bobs is still running properly >> >> as I work with companies and then let things running >> and maybe get notified when something went wrong. >> >> I have a couple of hours of budget to do some stuff >> and I want to discuss it with you first to then put >> it in the cvs afterwards. >> >> At present I wrote a workaround (quite a quickhack) >> that writes a timestamp and checks that. >> (I have to figure out, how I did that and if it makes >> sense to the main version) >> >> Any ideas ? >> Jochen Metzger >> >> >> > It's helpful, but I was thinking of adding real error checking to the > backup scripts to say things like "successful backup of > <server/share>" or "backup failed for <server/share>", with optional > email notification. But I won't be getting to it anytime soon. > > Joe Circumstances have forced me to get to it soon. One of the file servers where I work hadn't been getting fully backed up since November and I didn't know about it until I was asked to restore a file. So I spent a couple days last week working on error checking and logging in bobs. Here's the short synopsis, I'll explain more in detail when I'm ready to check into cvs. I put all the commands for the various backups into bash script templates (rFastTemplates) that are created by class_backup.php. Some of the code from class_backup.php was moved to the templates. The templates include return code checking on all the commands (mount, rsync, umount, etc.) and a function to send an optional completion status email, i.e. "BACKUP FAILED for server/share with returncode xx" or "Successful backup of server/share". The "BACKUP FAILED..." and "Successful backup..." are also logged into bobs.log. If you don't want the optional email for each backup, you could still 'grep' the completion messages from the log. The templates make the code much cleaner and will allow easy customization of backups. For example, you can remove the '--verbose' from the rsync, if you want to. I'm planning to include a customized template directory that you can copy the template to and change it there. If a customized template exists, it will be used instead of the standard template. That will allow you to keep your customizations when re-installing or upgrading bobs. It's been working very well the past week. I get a short email after each backup, if it failed I take a look at bobs.log to see why. I've done the smb and rsync-ssh templates, still need to do the others. I'm also looking into some other errors I see in bobs.log, mostly having to do with stat() and is_dir() on very large files failing while building the indexes after the backup has run. It seems it's a libc or glibc problem, but I need to handle the failure properly in the script. This should at least address the first item you mentioned: to log what has been updated and what failed. I'm hoping to put what I've done so far into cvs this week. Not sure when I'll get to finish it, but I hope soon, I think it's an important improvement. |
From: Jochen M. <j.m...@om...> - 2004-12-16 11:22:50
|
Hi folks, I checked out current cvs version about two weeks a go. When I did restoring an error occured, when database should be zeroed. Now i figured out that the close method is completely missing in class_db.php. So after the restoring stuff is done, database is not closed anymore and the zero_db method in class_restore.php cannot work properly, 'cause database is still open. Is there are reason why close is missing ? -- omatix.de internet services omatix training & solutions omatix onlineverlag Jochen Metzger j.m...@om... Telefon +49(30) 40301160 Fax +49(30) 78709296 -- Hosting für Ihr Business: http://hosting.omatix.de |
From: Jochen M. <j.m...@om...> - 2004-12-08 22:39:04
|
Jochen Metzger schrieb: Hi Joe, unfortunaely this does not work like this. dunno why ... So better leave it. Jochen > Hi Joe, > > could enhance the class-servers.php method like this: > > > // --------------------------------------------------------- > function init_new_server($server, $share) { > > foreach ($this->server_defs as $name => $value){ // Init remaining > fields > $this->servers["new"]["$name"] = ''; > } > > // security option, if user inserts "//" strip it > if (substr($server,0,2) == "//") > $server = substr($server,2); > > > > $this->servers["new"]["server"] = $server; // store values > from "Create" input > $this->servers["new"]["share"] = $share; > return; > } > > > I haven't go access to cvs at present. > Addon is for the case the user inserts "//MyServer" in admin gui > > THX > > Jochen > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > > |
From: Jochen M. <j.m...@om...> - 2004-12-08 21:36:23
|
Hi Joe, could enhance the class-servers.php method like this: // --------------------------------------------------------- function init_new_server($server, $share) { foreach ($this->server_defs as $name => $value){ // Init remaining fields $this->servers["new"]["$name"] = ''; } // security option, if user inserts "//" strip it if (substr($server,0,2) == "//") $server = substr($server,2); $this->servers["new"]["server"] = $server; // store values from "Create" input $this->servers["new"]["share"] = $share; return; } I haven't go access to cvs at present. Addon is for the case the user inserts "//MyServer" in admin gui THX Jochen |
From: Sylvain M. <sy...@me...> - 2004-12-08 17:55:12
|
>>>Sylvain MEILARD wrote: >>> >>> >>> >>>>I think i won't be easy... Apache should have reading right on backup= ed >>>>files. >>>> >>>Or something in the web interface needs elevated privileges, like a >>>setuid program that is limited to only extracting the directory listin= g. >>> >>Yes, it could be a better solution. this program could be owned by >>root:apache, with execution right for the group, and no right for other= s. >>Apache should only use it to read directory used for backup. It would b= e very >>simple and fast to write it in C. If you lack time, i'm ready to do it.= It >>would simply consist in using opendir(), readdir(), stat() ? and closed= ir(). >>[...] >> >> > You'll have to dig into the source code to see where to hook in the > setuid program. I'm not very familiar with the web interface portion. I will have a look at it today, and i'll tell you tomorrow regards, sylvain |
From: Joe Z. <joe...@za...> - 2004-12-08 17:26:00
|
Sylvain MEILARD wrote: >>Sylvain MEILARD wrote: >> >> >> >>>I think i won't be easy... Apache should have reading right on backuped >>>files. >>> >>> >>> >>> >>Or something in the web interface needs elevated privileges, like a >>setuid program that is limited to only extracting the directory listing. >> >> >> >Yes, it could be a better solution. this program could be owned by >root:apache, with execution right for the group, and no right for others. >Apache should only use it to read directory used for backup. It would be very >simple and fast to write it in C. If you lack time, i'm ready to do it. It >would simply consist in using opendir(), readdir(), stat() ? and closedir(). >[...] > > You'll have to dig into the source code to see where to hook in the setuid program. I'm not very familiar with the web interface portion. >>>For now, what append if a user try to restore files on which he has no right >>>? >>> >>> >>> >>> >>If he can select the file to restore in the bobs interface, cmdloop will >>restore it. >> >> >> >But the user can see all files and dirs on which apache has reading right, >even if the user himself has no right on it, isn'it ? And he also could >restore it, still with no right ? > > > Yes, that's right. The only thing the user needs is the password for the bobs interface. |
From: Sylvain M. <sy...@me...> - 2004-12-08 09:33:31
|
> Sylvain MEILARD wrote: > >>I think i won't be easy... Apache should have reading right on backuped >> files. >> >> > Or something in the web interface needs elevated privileges, like a > setuid program that is limited to only extracting the directory listing= . > Yes, it could be a better solution. this program could be owned by root:apache, with execution right for the group, and no right for others. Apache should only use it to read directory used for backup. It would be = very simple and fast to write it in C. If you lack time, i'm ready to do it. I= t would simply consist in using opendir(), readdir(), stat() ? and closedir= (). [...] >>For now, what append if a user try to restore files on which he has no = right >> ? >> >> > If he can select the file to restore in the bobs interface, cmdloop wil= l > restore it. > But the user can see all files and dirs on which apache has reading right= , even if the user himself has no right on it, isn'it ? And he also could restore it, still with no right ? regards, sylvain [...] |
From: Jochen M. <j.m...@om...> - 2004-12-08 07:36:09
|
Am Di, 2004-12-07 um 17.58 schrieb Joe Zacky: > Jochen Metzger wrote: > > >Hi Joe, > > > >on SuSE 9.1 and apache2 configure script does not work properly, > >because script is not guessing for: > > > >/srv/www/htdocs > > > >which is the html area > > > >Should configure script check for that to, or will --with-webdir > >here be sufficient, > >what do you think ? > > > > > > > If /srv/www/htdocs is standard on SuSE, then it would be good to add to > the configure script. Makes life just that much easier. > > yes, it is standard from SuSE 9.0 on, I suppose. > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel -- omatix.de internet services omatix training & solutions omatix onlineverlag Jochen Metzger j.m...@om... Telefon +49(30) 40301160 Fax +49(30) 78709296 -- Hosting für Ihr Business: http://hosting.omatix.de |
From: Joe Z. <jz...@co...> - 2004-12-08 05:43:58
|
Sylvain MEILARD wrote: >I think i won't be easy... Apache should have reading right on backuped files. > > Or something in the web interface needs elevated privileges, like a setuid program that is limited to only extracting the directory listing. >So cmdloop should additionaly back up uids'owners of files, and then make >apache the owner. When restoring files, cmdloop would have to change again the >owner of backed up files to be restored, and then restore them (and then >remake apache own the files). The problem is that it would be hard to avoid a >bad user to restore files on which he has no right... > > No. rsync will keep the numeric uid on the file. cmdloop runs as root so it won't have a permission problem restoring. When you select something to restore, cmdloop processes the request. >For now, what append if a user try to restore files on which he has no right ? > > If he can select the file to restore in the bobs interface, cmdloop will restore it. >cmdloop does a "su user -" before rsyncing ? It implies that uid have to be >synchronized between the bobs'machine and machines to be backed up, isn't it ? > > > No. rsync retains the original uid. Here's a directory listing from one of my backups that contains users not on the bobs system: drwx------ 2 507 502 4096 Nov 7 15:47 bounce drwx------ 25 507 502 4096 Oct 17 17:51 info drwx------ 2 505 502 4096 Dec 5 05:20 intd drwx------ 25 507 502 4096 Oct 17 17:51 local drwxr-x--- 2 505 502 4096 Oct 17 17:51 lock drwxr-x--- 25 505 502 4096 Oct 17 17:51 mess drwx------ 2 505 502 4096 Dec 5 05:20 pid drwx------ 25 507 502 4096 Oct 17 17:51 remote drwxr-x--- 2 505 502 4096 Dec 5 05:20 todo The only problem is not being able to view/select files to restore through the bobs web interface if the directory is not publicly readable. The restore itself is fine. Joe |
From: Sylvain M. <sy...@me...> - 2004-12-07 17:28:50
|
> Sylvain MEILARD wrote: > >>>Hi, >>> >>>Am Mo, 2004-11-29 um 10.44 schrieb Sylvain MEILARD: >>> >>> >>>>Hello, >>>> >>>>I'm trying to use bobs to backup 2 folders exported by nfs : >>>>/home/cvsroot and >>>>/home/bugs >>>> >>>>All works great for the first directory, but i can't see files of th= e >>>>second >>>>directory with the web interface. I suspect the problem is related to= the >>>>files'rights : >>>>Files in /home/bugs have the following rights : >>>>[root@machine-cvs root]# ll /home/bugs >>>>total 21000 >>>>-rw-r----- 1 mysql mysql 8868 jui 4 2003 attachments.f= rm >>>>-rw-r----- 1 mysql mysql 20388072 sep 27 11:09 attachments.M= YD >>>>-rw-r----- 1 mysql mysql 10240 sep 27 11:09 attachments.M= YI >>>>.... >>>> >>>>The backup seem's to be ok : >>>>sylvain@pasteque bobs $ ll /var/bobsdata/current/machine-cvs/bugzilla >>>>total 21000 >>>>-rw-r----- 1 76 76 8868 jui 4 2003 attachments.frm >>>>-rw-r----- 1 76 76 20388072 sep 27 11:09 attachments.MYD >>>>-rw-r----- 1 76 76 10240 sep 27 11:09 attachments.MYI >>>>... >>>> >>>>machine-cvs contains directory i want to backup >>>>pasteque is the machine on which bobs is installed. >>>> >>>>Do the backuped files and dir have to be readable by apache to appear= in >>>> the >>>>web interface ? >>>> >>>> >>>Yes, backups should be readable by bobs, else you will not be able to >>>view it by bobs, I assume. >>> >>> >> >>OK, that's what i was thinking, but the files which are backed up don't= have >>the right of reading for others. I'm not sure it's a good idea to chang= e the >>rights on thoses files. I was hopping there is a way to use cmdloop to >> perform >>operations for which apache's rights are not enought. am i wrong ? (yes= i'm >>affraid...) >> >>thanks ! >> >>sylvain >> >> >> > But you can still use konqueror to manage the files. You can even split > the screen with sftp:// or an nfs mount on one side if you want to > restore files. It's just the restore interface that's innoperative. Any > ideas on how to fix that without breaking security too badly? I think i won't be easy... Apache should have reading right on backuped f= iles. So cmdloop should additionaly back up uids'owners of files, and then make apache the owner. When restoring files, cmdloop would have to change agai= n the owner of backed up files to be restored, and then restore them (and then remake apache own the files). The problem is that it would be hard to avo= id a bad user to restore files on which he has no right... For now, what append if a user try to restore files on which he has no ri= ght ? cmdloop does a "su user -" before rsyncing ? It implies that uid have to = be synchronized between the bobs'machine and machines to be backed up, isn't= it ? Sylvain > > Joe > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > > |
From: Joe Z. <joe...@za...> - 2004-12-07 17:03:00
|
Jochen Metzger wrote: >Hi Joe, > >on SuSE 9.1 and apache2 configure script does not work properly, >because script is not guessing for: > >/srv/www/htdocs > >which is the html area > >Should configure script check for that to, or will --with-webdir >here be sufficient, >what do you think ? > > > If /srv/www/htdocs is standard on SuSE, then it would be good to add to the configure script. Makes life just that much easier. |
From: Joe Z. <joe...@za...> - 2004-12-07 17:01:11
|
Jochen Metzger wrote: >Hi Rene, >hi Joe, > >i wanted to checkout from cvs with ssh, to have a proper version to work >on and then maybe (after discussing with you) commit new changes. > >But I cannot login. (permission denied). > >Do I have to use the same password as to my sf.net accout or do we use >ssh public/private key pair. > >THX in advance. > > I don't use the shared SSH keys. I follow the simple instructions at http://sourceforge.net/cvs/?group_id=54656 using my sourceforge user/password. export CVS_RSH=ssh cvs -z3 -d:ext:dev...@cv...:/cvsroot/bobs co modulename |
From: Joe Z. <joe...@za...> - 2004-12-07 16:54:54
|
Sylvain MEILARD wrote: >>Hi, >> >>Am Mo, 2004-11-29 um 10.44 schrieb Sylvain MEILARD: >> >> >>>Hello, >>> >>>I'm trying to use bobs to backup 2 folders exported by nfs : >>>/home/cvsroot and >>>/home/bugs >>> >>>All works great for the first directory, but i can't see files of the >>>second >>>directory with the web interface. I suspect the problem is related to the >>>files'rights : >>>Files in /home/bugs have the following rights : >>>[root@machine-cvs root]# ll /home/bugs >>>total 21000 >>>-rw-r----- 1 mysql mysql 8868 jui 4 2003 attachments.frm >>>-rw-r----- 1 mysql mysql 20388072 sep 27 11:09 attachments.MYD >>>-rw-r----- 1 mysql mysql 10240 sep 27 11:09 attachments.MYI >>>.... >>> >>>The backup seem's to be ok : >>>sylvain@pasteque bobs $ ll /var/bobsdata/current/machine-cvs/bugzilla >>>total 21000 >>>-rw-r----- 1 76 76 8868 jui 4 2003 attachments.frm >>>-rw-r----- 1 76 76 20388072 sep 27 11:09 attachments.MYD >>>-rw-r----- 1 76 76 10240 sep 27 11:09 attachments.MYI >>>... >>> >>>machine-cvs contains directory i want to backup >>>pasteque is the machine on which bobs is installed. >>> >>>Do the backuped files and dir have to be readable by apache to appear in the >>>web interface ? >>> >>> >>Yes, backups should be readable by bobs, else you will not be able to >>view it by bobs, I assume. >> >> > >OK, that's what i was thinking, but the files which are backed up don't have >the right of reading for others. I'm not sure it's a good idea to change the >rights on thoses files. I was hopping there is a way to use cmdloop to perform >operations for which apache's rights are not enought. am i wrong ? (yes i'm >affraid...) > >thanks ! > >sylvain > > > But you can still use konqueror to manage the files. You can even split the screen with sftp:// or an nfs mount on one side if you want to restore files. It's just the restore interface that's innoperative. Any ideas on how to fix that without breaking security too badly? Joe |
From: Jochen M. <j.m...@om...> - 2004-12-07 12:06:58
|
Hi Joe, on SuSE 9.1 and apache2 configure script does not work properly, because script is not guessing for: /srv/www/htdocs which is the html area Should configure script check for that to, or will --with-webdir here be sufficient, what do you think ? -- omatix.de internet services omatix training & solutions omatix onlineverlag Jochen Metzger j.m...@om... Telefon +49(30) 40301160 Fax +49(30) 78709296 -- Hosting für Ihr Business: http://hosting.omatix.de |
From: Jochen M. <j.m...@om...> - 2004-12-07 11:41:02
|
Hi Rene, hi Joe, i wanted to checkout from cvs with ssh, to have a proper version to work on and then maybe (after discussing with you) commit new changes. But I cannot login. (permission denied). Do I have to use the same password as to my sf.net accout or do we use ssh public/private key pair. THX in advance. -- omatix.de internet services omatix training & solutions omatix onlineverlag Jochen Metzger j.m...@om... Telefon +49(30) 40301160 Fax +49(30) 78709296 -- Hosting für Ihr Business: http://hosting.omatix.de |
From: Sylvain M. <sy...@me...> - 2004-12-07 09:07:47
|
> Hi, > > Am Mo, 2004-11-29 um 10.44 schrieb Sylvain MEILARD: >> Hello, >> >> I'm trying to use bobs to backup 2 folders exported by nfs : >> /home/cvsroot and >> /home/bugs >> >> All works great for the first directory, but i can't see files of the >> second >> directory with the web interface. I suspect the problem is related to = the >> files'rights : >> Files in /home/bugs have the following rights : >> [root@machine-cvs root]# ll /home/bugs >> total 21000 >> -rw-r----- 1 mysql mysql 8868 jui 4 2003 attachments.fr= m >> -rw-r----- 1 mysql mysql 20388072 sep 27 11:09 attachments.MY= D >> -rw-r----- 1 mysql mysql 10240 sep 27 11:09 attachments.MY= I >> .... >> >> The backup seem's to be ok : >> sylvain@pasteque bobs $ ll /var/bobsdata/current/machine-cvs/bugzilla >> total 21000 >> -rw-r----- 1 76 76 8868 jui 4 2003 attachments.frm >> -rw-r----- 1 76 76 20388072 sep 27 11:09 attachments.MYD >> -rw-r----- 1 76 76 10240 sep 27 11:09 attachments.MYI >> ... >> >> machine-cvs contains directory i want to backup >> pasteque is the machine on which bobs is installed. >> >> Do the backuped files and dir have to be readable by apache to appear = in the >> web interface ? > Yes, backups should be readable by bobs, else you will not be able to > view it by bobs, I assume. OK, that's what i was thinking, but the files which are backed up don't h= ave the right of reading for others. I'm not sure it's a good idea to change = the rights on thoses files. I was hopping there is a way to use cmdloop to pe= rform operations for which apache's rights are not enought. am i wrong ? (yes i= 'm affraid...) thanks ! sylvain > > > Cheers > > Jochen Metzger > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > > |
From: Joe Z. <joe...@za...> - 2004-12-06 17:35:09
|
Jochen Metzger wrote: >Hi Rene, >Hi Joe, > >i am inplementing for a customer and I thinking about logging stuff what >we talked about a couple of months ago. > >Mainly I want: > >1. Have logging what has be updated and what failed. >2. Be sure that bobs is still running properly > >as I work with companies and then let things running >and maybe get notified when something went wrong. > >I have a couple of hours of budget to do some stuff >and I want to discuss it with you first to then put >it in the cvs afterwards. > >At present I wrote a workaround (quite a quickhack) >that writes a timestamp and checks that. >(I have to figure out, how I did that and if it makes >sense to the main version) > >Any ideas ? > >Jochen Metzger > > > Have you got the latest version from cvs? It writes all output to bobs.log and includes the timestamp. I get the output from cron every day and I also run this cron command to give me a brief(er) listing: head -n 1 /var/log/bobs.log; /bin/grep -E ': Starting backup|: wrote |: total size is ' /var/log/bobs.log; tail -n 1 /var/log/bobs.log It's helpful, but I was thinking of adding real error checking to the backup scripts to say things like "successful backup of <server/share>" or "backup failed for <server/share>", with optional email notification. But I won't be getting to it anytime soon. To know if bobs is not running would require a 2nd cron job to check something, like the timestamp you write. I'm thinking that's what you have in mind. That's not a bad idea for monitoring your customers system. Joe |
From: Jochen M. <j.m...@om...> - 2004-12-06 13:03:30
|
Hi, Am Mo, 2004-11-29 um 10.44 schrieb Sylvain MEILARD: > Hello, > > I'm trying to use bobs to backup 2 folders exported by nfs : > /home/cvsroot and > /home/bugs > > All works great for the first directory, but i can't see files of the second > directory with the web interface. I suspect the problem is related to the > files'rights : > Files in /home/bugs have the following rights : > [root@machine-cvs root]# ll /home/bugs > total 21000 > -rw-r----- 1 mysql mysql 8868 jui 4 2003 attachments.frm > -rw-r----- 1 mysql mysql 20388072 sep 27 11:09 attachments.MYD > -rw-r----- 1 mysql mysql 10240 sep 27 11:09 attachments.MYI > .... > > The backup seem's to be ok : > sylvain@pasteque bobs $ ll /var/bobsdata/current/machine-cvs/bugzilla > total 21000 > -rw-r----- 1 76 76 8868 jui 4 2003 attachments.frm > -rw-r----- 1 76 76 20388072 sep 27 11:09 attachments.MYD > -rw-r----- 1 76 76 10240 sep 27 11:09 attachments.MYI > ... > > machine-cvs contains directory i want to backup > pasteque is the machine on which bobs is installed. > > Do the backuped files and dir have to be readable by apache to appear in the > web interface ? Yes, backups should be readable by bobs, else you will not be able to view it by bobs, I assume. Cheers Jochen Metzger |
From: Jochen M. <j.m...@om...> - 2004-12-06 13:01:58
|
Hi Rene, Hi Joe, i am inplementing for a customer and I thinking about logging stuff what we talked about a couple of months ago. Mainly I want: 1. Have logging what has be updated and what failed. 2. Be sure that bobs is still running properly as I work with companies and then let things running and maybe get notified when something went wrong. I have a couple of hours of budget to do some stuff and I want to discuss it with you first to then put it in the cvs afterwards. At present I wrote a workaround (quite a quickhack) that writes a timestamp and checks that. (I have to figure out, how I did that and if it makes sense to the main version) Any ideas ? Jochen Metzger -- omatix.de internet services omatix training & solutions omatix onlineverlag Jochen Metzger j.m...@om... Telefon +49(30) 40301160 Fax +49(30) 78709296 -- Hosting für Ihr Business: http://hosting.omatix.de |