Koozali.org: home of the SME Server

SME backup or Restore

Offline brainamess

  • *
  • 39
  • +0/-0
SME backup or Restore
« on: July 05, 2016, 06:22:03 PM »
Good day!

I am new to using SME servers. I have been playing around with this server. It is SME 8.2. When I click on backup or restore I get a "Secure Connection Failed".

Was wondering what is wrong and how I can access this menu.

I appreciate the help!

Brian

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: SME backup or Restore
« Reply #1 on: July 05, 2016, 08:52:34 PM »
hi there, welcome

could you please attach a screenshot?

thank you

Offline brainamess

  • *
  • 39
  • +0/-0
Re: SME backup or Restore
« Reply #2 on: July 05, 2016, 09:24:10 PM »
Thank you for the welcome :)

I have attached the screenshot and of course the reason why I find it funny is all the other menus work!

Thanks again!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME backup or Restore
« Reply #3 on: July 05, 2016, 09:52:56 PM »
I have attached the screenshot and of course the reason why I find it funny is all the other menus work!

I suspect it's a timeout issue. Do you have slow hardware, and/or very large filesystems?

Have a look for errors in /var/log/httpd/admin_error_log.

Offline brainamess

  • *
  • 39
  • +0/-0
Re: SME backup or Restore
« Reply #4 on: July 05, 2016, 10:11:11 PM »
This is all it has in it. It is the main mail server here so it is working hard but looking at htop nothing is killing anything.


Code: [Select]
[Fri Jul 01 01:12:02 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Jul 01 01:12:02 2016] [notice] Digest: done
[Fri Jul 01 01:12:02 2016] [notice] Apache configured -- resuming normal operations

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: SME backup or Restore
« Reply #5 on: July 06, 2016, 10:46:06 AM »
I suspect it's a timeout issue. Do you have slow hardware, and/or very large filesystems?

@brianblaze420: can you please answer to Charlie's questions? TIA

Offline Jean-Philippe Pialasse

  • *
  • 2,745
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME backup or Restore
« Reply #6 on: July 06, 2016, 01:21:14 PM »
@brianblaze420: can you please answer to Charlie's questions? TIA

I think he did:

This is all it has in it. It is the main mail server here so it is working hard but looking at htop nothing is killing anything.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: SME backup or Restore
« Reply #7 on: July 06, 2016, 01:24:57 PM »
I can't see any info about filesystems nor about hw, did I miss anything? :-)

in any case, /var/log/messages, /var/log/httpd/ are the file/dir to dig into searching for problems..


Offline Jean-Philippe Pialasse

  • *
  • 2,745
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SME backup or Restore
« Reply #8 on: July 06, 2016, 01:31:09 PM »
I can't see any info about filesystems nor about hw, did I miss anything? :-)
htop could give a hint on the hw load, which is what we need there.

in any case, /var/log/messages, /var/log/httpd/ are the file/dir to dig into searching for problems..

to be more specific, check the content of
Code: [Select]
tail -f /var/log/messages
tail -f  /var/log/httpd/access_log
tail -f  /var/log/httpd/admin_access_log
tail -f  /var/log/httpd/error_log
(admin_error_log already done)

also to be more specific in term of file system
Code: [Select]
df -h

du -sh /home

also
Quote
When I click on backup or restore I get a "Secure Connection Failed".
: you mean when you click on the left handed  menu ( meaning only trying to display the page) , or after trying to launch a backup ?

Offline brainamess

  • *
  • 39
  • +0/-0
Re: SME backup or Restore
« Reply #9 on: July 06, 2016, 04:21:11 PM »
Hey guys sorry I guess I didn't give enough info so here we go:

tail -f /var/log/messages
Code: [Select]
Jul  5 23:29:46 vmsme esmith::event[7466]: S30ldap-dump=action|Event|pre-backup|Action|S30ldap-dump|Start|1467775786 559287|End|1467775786 642631|Elapsed|0.083344
Jul  5 23:29:46 vmsme esmith::event[7466]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Jul  5 23:29:46 vmsme esmith::event[7466]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1467775786 643063|End|1467775786 686630|Elapsed|0.043567
Jul  5 23:33:43 vmsme esmith::event[7691]: Processing event: post-backup 
Jul  5 23:33:43 vmsme esmith::event[7691]: Running event handler: /etc/e-smith/events/post-backup/S10mysql-delete-dumped-tables
Jul  5 23:33:43 vmsme esmith::event[7691]: S10mysql-delete-dumped-tables=action|Event|post-backup|Action|S10mysql-delete-dumped-tables|Start|1467776023 280812|End|1467776023 284557|Elapsed|0.003745
Jul  5 23:33:43 vmsme esmith::event[7691]: Running event handler: /etc/e-smith/events/post-backup/S50rewind-tape
Jul  5 23:33:43 vmsme esmith::event[7691]: S50rewind-tape=action|Event|post-backup|Action|S50rewind-tape|Start|1467776023 284848|End|1467776023 328556|Elapsed|0.043708
Jul  5 23:33:43 vmsme esmith::event[7691]: Running event handler: /etc/e-smith/events/post-backup/S90eject-tape
Jul  5 23:33:43 vmsme esmith::event[7691]: S90eject-tape=action|Event|post-backup|Action|S90eject-tape|Start|1467776023 328841|End|1467776023 371952|Elapsed|0.043111

tail -f  /var/log/httpd/access_log
Code: [Select]
epls.ca 192.168.0.20 - - [06/Jul/2016:09:23:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:28:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:33:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:38:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:43:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:48:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:53:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:09:58:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:10:03:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"
epls.ca 192.168.0.20 - - [06/Jul/2016:10:08:30 -0400] "GET / HTTP/1.1" 200 202 "-" "check_http/v1.4.14 (nagios-plugins 1.4.14)"

tail -f  /var/log/httpd/admin_access_log
Code: [Select]
127.0.0.1 - - [05/Jul/2016:14:27:52 -0400] "GET /server-common/css/sme_main.css HTTP/1.1" 200 10752
127.0.0.1 - admin [05/Jul/2016:14:28:18 -0400] "GET /server-manager/cgi-bin/starterwebsite HTTP/1.1" 200 3589
127.0.0.1 - admin [05/Jul/2016:14:28:21 -0400] "GET /server-manager/cgi-bin/useraccounts HTTP/1.1" 200 33505
127.0.0.1 - admin [05/Jul/2016:14:28:29 -0400] "GET /server-manager/cgi-bin/useraccounts?page=0&page_stack=&acctName=agargour&Next=Next&action=modify&wherenext=CreateModify HTTP/1.1" 200 6209
127.0.0.1 - admin [05/Jul/2016:14:28:33 -0400] "GET /server-manager/cgi-bin/useraccounts HTTP/1.1" 200 33505
127.0.0.1 - admin [05/Jul/2016:14:36:45 -0400] "GET /server-manager/cgi-bin/groups HTTP/1.1" 200 4115
127.0.0.1 - admin [05/Jul/2016:14:36:46 -0400] "GET /server-manager/cgi-bin/useraccounts HTTP/1.1" 200 33505
127.0.0.1 - admin [05/Jul/2016:14:36:51 -0400] "GET /server-manager/cgi-bin/useraccounts?page=0&page_stack=&acctName=hylafax&Next=Next&action=modify&wherenext=CreateModify HTTP/1.1" 200 6158
127.0.0.1 - admin [05/Jul/2016:14:36:55 -0400] "GET /server-manager/cgi-bin/useraccounts HTTP/1.1" 200 33505
127.0.0.1 - admin [05/Jul/2016:16:06:55 -0400] "GET /server-manager/cgi-bin/useraccounts HTTP/1.1" 200 33505

tail -f  /var/log/httpd/error_log
Code: [Select]
[Mon Jul 04 07:42:22 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 07:42:22 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:23:36 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:27:18 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:28:33 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:29:59 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Tue Jul 05 11:50:17 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Jul 05 11:50:17 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Jul 05 14:27:52 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Jul 05 14:27:52 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico

df -h
Code: [Select]
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                      886G  537G  304G  64% /
/dev/md1               99M   18M   76M  20% /boot
tmpfs                 7.9G     0  7.9G   0% /dev/shm

du -sh /home
Code: [Select]
117G /home

As soon as I click on Backup or Restore I get that message in my screenshot I don't have a chance to do anything.

Hope this helps :)

Brian

Offline brainamess

  • *
  • 39
  • +0/-0
Re: SME backup or Restore
« Reply #10 on: July 06, 2016, 04:29:15 PM »
Also in case it helps I have attached a pic of my htop.
« Last Edit: July 06, 2016, 04:48:42 PM by brianblaze420 »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME backup or Restore
« Reply #11 on: July 06, 2016, 05:27:49 PM »
Check /var/log/httpd/error_log. Your httpd/access_log isn't showing any accesses to backup in the server-manager.

Offline brainamess

  • *
  • 39
  • +0/-0
Re: SME backup or Restore
« Reply #12 on: July 06, 2016, 06:53:02 PM »
I thought I did but here is the whole thing :)

Code: [Select]
[root@vmsme ~]# cat /var/log/httpd/error_log
[Fri Jul 01 01:12:02 2016] [notice] Digest: generating secret for digest authentication ...
[Fri Jul 01 01:12:02 2016] [notice] Digest: done
[Fri Jul 01 01:12:02 2016] [notice] SSL FIPS mode disabled
[Fri Jul 01 01:12:02 2016] [warn] RSA server certificate wildcard CommonName (CN) `*.epls.ca' does NOT match server name!?
[Fri Jul 01 01:12:02 2016] [warn] RSA server certificate wildcard CommonName (CN) `*.epls.ca' does NOT match server name!?
[Fri Jul 01 01:12:02 2016] [warn] RSA server certificate wildcard CommonName (CN) `*.epls.ca' does NOT match server name!?
[Fri Jul 01 01:12:02 2016] [warn] Init: SSL server IP/port conflict: everypoint.ca:443 (/etc/httpd/conf/httpd.conf:728) vs. everypointhudson.ca:443 (/etc/httpd/conf/httpd.conf:861)
[Fri Jul 01 01:12:02 2016] [warn] Init: SSL server IP/port conflict: epls.ca:443 (/etc/httpd/conf/httpd.conf:595) vs. everypointhudson.ca:443 (/etc/httpd/conf/httpd.conf:861)
[Fri Jul 01 01:12:02 2016] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Fri Jul 01 01:12:02 2016] [notice] Apache configured -- resuming normal operations
[Sat Jul 02 17:41:10 2016] [error] [client 71.6.165.200] Invalid method in request quit
[Sun Jul 03 04:20:19 2016] [error] [client 199.115.117.99] File does not exist: /home/e-smith/files/ibays/Primary/html/admin
[Mon Jul 04 07:27:13 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 07:27:14 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 07:42:22 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 07:42:22 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:23:36 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:27:18 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:28:33 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Mon Jul 04 21:29:59 2016] [error] [client 188.165.229.104] File does not exist: /home/e-smith/files/ibays/Primary/html/ocmis
[Tue Jul 05 11:50:17 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Jul 05 11:50:17 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Jul 05 14:27:52 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Tue Jul 05 14:27:52 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Wed Jul 06 10:15:37 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico, referer: https://192.168.0.55/server-common/cgi-bin/login?back=http%3a%2f%2f192.168.0.55%2fserver-manager
[Wed Jul 06 10:15:37 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico, referer: https://192.168.0.55/server-common/cgi-bin/login?redirect=1&back=https%3A%2F%2F192.168.0.55%2Fserver-manager
[Wed Jul 06 10:47:18 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Wed Jul 06 10:47:18 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Wed Jul 06 10:47:18 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Wed Jul 06 10:47:18 2016] [error] [client 192.168.0.124] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico

Offline brainamess

  • *
  • 39
  • +0/-0
Re: SME backup or Restore
« Reply #13 on: July 06, 2016, 08:26:16 PM »
Alright so I am getting somewhere.

It looks like (like my logs say) /home/e-smith/files/ibays/Primary/html/favicon.ico is missing...

What do I do to get this back as I assume it worked at one time but now I am assuming.

I appreciate that you guys pushed me in the right direction and am not looking to be spoonfed the answer but pushed in a good direction.

Thanks again!

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: SME backup or Restore
« Reply #14 on: July 07, 2016, 02:35:26 AM »
brianblaze420

Maybe this is something to do with it ?

[Fri Jul 01 01:12:02 2016] [warn] Init: SSL server IP/port conflict: everypoint.ca:443 (/etc/httpd/conf/httpd.conf:728) vs. everypointhudson.ca:443 (/etc/httpd/conf/httpd.conf:861)
[Fri Jul 01 01:12:02 2016] [warn] Init: SSL server IP/port conflict: epls.ca:443 (/etc/httpd/conf/httpd.conf:595) vs. everypointhudson.ca:443 (/etc/httpd/conf/httpd.conf:861)
[Fri Jul 01 01:12:02 2016] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!


When I try to access https://epls.ca (refer earlier server manager screenshot) I get a message suggesting configuration issues.

epls.ca uses an invalid security certificate. The certificate is only valid for the following names: mtl1.softnetmedia.net, softnetmedia.net The certificate expired on 1/06/2016 10:38 PM. The current time is 7/07/2016 10:34 AM. (Error code: ssl_error_bad_cert_domain)

and then resolves to this

Web Server's Default Page

This page is generated by Parallels Plesk Panel, the leading hosting automation software. You see this page because there is no Web site at this address.

You can do the following:

    Create domains and set up Web hosting using Parallels Plesk Panel.

& so on....


whereas http://epls.ca/

resolves to this page content

Bienvenue
Qu’il s’agisse d’une simple cargaison ou de la conception d’une solution logistique complète personnalisée, et que ce soit par fret aérien, maritime ou terrestre, EveryPoint a l’expertise incontestée pour vous servir.
Welcome

EveryPoint can manage your entire freight logistics needs: from caring for a single shipment, all the way up to creating a comprehensive, custom-configured logistics solution, by air, sea, or land.
© 2016 - EveryPoint Logistics Solutions Inc
« Last Edit: July 07, 2016, 02:37:36 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.