==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=5421

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

           Summary: Affa Shows errors on the second invocation, while the
                    first one runs fine.
           Product: SME Contribs
  Found-In-Version: 7.3
          Platform: All
  Fixed-In-Version: Unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: smeserver-affa
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


I am using smeserver 7.3 kernel 2.6.9-78.0.8.ELsmp,
Till sometime back my affa was working fine but after I installed a new disk of
1TB on my openfiler NAS box the problem has started to come. The first backup
is running fuile while the second one fails showing error 537, here is the log
file:
Code: [Select]
Mon Jul 27 10:50:01[4663]: Affa 1.0.0-3: Starting job nasbox scheduled
(localhost)
Mon Jul 27 10:50:01[4663]: Description:
Mon Jul 27 10:50:01[4663]: signaling pre-backup event on localhost
Mon Jul 27 10:50:11[4663]: Running rsync...
Mon Jul 27 11:11:09[4663]: signaling post-backup event on localhost
Mon Jul 27 11:11:10[4663]: Error 537: rsync failed with status rsync:
writefd_unbuffered failed to write 78 bytes [generator]: Broken pipe (32).
Mon Jul 27 11:11:15[4663]: Email sent to [email protected]
Mon Jul 27 11:11:15[4663]: Exiting.

Also here is my affa setup file
Code: [Select]
#!/usr/bin/perl -w

# Important: Values must not contain a '|' (pipe) character

# EDIT THIS:
# used as a key for db and as a filename!
# Choose a name with <= 10 chars.
my $jobname='nasbox';

# EDIT THIS:
my %job=(
   'remoteHostName'=>'localhost', # FQHN or IP address
   'TimeSchedule'=>'1050', # HHMM,HHMM,...
   'Description'=>'', # text string.
   'scheduledKeep'=>1, # integer >= 1
   'dailyKeep'=>1, # integer >= 1
   'weeklyKeep'=>1,# integer >= 1
   'monthlyKeep'=>1,# integer >= 1
   'yearlyKeep'=>1,# integer >= 1
   'SMEServer'=>'yes', # yes | no
   'Include[0]'=>'', # additional files or directories to include
   #'Include[1]'=>'',
   #'Include[2]'=>'',
   'Exclude[0]'=>'', # files or directories to exclude from backup
   #'Exclude[1]'=>'',
   #'Exclude[2]'=>'',
   'RPMCheck'=>'no', # yes | no
   'DiskSpaceWarn'=>'strict', # strict | normal | risky | none
   'localNice'=>0, # -19...+19
   'remoteNice'=>0, # -19...+19
   'Watchdog'=>'yes', # yes | no
   'sshPort'=>22, # default ssh port is 22
   'ConnectionCheckTimeout'=>120, # seconds
   'rsyncTimeout'=>900, # seconds
   'rsyncCompress'=>'yes', # yes | no
   'EmailAddresses'=>'[email protected]', # [email protected],[email protected],...
   'chattyOnSuccess'=>0, # send N success notifications
   'postJobCommand'=>'', # full path to local program/script
   'preJobCommand'=>'', # full path to local program/script
   'AutomountDevice'=>'', # Device to auto mount (e.g. USB drive)
   'AutomountPoint'=>'', # the mountpoint for AutomountDevice
   'AutomountOptions'=>'', # Optionstring passed to mount command e.g. '-t
cifs'
   'AutoUnmount'=>'no', # umount if fs was not mounted before Affa ran
   'RootDir'=>'/mnt/affanas', # where to save the archives. Don't use /root or
/home/e-smith
   #'RootDir'=>'/mnt/APF/server_backup', # where to save the archives. Don't
use /root or /home/e-smith
   'Debug'=>'no', # yes | no
   'status'=>'enabled', # enabled | disabled
   #'status'=>'disabled', # enabled | disabled
   'rsync--inplace'=>'yes', # yes | no : rsync on source supports '--inplace'
option
   'rsync--modify-window'=>0, # integer >= 0, timestamp window
   );

### nothing to edit below this line ####



here are my mounts on the server
Code: [Select]
/dev/mapper/main-root on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/md1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
192.168.1.250:/mnt/vg1/affa/backup/ on /mnt/affanas type nfs
(rw,addr=192.168.1.250)

192.168.1.250 is the ip of my Openfiler NAS Box

Here is the affa archives

Code: [Select]
Affa version 1.0.0-3 on server.cwgblr.com (192.168.1.***)
+------------------------------------------------------------------------------+
| Job: nasbox                                                                 
|
| Description:                                                                
|
| Directory: /mnt/affanas/nasbox/                                             
|
| Hostname: localhost                                                         
|
| Email:                                                       |
+-----------------------+----------------+--------------+--------+-------------+
| Date                  | Archive        |        Files |   Size |  Disk usage
|
+-----------------------+----------------+--------------+--------+-------------+
| Fri 2009 Jul 24 16:49 | daily.0        |       370559 |  260GB |   262GB/30%
|
+-----------------------+----------------+--------------+--------+-------------+

Code: [Select]

Then the /var/log/affa/nasbox.log shows:

xcerpt from log file /var/log/affa/nasbox.log:
Mon_Aug__3_09:30:02[START.7032]:_Affa_1.0.0-3:_Running_/sbin/e-smith/affa_--watchdog=86400_--run_nasbox
Job_configuration:
__AutoUnmount=no
__ConnectionCheckTimeout=120
__Debug=no
__DiskSpaceWarn=strict
[email protected]
__RPMCheck=no
__RootDir=/mnt/affanas
__SMEServer=yes
__TimeSchedule=0930
__Watchdog=yes
__chattyOnSuccess=716
__dailyKeep=1
__doneDaily=2009214
__doneMonthly=200908
__doneWeekly=200930
__doneYearly=2009
__monthlyKeep=1
__remoteHostName=localhost
__remoteOS=centos
__rsync--inplace=yes
__rsyncCompress=yes
__rsyncTimeout=900
__rsyncdMode=no
__rsyncdModule=AFFA
__rsyncdPassword=<not_shown>
__rsyncdUser=affa
__scheduledKeep=1
__sendStatus=weekly
__sshPort=22
__status=enabled
__type=job
__weeklyKeep=1
__yearlyKeep=1
Mon_Aug__3_09:30:02[7032]:_Affa_1.0.0-3:_Starting_job_nasbox_scheduled_(localhost)
Mon_Aug__3_09:30:02[7032]:_Description:_
Mon_Aug__3_09:30:02[7032]:_signaling_pre-backup_event_on_localhost
Exec_Out:_exitstatus=0
Using_link_destination_daily.0
Mon_Aug__3_09:30:14[7032]:_Running_rsync...
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/group"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/gshadow"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/passwd"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/shadow"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/smbpasswd"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/sudoers"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/httpd"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/httpd/conf"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/80php5-cgi"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/89b2evolution"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/90orangehrm"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/my.cnf"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/my.cnf/005mysqld"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/pptpd.conf.bak"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/pptpd.conf.bak/remoteip.bak"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/ups"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/ups/upsd.users"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-custom/etc/ups/upsd.users/upssetup"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/e-smith/templates-user-custom"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/samba"_failed:_Operation_not_permitted_(1)
Exec_Out:_rsync:_chown_"/mnt/affanas/nasbox/scheduled.running/etc/samba/secrets.tdb"_failed:_Operation_not_permitted_(1)


This is not complete file, its only apart of it.

-- 
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to