View Single Post
  #1  
Old 8th November 2012, 13:49
johnnygear johnnygear is offline
Junior Member
 
Join Date: Aug 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Horde 5 - Error when communicating with server

Hi All,

Really hoping someone has more experience with Horde than I do

Current server setup:
- ISPConfig3 with Dovecot and Nginx
- Debian 6

I installed Horde 5 and I think the install went okay.

I just have a feeling that my nginx configuration might be a little off as I get 'Error when communicating with server' whenever I go to check mail or do other IMAP related tasks in Horde.

Please see errors from nginx logs below:
Code:
2012/11/08 16:24:18 [error] 28297#0: *1 open() "/var/www/horde/services/ajax.php/imp/viewPort" failed (20: Not a directory), client: MY.IP.ADD.RESS, server: example.com, request: "POST /horde/services/ajax.php/imp/viewPort HTTP/1.1", host: "example.com", referrer: "https://example.com/horde/imp/dynamic.php?page=mailbox"
2012/11/08 16:24:18 [error] 28297#0: *6 open() "/var/www/horde/services/ajax.php/imp/listMailboxes" failed (20: Not a directory), client: MY.IP.ADD.RESS, server: example.com, request: "POST /horde/services/ajax.php/imp/listMailboxes HTTP/1.1", host: "example.com", referrer: "https://example.com/horde/imp/dynamic.php?page=mailbox"
2012/11/08 16:30:06 [error] 28297#0: *12 open() "/var/www/horde/services/ajax.php/imp/viewPort" failed (20: Not a directory), client: MY.IP.ADD.RESS, server: example.com, request: "POST /horde/services/ajax.php/imp/viewPort HTTP/1.1", host: "example.com", referrer: "https://example.com/horde/imp/dynamic.php?page=mailbox"
2012/11/08 16:30:06 [error] 28297#0: *17 open() "/var/www/horde/services/ajax.php/imp/listMailboxes" failed (20: Not a directory), client: MY.IP.ADD.RESS, server: example.com, request: "POST /horde/services/ajax.php/imp/listMailboxes HTTP/1.1", host: "example.com", referrer: "https://example.com/horde/imp/dynamic.php?page=mailbox"
some of my nginx server config (let me know if anymore is required):
Code:
[...]
 location ~ \.php$ {
                fastcgi_pass                                    127.0.0.1:9000;
                fastcgi_index                                   index.php;
                include                                         /etc/nginx/fastcgi_params;
                fastcgi_param                                   HTTPS on;
                fastcgi_param                                   SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_buffer_size                             128k;
                fastcgi_buffers                                 256     4k;
                fastcgi_busy_buffers_size                       256k;
                fastcgi_temp_file_write_size                    256k;
                fastcgi_intercept_errors                        on;
        }
[...]
[...]
location /horde {
                fastcgi_split_path_info         ^(.+\.php)(/.+)$;
                fastcgi_param   PATH_INFO       $fastcgi_path_info;
                fastcgi_param   PATH_TRANSLATED $document_root$fastcgi_path_info;

                fastcgi_param   PHP_VALUE       "include_path=.:/usr/share/php";
                fastcgi_param   PHP_VALUE       "open_basedir=none";
                fastcgi_param   PHP_VALUE       "upload_tmp_dir=/var/www/horde/phptmp/";
        }
[...]
I added the top 3 lines in the horde location after doing some reading on horde / nginx issues someone else had posted about, but it has not rectified the issue.

If anyone needs any other outputs or configs from my server please let me know.

Thanks,

JG
Reply With Quote
Sponsored Links