Koozali.org: home of the SME Server

affa backup issue

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
affa backup issue
« on: July 21, 2017, 07:31:59 PM »
had a working remote server just as a backup server
Added another job to it, now the old backup isn't listed with affa -status and the new one wont run.

Quote
[root@borris ~]# affa --configcheck
Checking job section GlobalAffaConfig (/etc/affa/GlobalAffaConfig.conf)
Checking job section localhost (/etc/affa/localhost.conf)
Checking job section tsi (/etc/affa/tsi.conf)
Checking job section wss2 (/etc/affa/wss.conf)
Configuration  is ok.
Quote
[root@borris ~]# affa -ch
localhost        : SSH connection FAILED
tsi              : SSH connection ok
[root@borris ~]#
Quote
affa -st
Affa version 3.2.2.3-2 on borris
+-----------+-----+-------+--------+-------+-------+-------+----------------+
| Job       | ENA |  Last |   Time |  Next |  Size | ddYld | N of S,D,W,M,Y |
+-----------+-----+-------+--------+-------+-------+-------+----------------+
| tsi       | yes | waiting (pid 2778)                     |  0, 0, 0, 0, 0 |
+-----------+-----+-------+--------+-------+-------+-------+----------------+
1 disabled jobs not listed. Use --all to display.
I have sent the key on the tsi job

guest22

Re: affa backup issue
« Reply #1 on: July 23, 2017, 08:49:43 AM »
had a working remote server just as a backup server
Added another job to it, now the old backup isn't listed with affa -status and the new one wont run.
I have sent the key on the tsi job


"localhost        : SSH connection FAILED"

This appears to be key...

Can you (from remote) ssh into the target server? Any chance keys/certificates changed?

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: affa backup issue
« Reply #2 on: July 23, 2017, 09:51:08 PM »
but I'm not backing up localhost?
Never needed that before and was working on the wss backup until I added tsi. Now neither works?

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: affa backup issue
« Reply #3 on: July 23, 2017, 09:51:30 PM »
re cert change no

Offline ReetP

  • *
  • 3,736
  • +5/-0
Re: affa backup issue
« Reply #4 on: July 24, 2017, 06:16:31 PM »
Not sure what you have done but I beleive this is a configuration issue.

Quote
localhost        : SSH connection FAILED

localhost is to backup the local machine. No reason for it to be trying a SSH connection.

Can you paste your confs so we can take a look please.

Also note this bug:

https://bugs.contribs.org/show_bug.cgi?id=10373

conf file must have a new line at the end of them.

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation