Koozali.org: home of the SME Server

Webmail not working after restore

miguel

Webmail not working after restore
« on: April 30, 2004, 01:33:41 PM »
I have restored a backup on a different machine (version 6.0). First I tried a backup made with Backup2Ws, then with the usual backup tools (Backup to deskto - Restore form Desktop). Everything works OK, but webmail.

/var/log/messages says:

Apr 30 10:14:21 servidor httpd: PHP Warning:  Failed opening '/home/httpd/html/horde/config/lang.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Lang.php on line 72
Apr 30 10:14:21 servidor httpd: PHP Warning:  Failed opening '/home/httpd/html/horde/config/lang.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Lang.php on line 72
Apr 30 10:14:21 servidor httpd: PHP Warning:  Undefined index:  defaults in /home/httpd/html/horde/lib/Lang.php on line 57
Apr 30 10:14:21 servidor httpd: PHP Warning:  Undefined index:  defaults in /home/httpd/html/horde/lib/Lang.php on line 178
Apr 30 10:14:26 servidor httpd: PHP Warning:  Failed opening '/home/httpd/html/horde/config/lang.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Lang.php on line 72
Apr 30 10:14:26 servidor httpd: PHP Warning:  Failed opening '/home/httpd/html/horde/config/lang.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/html/horde/lib/Lang.php on line 72
Apr 30 10:14:26 servidor httpd: PHP Warning:  Undefined index:  defaults in /home/httpd/html/horde/lib/Lang.php on line 57
Apr 30 10:14:26 servidor httpd: PHP Warning:  Undefined index:  defaults in /home/httpd/html/horde/lib/Lang.php on line 178

https://mydomain/webmail:

"Some of IMP's configuration files are missing". The files it mentions are servers.php, prefs.php, etc.

I have done some research in the forums. Reset password for horde user, which seems to cause problems with IMP, does not work: pasword is OK and configuration of php.ini include_path seems OK too.
I have even copy form one disk (working in tke old server) to the new disk: the same.

Anybody has a clue of what's going on?

ergozd

Webmail not working after restore
« Reply #1 on: April 30, 2004, 03:57:41 PM »
Hi there!

You can "re-create" you missning file(-s) from your templates

Try
#/sbin/e-smith/expand-template /home/httpd/html/horde/imp/config/servers.php
#/sbin/e-smith/expand-template /home/httpd/html/horde/imp/config/prefs.php


As for the other files missing, try to re-install your horde contrib(-s) with rpm -Uvh--force

After installing your contrib(-s) run
# /sbin/e-smith/signal-event email-update


Rgds, Ergin

miguel

Webmail not working after restore
« Reply #2 on: April 30, 2004, 04:22:13 PM »
I will try it. However, the funny thing is that the files mentinoed as missing are there.
Is it really a bug?
Thanks for the answer.