Koozali.org: home of the SME Server

Known problem with restore from 9 to 10

Offline Drifting

  • ****
  • 431
  • +0/-0
Known problem with restore from 9 to 10
« on: May 03, 2021, 07:15:53 PM »
Hi,
Have followed the information about being unable to access server manager. However, I still cannot access it after doin g:-

[root@mail ~]# mv /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf /root/
[root@mail ~]#  systemctl restart httpd-e-smith.service
Job for httpd-e-smith.service failed because the control process exited with error code. See "systemctl status httpd-e-smith.service" and "journalctl -xe" for details.
[root@mail ~]# httpd -t
Syntax OK

Suggestions?

Kind regards Paul
Infamy, Infamy, they all have it in for me!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Known problem with restore from 9 to 10
« Reply #1 on: May 03, 2021, 09:23:23 PM »
Do what it suggests.....

Code: [Select]
systemctl status httpd-e-smith.service
Code: [Select]
journalctl -xe
...
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

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Known problem with restore from 9 to 10
« Reply #2 on: May 03, 2021, 10:48:23 PM »
Thanks for replying.

Perhaps we are looking at different threads? But worked right the way through the one I found.

Code: [Select]
systemctl status httpd-e-smith.service
Code: [Select]
journalctl -xe[/quote]

Produced:-

[root@mail ~]# systemctl status httpd-e-smith.service
● httpd-e-smith.service - httpd-e-smith The Koozali SME Server Apache HTTP Service
   Loaded: loaded (/usr/lib/systemd/system/httpd-e-smith.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2021-05-03 20:38:12 BST; 1min 2s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 1396 ExecStart=/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf -DFOREGROUND (code=exited, status=1/FAILURE)
  Process: 1393 ExecStartPre=/sbin/e-smith/systemd/httpd-e-smith-prepare (code=exited, status=0/SUCCESS)
  Process: 1268 ExecStartPre=/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf (code=exited, status=0/SUCCESS)
  Process: 1129 ExecStartPre=/sbin/e-smith/service-status httpd-e-smith (code=exited, status=0/SUCCESS)
 Main PID: 1396 (code=exited, status=1/FAILURE)

May 03 20:38:11 mail.imungry.co.uk systemd[1]: Starting httpd-e-smith ...
May 03 20:38:12 mail.imungry.co.uk systemd[1]: httpd-e-smith.service: ...
May 03 20:38:12 mail.imungry.co.uk systemd[1]: Failed to start httpd-e...
May 03 20:38:12 mail.imungry.co.uk systemd[1]: Unit httpd-e-smith.serv...
May 03 20:38:12 mail.imungry.co.uk systemd[1]: httpd-e-smith.service f...
Hint: Some lines were ellipsized, use -l to show in full.
[root@mail ~]# httpd -t

slice has finished starting up.
--
-- The start-up result is done.
May 03 20:39:05 mail.imungry.co.uk systemd[1]: Started Session 1 of user
-- Subject: Unit session-1.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-1.scope has finished starting up.
--
-- The start-up result is done.
May 03 20:39:05 mail.imungry.co.uk systemd-logind[722]: New session 1 of
-- Subject: A new session 1 has been created for user root
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID 1 has been created for the user root.
--
-- The leading process of the session is 3079.
May 03 20:40:01 mail.imungry.co.uk crond[3114]: pam_unix(crond:session):
May 03 20:40:01 mail.imungry.co.uk CROND[3115]: (root) CMD (/usr/bin/php
May 03 20:40:01 mail.imungry.co.uk CROND[3114]: pam_unix(crond:session):
lines 2752-2774/2774 (END)

Hope that makes sense to you? looks blankly ....

Kind regards

Paul.
Infamy, Infamy, they all have it in for me!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Known problem with restore from 9 to 10
« Reply #3 on: May 03, 2021, 11:28:57 PM »
Thanks for replying.

Perhaps we are looking at different threads?

I'm just looking at what you posted. Nothing much else matters.

Quote
Hint: Some lines were ellipsized, use -l to show in full.

If you search for "ellipsized" you'll find this:

https://forums.contribs.org/index.php/topic,54441.msg285100.html#msg285100

Reset your certs first, and check LDAP.
...
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

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Known problem with restore from 9 to 10
« Reply #4 on: May 04, 2021, 10:56:47 AM »
Hi
Thanks for that link, followed it closely and lo and behold that solved it.
Sighs, know the reason why I did not follow further, did  not notice that there were more posts! Sorry failing eyesight strikes again.

Kind regards Paul.
Infamy, Infamy, they all have it in for me!

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Known problem with restore from 9 to 10
« Reply #5 on: May 04, 2021, 11:23:54 AM »
But, importantly confirms what has gone before :-) and another sme10 up and running and providing feedback..if you are real real keen :-) and this is NOT a prod setup do an update from /smeupdates-testing all at your own risk, any feedback or found problems goto Bugzilla.

Have fun...
--
qui scribit bis legit

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Known problem with restore from 9 to 10
« Reply #6 on: May 04, 2021, 11:34:51 AM »
Reetp has already got me organised with Rocket, so yes, I will have a bash with the testing side. I am running it on a VM which I can snapshot :-)

Kind regards Paul.
Infamy, Infamy, they all have it in for me!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Known problem with restore from 9 to 10
« Reply #7 on: May 04, 2021, 12:17:58 PM »
Chat to us any time there.
...
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