psa-horde/login.php not found or unable to stat when I open horde interface

Created:

2016-11-16 12:39:12 UTC

Modified:

2017-08-13 01:12:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

psa-horde/login.php not found or unable to stat when I open horde interface

Applicable to:

  • Plesk for Linux

Symptoms

Unable to access webmail from Plesk. Getting error

The requested URL /imp/login.php was not found on this server.

in Apache error log:

~# tail -fn0 /var/log/httpd/error_log
[Tue Aug 06 05:03:31 2013] [error] [client 91.204.25.4] script '/usr/share/psa-horde/login.php' not found or unable to stat

Cause

Here are some things to check for specific problems that might occur with Horde in Plesk. See Resolution section.

Resolution

  1. The most likely cause is that Apache configuration does not include virtual host for webmail.Make sure that Apache the syntax is OK:

    ~# apachectl -t
    Syntax OK

    Check the ' psa.Configurations ' table for messages where status is not 'OK':

    ~# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -N -e "select * from Configurations where status <> 'ok';"

    If you see some errors in the output above you need to install Webserver Configuration Troubleshooter and find out the root cause.

  2. Check that the webmail domain resolves correctly

    ~# ping webmail.example.com
    PING webmail.example.com (10.39.82.10) 56(84) bytes of data.
    64 bytes from webmail.example.com (10.39.82.10): icmp_seq=1 ttl=64 time=0.038 ms
  3. Check that hostname resolves to local IP address:

    ~# ping `hostname`
    PING plesk.example.com (10.39.82.10) 56(84) bytes of data.
    64 bytes from plesk.example.com (10.39.82.10): icmp_seq=1 ttl=64 time=0.033 ms
  4. Check that the same hostname is configured in Plesk server settings .

  5. Check if some files owned by psa-horde package are missing:

    ~# rpm -V psa-horde
    .......T. c /etc/psa-webmail/horde/horde/conf.php
    missing /usr/share/psa-horde/login.php

You can reinstall it via Plesk autoinstaller:

    ~# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --show-components

~# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --remove-component horde

~# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --install-component horde

Check again if the there is no missing files at now:

~# rpm -V psa-horde
.......T. c /etc/psa-webmail/horde/horde/conf.php

For additional Horde trobleshooting please follow the article #213396949

Have more questions? Submit a request
Please sign in to leave a comment.