Plesk 12.x / Linux :: After Reboot Server - Sites Not Opening
Dec 29, 2014Today I reboot my server. And after that my sites are not opening.
View 2 RepliesToday I reboot my server. And after that my sites are not opening.
View 2 RepliesI run a centos 6 plesk 12 server with around 7 domains.All runs perfect untill a 3 hours ago. The server was offline.After reboot plesk starts up without a problem but the sites keep offline. While httpd and mysqld and psa runs perfect.Also cannot find error messages in the messages, error_log or anything. How to proceed debugging?
View 2 Replies View RelatedOSCentOS 5.6 (Final)
Panel version11.0.9 Update #61
The system is up-to-date; last checked at June 6, 2014 03:32 AM
I use pingdom to alert me when sites go down. It would happen only once every few weeks, and I'd just reboot the VPS from my provider's control panel, however in the last 24 hours it has started doing it more and more often. The only change I have made in this time is to delete a few unused web sites.
When I get alerted, I check the the domains and they won't load. I look at the plesk control panel page thought and that does work.
I can SSH in, but I can't see anything that might work in the messages log.
I removed the plesk control panel error as that only seemed to happen once and is not happening anymore.
I saw quite a few entries in the /var/log/secure log and so I added iptables rules to only allow SSH access from my own IP and to DROP all other requests. It seemed fine for a while, but after 12 hours it has started becoming unresponsive again until reboot.
When I reboot my centOS 6.5 + Plesk 11.5 server, Nginx doesn't start and every time I need to go to Server > IP Addresses and click Reread IP.Then Plesk says that need to repair one of these ips, I click repair and then Nginx can start. ( I have 3 ips [2 ipv4 and 1 ipv6] )
View 3 Replies View RelatedI have a problem with my plesk panel. Ever since I rebooted my server it won't load the IP:8443 page at all.
View 5 Replies View RelatedTwo month ago I installed plesk 11.5 on my server (with centos 6 or 7 I don't remember) Then i added my domain.com by clicking on "Add New Domain" and using the auto dns system configuration. All worked great. During this period, Parallels Plesk was auto updating to 12.x 1 week ago, I restarted my server, and my website was down (I think because DNS problem with 12.x or ip problem or port closed...)
So I formatted my dedicated server, then I reinstall Parallels Plesk 11 (with centos 6) and the website worked great. Then I re-formatted my dedicated server, then I installed Parallels Plesk 12 (with centos 7) and the website did not work.
So I think the problem come from plesk 12
This is how I process to configure my website on plesk 12 :
1. This is a 1&1 domain and an OVH dedicated server.
So I configure DNS like that :
1rst name server : nsXXXXXX.eu
2nd name server : sdns2.ovh.net
2. On plesk, i click on "Add New Domain"
Capture : [URL] ...
3. I wait for DNS propagation but it doesn't work...
Capture of DNS checker [URL] ....
Just upgraded from Plesk 11.5 to 12. (CentOS 6.4)
Everything is working but when I reboot the server using the Plesk CP it never comes back up. No CP, no domains, no SSH.
If I reboot it using the 1&1 CP it re-boots fine.
SETUP:
CentOS 6.3, 64 bit.
Plesk 11.09, Update #10.
I enabled Watchdog in Plesk.
It works fine.
However, it doesn't start up by itself after a server reboot.
I can start it manually with the following command:
/usr/local/psa/admin/bin/modules/watchdog/wd --start (which I have done by adding it to /etc/rc.local)
Shouldn't Plesk do this automatically?
I have a V-Server account with Strato and just upgraded to 12.0.18 through the panel updater. The installation completed successfully, at least the installer gave me no error.
After the installation I tried to login and got the following error (I wasn't able to enter my credentials..):
I tried to repair permissions with:
Code:
/usr/local/psa/bin/repair --restore-vhosts-permissions
Which worked and I could now login. The Panel opened with the following error:
I can access certain areas of the panel without error (i.e. tools and settings etc, but I get the error when I try to access the control panel for single domains etc...)
Here an extract from the panel.log
Code:
[17-Jun-2014 19:49:12 Europe/Berlin] Exception: Permission denied
file: /opt/psa/admin/plib/Lock/Manager/Hierarchical.php
line: 105
code: 0
trace: #0 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(105): LockManagerClient->__construct()
[Code] ......
I have some error with my server. All my sites are inaccessible.
Code:
Template_Exception: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/opt/psa/var/certificates/cert-ao0glw") failed (SSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:Type=X509_ALGOR error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error:Field=pkeyalg, Type=PKCS8_PRIV_KEY_INFO error:0907B00D:PEM
[Code] .....
We made a reboot via Plesk to our dedicated server and all are working properly (ftp, emails) but we cannot see any domain's site on web explorers.
View 4 Replies View RelatedPRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel 11.5.30#46
Centos 6.5
AuthenticAMD, AMD Opteron(TM) Processor 6272
PROBLEM DESCRIPTION
Upon a shutdown or reboot, the system shuts down sw-collectd. Further along, it will end wdcollect and the following will occur:
init: psa-wdcollect main process (pid) killed by KILL signal
init: psa-wdcollect main process ended, respawning
wdcollect[pid]: Language en-US is used for sending e-mail messages.
wdcollect[pid]: Failed to connect to database server during the startup. New attempts will be made if needed.
wdcollect[pid]: Server started
I believe this is preventing the un-mounting of drives which in the end freezes the shutdown process on:
Please stand by while rebooting the system...
After this occurs, I have to force the VM off and then boot again.
I have tried the following:[URL] .....
So Everything was going great! Until I needed to reboot, and then after that only Plesk panel worked not my IP or any domains setup with it.
BUT when I restart Nginx it all starts working again! (Had to /usr/local/psa/admin/bin/httpdmng --reconfigure-all to get the domains to go to the right directory though)
But now everytime I reboot the server Nginx has to be restarted
Is this Normal?
I`m running Plesk 12 fresh clean install yesterday
CentOS 7 64BitÂ
Recently upgraded to Plesk 11.5 & upgraded to the latest CentOS kernel. Whenever I reboot the server DNS services do not work, can't view any websites hosted on the server etc.
Once I either restart BIND through Plesk Panel or
Code:
# service named restart
Everything works perfectly.
My var/log/boot.log shows named started [OK]
When I run
Code:
# service named status
Immediately after reboot everything looks normal, despite not resolving DNS until restarted.
I ran
Code:
# ceckconfig --list
And both httpd & named services are displaying all 'off' on every runlevel. But, obviously named service is starting automatically, maybe by psa?
Should httpd & named be listed as on, is this the problem?
I have Plesk 8 installed I would like to create Scheduled Task as root to reboot the server in every 8 hours.
View 7 Replies View RelatedI'm trying to get a list of all sites on a Plesk 12 server. This is the request:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<site>
[Code].....
Started after last update 12.0.18 Update #44 (on CloudLinux): I can send mail wia created mailboxes, but sites can not send mail, contact forms say "Failed to send your message." maillog file also do not indicate sending any messages from domains. Wordpress restore password claims:
"The e-mail could not be sent.
Possible reason: your host may have disabled the mail() function."
php.ini is default:
safe_mode = Off
disable_functions = is empty
The issue about not sending mail from domains was - old versions of LVE anf CageFS are incompatible with latest plesk update, updating them caused all sites in Cagefs to throw error 500 with log string: "SecureLVE jail error Invalid regexps: no match for path to base home directory". It was fixed by changing cagefs.base.home.dirs regexp to the real sites folder location. Enabling cagefs back removed one of the files it shouldn't:
"Removed file /var/cagefs/81/xxx/etc/php.d/soap.ini"
So be carefull to place necesssary files back.
For now everything works.
Click to expand...
Click for original message
I just want to remove plesk and installed again. i saw (URL...) this page. use this code but plesk not removed. my sites are gone.how can i get back my site? what i should install.When i try install plesk 12 says you already install version 11.0.9
View 7 Replies View RelatedWe have installed Plesk 12 on a fresh up to date Ubuntu 14.04 x64 server.
After installation, and before any migration, we have moved some folders:
- /var/www/vhosts -> /opt/vhosts
- /var/qmail -> /opt/qmail
- /var/mysql -> /opt/mysql
We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).
After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).
Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.
We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).
So all seems to be ok.
But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.
We have try changing to FastCGI with Apache same error.
We have try changing to full Nginx (PHP and static files), some websites run.
We have checked some KB (112884, 800) but all seems to be good.
Is there any steps we have omitted when we move folders ?
After successfully changing to a fresh created dhparam pem and a reissue of my certificate all was well.
A couple of other things needed to be done so I followed the article: [URL] ....
nginxDomainVirtualHost.php was already present so the only thing I did was adding the ciphers I got from another site (ciphers that also gave me XP and IE8 support etc.)
After executing the httpdmng --reconfigure-all command I instantly got a error message:
Details: (timestamp) ERR [util_exec] proc_close() failed
(timestamp) ERR [panel] Apache config (14364042360.16209100) generation failed:
Template_Exception: nginx: [emerg] unknown directive "HIGH:!aNULL:!MD5"
[Code] .....
Why are "HIGH:!aNULL:!MD5" unknown directives? How can I merge:
ssl_ciphers
EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:
ECDHE-RSA-AES128-GCM-SHA256HE-RSA-AES256-GCM-SHA384HE-RSA-AES128-GCM-SHA256:
ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:
[Code] ....
into these these automatically created @domainname.conf files of all my sites without getting this error.
I'm hosting 5 sites, all 5 sites are down now because of the missing conf files.
I am seeing some some some strange behaviour when password protecting directories served by nginx and PHP-FPM. If I have a site set up so that 'Process PHP by nginx' is selected under ('Websites & Domains>Web Server Settings>nginx settings') and set up password protection ('Websites & Domains>Password-Protected Directories') PHP pages are still served without asking for a password.
If I untick 'Process PHP by nginx' the behaviour returns to normal and an attempt to any access files results in the password request.Is this behaviour by design? If so, it is not made clear when you set up the password protection that it will not apply to PHP pages if you have nginx process the PHP pages.
OS: CentOS 6.6 (Final)
Plesk version: 12.0.18 Update #51
OS: Centos 6.5
Plesk Version: 12.0.18
Recently, we had trouble with Horde, which I Re-installed. However, since then any change that is made to a domain in plesk (changing mailbox settings, domain settings, hosting settings) All website show the default plesk page and I will have to re-run the reconfigure-all command in SSH to bring them all back up. Sometimes even that won't work and I will have to re-run the bootstrap repair command. We were actually on Plesk 11 when this started happening, so we upgraded to Plesk 12, but unfortunately this did not fix the issue.
We have around 500 customer websites on this server, so obviously the changes are made often and the sites going down on every change isn't great at all.
I have a long list of these errors in my error Plesk error log:
2014/09/25 17:31:53 [error] 818#0: *1566 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: *.*.*.*, server: , request: "$
But I can't seem to find out if this is the cause, or how to fix this error correctly on a Plesk install.
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
When I turn on nginx for the server I am able to browse non SSL protected sites correctly. I receive a 502 Bad Gateway error on any sites that have an SSL certificate. Is there a fix for this? I have been unable to find one.
I am running Plesk 12 on an Ubuntu server.
I have a new DS with Plesk 12. I needed to change the default /var/www/vhosts location to a different physical drive, with more capacity.The larger disk is mounted as /disk1, so I created a folder here called vhosts, moved everything from the existing /var/www/vhosts directory, then I mounted /disk1/vhosts as /var/www/vhosts. See my fstab output below.
I then edited /etc/psa/psa.conf to update the VHOSTS location as per [URL] ...., and restarted Apache, MySQL and reconfigured domains.I thought all was OK, and that Plesk would just see /var/www/vhosts as normal, but I proceeded to migrate domains from another server to this box, and found that whilst some sites were working OK, many were not.
I was finding that existing config directives that used <Directory> were being ignored or seemed to disappear.All sites with .htaccess files stopped workingWe would get Apache / PHP errors saying that files could not be accessed as they were not in the allowed path for the domain. Plesk seems to be logging, reporting, and handling files as if they were in /disk1/vhosts, not the usual location. I have got sites working by adding /var/www/vhosts/ domain and /disk1/vhosts/domain to the PHP Settings page as allowed paths.
I have checked in the httpd.conf for each domain, and they all list the site document root as /disk1/vhosts/domain, not /var/www/vhosts/domain.It's as if Plesk is ignoring the change in /etc/psa/psa.conf.
All I want is for Plesk to think that /var/www/vhosts is the document root for all domains, and not do anything with /disk1/vhosts. I have many sites with hard coded links to included files in /var/www/vhosts/domain, and I dont want to have to rewrite them all to use /disk1/vhosts.
I have had to stick HTTP configuration directives on nearly every site, and add these entries to the allowed paths box, which obviously I should not have to do. Can any Plesk / Linux gurus tell me what I need to do to fix my problem, get sites working in /var/www/vhosts, and have Plesk allow .htaccess files to work without me having to add "AllowOverride All" to every domains??
# /etc/fstab
# Created by anaconda on Tue Oct 14 05:22:57 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
[code]....
All my sites using SSL are now broken and the panel says there are no certs.... I hope they are still there somewhere where I can find them.
View 6 Replies View RelatedI have a Plesk 12 server running that works great. But the problem is that whenever one of my shared hosting customers changes something out a domain or subdomain, all the other sites on the server give a 502 error.
The reason why is clear to me: apache is reloading its config while nginx is still active, but sees apache as being down and therefor throws a 502 error.
Is there any way to prevent this from happening? Because it's happening a lot and people are sending in 'site down' reports while there's actually nothing wrong with the server or their site.
Since hour ago my sites just stopped and Plesk, too. Error when trying to open plesk is:
ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory (Abstract.php:144)
Plesk just won't start.
For some reason I am having issues with latest Plesk with php and wordpress. HTML sites are fine, but all php and wordpress sites are giving a 502 error after fully migrating. I repaired with Webserver Configurations Troubleshooter and rebooted and its still giving me the same issue.Also, noticed my previous server had php 5.4.36, the new CentOS server has 5.4.37.
View 5 Replies View Related