atomic-accelerator not starting on plesk10

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
pocketace
New Forum User
New Forum User
Posts: 4
Joined: Mon Mar 07, 2011 8:07 am
Location: London

atomic-accelerator not starting on plesk10

Unread post by pocketace »

Hiya

I did a clean os install with plesk 10 then installed the atomic repo to install mod_ruid2 and atomic accelerator

I got mod_ruid2 working nicely to run php as ftp user then installed atomic-accelerator

nginx didnt start automatically and after trying to start it I get this error:

Code: Select all

[root@server redbolt.co.uk]# service nginx start
Starting nginx: [emerg]: host not found in upstream "admin" in /etc/nginx/conf.d/admin.conf:10
                                                           [FAILED]
I editted admin.conf and put in my server name in place of admin but still no go.

any idea how I can fix this please?

thanks :D
pocketace
New Forum User
New Forum User
Posts: 4
Joined: Mon Mar 07, 2011 8:07 am
Location: London

Re: atomic-accelerator not starting on plesk10

Unread post by pocketace »

here is my admin.conf

Code: Select all

server {
        listen 80;
        server_name admin www.admin;
        access_log /var/log/nginx/admin.access.log main;
        # Main location
        location / {
                index  index.php index.html index.htm;
        # Good idea, too bad it doesnt work.
        #        error_page 404 = @fallback;
                proxy_pass http://admin:8080/;
                include /etc/nginx/proxy.default;
        }
        # Static files location
        # Uncomment to serve static files with Nginx
        # This will result in these files not being accounted for by account bandwidth usage calcs
        #location ~* ^.+\.(jpg|jpeg|gif|png|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js|ico|swf)$ {
        #        root /var/www/vhosts/admin/httpdocs;
        #        expires 30d;
        #}

        # Good idea, too bad it doesnt work.
        #location @fallback {
        #          proxy_pass http://admin:8080/;
        #}
}

server {
        listen 80;
        server_name webmail.admin;
        access_log /var/log/nginx/webmail.log main;
        # Main webmail location
        location / {
                proxy_pass http://admin:8080/;
                include /etc/nginx/proxy.default;
        }
}

server {
        listen 80;
        server_name lists.admin;
        access_log /var/log/nginx/lists.log main;
        # Main mailing list location
        location / {
                proxy_pass http://admin:8080/;
                include /etc/nginx/proxy.default;
        }
}




pocketace
New Forum User
New Forum User
Posts: 4
Joined: Mon Mar 07, 2011 8:07 am
Location: London

Re: atomic-accelerator not starting on plesk10

Unread post by pocketace »

I kinda fixed it

instead of creating a domain name conf it created something called admin.conf
i renamed it to my sitename and editted the info
but then nginx wouldnt start said that port 80 was already in use
so I stopped httpd and changed it manually to port 8080 in the conf and restarted both services and it worked
problem is im getting the centos apache 2 default page and not the plesk page so its not looking to the correct place I assume, so I added 127.0.0.1 to resolv.conf and restarted apache
but nothing :(

any idea why?

Thanks :-)
paulie
Forum User
Forum User
Posts: 76
Joined: Tue Apr 20, 2010 2:49 am

Re: atomic-accelerator not starting on plesk10

Unread post by paulie »

Hi,

Apparently (ie according to Parallels) the Plesk default page doesn't work through nginx, this is because the path to it is not (by default) added to the nginx config (ie /var/www/vhosts/default/htdocs).

Assuming you edited Location (web root) to point to your domain then put some files in your web root and test it.

Did you have a domain labelled "admin" or is this something that Plesk 10 does? (I am trying very hard to keep my exposure to Plesk 10 to a minimum), I know that the post-install script for atomic-accelerator won't work on Plesk 10 because of the deprecation of websrvmng in Plesk 10.

Paul.
pocketace
New Forum User
New Forum User
Posts: 4
Joined: Mon Mar 07, 2011 8:07 am
Location: London

Re: atomic-accelerator not starting on plesk10

Unread post by pocketace »

Thanks Paul.

I have decided to roll back to plesk 9 for now until the new version of AA

for the record there was no domain labelled admin and I am assuming that plesk 10 does this by default.

I did spend some time trying to get it working but I'm not educated enough to try and play around with the post install script without going on a mega learning curve.

For now I'm happy to stick with the current one.
Post Reply