Koozali.org formerly Contribs.org

Horde database configuation is missing.

Offline Jean-Philippe Pialasse

  • *
  • 1,862
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Horde database configuation is missing.
« Reply #15 on: April 26, 2021, 12:39:24 AM »
OK.

Having noted the above I can say an affa --rise worked well on Sunday for our 450 gig of data on 10rc1 for both the source and destination VMs.
I would only state "seemed" to work well, potentials issues are more subtle than a server broken immediately...
could be a rpm file with SME9 version instead of SME10, could be permissions on a file or folder ....

but as this is your choice to take this path, please in case of issue, report how you migrated your server.

I also note the warning that "Your server has too much data for a reliable backup to desktop" for the standard backup mechanism.
Well backup to desktop, in other words download a tar archive thru apache, is as a result limited in size, and is only one of the multiple mechanisms for backup.
The first you should use, is rather to connect to your server console, and use the backup console menu, to backup to USB, or attached disk
Another alternative could be the dar backup form the same menu you saw the message that the " backup to desktop" was not possible.
I will not unroll here the backup on tape ;)
All of this is explained in SME Server Manual.
https://wiki.koozali.org/SME_Server:Documentation:Administration_Manual:Chapter10

https://wiki.koozali.org/SME_Server:Documentation:Administration_Manual:Chapter6#Option_8:_Perform_backup_to_USB_device

Re: Horde database configuation is missing.
« Reply #16 on: April 27, 2021, 02:41:56 AM »
I would only state "seemed" to work well, potentials issues are more subtle than a server broken immediately...
could be a rpm file with SME9 version instead of SME10, could be permissions on a file or folder ....

but as this is your choice to take this path, please in case of issue, report how you migrated your server.
Just the usual. affa --rise
I failed to appreciate that while data is data, Centos 7 is not Centos 6.

In terms of ongoing problems dhcpd won't start and I have cvm-unix.service failures. I wonder if the latter is due to gremlins in the system. I could not find much documentation on that.

Backup and restore through the web GUI using nfs to a workstation seems workable for our VMs. Emulating a USB drive looks to be a pain.

Offline Jean-Philippe Pialasse

  • *
  • 1,862
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Horde database configuation is missing.
« Reply #17 on: April 27, 2021, 02:59:29 AM »
Just the usual. affa --rise
I failed to appreciate that while data is data, Centos 7 is not Centos 6.
indeed CentOS 7 is not CentOS 6


In terms of ongoing problems dhcpd won't start and I have cvm-unix.service failures. I wonder if the latter is due to gremlins in the system. I could not find much documentation on that.


dhcpd : update to last available e-smith-base...
cvm-unix : will need more  to be able to help

Backup and restore through the web GUI using nfs to a workstation seems workable for our VMs. Emulating a USB drive looks to be a pain.

if you use a vm simply try to add another virtual disk as sata. most of the time the console backup sees it. We should change the USB term to removable...


Re: Horde database configuation is missing.
« Reply #18 on: April 27, 2021, 01:33:39 PM »
dhcpd : update to last available e-smith-base...
Good to have dhcpd back.

Quote
cvm-unix : will need more  to be able to help
The top entry is the crash report.

The second entry shows lots of cvm-unix logs for users unknown to our systems. I presume these are not external attempts to login but I cannot tell.

#journalctl -xe
-- Subject: Unit cvm-unix.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cvm-unix.service has finished starting up.
--
-- The start-up result is done.
Apr 27 21:17:15 mycompany.com cvm-unix[16708]: Starting.
Apr 27 21:17:21 mycompany.com kernel: cvm-unix[16708]: segfault at 0 ip 00007f8266b2bf27 sp 00007ffc76851c98 error 4 in libc-2.17.so[7f82669ed000+1c4000]
Apr 27 21:17:21 mycompany.com systemd[1]: cvm-unix.service: main process exited, code=killed, status=11/SEGV
Apr 27 21:17:21 mycompany.com systemd[1]: Unit cvm-unix.service entered failed state.
Apr 27 21:17:21 mycompany.com systemd[1]: cvm-unix.service failed.
Apr 27 21:17:22 mycompany.com systemd[1]: cvm-unix.service holdoff time over, scheduling restart.
Apr 27 21:17:22 mycompany.com systemd[1]: Stopped Credential Validation Modules.
-- Subject: Unit cvm-unix.service has finished shutting down

snip


-- The start-up result is done.
Apr 27 20:36:45 mycompany.com cvm-unix[15861]: Starting.
Apr 27 20:39:22 mycompany.com cvm-unix[15861]: - abinn@mycompany.com
Apr 27 20:39:27 mycompany.com cvm-unix[15861]: - abinn@localhost
Apr 27 20:40:01 mycompany.com crond[15883]: pam_unix(crond:session): session opened for user root by (uid=0)
Apr 27 20:40:01 mycompany.com CROND[15884]: (root) CMD (/usr/bin/php  /usr/bin/horde-alarms)
Apr 27 20:40:02 mycompany.com CROND[15883]: pam_unix(crond:session): session closed for user root
Apr 27 20:40:22 mycompany.com cvm-unix[15861]: - anushia_caines@mycompany.com
Apr 27 20:40:28 mycompany.com cvm-unix[15861]: - anushia_caines@localhost
Apr 27 20:42:07 mycompany.com cvm-unix[15861]: - bright@mycompany.com
Apr 27 20:42:12 mycompany.com cvm-unix[15861]: - bright@localhost
Apr 27 20:43:06 mycompany.com cvm-unix[15861]: - victoria-carr@mycompany.com
Apr 27 20:43:11 mycompany.com cvm-unix[15861]: - victoria-carr@localhost
Apr 27 20:44:02 mycompany.com cvm-unix[15861]: - victoria-carr@mycompany.com
Apr 27 20:44:07 mycompany.com cvm-unix[15861]: - victoria-carr@localhost
Apr 27 20:44:16 mycompany.com cvm-unix[15861]: - anushia_caines@mycompany.com
Apr 27 20:44:23 mycompany.com cvm-unix[15861]: - anushia_caines@localhost
Apr 27 20:44:55 mycompany.com cvm-unix[15861]: - anushia_caines@mycompany.com
Apr 27 20:45:01 mycompany.com crond[15935]: pam_unix(crond:session): session opened for user root by (uid=0)
Apr 27 20:45:01 mycompany.com crond[15934]: pam_unix(crond:session): session opened for user root by (uid=0)
Apr 27 20:45:01 mycompany.com CROND[15936]: (root) CMD (/sbin/affa --silent --_cronupdate)
Apr 27 20:45:01 mycompany.com CROND[15937]: (root) CMD (/usr/bin/php  /usr/bin/horde-alarms)
Apr 27 20:45:01 mycompany.com CROND[15935]: pam_unix(crond:session): session closed for user root
Apr 27 20:45:01 mycompany.com CROND[15934]: pam_unix(crond:session): session closed for user root
Apr 27 20:45:02 mycompany.com cvm-unix[15861]: - anushia_caines@localhost

Quote
if you use a vm simply try to add another virtual disk as sata. most of the time the console backup sees it. We should change the USB term to removable...
SME Server found no USB, SCSI, SATA or VirtIO discs in the console backup procedure for our iscsi vms on debian stable KMV machines

Offline Jean-Philippe Pialasse

  • *
  • 1,862
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Horde database configuation is missing.
« Reply #19 on: April 27, 2021, 07:24:27 PM »
good news for dhcp

for cvm from what i read it works

it is only used by qpsmtpd and sqpsmtpd. so check if those attempts are correlated with log in qpsmtpd but i would say, yes they are


for virtual disk backup (sata mode) all i can say it works with proxmox 6 which is debian based and with virtio on fedora.

ah yes, seeing you did not update to last available for SME 10, for it to work you need the last version available of e-smith-backup.
if you did not update for a while, you will need to first update smeserver-yum with all repo disabled except smeupdates.

Offline TerryF

  • grumpy old man
  • *
  • 1,523
Re: Horde database configuation is missing.
« Reply #20 on: April 27, 2021, 09:49:27 PM »
May be a non issue however, with my Prox VMs I have to have allocated a USB device in the hardware setup of the VM.
--
qui scribit bis legit