Bacula-users

Re: [Bacula-users] Getting some stat errors during backup

2008-11-18 13:00:02
Subject: Re: [Bacula-users] Getting some stat errors during backup
From: Charlie Reddington <charlie.reddington AT gmail DOT com>
To: Kevin Keane <subscription AT kkeane DOT com>
Date: Tue, 18 Nov 2008 11:58:10 -0600
I really hate to admit it, but there was a type, in the directory  
name, had an extra letter on it. (I'm dumb)

Thanks for all the suggestions otherwise, I was really confused where  
to begin with the stat error. So thanks for clearing that up.





On Nov 18, 2008, at 10:33 AM, Kevin Keane wrote:

> Double-check spelling and other details. The error message pretty
> clearly includes the notes "no such file or directory" which means  
> that,
> as far as Bacula is concerned, the file does not exist. It's also  
> not a
> permission problem - else you'd see something about "permission  
> denied"
> or a similar message.
>
> You may also want to post one actual error message without  
> substituting
> "directory" in the error message. Maybe there is a typo in it.
>
> Charlie Reddington wrote:
>> Okay, that makes sense. So if the file / directory DOES exist, with
>> proper read permissions, what can be causing me this error?
>>
>> Thanks,
>>
>> - charlie -
>>
>> On Nov 18, 2008, at 9:29 AM, Kevin Keane wrote:
>>
>>> "Could not stat" is Unix-speak for "file not found". The reason many
>>> programs call it "could not stat" is that the system call to find  
>>> out
>>> basic information about a file (time stamp, size, etc.) is called  
>>> stat -
>>> and when stat fails, it usually means that the file or directory  
>>> doesn't
>>> exist.
>>>
>>> Charlie Reddington wrote:
>>>> Hi,
>>>>
>>>> Everything looks to be running pretty smooth, but I have one server
>>>> which is giving me some problems..... It looks like it's backing up
>>>> some of the stuff, but it's missing some.
>>>>
>>>> Here's the log after the backup runs. I kind of expected errors  
>>>> with
>>>> the *.pl and *.sh files, but the other one is a directory, and does
>>>> exist, with all the files having 755 permissions.
>>>>
>>>> What does the line 'Could not stat' mean?
>>>>
>>>> Can we do anything about the subject not matching the actual log?  
>>>> For
>>>> example, Bacula subject line says 'backup OK', but in this file, it
>>>> has errors. Any quick fix for that as well?
>>>>
>>>> Thanks for any help here,
>>>>
>>>> - charlie -
>>>>
>>>> ----------------------
>>>>
>>>> 18-Nov 03:25 noc02-dir JobId 109: Start Backup JobId 109,
>>>> Job=server1.2008-11-17_23.05.47
>>>> 18-Nov 03:25 noc02-dir JobId 109: Using Device "FileStorage"
>>>> 18-Nov 03:20 serv05-fd JobId 109: DIR and FD clocks differ by -312
>>>> seconds, FD automatically compensating.
>>>> 18-Nov 03:25 noc02-sd JobId 109: Volume "Inc-0004" previously  
>>>> written,
>>>> moving to end of data.
>>>> 18-Nov 03:25 noc02-sd JobId 109: Ready to append to end of Volume
>>>> "Inc-0004" size=9761414378
>>>>
>>>> 18-Nov 03:20 serv05-fd JobId 109:      Could not stat /directory/
>>>> directory/bin: ERR=No such file or directory
>>>> 18-Nov 03:20 serv05-fd JobId 109:      Could not stat /usr/ 
>>>> directory/
>>>> directory/zips/*.sh: ERR=No such file or directory
>>>> 18-Nov 03:20 serv05-fd JobId 109:      Could not stat /usr/ 
>>>> directory/
>>>> directory/zips/*.pl: ERR=No such file or directory
>>>>
>>>> 18-Nov 03:25 noc02-sd JobId 109: Job write elapsed time = 00:00:11,
>>>> Transfer rate = 727.1 K bytes/second
>>>> 18-Nov 03:25 noc02-dir JobId 109: Bacula noc02-dir 2.4.2  
>>>> (26Jul08): 18-
>>>> Nov-2008 03:25:41
>>>>  Build OS:               x86_64-unknown-linux-gnu redhat
>>>>  JobId:                  109
>>>>  Job:                    server1.2008-11-17_23.05.47
>>>>  Backup Level:           Incremental, since=2008-11-17 04:36:59
>>>>  Client:                 "server1-fd" 2.4.3 (10Oct08) i686-pc- 
>>>> linux-
>>>> gnu,redhat,Enterprise release
>>>>  FileSet:                "server1-Full-Set" 2008-11-10 11:13:36
>>>>  Pool:                   "Inc" (From Job IncPool override)
>>>>  Storage:                "File" (From Job resource)
>>>>  Scheduled time:         17-Nov-2008 23:05:00
>>>>  Start time:             18-Nov-2008 03:25:30
>>>>  End time:               18-Nov-2008 03:25:41
>>>>  Elapsed time:           11 secs
>>>>  Priority:               11
>>>>  FD Files Written:       108
>>>>  SD Files Written:       108
>>>>  FD Bytes Written:       7,987,926 (7.987 MB)
>>>>  SD Bytes Written:       7,999,119 (7.999 MB)
>>>>  Rate:                   726.2 KB/s
>>>>  Software Compression:   84.1 %
>>>>  VSS:                    no
>>>>  Storage Encryption:     no
>>>>  Volume name(s):         Inc-0004
>>>>  Volume Session Id:      43
>>>>  Volume Session Time:    1226673695
>>>>  Last Volume Bytes:      9,769,428,995 (9.769 GB)
>>>>  Non-fatal FD errors:    3
>>>>  SD Errors:              0
>>>>  FD termination status:  OK
>>>>  SD termination status:  OK
>>>>  Termination:            Backup OK -- with warnings
>>>>
>>>> 18-Nov 03:25 noc02-dir JobId 109: Begin pruning Jobs.
>>>> 18-Nov 03:25 noc02-dir JobId 109: No Jobs found to prune.
>>>> 18-Nov 03:25 noc02-dir JobId 109: Begin pruning Files.
>>>> 18-Nov 03:25 noc02-dir JobId 109: No Files found to prune.
>>>> 18-Nov 03:25 noc02-dir JobId 109: End auto prune.
>>>>
>>
>
>
> -- 
> Kevin Keane
> Owner
> The NetTech
> Turn your NetWORRY into a NetWORK!
>
> Office: 866-642-7116
> http://www.4nettech.com
>
> This e-mail and attachments, if any, may contain confidential and/or  
> proprietary information. Please be advised that the unauthorized use  
> or disclosure of the information is strictly prohibited. The  
> information herein is intended only for use by the intended  
> recipient(s) named above. If you have received this transmission in  
> error, please notify the sender immediately and permanently delete  
> the e-mail and any copies, printouts or attachments thereof.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users