• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Webmail

F

flymo

Guest
Hello All,
I'm having a real problem getting webmail to work.

I have checked that all my settings (dns, webmailed enabled etc) are ok, My so called "service"provider - oxymoron when it come to them states that even if they didnpt install correctly that it's my my problem....:mad: I'm thinking of losing the losers.

Anyway, I try to access webmail from the domain, I select an email account click webmail and I get the following:
Not Found
The requested URL /horde/imp/login.php was not found on this server.

I cannot find that file in the psa-horde folder.

I posted on the how to forum, and was suggested that not all packages were installed, I lookind in Updater and all packages were up to date.

I'm really lost now and I need to be able to access webmail.

Any ideas or would it be better to contact swift for paid support... (my provider will not offer any assistance)

Thanks
John
 
Pretty crappy provider, but I guess that seems to be the norm these days.

It does sound like something is missing.

What OS are you using (this effects the file locations)?
 
Originally posted by stupidnic
Pretty crappy provider, but I guess that seems to be the norm these days.

It does sound like something is missing.

What OS are you using (this effects the file locations)?

Hi,
Yup - poor service. They will provide support but @ 150/month.....:mad:

However, to answer your question, the OS is Fedora Core 4.

Thanks
John
 
Hmm... I don't have any Fedora Core machines, but I do have a CentOS box I can check. I hope this will match up with what you have on your end.

Can you check to make sure you have the directory /usr/share/psa-horde. This should have the various files required for horde and imp. If those are there then it is some sort of problem with the pathing.

Also check to see if the horde RPM is installed:

(as root from the shell run)

rpm -qa |grep psa-horde

That should return something like:

psa-horde-3.1.3-centos4.2.build81070201.15

(again I only have CentOS servers so yours will be slightly different).

Let me know if you have the files, and that the psa-horde is installed.
 
Originally posted by stupidnic
Hmm... I don't have any Fedora Core machines, but I do have a CentOS box I can check. I hope this will match up with what you have on your end.

Can you check to make sure you have the directory /usr/share/psa-horde. This should have the various files required for horde and imp. If those are there then it is some sort of problem with the pathing.

Also check to see if the horde RPM is installed:

(as root from the shell run)

rpm -qa |grep psa-horde

That should return something like:

psa-horde-3.1.3-centos4.2.build81070201.15

(again I only have CentOS servers so yours will be slightly different).

Let me know if you have the files, and that the psa-horde is installed.

Hi,
Thanks for the help.

The version installed shows as

psa-horde-3.1.3-fc4.build81070201.15

And the /usr/shar/psa-horde folder does have the correct files (login.php). So the issue has to be a path setting. Is this in apache?

Thanks
John
 
Just to confirm, you do have the directory /usr/share/psa-horde/imp correct? That directory is where the actual webmail app resides.

If you do have an imp directory and it has the needed files (login.php, index.php, et. al.) then the problem is with the configuration of apache.

In the directory /etc/httpd/conf.d there is a file named: zz010_psa_httpd.conf

This file contains the configuration for the basic setup of Plesk including the webmail portion. The webmail section is defined around line 310 on mine (yours might differ). Check to make sure that you have that section, and that there is an area that contains the following:

Code:
 DocumentRoot /usr/share/psa-horde/
 Alias /horde/ /usr/share/psa-horde/
 Alias /imp/ /usr/share/psa-horde/imp/
 ServerName webmail
 ServerAlias webmail.*
 UseCanonicalName Off

There is more to that section, but I didn't include it for the sake of brevity.

Let me know if you have that... We should be close to the route of the problem.

Also, you aren't accessing this via https are you? Just checking.
 
Originally posted by stupidnic
Just to confirm, you do have the directory /usr/share/psa-horde/imp correct? That directory is where the actual webmail app resides.

If you do have an imp directory and it has the needed files (login.php, index.php, et. al.) then the problem is with the configuration of apache.

In the directory /etc/httpd/conf.d there is a file named: zz010_psa_httpd.conf

This file contains the configuration for the basic setup of Plesk including the webmail portion. The webmail section is defined around line 310 on mine (yours might differ). Check to make sure that you have that section, and that there is an area that contains the following:

Code:
 DocumentRoot /usr/share/psa-horde/
 Alias /horde/ /usr/share/psa-horde/
 Alias /imp/ /usr/share/psa-horde/imp/
 ServerName webmail
 ServerAlias webmail.*
 UseCanonicalName Off

There is more to that section, but I didn't include it for the sake of brevity.

Let me know if you have that... We should be close to the route of the problem.

Also, you aren't accessing this via https are you? Just checking.

First point - the file zz010_psa_httpd.conf isn't in the folder. I do have a copy from a backup whch I can upload to the correct folder.

Yes, the https folder is the account where the mail will be...this would cause other issues?:(

Next, I applied updater, now I cant get into plesk......not a good day so far..

John:confused:
 
This just gets worse...
I uploaded the zz010_psa_httpd.conf file restarted apache and now my web directories are not available and plesk is hanging (won't open just keeps loading).

The config seems to be ok and includes the right directories.

I'm pretty lost right now.

Thanks
John

I finally got into plesk and when trying to restart apache I get

ERROR: PleskFatalException

Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to start
0: /usr/local/psa/admin/plib/common_func.php3:155
psaerror(string 'Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/httpd failed to start')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28
 
Well... Apache doesn't seem to be loading. Go ahead and check our log files to find out why. (/var/log/httpd/error_log should help shine some light on why it won't load)

That file missing is a little bit on the worrysome side. Any particular reason why that file would have been removed? (unclean shutdown, failing HD, etc).
 
Originally posted by stupidnic
Well... Apache doesn't seem to be loading. Go ahead and check our log files to find out why. (/var/log/httpd/error_log should help shine some light on why it won't load)

That file missing is a little bit on the worrysome side. Any particular reason why that file would have been removed? (unclean shutdown, failing HD, etc).

The only error in the log for today was

[Fri Apr 27 11:25:07 2007] [notice] caught SIGTERM, shutting down.

John
 
Have you tried restarting apache manually?

/etc/init.d/httpd stop
/etc/init.d/httpd start
 
Originally posted by stupidnic
Have you tried restarting apache manually?

/etc/init.d/httpd stop
/etc/init.d/httpd start

I tried to stop - FAILED

When I tried to start I got:
Starting httpd: httpd: could not open document config file /var/www/vhosts/<domain>/conf/vhost_ssl.conf

Where <domain> is only one of the domains on my server.
May be a stupid uestion but, is this suggeting that apache is tied to one of the domains rather than the server itself?

John
 
No, it is actually trying to open a vhost config file for one of the domains on the server, but it can't find it.

Can you try and "touch" that file to make it exist. this is really a band-aid to get it up and running, but I want to see if it is a one off problem or something that is a problem with all the domains.
 
Originally posted by stupidnic
No, it is actually trying to open a vhost config file for one of the domains on the server, but it can't find it.

Can you try and "touch" that file to make it exist. this is really a band-aid to get it up and running, but I want to see if it is a one off problem or something that is a problem with all the domains.
Hi
That file doesn't exist and the folder only has
httpd.include webalizer.conf


Next question has to be where is the conf file?
 
Almost there

Hello
I created a vhost_ssl.conf file and dropped it into the folder.

DocumentRoot /var/www/vhosts/<domain.com>/httpsdocs
<Directory /var/www/vhosts/<domain.com>/httpsdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/var/www/vhosts/<domain.com>/httpsdocs:/tmp"
</IfModule>
SSLRequireSSL
Options +Includes +ExecCGI
</Directory>
Then I rebooted apache.
I can now access horde - but when I try to access the main index.php of the actual website I get asked to Open or save the file.......

Can't be much left - just a path away? I've tried various configurations without success. Any suggestions would be appreciated.

John
 
Back
Top