Koozali.org: home of the SME Server

no web access webmail or webserver sme server 6.0

pwinkler

no web access webmail or webserver sme server 6.0
« on: May 11, 2004, 05:20:25 AM »
My SME server was upgraded from 5.6 to 6.0 and now web access to website "(110) connection timed out"
and webmail "the page cannot be displayed" is all I get.

The strange thing is webmail & website work fine inside the local lan.

We have another sme server on the same site with the same config & it works fine.

I have remote management enabled with a specific host but it doesn't allow access either.

ftp works fine as does pop & imap

I have searched the forums, upgraded php & webmail and checked the logs - nothing - pls help

ergozd

no web access webmail or webserver sme server 6.0
« Reply #1 on: May 12, 2004, 04:19:25 PM »
Might be a MySQL user/password issue...

MySQL user horde password was changed. Do a search in the forum, you'll have a lot of issues...

Best rgds, Ergin

pwinkler

no web access webmail or webserver sme server 6.0
« Reply #2 on: May 12, 2004, 05:24:23 PM »
Thanks for the reply Ergozd

this is the output from
/sbin/e-smith/config show horde

horde=service
    DbPassword=horde
    access=SSL
    imp=installed
    kronolith=installed
    mnemo=installed
    nag=installed
    status=enabled

What do I do now?

Anonymous

no web access webmail or webserver sme server 6.0
« Reply #3 on: May 12, 2004, 06:40:03 PM »
I checked the forums and tried a few things but nothing that works.

/etc/e-smith/events/actions/conf-horde-startup
/etc/e-smith/events/actions/conf-turba-startup
/etc/init.d/mysql.init
Usage: /etc/init.d/mysql.init <start|restart>
/etc/init.d/mysql.init restart
Loading 20horde.mysql_update_privs.sql into mysql          [   OK   ]
Loading 20mysql_migrate_horde.sql into mysql               [   OK   ]
Loading 21horde.mysql_set_password.sql into mysql          [   OK   ]
Loading 30mysql_create_tables.sql into mysql               [   OK   ]
Loading 50turba_upgrade_1.1_to_1.2 into mysql              [   OK   ]
Loading 60migrate-imp-to-turba into mysql                  [   OK   ]

/home/httpd/html/horde/config/horde.conf doesn't exist.

ergozd

no web access webmail or webserver sme server 6.0
« Reply #4 on: May 12, 2004, 08:06:52 PM »
Let's see if I can help you out...

Alternative 1 - You might be missing your conf files
Try http://your-server-ip-adress/horde/test.php

Solution - Generate new conf files

Code: [Select]
/sbin/e-smith/expand-template /home/httpd/html/horde/config/horde.conf
/sbin/e-smith/expand-template /home/httpd/html/horde/config/mime_drivers.php
/sbin/e-smith/expand-template /home/httpd/html/horde/config/registry.php


If you are missing other CONF files for IMP,TURBA etc use the same procedure... (I think you get the picture) 8-)

Alternative 2 Your CONF files are NOT correct
Following files are used to configure for webmail and other installed contribs

Code: [Select]
# /home/httpd/html/horde/config/horde.php:
$conf['prefs']['params']['password'] = '******';

# /home/httpd/html/horde/kronolith/config/conf.php:
$conf['calendar']['params']['password'] = '******';

#/home/httpd/html/horde/mnemo/config/conf.php:
$conf['storage']['params']['password'] = '******';

#/home/httpd/html/horde/nag/config/conf.php:
$conf['storage']['params']['password'] = '******';

#/home/httpd/html/horde/turba/config/sources.php:  
'password' => '******',


So, good luck. I hope it helps.

Best rgds, Ergin

Anonymous

no web access webmail or webserver sme server 6.0
« Reply #5 on: May 12, 2004, 08:34:52 PM »
Thanks for your reply Ergin,

/sbin/e-smith/expandtemplate
 /home/httpd/html/horde/config/horde.conf
ERROR: No templates were found for /home/httpd/html/horde/config/horde.conf.
 at /sbin/e-smith/expand-template line 49

Since alt 1 gives this result I guess we move on to alt 2, my quetion is what do i use for a guide for the 'prefs' & 'params'?

Regds

ergozd

no web access webmail or webserver sme server 6.0
« Reply #6 on: May 12, 2004, 09:58:16 PM »
May be it's easiest to re-install webmail RPMS again.

Just incase I'll put the conf files at for horde and imp at http://ergin.dyndns.org/download/pwinkler.tar.gz for a couple of days.

untar them with tar xvzf pwinkler.tar.gz and copy them under horde/config and imp/config

Hope it helps.

pwinkler

no web access webmail or webserver sme server 6.0
« Reply #7 on: May 19, 2004, 04:06:16 PM »
Thanks for your reply Ergin.

I downloaded the file but something is wrong it is only 36k and I get errors when I try to untar it

tar -zxvf pwinkler.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors


tar -xvf pwinkler.tar.gz
pwinkler/
pwinkler/horde/
pwinkler/horde/config/
pwinkler/horde/config/horde.php
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Pls help

pwinkler

no web access webmail or webserver sme server 6.0
« Reply #8 on: May 19, 2004, 04:52:10 PM »
I just wanted to clarify that webmail is working on the lan but I cannot access over the internet even though it is enabled "https only.."

If you have any clues pls help