Plesk 12.x / Linux :: Prevent 502 Error For All Sites When Changing Configs

Nov 19, 2014

I 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.

View 2 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: Error When Changing Nginx Configuration

Jun 5, 2014

I have following problem when I try to cange the configuration file for Nginx in Plesk.

Details:

- Using Wordpress
- vServer
- PHP is handled through Nginx
- Memcached is enabled

To use the caching plugin "Cachify" in combination with memcached, the nginx configuration file must be edited. Following config should be used:

Code:

## GZIP
gzip_static on;
## CHARSET
charset utf-8;
## INDEX LOCATION
location / {
error_page 405 = @nocache;

[Code] ....

When I try to save the new config, following error appears:

Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/systemmydomain/conf/vhost_nginx.conf:8 nginx: configuration file /etc/nginx/nginx.conf test failed

How can I use the necessary configuration? I used google before, but some people said, that the server templated needs to be edited?

View 1 Replies View Related

Plesk 11.x / Linux :: Error When Changing Subscription Subscriber

Jun 5, 2014

When changing the subscriber of migrated (or new subscriptions) from a normal customer to another normal customer or reseller customer I sometimes get the following message:

Code:
Reassigning Selected Subscriptions
ERROR: PleskFatalException
Picker not supported

When going back to the subscription overview I get the following error message:

Code:
Error: External exception. SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s)

There are related forum entries:

Does not apply, vendor_id is never null: [URL] ....
Does not apply, it was a Plesk 11 > 11 migration: [URL] ....

View 4 Replies View Related

Plesk 12.x / Linux :: Error Changing Type From Forwarding To Web Hosting

Dec 6, 2014

I have installed Plesk 12.0.18 on my server and want to change the hosting-type from "Forwarding" to "Web hosting". I change the type via "Websites & Domains" view (see attachments).

After I insert username and password, I get following error message:

Some fields are empty or contain an improper value. ('home' = '')

Deleting the domain and creating it from scratch is a bad option. I would have to create all e-mail accounts and migrate the data.

View 7 Replies View Related

Plesk 12.x / Linux :: Changing Email Address On User Account - Internal Error

Jul 17, 2015

When I change an email address on a user's account I get this error?

Code:

Internal error: mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/mydomain.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory

Message mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/bullochrec.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
File Agent.php
Line 243
Type PleskUtilException

Using Cloudlinux 6.6 and Plesk 12

View 2 Replies View Related

Plesk 12.x / Linux :: Error 403 Forbidden On All Sites After Migration

Dec 17, 2014

We 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 ?

View 11 Replies View Related

Plesk 12.x / Linux :: Migrated From Debian 7 To Centos X64 - All Php / Wordpress Sites 502 Error

Jan 31, 2015

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

Plesk 12.x / Linux :: Error When Changing From No Hosting To Website Hosting

Aug 31, 2014

Plesk 12 - Domain with no hosting I'm getting error when changing hosting settings to Website Hosting

Error: Some fields are empty or contain an improper value. ('home' = '')

View 3 Replies View Related

Plesk 12.x / Linux :: Prevent IP In Emails

Sep 27, 2014

I use CentOS 5.5, Plesk 12 and Atmail. When I log in to

webmail.example.com

by browser and send emails to others, my home computer IP is attached to emails as X-Origin. I even used Thunderbird to send emails and same issue happens.

How can I prevent Qmail or (Atmail) to add my home computer IP to X-Origin? I am even OK if the server IP is attached to emails rather than home IP.

View 1 Replies View Related

Plesk 12.x / Linux :: Prevent Use Of Local Mailserver

Nov 12, 2014

We set up a Plesk 12 server for web hosting purposes only.

All mail-related services, exception from "smtp server" and "Plesk milter" are disabled or uninstalled.

For specific domains, we want to prevent the useage of the php mail function with "localhost" to avoid problems with outgoing spam by unsecured scripts. Instead, we want to force webmasters to use external smtp servers.

Is there any directive or setting on domain-level that we allow for this limitation?

View 4 Replies View Related

Plesk 11.x / Linux :: Prevent Panel Users To Change Their Password

Sep 25, 2014

I am looking for a way to prevent panel users i created to change their passwords.

When i try to edit user roles, i can check/uncheck capabilities, but nothing on user password change.

I've tried to search information on this but both Google and this forum are flooded by "users password change" regarding "Horde", which i don't use.

View 1 Replies View Related

Plesk 12.x / Linux :: Changing Default Certificate?

Sep 30, 2014

My System:
Ubuntu 12.04
Plesk 12.0.18 Update #18
Only Webserver no mail

What I want:
I have an old sha1 certificate and I would change this for the whole server.

What I have done so far:
I have already uploaded the new sha256 certificate with a new private key to plesk (I can not simply replace the old one, plesk does not allow me to upload a new private key).

Then I set the new certificate as standard certificate and pressed the "secure pannel" button.

After that the panel uses the new certificate.

Then I set in "Tools & Settings -> IP Addresses" on both IP addresses the new certificate.

Reboot

But now the "Tools & Settings -> SSL Certificates" shows me that the old certificate is still used 2 times somewhere. But the Interface does not show where it is used. How can I find out where this certificate is used? I want to remove the old certificate from the server.

View 2 Replies View Related

Plesk 11.x / Linux :: 11.5.30 Repository Error - Transport Error - Unable To List Directory - Curl Error

Jun 29, 2013

After upgrade to Plesk 11.5.30 trying to set up FTP-Backup Repository:

Repository error: Transport error: unable to list directory: Curl error: Access denied to remote resourceClick to expand...

View 7 Replies View Related

Plesk 12.x / Linux :: Changing Administrator Email Address

Mar 26, 2015

The Plesk Health monitor is sending alerts to the wrong email by default. How can it be changed?hanged" notifications by "Health Monitor" are triggered by the default address that has been setup in My Profile > Profile & Preferences or is there a different way of changing this setting.

View 1 Replies View Related

Plesk 11.x / Linux :: Service Is Used For Changing Mailbox Passwords

Feb 20, 2015

I am having a Plesk server and when I scanned it with tools like OpenVas, It detected the following vulnerabilities with CVE acronym. As the corresponding ports and services are being controlled by Plesk, I require to patch it.URL....As you can see this vulnerability has been hit on port 106. I checked the Plesk server and found the port 106 being used by service "poppassd". This was nothing I installed and came along with the Plesk installation. Hence just wanted to make sure whether it has a patch from Parallels. As per my investigation this service is used for changing mailbox passwords and I am currently using Roundcube client. How to patch this vulnerability.

As per the solution in pic, the vulnerability "SMTP antivirus scanner DoS" can be resolved by upgrading or installing anti virus for Plesk mail server. I am ready to buy Dr.Web or Kaspersky from Parallels. But wanted to make sure whether any of the above antivirus can resolve the vulnerability.

cat /usr/local/psa/version
11.0.9 CentOS 6 110120608.16

View 1 Replies View Related

Plesk 12.x / Linux :: Webmail Shows Only Text After Changing Link

Sep 18, 2014

I've upgraded from WS2008R2 & IIS to CentOS and Plesk 12.Now, I wanted to change the webmail link for all domains to mail.domain instead of webmail.domain. I've followd 2 guides to do that: URLs....Everything went smooth, but now Horde and Roundcube look like this (even when I restarted the whole server):

View 12 Replies View Related

Plesk 11.x / Linux :: Changing Default Site When Domain Suspended?

Jul 24, 2014

where i can change the default plesk page when a domain has been suspended or disable? I like to change it to my custom page. Is there a way?

View 5 Replies View Related

Plesk 11.x / Linux :: Disallow Changing Passwords Panel Login

Nov 4, 2014

We use our own backoffice for remote logins. Passwords for panel login are encrypted. Is it possible to remove the option for customers to change their password for panel login so they will stay in sync with our own backoffice?

If it's not possible, is there a way to decrypt the panel login passwords, like there is for the admin-password (/usr/local/psa/bin/admin --show-password)?

View 1 Replies View Related

Plesk 11.x / Linux :: Updating DNS Template - Changing SPF TXT Record To Reflect New IP Addresses

Jul 9, 2014

The IP addresses assigned to our servers have changed so it's time to update the default SPF information contained in the DNS records for ALL of the domains hosted on our servers:

OLD

Code:
v=spf1 +ip4:173.236.23.185 +ip4:173.236.23.188/30 +a +mx -all

NEW

Code:
v=spf1 +ip4:69.160.255.188/30 +ip4:69.160.255.192 +a +mx -all

However, when we update the resource record in the DNS template and then "Apply the changes to all zones...",

Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.Click to expand...

View 1 Replies View Related

Plesk 12.x / Linux :: Changing Custom Port And Creating Full Backups

Jan 22, 2015

Have some very important questions regarding changing plesk ports and creating full backups.

1. When changing plesks port number, what exactly will it effect? Will it effect auto updates, etc.?

2. When creating a backup, I'd like to backup the entire server to rollback at anytime when changes are made to core files, is this possible?

3. With backups, somehow I'd like to schedule backups to possibly make nightly copies to an external hard drive on my computer for a fail safe method just in case the server happens to crash and I'd need to restore to another server/service. How would this be possible?

View 4 Replies View Related

Plesk 11.x / Linux :: Changing Spam Assassin Default Level For Each Account?

Aug 30, 2013

Is there not a way to change the default for the spam assassin level when creating a new mail account and still have the ability to change it individually if needed?

I changed it in the spamassassin config file /etc/mail/spamassassin/local.cf and in the server mail settings, but it still reads 7 when I create a new account and go to turn on the spam filtering. Does this value come from the db?

I can write a script making api calls? but surely there is a way to change the defaults and still have the ability to change these from the default for each account if needed?

View 4 Replies View Related

Plesk 12.x / Linux :: WordPress - Changing PHP File That Is Installed Directly To Root?

Oct 27, 2014

I have a file that creates subscriptions , customers and domains. moreover, also installed wordpress to new domain. it makes it through the php file .

The problem I have is that when installing wordpress on plesk domain is installed in a subdirectory called wordpress in the root directory instead .

Is there any way of changing the php file that is installed directly to root ?

Ask this because from the plesk panel is done, there is an option through the file but can not.

View 2 Replies View Related

Plesk 12.x / Linux :: 12 - Uncaught Exception When Adding / Changing Mail Addresses

Sep 19, 2014

Seems everythings is working normal when ignoring following error message, but everytime I add or change mail settings for a domain, I am getting this error:

Internal error.

ERROR:
Uncaught exception 'Zend_Log_Exception' with message '"/var/log/plesk/panel.log"
cannot be opened with mode "a"' in /usr/local/psa/admin/externals/Zend/Log/Writer/Stream.php:81
Stack trace: #0 /usr/local/psa/admin/plib/Plesk/Log.php(69): Zend_Log_Writer_Stream->__construct

[Code] .....

View 6 Replies View Related

Plesk 12.x / Linux :: Cannot List Sites Through API

Apr 15, 2015

I'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].....

View 4 Replies View Related

Plesk 12.x / Linux :: Sites Do Not Send Emails

Apr 30, 2015

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

View 8 Replies View Related

Plesk 11.x / Linux :: Deleted Panel And Sites Are Gone

Sep 9, 2014

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 Related

Plesk 12.x / Linux :: Disabling Weak SSL Ciphers - Sites Are Down

Jul 8, 2015

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.

View 9 Replies View Related

Plesk 12.x / Linux :: Password Protecting Sites With Nginx And PHP-FPM

Jun 21, 2015

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

View 2 Replies View Related

Plesk 12.x / Linux :: After Reboot Server - Sites Not Opening

Dec 29, 2014

Today I reboot my server. And after that my sites are not opening.

View 2 Replies View Related

Plesk 12.x / Linux :: All Sites Down After Any Change Made In Domain

Sep 25, 2014

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.

View 1 Replies View Related

Two Servers Configs As A Local Net

Jul 31, 2008

I will have two servers (both centos), one is web server, the other one is database server. I would like to set the db server (mysql server) not accessed by the public internet, but web server only through an internal IP, like 10.x.x.x

How may I set them up? I'd appreciate a step by step tutorial. Because I am not a master of linux admin.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved