Koozali.org: home of the SME Server

SSL Certificate does not exist on AFFA backup box (error)-SOLVED

Offline ber

  • *****
  • 239
  • +0/-0
SSL Certificate does not exist on AFFA backup box (error)-SOLVED
« on: November 19, 2013, 11:36:08 PM »
Hi Ive setup a Affa that backs up my Production SME 8 server. Lately it displays on the monitor "syntax error on line 136 /etc/httpd/conf/httpd.conf : SSLCertificatefile: file '/home/e-smith/ssl.crt/affa.local.ber.crt' does not exist or is empty.

I was in the process of trying different backup hardware so I installed a fresh install of SME 8 and then installed AFFA as a backup to the production server. The same fault occurred after a couple of weeks??

I checked the  directory concerned on my Affa box and there is no certificate/file located in there. /home/e-smith/ssl.crt/

Checked my production server and have the listed certificates in /home/e-smith/ssl.crt/...

- backupserver.crt server.ber.net.crt server.ber.local.crt

Can anyone advise how to resolve this issue...
I have looked at the how to:http://wiki.contribs.org/Certificates_Concepts

but am unsure which solution is relevant for my solution.

Regards John
« Last Edit: November 20, 2013, 10:26:55 PM by ber »

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: SSL Certificate does not exist on AFFA backup box (error)
« Reply #1 on: November 20, 2013, 03:15:17 PM »
Affa should not be writing anything to (or deleting anything from) /home/e-smith/ssl.crt on the backup server, so:

- Did you install affa as described in the SME Server wiki, or did you install the newer, more generic Centos-based affa from sourceforge?
- If you installed the sourceforge version of Affa, did you specify that you are backing up a SME server?
- Have you done something else on your affa server (such as "affa --rise", or any template or package customizations) that would affect files and folders outside of your affa backup folder?



Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SSL Certificate does not exist on AFFA backup box (error)
« Reply #2 on: November 20, 2013, 06:57:08 PM »
Hi Ive setup a Affa that backs up my Production SME 8 server. Lately it displays on the monitor "syntax error on line 136 /etc/httpd/conf/httpd.conf : SSLCertificatefile: file '/home/e-smith/ssl.crt/affa.local.ber.crt' does not exist or is empty.

Did you check which of those conditions is true?

Perhaps the file exists but is empty. That can happen if the disk becomes full. In that case, delete files so that the disk is not full, delete the empty file, and do a full reconfigure.
« Last Edit: November 20, 2013, 10:14:11 PM by CharlieBrady »

Offline ber

  • *****
  • 239
  • +0/-0
Re: SSL Certificate does not exist on AFFA backup box (error)
« Reply #3 on: November 20, 2013, 08:55:25 PM »
Hi affa was installed from sme repository.

No I haven't run any commands after installing affairs.
For clarity.

When the issue first occurred I was unsure how to resolve it. So I simply reformatted my backup box and reinstalled a fresh copy of Linux sme 8.
I installed all the patches then installed affa again from the repository.
Fault returned after a few weeks.
I can SSH to the box but cannot access via the browser.
This was a drastic measure but couldn't find any solutions or relevant posts that may help.
Unusual how the fault returned on the fresh backup box??

Thanks...
« Last Edit: November 20, 2013, 09:16:57 PM by ber »

Offline _alex

  • ****
  • 103
  • +0/-0
Re: SSL Certificate does not exist on AFFA backup box (error)
« Reply #4 on: November 20, 2013, 09:32:22 PM »
Do you ever read admin's email? It looks like you ran out of disk space without noticing it.

Offline ber

  • *****
  • 239
  • +0/-0
Re: SSL Certificate does not exist on AFFA backup box (error)
« Reply #5 on: November 20, 2013, 10:09:42 PM »
Hi Alex, absolutely right...yes the disk is full. I didnt check the affa box admin emails...Solved- get a bigger disk.

login as: root
root@192.168.0.250's password:
Last login: Thu Nov 21 01:16:06 2013 from pc-00232.ber.local
[root@affa ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/main-root
                     235426376 235424564         0 100% /
/dev/md1                101018     18687     77115  20% /boot
tmpfs                   256888         0    256888   0% /dev/shm
[root@affa ~]#

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SSL Certificate does not exist on AFFA backup box (error)
« Reply #6 on: November 20, 2013, 10:15:24 PM »
ber, please add [SOLVED] to the Subject of this thread.

Offline ber

  • *****
  • 239
  • +0/-0
Re: SSL Certificate does not exist on AFFA backup box (error)-SOLVED
« Reply #7 on: November 20, 2013, 10:27:37 PM »
done...:)