Hi,
I had the same problem and I have resolved it by removing --install-component agent
Plesk returned a 404 error on
https://server:8443 but it was ok on
http://server:8880 . After a fresh install without the agent, there was no problem.
Thanks for the tip.
I just upgraded another Plesk 11.5 to Plesk 12
and this issue arose again.
As this was an update, I could not deselect the agent component.
Since this is a production server, I decided to dive deeper this time (last time was only test setup).
I found the following:
Code:
2014/06/25 03:48:49 [warn] 1814#0: conflicting server name "" on 0.0.0.0:8443, ignored
2014/06/25 11:37:50 [error] 2043#0: *3 "/usr/share/html/index.html" is not found (2: No such file or directory), client: 78.22.123.230, server: , request: "GET / HTTP/1.1", host: "vz12.stone-is.net:8443"
So I decided to dig up the nginx configs:
Code:
# grep include /etc/sw-cp-server/config
include mime.types;
include /etc/sw-cp-server/conf.d/*.conf;
On this server I found the following:
Code:
# ls -la /etc/sw-cp-server/conf.d/*.conf
-rw-r--r-- 1 root root 438 Jun 6 10:40 /etc/sw-cp-server/conf.d/agent.conf
-rw-r--r-- 1 root root 491 Jun 6 10:30 /etc/sw-cp-server/conf.d/apsc.conf
-rw-r--r-- 1 root root 335 Jun 6 10:30 /etc/sw-cp-server/conf.d/plesk.conf
On another server which I had updated to Plesk 12 last week, and didn't give this issue, I found:
Code:
# ls -la /etc/sw-cp-server/conf.d/*.conf
-rw-r--r-- 1 root root 491 Jun 6 10:30 /etc/sw-cp-server/conf.d/apsc.conf
-rw-r--r-- 1 root root 335 Jun 6 10:30 /etc/sw-cp-server/conf.d/plesk.conf
The temp fix here is:
Code:
mv /etc/sw-cp-server/conf.d/agent.conf{,.bak}
service sw-cp-server restart
Code:
# rpm -qa | grep -i agent
plesk-service-node-agent-12.0.18-cos6.build1200140606.15.x86_64
The difference between these two servers is that the one giving issues right now, was installed via CLI. (with --install-component agent)
The one updated last week was manually installed. (without --install-component agent)
So upgrading a Plesk 11.5 that was installed with --install-component agent and thus has the agent, to Plesk 12 will fail on bringing back Plesk.
@Parallels, can you take this as a bug report and resolve this?