[Bacula-users] Linksys is killing socket between director and SD

2007-01-31 Thread Brad Peterson
Aaah, I've finally figured it out.  The very common Linksys WRT54G v5 router IS 
dropping inactive sockets after exactly 10 minutes. 

I verified this through a process of elimination.  Any time the Linksys router 
was used, I'd get a socket drop at 10 minutes (wireless or ethernet cable 
included).  But when I bypassed the Linksys router and kept everything else the 
same, it all worked.

I think that makes any Bacula job longer than 10 minutes impossible using this 
Linksys router.  Looks like I'm out of luck.  I have updated to the newest 
firmware, and the Linksys config doesn't have any ability to modify the timeout 
value.   I suppose I could buy a new router, or set up a new offsite backup 
storage daemon.   Unless anyone else has any brilliant ideas  :)

Kern, if you are reading this, what are the chances that a heartbeat could be 
implemented between the director and the storage daemon?

Brad Peterson
[EMAIL PROTECTED]

  
- Original Message 
From: Brad Peterson [EMAIL PROTECTED]
To: bacula-users@lists.sourceforge.net
Sent: Tuesday, January 30, 2007 3:00:03 PM
Subject: [Bacula-users] Director losing socket with SD

First, my request:  Is there anything in Bacula I can do to keep the socket 
between the director and the storage daemon alive?

Now, my explanation why I need this.  As I'm trying to narrow down why my 
lengthy backups to an offsite storage daemon don't work, I sat and watched the 
debug output for the director, the storage daemon, and the file daemon.  About 
almost exactly 10 minutes in, the director's debug output said this:

msgchan.c:333 === End msg_thread. use=2

After a lot of research, it appears what's going on is this:

1) The director starts the job.
2) A socket is opened between the director and the storage daemon.
3) A socket is opened between the file daemon and the storage daemon.
4) The file data transfers just fine over the file daemon/storage daemon 
socket.  
5) At almost exactly 10 minutes in, I get the above debug message which means 
the socket between the director and storage daemon has been closed.  netstat 
confirmed this.
6) The file data continues to transfer just fine to the storage daemon.
7) When the file daemon is done, it tells the director that it is finished.
8) The storage daemon tries to tell the director it received the data 
perfectly, but cannot, because it cannot communicate with the director anymore 
(which makes sense, because the socket died).
9) *I think* the director waits a bit for the the storage daemon, or it just 
knows it can't receive info from the storage daemon.  In any event, the 
director quickly marks the job as having an error because it never heard from 
the storage daemon as to its final result.

So, what can I do in Bacula to keep the socket between the director and the 
storage daemon alive?

I'v already set a heartbeats of 30 seconds, but according to the manual, the 
heartbeats help the file daemon talk to the director, the file daemon talk to 
the storage daemon, and the storage daemon talk to the file daemon.  But in my 
situation, I'm losing a socket between the director and the storage daemon, and 
the heartbeat doesn't help out with that.

I'm also starting to think a Linksys router may be the reason why it loses the 
inactive socket after almost exactly 10 minutes, as other Linksys users have 
found this happens to them.  I'll be able to test this out tonight by bypassing 
the router completely. 

Anyways, in the meantime, anybody know how I can keep that socket alive?

Brad Peterson
[EMAIL PROTECTED]







 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Linksys is killing socket between director and SD

2007-01-31 Thread Brad Peterson
 Kern, if you are reading this, what are the chances that a heartbeat could
 be implemented between the director and the storage daemon?

Yes, that is possible, but you will need to find someone to program it.  

If I knew my C++ well enough, I'd dive into it.  :)  Darn my lack of C++ 
knowledge.

I personally I would ask for a refund on the router since it apparently 
doesn't understand keepalive and doesn't follow standard TCP/IP standards so 
does not function properly.

Ya, I'm not happy with this situation at all, plus I've owned this router for 
over a year now.  Unfortunately, the Linksys router I purchased is perhaps the 
most commonly advertised wireless router for nationwide chains.   That's why I 
spent the extra time to nail down the issue, in case any other Bacula /Linksys 
users run into the same problem.   

Also isn't Linksys one of the companies that is/was in violation of the GPL 
(i.e. using GPLed software without making the source available)?

I don't know about that.  But I believe Linksys did release the source code for 
their version 1-4 WRT54G routers, which allowed hobbyists to make their own 
Linux based firmwares.  And Linksys still makes an L series, specifically so 
that people who want to load their own Linux based firmwares can still continue 
to do so.  Unfortunately, I picked up a v5, which has some open source 
solutions to it, but they're a bit scarier to implement.

Anyway, thanks for your reply.  Seeing that I have hundreds of open source 
project emails I need to respond to,  I really do appreciate that you jumped 
right in and answered mine  :)

Brad Peterson
[EMAIL PROTECTED]




 Brad Peterson
 [EMAIL PROTECTED]


 - Original Message 
 From: Brad Peterson [EMAIL PROTECTED]
 To: bacula-users@lists.sourceforge.net
 Sent: Tuesday, January 30, 2007 3:00:03 PM
 Subject: [Bacula-users] Director losing socket with SD

 First, my request:  Is there anything in Bacula I can do to keep the socket
 between the director and the storage daemon alive?

 Now, my explanation why I need this.  As I'm trying to narrow down why my
 lengthy backups to an offsite storage daemon don't work, I sat and watched
 the debug output for the director, the storage daemon, and the file daemon.
  About almost exactly 10 minutes in, the director's debug output said this:

 msgchan.c:333 === End msg_thread. use=2

 After a lot of research, it appears what's going on is this:

 1) The director starts the job.
 2) A socket is opened between the director and the storage daemon.
 3) A socket is opened between the file daemon and the storage daemon.
 4) The file data transfers just fine over the file daemon/storage daemon
 socket. 5) At almost exactly 10 minutes in, I get the above debug message
 which means the socket between the director and storage daemon has been
 closed.  netstat confirmed this. 6) The file data continues to transfer
 just fine to the storage daemon. 7) When the file daemon is done, it tells
 the director that it is finished. 8) The storage daemon tries to tell the
 director it received the data perfectly, but cannot, because it cannot
 communicate with the director anymore (which makes sense, because the
 socket died). 9) *I think* the director waits a bit for the the storage
 daemon, or it just knows it can't receive info from the storage daemon.  In
 any event, the director quickly marks the job as having an error because it
 never heard from the storage daemon as to its final result.

 So, what can I do in Bacula to keep the socket between the director and the
 storage daemon alive?

 I'v already set a heartbeats of 30 seconds, but according to the manual,
 the heartbeats help the file daemon talk to the director, the file daemon
 talk to the storage daemon, and the storage daemon talk to the file daemon.
  But in my situation, I'm losing a socket between the director and the
 storage daemon, and the heartbeat doesn't help out with that.

 I'm also starting to think a Linksys router may be the reason why it loses
 the inactive socket after almost exactly 10 minutes, as other Linksys users
 have found this happens to them.  I'll be able to test this out tonight by
 bypassing the router completely.

 Anyways, in the meantime, anybody know how I can keep that socket alive?

 Brad Peterson
 [EMAIL PROTECTED]








 ___
_ Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https

Re: [Bacula-users] Linksys is killing socket between director and SD

2007-01-31 Thread Brad Peterson
 Aaah, I've finally figured it out.  The very common Linksys WRT54G v5 
 router IS dropping inactive sockets after exactly 10 minutes.

Set heartbeat intervals to 1 minute.

Problem solved (and is why this directive is there)

I already have the heartbeats in at 30 seconds each.  Unfortunately, according 
to the manual, the heartbeats helps the file daemon talk to
the director, the file daemon talk to the storage daemon, and the
storage daemon talk to the file daemon.

What would help me is a heartbeat to keep the socket between the director and 
storage daemon alive.

For now, I'm giving up on having an offsite storage daemon.  I don't have the 
money to spend on a fully working router.  So I'm going to just keep the 
storage daemon on the same machine as the director, and then rsync the physical 
volumes afterwards offsite.

Brad Peterson
[EMAIL PROTECTED]







 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] SD error when backing up 100MB file

2007-01-29 Thread Brad Peterson
I'm using Bacula to backup a large file, roughly 109MB in size.  I'm also 
attempting to back up this file to an offsite storage daemon.   

 

I've tried 6 times now to get the file to backup, but each time, I get this 
error (showing the most relevant parts): 

 

Fatal error: job.c:1748 Comm error with SD. bad response to Append Data. 
ERR=Connection reset by peer 



...

  FD Files Written:   1

  SD Files Written:   0

  FD Bytes Written:   109,053,840 (109.0 MB)

  SD Bytes Written:   0 (0 B)


 

I can get it to work for 8 MB files no problem.  But 109 MB files always 
generate that above error.   Further, looking at the volume's physical file 
sizes, it always seems as if the storage daemon does get all the data.  

Any ideas on what may be causing this? 


Brad Peterson
[EMAIL PROTECTED]




 

 

 

 

 

 

 







 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] SD error when backing up 100MB file

2007-01-29 Thread Brad Peterson
Dan Langille wrote:

  On 29 Jan 2007 at 17:11, Brad Peterson wrote:


  I'm using Bacula to backup a large file, roughly 109MB in size.  I'm
also attempting to back up this file to an offsite storage daemon.   



I've tried 6 times now to get the file to backup, but each time, I get
this error (showing the most relevant parts): 



Fatal error: job.c:1748 Comm error with SD. bad response to Append
Data. ERR=Connection reset by peer 



...

  FD Files Written:   1

  SD Files Written:   0

  FD Bytes Written:   109,053,840 (109.0 MB)

  SD Bytes Written:   0 (0 B)




I can get it to work for 8 MB files no problem.  But 109 MB files
always generate that above error.   Further, looking at the volume's
physical file sizes, it always seems as if the storage daemon does get
all the data.  

Any ideas on what may be causing this? 

  
offsite...   firewalls?

Look at heartbeat/keep alive.  Try that.

The other thing that comes to mind: are all the daemons the same 
version?  FD/SD/Dir?





Thanks for the idea...but it didn't work.  :(  



I tried setting the heartbeat interval on both the fd and sd to 5
minutes, and restarted both daemons.  That didn't work.  I also tried
30 minutes.  That didn't work either.  



Also, the daemons are the same version of 2.0.0.  I'm still clueless
and I don't know anything I can try. In case anyone wants it, here is
the full error message for the last run:



29-Jan 21:52 floyd-dir: Start Backup JobId 641, 
Job=MySQLProductionFull.2007-01-29_21.52.27
29-Jan 22:02 brad-sd: Volume Daily0008 previously written, moving to end of 
data.
29-Jan 22:09 floyd-fd: MySQLProductionFull.2007-01-29_21.52.27 Fatal error: 
job.c:1748 Comm error with SD. bad response to Append Data. ERR=Connection 
reset by peer
29-Jan 22:09 floyd-dir: MySQLProductionFull.2007-01-29_21.52.27 Error: Bacula 
2.0.0 (04Jan07): 29-Jan-2007 22:09:48
  JobId:  641
  Job:MySQLProductionFull.2007-01-29_21.52.27
  Backup Level:   Full
  Client: floyd-fd 2.0.0 (04Jan07) 
i686-redhat-linux-gnu,redhat,(Bordeaux)
  FileSet:MySQL Production Full 2007-01-29 11:35:36
  Pool:   Daily (From Job resource)
  Storage:BradFileStorage (From Job resource)
  Scheduled time: 29-Jan-2007 21:52:20
  Start time: 29-Jan-2007 21:52:33
  End time:   29-Jan-2007 22:09:48
  Elapsed time:   17 mins 15 secs
  Priority:   10
  FD Files Written:   1
  SD Files Written:   0
  FD Bytes Written:   109,053,840 (109.0 MB)
  SD Bytes Written:   0 (0 B)
  Rate:   105.4 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Volume name(s): 
  Volume Session Id:  1
  Volume Session Time:1170133314
  Last Volume Bytes:  207 (207 B)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***





 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] SD error when backing up 100MB file (better formatted)

2007-01-29 Thread Brad Peterson

 I'm using Bacula to backup a large file, roughly 109MB in size.  I'm
 also attempting to back up this file to an offsite storage daemon.   



 I've tried 6 times now to get the file to backup, but each time, I get
 this error (showing the most relevant parts): 



 Fatal error: job.c:1748 Comm error with SD. bad response to Append
 Data. ERR=Connection reset by peer 



 ...

   FD Files Written:   1

   SD Files Written:   0

   FD Bytes Written:   109,053,840 (109.0 MB)

   SD Bytes Written:   0 (0 B)




 I can get it to work for 8 MB files no problem.  But 109 MB files
 always generate that above error.   Further, looking at the volume's
 physical file sizes, it always seems as if the storage daemon does get
 all the data.  

 Any ideas on what may be causing this? 
 

 offsite...   firewalls?

 Look at heartbeat/keep alive.  Try that.

 The other thing that comes to mind: are all the daemons the same 
 version?  FD/SD/Dir?



   
Thanks for the idea...but it didn't work.  :(

I tried setting the heartbeat interval on both the fd and sd to 5 
minutes, and restarted both daemons.  That didn't work.  I also tried 30 
minutes.  That didn't work either. 

Also, the daemons are the same version of 2.0.0.  I'm still clueless and 
I don't know anything I can try. In case anyone wants it, here is the 
full error message for the last run:

29-Jan 21:52 floyd-dir: Start Backup JobId 641, 
Job=MySQLProductionFull.2007-01-29_21.52.27
29-Jan 22:02 brad-sd: Volume Daily0008 previously written, moving to end of 
data.
29-Jan 22:09 floyd-fd: MySQLProductionFull.2007-01-29_21.52.27 Fatal error: 
job.c:1748 Comm error with SD. bad response to Append Data. ERR=Connection 
reset by peer
29-Jan 22:09 floyd-dir: MySQLProductionFull.2007-01-29_21.52.27 Error: Bacula 
2.0.0 (04Jan07): 29-Jan-2007 22:09:48
 JobId:  641
 Job:MySQLProductionFull.2007-01-29_21.52.27
 Backup Level:   Full
 Client: floyd-fd 2.0.0 (04Jan07) 
i686-redhat-linux-gnu,redhat,(Bordeaux)
 FileSet:MySQL Production Full 2007-01-29 11:35:36
 Pool:   Daily (From Job resource)
 Storage:BradFileStorage (From Job resource)
 Scheduled time: 29-Jan-2007 21:52:20
 Start time: 29-Jan-2007 21:52:33
 End time:   29-Jan-2007 22:09:48
 Elapsed time:   17 mins 15 secs
 Priority:   10
 FD Files Written:   1
 SD Files Written:   0
 FD Bytes Written:   109,053,840 (109.0 MB)
 SD Bytes Written:   0 (0 B)
 Rate:   105.4 KB/s
 Software Compression:   None
 VSS:no
 Encryption: no
 Volume name(s): 
 Volume Session Id:  1
 Volume Session Time:1170133314
 Last Volume Bytes:  207 (207 B)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  Error
 SD termination status:  Error
 Termination:*** Backup Error ***








 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [SPAM: 8.456] Re: Can't figure out how to use rpmbuild

2007-01-11 Thread Brad Peterson

Hristo Benev wrote:

Brad Peterson wrote:

Hey all,

I'm getting stuck trying to install bacula 2.0.0 on a fc5 box. I've 
decided to try the rpm method of installation this time. I tried to 
follow the manual ( 
http://www.bacula.org/dev-manual/Bacula_RPM_Packaging_FAQ.html ), and 
when I ran my rpmbuild command, it looks like it's doing it's thing 
for a few minutes...and then...nothing. It doesn't appear to install 
anything to run.


I'm new to working with rpms (gotta love yum), so I wonder if I'm 
just making some simple mistake somewhere.  In the manual, it says to 
run two lines. But the first command doesn't seem to work. The 
following was copied from my console:


# rpmbuild -ba --define build_fc5 1 --define build_mysql5 1 
bacula.spec

error: failed to stat /var/tmp/bacula.spec: No such file or directory

So, I ignord that, and went to the second line.  Here is what I ran:

# rpmbuild --rebuild --define build_fc5 1 --define build_mysql5 1 
bacula-2.0.0-1.src.rpm


This is the one which is the one that appeared to do its thing, but 
then ended without having anything to run.  From the manual, my only 
guess is that I should have something in /var/bacula.  But nothing is 
there.  The only bacula filepaths I have on this system is a bunch of 
stuff in the /usr/src/ directory.

Any idea what I need to do to get this working?

Brad Peterson
[EMAIL PROTECTED]

- 


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.phpp=sourceforgeCID=DEVDEV 




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  
If there is no error after rpmbuild is done, you have rpm in 
/usr/src/redhat/RPMS/i386/ need to install it with rpm -Uvh name.rpm



Hey!  Thanks!  That's all it was.  Glad to know it was a simple problem 
of just realizing that it build rpms in the /usr/src folder.  I was able 
to get it up and running.  

Next step, using a more normal email system so I don't get a huge spam 
score.  :)


Brad Peterson
Spam detection software, running on the system mail.appraiseutah.com, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hristo Benev wrote:  Brad Peterson wrote:  Hey all,
I'm getting stuck trying to install bacula 2.0.0 on a fc5 box.
  I've  decided to try the rpm method of installation this time. I tried
  to  follow the manual ( 
  http://www.bacula.org/dev-manual/Bacula_RPM_Packaging_FAQ.html ), and 
  when I ran my rpmbuild command, it looks like it's doing it's thing 
  for a few minutes...and then...nothing. It doesn't appear to install 
  anything to run.   I'm new to working with rpms (gotta love yum), so
  I wonder if I'm  just making some simple mistake somewhere. In the
  manual, it says to  run two lines. But the first command doesn't seem
  to work. The  following was copied from my console:   # rpmbuild
  -ba --define build_fc5 1 --define build_mysql5 1  bacula.spec 
  error: failed to stat /var/tmp/bacula.spec: No such file or directory 
   So, I ignord that, and went to the second line. Here is what I ran:
# rpmbuild --rebuild --define build_fc5 1 --define build_mysql5
  1  bacula-2.0.0-1.src.rpm   This is the one which is the one that
  appeared to do its thing, but  then ended without having anything to
  run. From the manual, my only  guess is that I should have something
  in /var/bacula. But nothing is  there. The only bacula filepaths I
  have on this system is a bunch of  stuff in the /usr/src/ directory.
   Any idea what I need to do to get this working?   Brad Peterson
   [EMAIL PROTECTED] 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.phpp=sourceforgeCID=DEVDEV
   Bacula-users mailing list 
  Bacula-users@lists.sourceforge.net  [...] 

Content analysis details:   (8.5 points, 5.0 required)

 pts rule name  description
 -- --
 1.8 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
-0.7 BAYES_20   BODY: Bayesian spam probability is 5 to 20%
[score: 0.1505]
 0.2 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 1.4 DNS_FROM_RFC_WHOIS

[Bacula-users] [SPAM: 8.456] Can't figure out how to use rpmbuild

2007-01-10 Thread Brad Peterson

Hey all,

I'm getting stuck trying to install bacula 2.0.0 on a fc5 box. I've 
decided to try the rpm method of installation this time. I tried to 
follow the manual ( 
http://www.bacula.org/dev-manual/Bacula_RPM_Packaging_FAQ.html ), and 
when I ran my rpmbuild command, it looks like it's doing it's thing for 
a few minutes...and then...nothing. It doesn't appear to install 
anything to run.


I'm new to working with rpms (gotta love yum), so I wonder if I'm just 
making some simple mistake somewhere.  In the manual, it says to run two 
lines. But the first command doesn't seem to work. The following was 
copied from my console:


# rpmbuild -ba --define build_fc5 1 --define build_mysql5 1 bacula.spec
error: failed to stat /var/tmp/bacula.spec: No such file or directory

So, I ignord that, and went to the second line.  Here is what I ran:

# rpmbuild --rebuild --define build_fc5 1 --define build_mysql5 1 
bacula-2.0.0-1.src.rpm


This is the one which is the one that appeared to do its thing, but then 
ended without having anything to run.  From the manual, my only guess is 
that I should have something in /var/bacula.  But nothing is there.  The 
only bacula filepaths I have on this system is a bunch of stuff in the 
/usr/src/ directory. 


Any idea what I need to do to get this working?

Brad Peterson
[EMAIL PROTECTED]



Spam detection software, running on the system mail.appraiseutah.com, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hey all, I'm getting stuck trying to install bacula
  2.0.0 on a fc5 box. I've decided to try the rpm method of installation
  this time. I tried to follow the manual (
  http://www.bacula.org/dev-manual/Bacula_RPM_Packaging_FAQ.html ), and
  when I ran my rpmbuild command, it looks like it's doing it's thing for
  a few minutes...and then...nothing. It doesn't appear to install
  anything to run. [...] 

Content analysis details:   (8.5 points, 5.0 required)

 pts rule name  description
 -- --
 1.8 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
-0.7 BAYES_20   BODY: Bayesian spam probability is 5 to 20%
[score: 0.1391]
 0.2 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 1.4 DNS_FROM_RFC_WHOIS RBL: Envelope sender in whois.rfc-ignorant.org
 2.0 RCVD_IN_SORBS_DUL  RBL: SORBS: sent directly from dynamic IP address
[24.10.159.195 listed in dnsbl.sorbs.net]
 1.7 DNS_FROM_RFC_POST  RBL: Envelope sender in
postmaster.rfc-ignorant.org
 1.9 RCVD_IN_NJABL_DUL  RBL: NJABL: dialup sender did non-local SMTP
[24.10.159.195 listed in combined.njabl.org]


-
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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [SPAM: 7.427] labelmedia=yes isn't working

2006-12-08 Thread Brad Peterson
I'm trying to set up disk volumes and have them automatically labeled.  
According to the manual, this should be possible.


So I made sure my storage daemon had this line in it:

 Label media = yes;   # lets Bacula label unlabeled media

I then did a ./bacula restart.  I then tried to run a job that specified 
a pool for which no volumes had yet been created.  I was doing this to 
test if it would auto create a volume for me.  Instead, I keep getting 
this message:


07-Dec 00:05 brad-sd: Job NightlySave.2006-12-07_00.04.46 waiting. 
Cannot find any appendable volumes.

Please use the label  command to create a new Volume for:


Any ideas why this is?  Shouldn't Label media=yes do the trick?  I've 
been trying for days to get this thing set up and running, and I'm 
getting frustrated feeling like I've run into a dead end.
Spam detection software, running on the system mail.appraiseutah.com, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  I'm trying to set up disk volumes and have them
  automatically labeled. According to the manual, this should be possible.
  So I made sure my storage daemon had this line in it: Label media = yes;
  # lets Bacula label unlabeled media [...] 

Content analysis details:   (7.4 points, 5.0 required)

 pts rule name  description
 -- --
 0.9 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
 0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 0.9 DNS_FROM_RFC_WHOIS RBL: Envelope sender in whois.rfc-ignorant.org
 2.0 RCVD_IN_SORBS_DUL  RBL: SORBS: sent directly from dynamic IP address
[24.10.159.195 listed in dnsbl.sorbs.net]
 1.4 DNS_FROM_RFC_POST  RBL: Envelope sender in
postmaster.rfc-ignorant.org
 1.7 RCVD_IN_NJABL_DUL  RBL: NJABL: dialup sender did non-local SMTP
[24.10.159.195 listed in combined.njabl.org]


-
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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [SPAM: 7.427] Re: Could not connect to Storage daemon on bacula:9103. ERR=Operation not permitted

2006-12-07 Thread Brad Peterson

Jon Ingason wrote:

I have installed new bacula server 1.38.11 on debian testing/unstable
runnig on PC and one of the clients, running on FreeBSD 6.1 version
1.38.5_1, is giving me problem:

run job=client-100 fileset=client File Set level=Incremental
client=client-100-fd pool=client-100 when=2006-12-07 12:59:47
where= storage=Fileclient-100Run Backup job
JobName:  client-100
FileSet:  Client File Set
Level:Incremental
Client:   client-100-fd
Storage:  Fileclient-100
Pool: client-100
When: 2006-12-07 12:59:47
Priority: 14
OK to run? (yes/mod/no):
Job started. JobId=51
07-Dec 12:59 bacula-dir: No prior Full backup Job record found.
07-Dec 12:59 bacula-dir: No prior or suitable Full backup found. Doing
FULL backup.
07-Dec 12:59 bacula-dir: Start Backup JobId 51,
Job=client-100.2006-12-07_12.59.50
07-Dec 12:58 client-100-fd: client-100.2006-12-07_12.59.50 Warning:
bnet.c:853 Could not connect to Storage daemon on bacula:9103.
ERR=Operation not permitted
Retrying ...
07-Dec 13:04 client-100-fd: client-100.2006-12-07_12.59.50 Warning:
bnet.c:853 Could not connect to Storage daemon on bacula:9103.
ERR=Operation not permitted
Retrying ...
07-Dec 13:09 client-100-fd: client-100.2006-12-07_12.59.50 Warning:
bnet.c:853 Could not connect to Storage daemon on bacula:9103.
ERR=Operation not permitted
Retrying ...
07-Dec 13:14 client-100-fd: client-100.2006-12-07_12.59.50 Warning:
bnet.c:853 Could not connect to Storage daemon on bacula:9103.
ERR=Operation not permitted
Retrying ...
07-Dec 13:19 client-100-fd: client-100.2006-12-07_12.59.50 Warning:
bnet.c:853 Could not connect to Storage daemon on bacula:9103.
ERR=Operation not permitted
Retrying ...

I have have other clients which are working well. It has probable
nothing to do with the client, but with the storage daemon. I have gone
through the configurations files and so on, but can't find anything wrong.

Are there someone who know more and can explain what can be wrong?

  
The debug mode has saved me in numerous occasions.  It often helps give 
me insight into why I'm getting the error I'm getting.  I'd recommend 
stopping the director (such as, ./bacula-ctl-dir stop, and then starting 
it in debug mode, such as ./bacula-dir -d 100).  Then, in a second 
console, try to run the job.
Spam detection software, running on the system mail.appraiseutah.com, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Jon Ingason wrote:  I have installed new bacula server
  1.38.11 on debian testing/unstable  runnig on PC and one of the
  clients, running on FreeBSD 6.1 version  1.38.5_1, is giving me
  problem:   run job=client-100 fileset=client File Set
  level=Incremental  client=client-100-fd pool=client-100
  when=2006-12-07 12:59:47  where= storage=Fileclient-100Run Backup
  job  JobName: client-100  FileSet: Client File Set  Level:
  Incremental  Client: client-100-fd  Storage: Fileclient-100  Pool:
  client-100  When: 2006-12-07 12:59:47  Priority: 14  OK to run?
  (yes/mod/no):  Job started. JobId=51  07-Dec 12:59 bacula-dir: No
  prior Full backup Job record found.  07-Dec 12:59 bacula-dir: No prior
  or suitable Full backup found. Doing  FULL backup.  07-Dec 12:59
  bacula-dir: Start Backup JobId 51,  Job=client-100.2006-12-07_12.59.50
   07-Dec 12:58 client-100-fd: client-100.2006-12-07_12.59.50 Warning: 
  bnet.c:853 Could not connect to Storage daemon on bacula:9103. 
  ERR=Operation not permitted  Retrying ...  07-Dec 13:04 client-100-fd:
  client-100.2006-12-07_12.59.50 Warning:  bnet.c:853 Could not connect
  to Storage daemon on bacula:9103.  ERR=Operation not permitted 
  Retrying ...  07-Dec 13:09 client-100-fd:
  client-100.2006-12-07_12.59.50 Warning:  bnet.c:853 Could not connect
  to Storage daemon on bacula:9103.  ERR=Operation not permitted 
  Retrying ...  07-Dec 13:14 client-100-fd:
  client-100.2006-12-07_12.59.50 Warning:  bnet.c:853 Could not connect
  to Storage daemon on bacula:9103.  ERR=Operation not permitted 
  Retrying ...  07-Dec 13:19 client-100-fd:
  client-100.2006-12-07_12.59.50 Warning:  bnet.c:853 Could not connect
  to Storage daemon on bacula:9103.  ERR=Operation not permitted 
  Retrying ...   I have have other clients which are working well. It
  has probable  nothing to do with the client, but with the storage
  daemon. I have gone  through the configurations files and so on, but
  can't find anything wrong.   Are there someone who know more and can
  explain what can be [...] 

Content analysis details:   (7.4 points, 5.0 required)

 pts rule name  description
 -- --
 0.9 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
 0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 

[Bacula-users] [SPAM: 7.427] Re: Director cannot start, can't connect to MySQL

2006-11-14 Thread Brad Peterson

John,

Thanks for the quick reply.  I did do that.  I poured over the manaul 
for hours and google searched multiple times and tried dozens of 
things.  I finally found the answer in a last ditch Google search. 


http://www.nabble.com/Negative-test-of-bacula-dir.-tf1189188.html#a3228301

I already had MySQL installed, and previously had edited the /etc/my.cnf 
file to specify where the client socket should be.  I didn't realize 
that Bacula does NOT read MySQL's /etc/my.cnf file to find where the 
client socket is.  Instead, it just assumes it's at /tmp/mysql.sock, 
unless specified otherwise in the bacula-dir.conf file.   Thanks to that 
post above, I was able to find the information needed on page 185 of the 
pdf manual.


If someone who writes the manual is reading this, I want to throw in a 
request.  :).  PLEASE make mention of this in Installing and 
Configuring MySQL -- Phase II  found at 
http://www.bacula.org/rel-manual/Installing_Configurin_MySQL.html.  Many 
people have already installed MySQL for other things, such as Bugzilla 
or Wiki, and we have already made some small modifications to the 
/etc/my.cnf file.  It would help other users greatly to mention that 
Bacula doesn't read the /etc/my.cnf file, and so if you have a 
non-standard socket location or port or other info, then you have to 
manually specify it in the bacula-dir.conf file, using the info seen on 
this manual page The Catalog Resource, found at 
http://www.bacula.org/rel-manual/Configuring_Director.html


Brad Peterson
[EMAIL PROTECTED]

John Drescher wrote:

Did you run the following 3 commands:
create_bacula_database
make_bacula_tables
grant_bacula_privileges

John



Spam detection software, running on the system mail.appraiseutah.com, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  John, Thanks for the quick reply. I did do that. I
  poured over the manaul for hours and google searched multiple times and
  tried dozens of things. I finally found the answer in a last ditch
  Google search. [...] 

Content analysis details:   (7.4 points, 5.0 required)

 pts rule name  description
 -- --
 0.9 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
 0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 0.9 DNS_FROM_RFC_WHOIS RBL: Envelope sender in whois.rfc-ignorant.org
 2.0 RCVD_IN_SORBS_DUL  RBL: SORBS: sent directly from dynamic IP address
[24.10.152.241 listed in dnsbl.sorbs.net]
 1.4 DNS_FROM_RFC_POST  RBL: Envelope sender in
postmaster.rfc-ignorant.org
 1.7 RCVD_IN_NJABL_DUL  RBL: NJABL: dialup sender did non-local SMTP
[24.10.152.241 listed in combined.njabl.org]


-
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=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cannot get --enable-tray-monitor to work

2006-11-14 Thread Brad Peterson
I've compiled bacula from source, and ran ./configure 
as follows:

./configure --enable-tray-monitor --enable-smartalloc
--with-mysql --sbindir=/usr/local/bacula/bin
--sysconfdir=/usr/local/bacula/bin
--with-working-dir=/usr/local/bacula/working
--with-pid-dir=/usr/local/bacula/working
--with-subsys-dir=/usr/local/bacula/working
--with-python

It works fine, and near the bottom of config.out, it
says:

  enable-tray-monitor:yes

But after I do a make and a make install, I check
the /bin directory, and I don't see the files
bacula-tray-monitor or tray-monitor.conf.  

I've search through the documentation and Googled
numerous other threads, but I cannot find out why this
is happening.  Any idea what I'm doing wrong?

Brad Peterson
[EMAIL PROTECTED]



 

Sponsored Link

Try Netflix today! With plans starting at only $5.99 a month what are you 
waiting for?
http://www.netflix.com/Signup?mqso=80010030

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Director cannot start, can't connect to MySQL

2006-11-08 Thread Brad Peterson
I've ran through the manual on the installion,
following every instruction given.  So far, everything
is working well.

I'm having troubles when I run:

./bacula start

This is what I see:

./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
08-Nov 01:56 bacula-dir:  Fatal error: Could not open
Catalog MyCatalog, database bacula.
08-Nov 01:56 bacula-dir:  Fatal error: mysql.c:164
Unable to connect to MySQL server.
Database=bacula User=bacula
It is probably not running or your password is
incorrect.
08-Nov 01:56 bacula-dir ERROR TERMINATION
Please correct configuration file:
/usr/local/bacula/bin/bacula-dir.conf


Now, when I type:

mysql -u bacula

It works without any problems, and I get a mysql
command prompt.

Any ideas on how to fix the above error message?




 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users