Koozali.org: home of the SME Server

[solved] 9.1 upgrade issue

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
[solved] 9.1 upgrade issue
« on: May 20, 2017, 07:03:31 PM »
I have a server at home I use to backup work
I noticed the backups wernt working and found the hard drives were full
I deleted all the affa files (so I could setup again) and did a yum upgrade

now
Quote
[root@wulstans-bu ~]# signal-event reboot
no connection to syslog available
        - /dev/log is not a socket at /usr/share/perl5/vendor_perl/esmith/Logger.pm line 42
So ive downloaded the update but I cant perform a post-upgrade

I can just reinstall it but if it can be fixed?

Thanks
« Last Edit: May 20, 2017, 09:27:56 PM by jameswilson »

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
Re: 9.1 upgrade issue
« Reply #1 on: May 20, 2017, 07:44:01 PM »
I have found from digging it appears I have syslog problem

Quote
[root@wulstans-bu log]# service rsyslog restart
Shutting down system logger:  rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1029" x-info="http://www.rsyslog.com"] exiting on signal 15.
                                                           [  OK  ]
 rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="16824" x-info="http://www.rsyslog.com"] start
 rsyslogd-2103:CONFIG ERROR: there are no active actions configured. Inputs will run, but no output whatsoever is created. [try http://www.rsyslog.com/e/2103 ]

 rsyslogd:EMERGENCY CONFIGURATION ACTIVATED - fix rsyslog config file!
I'm assuming rsyslog file is templated?

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
Re: 9.1 upgrade issue
« Reply #2 on: May 20, 2017, 08:00:20 PM »
I copied the conf file from another sme machine and restarted the rsyslog service and signal-event commands now work
Ive just performed the post-upgrade and reboot

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
Re: 9.1 upgrade issue
« Reply #3 on: May 20, 2017, 08:09:14 PM »
Ok new issue cant access anything on http side. Not server manager or the default website. Just times out.
But
Quote
[root@wulstans-bu httpd]# /etc/init.d/httpd-e-smith restart
Restarting httpd-e-smith                                   [  OK  ]
[root@wulstans-bu httpd]#

But the logfiles for httpd from mc are in red and cannot be red, like messages were before I fixed that bit

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
Re: 9.1 upgrade issue
« Reply #4 on: May 20, 2017, 08:49:48 PM »
Found this now
Quote
[root@wulstans-bu ~]# apachectl -t -D DUMP_MODULES
Syntax error on line 140 of /etc/httpd/conf/httpd.conf:
SSLCertificateFile: file '/home/e-smith/ssl.crt/wulstans-bu.malvern-backup.local.crt' does not exist or is empty

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
Re: 9.1 upgrade issue
« Reply #5 on: May 20, 2017, 09:12:29 PM »
Ive tried

Quote
config delprop modSSL crt
config delprop modSSL key
config delprop modSSL CertificateChainFile
but still
Quote
[root@wulstans-bu ~]# apachectl -t -D DUMP_MODULES
Syntax error on line 140 of /etc/httpd/conf/httpd.conf:
SSLCertificateFile: file '/home/e-smith/ssl.crt/wulstans-bu.malvern-backup.local.crt' does not exist or is empty

Offline jameswilson

  • *
  • 744
  • +0/-0
    • Security Warehouse, trade security equipment
Re: 9.1 upgrade issue
« Reply #6 on: May 20, 2017, 09:27:44 PM »
I deleted all keys and crt files and did a post-upgrade / reboot and can now access server-manager