[Bacula-users] Bacula RPMS without gconsole
Hello, I reviewed current bacula .spec file and see that build without gconsole is almost possible. There is already gconsole macro just it is tied with rh7 now. And from review it looks like only BuildRequires sections have to me modified to achieve build without gconsole. BTW why ORBit-devel is needed for rh7 build without gconsole? I'm interested because I need to rebuild RPMs for RHEL3, RHEL4, RHEL4.x86_64, RH7 and build requires too many Gnome libraries I do not have on servers and I'd like to avoid to install. Even on build servers. Mindaugas --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula RPMs without gconsole (patch)
Hello, Attached patch for bacula.spec file to be able to build without gconsole (build_gconsole define). Then server/client build requires much fewer gnome and other needed RPMs installed. Questions and notices: - I think "BuildRequires: glibc-devel" can be removed because anyway on both RHEL3 and RHEL4 gcc requires glibc-devel to be installed. Why to make .spec file too complicated? - What for is "BuildRequires: ORBit-devel" for rh7? Since anyway later it is noted that now gconsole is only available for Gnome2? - Current patch reverts default build behaviour to not build gconsole. To retain current behaviour maybe nobuild_gconsole define would be more reasonable. Mindaugas nogconsole.patch Description: Binary data
Re: [Bacula-users] Bacula RPMs without gconsole (patch)
> Attached patch for bacula.spec file to be able to build without > gconsole (build_gconsole define). Then server/client build requires > much fewer gnome and other needed RPMs installed. > > Questions and notices: > - I think "BuildRequires: glibc-devel" can be removed because anyway > on both RHEL3 and RHEL4 gcc requires glibc-devel to be installed. > Why to make .spec file too complicated? Follow up notice. It would be worth to include "BuildRequires: gcc-c++" to the .spec file. Also on all rh7, rhel3 and rhel4 gcc-c++ requires both glibc-devel and gcc to be installed. I am suggesting because I just spent couple of hours searching why rpmbuild is failing on one machine while trying to build mtx in the process. The reason was - gcc was not installed and there was no clear indication that I am so stupid. :) Mindaugas --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: Bacula RPMs without gconsole (patch)
> > - I think "BuildRequires: glibc-devel" can be removed because anyway > > on both RHEL3 and RHEL4 gcc requires glibc-devel to be installed. > > Why to make .spec file too complicated? > That is possible but without knowing the requires on all possible cases > I prefer to explicitly state the requirements to build. OK. And I added also gcc-g++ to BuildRequires. I already explained that without it installed rpmbuild fails with non obvious error messages. > > - What for is "BuildRequires: ORBit-devel" for rh7? Since anyway later it > > is noted that now gconsole is only available for Gnome2? > Kern can perhaps comment, but without double-checking I believe the file > daemon may use CORBA technology and requires ORBit. If not it was > probably an oversight to leave it in. Kern already commented and I dropped this line from .spec file altogether. rh7 build now implies gconsole=0. > > - Current patch reverts default build behaviour to not build gconsole. > > To retain current behaviour maybe nobuild_gconsole define would be more > > reasonable. > Yes, from a standpoint of building packages for distribution a nobuild > default would be better. Done. Please apply the attached patch. To build without gconsole define nobuild_gconsole in rpmbuild. For the test successfully built bacula without gconsole on centos4-i386 and centos4-x86_64. Mindaugas nogconsole.patch Description: Binary data
Re: [Bacula-users] Bacula 1.38.6-beta1 patch release
> I have just released 1.38.6-beta1.patch to the bacula-patches section of the > Bacula Source Forge site. This patch can be applied against Bacula 1.38.5 > source code to bring it up to the current CVS 1.38 branch. The instructions > for applying the patch are at the top of the file. > > Since I am not at home, I have not run this code in production, but I have run > it through the regression scripts a number of times. > > I would appreciate feedback from those of you willing to try the code. Could you apply my patch (nogconsole.patch) which enables RPM without gconsole build? Patch modifies only one (bacula.spec) file and only few lines of it. Thanks, Mindaugas --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula wants tape not currently in changer
Hello, Recently upgraded to Bacula 1.38.8. And today got report that bacula needs tape which currently isn't in the changer. But there are two empty tapes in changer for the Daily pool? If I manually unloaded Daily-02-02 tape and loaded and mounted Daily-02-03 backup went smoothly from there. Database is PostgreSQL. Mindaugas 04-May 06:59 bh1-sd: nimsdb.2006-05-04_01.08.09 Warning: Director wanted Volume "Daily-01-03" for device "LTO-2" (/dev/nst0). Current Volume "Daily-02-02" not acceptable because: 1998 Volume "Daily-02-02" status is Full, but should be Append, Purged or Recycle. 04-May 06:59 bh1-sd: Please mount Volume "Daily-01-03" on Storage Device "LTO-2" (/dev/nst0) for Job nimsdb.2006-05-04_01.08.09 *list media pool=Daily +-+-+---+-+--+-- +-+--+---+---+-+ | mediaid | volumename | volstatus | volbytes| volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-+-+---+-+--+-- +-+--+---+---+-+ | 13 | Daily-01-03 | Append| 71,776,112,996 | 73 | 1,209,600 | 1 | 14 | 0 | LTO-2 | 2006-04-28 03:27:02 | | 21 | Daily-02-01 | Purged| 478,144,503,575 | 486 | 1,209,600 | 1 |2 | 1 | LTO-2 | 2006-04-09 02:52:49 | | 22 | Daily-01-02 | Append| 104,302,460,392 | 106 | 1,209,600 | 1 | 11 | 0 | LTO-2 | 2006-04-27 05:53:59 | | 23 | Daily-01-01 | Recycle | 1 |0 | 1,209,600 | 1 | 13 | 0 | LTO-2 | | | 25 | Daily-02-02 | Full | 416,624,052,719 | 421 | 1,209,600 | 1 |6 | 1 | LTO-2 | 2006-05-04 03:59:05 | | 26 | Daily-01-04 | Append| 17,812,836,381 | 18 | 1,209,600 | 1 |9 | 0 | LTO-2 | 2006-04-26 13:19:12 | | 28 | Daily-02-03 | Append| 1 |0 | 1,209,600 | 1 |4 | 1 | LTO-2 | | | 29 | Daily-02-04 | Append| 1 |0 | 1,209,600 | 1 |5 | 1 | LTO-2 | | +-+-+---+-+--+-- +-+--+---+---+-+ --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula wants tape not currently in changer
> Does your autochanger normally change tapes OK? Has it definitely worked > since you upgraded to 1.38.8? Yes it worked normally. Also I did not encounter such behaviour in version 1.36.x I used before. > Bacula looks for the appendable volume with the lowest media ID which is > why it asked for the one it did. > > As you pointed out tho, it should be preferring volumes with inchanger = > 1 over those with inchanger = 0. Yes. But for some reason it doesn't. One more maybe related issue. If I run "update slots" after changing tapes in magazine it only sets inchanger flag for added tapes to 1. But command does not reset inchanger flag to 0 for the removed tapes. So I am running commands "sqlquery update media set inchanger=0;" and "update slots" after I change tapes in autochanger. Mindaugas --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula wants tape not currently in changer
> You can see what Storage resource the StorageId corresponds to by doing: > > sql > select * from Storage; > > > The StorageId field was added to handle multiple autochangers at the same time > -- otherwise one gets "conflicts" with slot numbers. Aha. There may be the issue. As you see I have 4 storage resources defined for the same autochanger. I need it because my backup machine is connected to 4 different VLANs and for each VLAN director has to send different SD IP address to client. Such schema worked it 1.36.x. Maybe I have to change something in current version? Mindaugas Enter SQL query: select * from storage; +---+-+-+ | storageid | name| autochanger | +---+-+-+ | 1 | File| 0 | | 2 | bh1-sd | 1 | | 3 | bh1-internet-sd | 1 | | 4 | bh1-mms-sd | 1 | | 5 | bh1-bite-sd | 1 | +---+-+-+ --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula wants tape not currently in changer
> > Enter SQL query: select * from storage; > > +---+-+-+ > > > > | storageid | name| autochanger | > > > > +---+-+-+ > > > > | 1 | File| 0 | > > | 2 | bh1-sd | 1 | > > | 3 | bh1-internet-sd | 1 | > > | 4 | bh1-mms-sd | 1 | > > | 5 | bh1-bite-sd | 1 | > > > > +---+-+-+ > > Yes, to Bacula, these are different autochangers ... OK. So how to resolve this issue? Maybe in 1.38 something new was introduced to let director send correct SD IP address? Mindaugas --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula wants tape not currently in changer
> > Exactly how written? Without resolving first? It looks like that from the > > test but I want to be sure. > > Please read the manual. There are features in Bacula for dealing with > multiple addresses. If you don't understand what you read, please ask the You mean SDAddresses in Storage configuration? But it only specifies on what interface and port to listen. And I need that director sends different IP to clients in different VLANs. Also I raised this problem before, when I was setuping new instalation with version 1.36. And the list came to solution with multiple Storage definitions in bacula-dir.conf. > list for support. I am a programmer. They are better at dealing with these > kinds of questions than I am. I have some programming background too. :) So I understand documentation without problems. I think that something like SDAddress in Job configuration would solve my issue. It looks like that putting name into Address field and resolving this name via /etc/hosts file works too but it decentralizes backup management. If I'll change SD configuration or IP address then it won't be easy to edit hosts file on all 30+ servers. Mindaugas --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Multihomed backup server
Hello, Few days ago I wrote about the problem but I would like to discuss about possible solutions. Description: I have backup server which is connected to multiple VLANs and has several IP addresses. Director sends to clients Address from Storage resource where clients has to connect. Problem is that clients from different VLANs has to connect to different IP addresses. In 1.36 to resolve the issue I had several Storage resources (one per VLAN) and clients were using Address from the coresponding Storage resource. But in 1.38 support for multiple autochangers was added and this method no longer works. Kern suggested to put something like "bacula-sd" in Address field and then put appropriate IP address in /etc/hosts file of the client. I modified my configuration in this way and everything works. But I do not like such solution because it decentralizes management. What if IP of my SD will change? Also I do not have full control of the hosts file of several Windows machines - domain controller is overwriting hosts file and I cannot change this behaviour. Maybe some other way exists? If not I would like to suggest adding SDAddress (and maybe SDPort?) configuration settings to Job resource. Then I could control where job (and client) should connect for backup. Thanks, Mindaugas --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Multihomed backup server
> I don't recall the original email and can't seem to find it anywhere... > but I'm not sure I understand the problem, unless your network doesn't > allow access between the VLANs? You should be able to route a client on Network does not allow access between VLANs. Sorry. :) Mindaugas --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Multihomed backup server
> > Kern suggested to put something like "bacula-sd" in Address field and then > > put appropriate IP address in /etc/hosts file of the client. I modified my > > configuration in this way and everything works. But I do not like such > > solution > > because it decentralizes management. What if IP of my SD will change? Also I > > do > > not have full control of the hosts file of several Windows machines - domain > > controller is overwriting hosts file and I cannot change this behaviour. > > > > Maybe some other way exists? > > Can you store the IP address of "bacula-sd" in DNS instead of the hosts file? > The DNS could then be different in each VLAN. No I cannot. Hosts are from various locations - intranet, extranet, internet. Mindaugas --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] About backup speed in reports
Hello, Now in reports that Bacula sends after backup Rate is calculated simply dividing SD Bytes written by Elapsed time. But since I'm using data spooling and doing multiple backups at the same time this number means absolutely nothing. It would be much more useful to get another two numbers: - data spool rate. Which would indicate how fast data was received from FD to SD spool. - write to tape rate. How fast data was despooled to tape drive. Then first number would show network and spool drive performance and usage. Second one will show if my hardware is capable to feed tape drive fast enough that drive does not have to stop tape. Such stops/starts reduces not only backup speed but also tape life dramatically. I think I remember some thoughts from Kern about implementing this ;). Back from the end of 2004. Mindaugas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] About backup speed in reports
> > I think I remember some thoughts from Kern about implementing this ;). > > Back from the end > > of 2004. > > I don't have any problem implementing better statistics, but it is not on the > top of my personal priority list (nor what users voted on), so I am waiting > for a patch to arrive. I did quick glance into the code and understood that it isn't so trivial. There is no such properties in JCR class as spool_end and despool_begin. With them it looks like new statistics would be quite easy to implement. Mindaugas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-dir on multiple LANs
> If you get this to work using a single SD with an Address name that is > resolved differently on the Director and on the Client, please let me know. > It is always conforting to have a confirmation of something that we put in > the manual. Works for me with Bacula server on 4 LANs. But still I'd prefer SDAddress in Job resource. Mindaugas - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Why bacula requests available tape?
Hello, I just got an e-mail from Bacula: 05-Sep 04:05 bh1-sd: Please mount Volume "Daily-02-02" on Storage Device "LTO-2" (/dev/nst0) for Job server1.2006-09-04_01.05.01 But "mtx status" shows that this tape is loaded: Data Transfer Element 0:Full (Storage Element 8 Loaded):VolumeTag = Daily-02-02 "status sd" in bconsole shows that Bacula knows that this tape is loaded: Device status: Autochanger "HP Autochanger" with devices: "LTO-2" (/dev/nst0) Device "LTO-2" (/dev/nst0) open but no Bacula volume is mounted. Device is BLOCKED waiting for media. Slot 8 is loaded in drive 0. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 If I perform "mount" command nothing changes. Tape is recycled and ready for writing: | 25 | Daily-02-02 | Recycle | 1 |0 | 1,209,600 | 1 |8 | 1 | LTO-2 | 2006-07-21 01:07:59 | What can be the reason that Bacula requests tape which is already available? Mindaugas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Why bacula requests available tape?
> I just got an e-mail from Bacula: > 05-Sep 04:05 bh1-sd: Please mount Volume "Daily-02-02" on Storage Device > "LTO-2" (/dev/nst0) for Job server1.2006-09-04_01.05.01 Still no ideas? When I deleted "Daily-02-02" tape in bconsole backups started normally. Mindaugas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Cannot build bacula RPMs
Hello, Just downloaded bacula-1.36.2-4.src.rpm from SourceForge and now cannot build bacula RPMs. It looks like problem while trying to build mtx: # pwd /usr/src/redhat/BUILD/depkgs/mtx-1.2.17kes # ./configure creating cache ./config.cache checking host system type... configure: error: can not guess host type; you must specify one It looks like config.guess cannot determine machine type. System is RHEL3 on dual Opteron: # uname -a Linux luna 2.4.21-27.0.2.EL #1 SMP Wed Jan 12 23:25:36 EST 2005 x86_64 x86_64 x86_64 GNU/Linux Thanks, Mindaugas --- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Select the network to be used
> I have a server (Debian/Sarge) on which run a director, a sd and a fd. > I want to backup my laptop (XP) on that server. > Both PC have 2 network interfaces, one on the 'main' network and one on the > 'backup' network. > The problem is that I cannot chose the 'backup' network. > > I tried to use the FDAddress = IP in the bacula-fd.conf on my laptop, but it > didn't work. I tried with the address of the server and the address of the > laptop. > > What I forget or misunderstood ? Define two Storage devices in bacula-dir.conf with different addresses. Mindaugas --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users