Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: jameswilson on July 21, 2017, 07:31:59 PM

Title: affa backup issue
Post by: jameswilson 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
Title: Re: affa backup issue
Post by: guest22 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?
Title: Re: affa backup issue
Post by: jameswilson 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?
Title: Re: affa backup issue
Post by: jameswilson on July 23, 2017, 09:51:30 PM
re cert change no
Title: Re: affa backup issue
Post by: ReetP 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