Koozali.org: home of the SME Server

Disk ARchive

Offline katumba

  • ***
  • 59
  • +0/-0
Disk ARchive
« on: March 08, 2007, 09:16:45 PM »
Trying to use this to perform b/u on SME 7.1.2.  After b/u starts, log file shows this and then nothing else happens. I've tried it a couple of times now.

Mar  8 12:03:32 e-smith-bg: Performing Fax backup
Mar  8 12:03:32 e-smith-bg: No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.
Mar  8 12:03:32 e-smith-bg: Parse error on command line (or included files): an empty string is an invalid argument

Any ideas?
thanks,

Offline Free4All

  • ****
  • 115
  • +0/-0
    • http://de.wikipedia.org/wiki/Lord_of_the_Weed
Disk ARchive
« Reply #1 on: March 15, 2007, 08:36:29 AM »
@katumba
I have the nearly the same problem:

Expiring old backups
Executing pre-backup event
Verbose logging is off
Performing sicherung backup
No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.
Parse error on command line (or included files): Cannot add an absolute path


Did you or anyone else solve the problem?

Thanks!

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Disk ARchive
« Reply #2 on: March 15, 2007, 07:49:57 PM »
You have incorrect/missing entries in one or more of your backup job settings. Review your job entries and correct.

an empty string is an invalid argument = tells you a job entry is blank or missing. Hard to state what you have done here. Try deleting and recreating the job accepting defaults.

Cannot add an absolute path  = tells you not to enter absolute paths like '/blah' but to correctly enter 'blah'.

Darrell

Offline katumba

  • ***
  • 59
  • +0/-0
Disk ARchive
« Reply #3 on: March 16, 2007, 01:33:23 AM »
Deleted the job. recreated it. still not working. It creates the target directory and sub-dir just fine. then noting.

Mar 15 17:20:12  e-smith-bg: Connecting /mnt/dar2/1 to \\****\D
Mar 15 17:20:12  kernel: init_special_inode: bogus i_mode (0)
Mar 15 17:20:12  kernel: smb_retry: no connection process
Mar 15 17:20:42  kernel: smb_add_request: request [e9c5dea0, mid=0] timed out!
Mar 15 17:20:42  kernel: smb_delete_inode: could not close inode 2
Mar 15 17:20:42  mount.smbfs[17000]: [2007/03/15 17:20:42, 0] client/smbmount.c:send_fs_socket(410)
Mar 15 17:20:42  mount.smbfs[17000]:   mount.smbfs: entering daemon mode for service \\****\D, pid=17000
Mar 15 17:20:42  e-smith-bg: Expanding /etc/dar2/1 template
Mar 15 17:20:43  e-smith-bg: Expiring old backups
Mar 15 17:20:43  e-smith-bg: Executing pre-backup event
Mar 15 17:20:43  esmith::event[17012]: Processing event: pre-backup  
Mar 15 17:20:43  esmith::event[17012]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Mar 15 17:20:43  esmith::event[17012]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1174004443 901142|End|1174004443 909151|Elapsed|0.008009
Mar 15 17:20:43  esmith::event[17012]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Mar 15 17:20:44  esmith::event[17012]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1174004443 910096|End|1174004444 218264|Elapsed|0.308168
Mar 15 17:20:44  esmith::event[17012]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Mar 15 17:20:44  esmith::event[17012]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1174004444 219008|End|1174004444 500984|Elapsed|0.281976
Mar 15 17:20:44 e-smith-bg: Verbose logging is off
Mar 15 17:20:44 e-smith-bg: Performing 1 backup
Mar 15 17:20:44  e-smith-bg: No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program.
Mar 15 17:20:44  e-smith-bg: Parse error on command line (or included files): an empty string is an invalid argument

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Disk ARchive
« Reply #4 on: March 16, 2007, 04:40:48 AM »
Code: [Select]
Mar 15 17:20:12 e-smith-bg: Connecting /mnt/dar2/1 to \\****\D
The above shows you have an invalid target entry. Post the output of all your job settings using the command 'db dar2 show jobname'. In your example this would be:

# db dar2 show 1

Darrell

Offline katumba

  • ***
  • 59
  • +0/-0
Disk ARchive
« Reply #5 on: March 16, 2007, 04:52:27 AM »
1=dar2
    Backup=etc/e-smith/templates-custom,etc/e-smith/templates-user-custom,etc/group,etc/gshadow,etc/passwd,etc/samba/secrets.tdb,etc/samba/smbpasswd,etc/shadow,etc/smbpasswd,etc/ssh,etc/sudoers,home/e-smith,root
    Compression=0
    Description=Fax server
    Exclude=
    Expiry=0
    Mount=/mnt/dar2
    Password=*******
    Prune=
    Slice=
    Target=\\*****\D
    Username=me
    VFSType=smbfs
    Verbose=off
    backupDay=manual
    backupTime=23:30
    status=enabled

Offline Free4All

  • ****
  • 115
  • +0/-0
    • http://de.wikipedia.org/wiki/Lord_of_the_Weed
Disk ARchive
« Reply #6 on: March 16, 2007, 09:50:28 AM »
Quote from: "dmay"
You have incorrect/missing entries in one or more of your backup job settings. Review your job entries and correct.

an empty string is an invalid argument = tells you a job entry is blank or missing. Hard to state what you have done here. Try deleting and recreating the job accepting defaults.

Cannot add an absolute path  = tells you not to enter absolute paths like '/blah' but to correctly enter 'blah'.

Darrell


Thank you!
I think i found the problem.
I wrote  Prune=/folder but that was not right. So i changed it into  Prune=folder and now the manuell backup works.   :D
In the evening i will make a backup with the configuration backupDay=*. I hope this will also work.

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Disk ARchive
« Reply #7 on: March 16, 2007, 12:50:09 PM »
Quote from: "katumba"

    Slice=
    Target=\\*****\D

Both of these are invalid. Read the create panel for details then change to match examples given:

Slice=650
Target=//*****/D

Darrell

Offline katumba

  • ***
  • 59
  • +0/-0
Disk ARchive
« Reply #8 on: March 16, 2007, 06:51:43 PM »
thank you. i didn't realize the slice size would matter. Since my b/u job was less than 2000, it would just make the one b/u.

I did try the path both ways, // and \\, but i guess the problem was the slice size the whole time.

Thanks a bunch!!