Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have to setup Kayako server on a centOS 6.3 machines.. I installed nginx with php5.3 and other required stuff, everything is working. So I copied kayako files to:

/var/www/nginx-default/kayako/setup
[root@support setup]# ll
total 16
-rw-r--r-- 1 root root  731 Aug  8 15:27 console.setup.php
-rw-r--r-- 1 root root  733 Aug  8 15:27 console.upgrade.php
-rw-r--r-- 1 root root 1086 Aug  8 15:27 favicon.ico
-rw-r--r-- 1 root root  662 Aug  8 15:27 index.php

and edited my virtual host as:

server {
    listen       80;
    server_name  XXX.XXX.com;

    location /kayako {
        root   /var/www/nginx-default/;
        index  index.php;
    }
}

Then when i use browser to hit my domain: http://XXX.XXX.com/kayako/setup/ i get the error:

Something has triggered missing webpage on your website. This is the default 404 error page for nginx that is distributed with EPEL. It is located /usr/share/nginx/html/404.html
You should customize this error page for your own site or edit the error_page directive in the nginx configuration file /etc/nginx/nginx.conf.

and my error log file shows:

2012/08/08 15:48:28 [error] 18255#0: *7 open() "/var/www/nginx-default/kayako/setup/nginx-logo.png" failed (2: No such file or directory), client: 192.168.xxx.1, server: XXX.XXX.com, request: "GET /kayako/setup/nginx-logo.png HTTP/1.1", host: "XXX.XXX.com", referrer: "http://XXX.XXX.com/kayako/setup/"
2012/08/08 15:48:28 [error] 18255#0: *8 open() "/var/www/nginx-default/kayako/setup/poweredby.png" failed (2: No such file or directory), client: 192.168.xxx.1, server: XXX.XXX.com, request: "GET /kayako/setup/poweredby.png HTTP/1.1", host: "XXX.XXX.com", referrer: "http://XXX.XXX.com/kayako/setup/"

Please tell me what is going wrong?

share|improve this question
    
Does /var/www/nginx-default/kayako/setup/nginx-logo.png exist? –  jamieb Aug 8 '12 at 22:14
    
Please provide your entire virtual host configuration. –  mgorven Aug 9 '12 at 3:22
    
no its doesnt.. –  user131274 Aug 9 '12 at 7:59
    
yes that is my full virtual host config. everything else is commented in the file –  user131274 Aug 9 '12 at 8:02
    
[root@support setup]# locate nginx-logo /usr/share/nginx/html/nginx-logo.png –  user131274 Aug 9 '12 at 8:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.