Plesk 11.x / Linux :: Redo Default Templates - Skeleton Command Not Working?
May 27, 2014
We're attempting to redo all of the Plesk default templates. I created my skel file (.zip), uploaded it and run the command as noted here [URL] ....
The CLI sites for a moment and then I am dropped back to command line. It seems to have worked...but, is not.
View 5 Replies
ADVERTISEMENT
Mar 1, 2015
I am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.
#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"
Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.
View 3 Replies
View Related
Apr 10, 2014
I uploaded the default skeleton files into the management ppa server at /var/www/vhosts/.skel/0/
But when I am creating a new subscription the skeleton is still the default plesk skeleton, something changed from ppa 11 to 11.5 ??
View 1 Replies
View Related
Aug 27, 2014
Is it possible to get Plesk working with different bounce message templates? I'd like to make messages in my Polish language to make people know what the bounce problem is. How can I make plesk not to overwrite the main.cf and bounce directive ?
View 2 Replies
View Related
Dec 17, 2014
I tried to add ac new subscription and this failed.No I have an inconsistent subscription and get the following error: New configuration files for the Apache web server were not created due to the errors in configuration templates:
Template processing failed: file = /opt/psa/admin/ conf/ templates/ default/domainVhost.php,
error = Template_Exception: No data. file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0
Previous error: Template_Variable_Exception: No data. file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email.click here to generate broken configuration files once again or here to generate all configuration files.
I have Plesk 12.0.18 on Ubuntu
View 1 Replies
View Related
Apr 5, 2008
i have 10 web sites running on my server, but they are really small talking about traffic, according to statistics, my "star web site" have 300 visits per day
I also have a few shoutcast services running on my server, but i think ther are fine
According to cpanel, yesterday I had this cpu usage (only showing the top process)
User Domain %CPU %MEM MySQL Processes
nobody 79.10 25.07 0.0
and here you go a copy op "top" command in shell
Cpu(s): 39.5%us, 57.8%sy, 0.0%ni, 20.6%id, 0.0%wa, 0.0%hi, 1.2%si, 0.0%st
Mem: 2065856k total, 1464804k used, 601052k free, 71616k buffers
Swap: 2048276k total, 0k used, 2048276k free, 955020k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10345 nobody 20 0 29484 16m 3360 R 21 0.8 0:41.87 httpd
10874 nobody 20 0 20416 9792 2852 R 20 0.5 0:10.19 httpd
10340 nobody 20 0 25748 12m 2928 R 14 0.6 0:28.20 httpd
4309 sc_dieg2 20 0 44288 4116 1788 S 1 0.2 0:18.59 sc_serv
4176 sc_maxi 20 0 37004 2816 1064 S 1 0.1 0:14.76 sc_serv
4244 sc_salme 20 0 37004 2688 1080 S 1 0.1 0:12.73 sc_serv
4316 sc_dieg3 20 0 44288 4392 1752 S 1 0.2 0:17.48 sc_serv
4352 sc_sergi 20 0 39684 3264 1320 S 1 0.2 0:19.24 sc_serv
4413 sc_eddyo 20 0 39684 2892 1368 S 1 0.1 0:16.68 sc_serv
4420 mexicanr 20 0 38524 1916 588 S 1 0.1 0:11.28 sc_serv
4534 sc_entor 20 0 38680 2720 1264 S 1 0.1 0:13.05 sc_serv
9547 root 20 0 2388 1076 796 R 1 0.1 0:09.37 top
4116 sc_jocuh 20 0 36848 1988 576 S 0 0.1 0:11.25 sc_serv
4553 sc_aleja 20 0 89004 8332 6864 S 0 0.4 0:11.94 sc_serv
6829 120 20 0 5988 2156 1664 S 0 0.1 0:01.64 glftpd
11166 root 20 0 7044 2332 1868 S 0 0.1 0:00.01 sshd
1 root 20 0 2136 644 556 S 0 0.0 0:00.82 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:00.18 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1
7 root 15 -5 0 0 0 S 0 0.0 0:00.13 ksoftirqd/1
8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1
9 root 15 -5 0 0 0 S 0 0.0 0:00.02 events/0
10 root 15 -5 0 0 0 S 0 0.0 0:00.02 events/1
11 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper
62 root 15 -5 0 0 0 S 0 0.0 0:00.08 kblockd/0
63 root 15 -5 0 0 0 S 0 0.0 0:00.17 kblockd/1
66 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid
67 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify
196 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/0
197 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/1
199 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksuspend_usbd
205 root 15 -5 0 0 0 S 0 0.0 0:00.00 khubd
I tried to kill all "nobody" process, and then is everythin OK but after 5 minutes is happening again, the worst thing is that every minute this cpu usage is increasing untillall my web sites crashes (just website , shoutcast service works fine)
the process os "nobody" is: /usr/local/apache/bin/httpd -k start -DSSL
View 6 Replies
View Related
May 3, 2015
I want to run a script that will loop through all of the domains on a particular server and remove all MX records with mail.*.I am testing on a single test domain at the moment but I'm not sure how to do the wildcard./usr/local/psa/bin/dns -d example.com -mx '' -mailexchanger mail.*
The following example command is from: URL....To add an MX resource record mail3.example.com specifying domain name mail.example.com as the mail exchanger for the record, and setting the mail exchanger's priority to the DNS zone on the domain example.com to 15:
# ./dns -a example.com -mx mail3 -mailexchanger mail.example.com -priority 15..What does the mail3.example.com got to do with it? Isn't it just adding a MX record mail.example.com?
View 1 Replies
View Related
Jan 12, 2015
Impossible to find a way to show, by default, all domains and websites...
When I log on the Plesk Admin, I come first on a list of websites and domains, but they are not «all» listed. I have to go to the full bottom of the page to click on «Show all».
I didn't find a preference or anything else to change that, and I don't understand why all domains are not listed.
View 3 Replies
View Related
Feb 24, 2015
I am replacing the default certificate in Plesk so that customers do not get a certificate warning when visiting the panel login page.
I've created the certificate in the "SSL Certificates" section made it default and used it to secure Plesk. However I've still got all the existing domains using the old default certificate, how can I do a mass changeover so that all existing domains are now using the new certificate?
I've updated the IP's to use the new certificate. When I go to "SSL Certificates" in "Tools and Settings", it seems that there are some domains now using the new certificate but quite a lot of the other are still not, how can I get these over too?
View 3 Replies
View Related
Dec 5, 2014
I recently set up an eas and autodiscover sub-domains on my main domain (eg myserver.com) running Plesk, Webmail etc, and is the default website for the ip.
So it should be..
myserver.com (not SNI default for IP)
eas.myserver.com (SNI)
autodiscover.myserver.com (SNI)
But I notice the actual default site (non SNI) is the sub-domain autodiscover.myserver.com.
I checked in
Plesk -> Tools & Settings -> IP Addresses
and that was set correctly, so I tried to change it and back again, then...
/opt/psa/admin/bin/httpdmng --reconfigure-all
Neither worked.
I'm running Ubuntu 12.04.5 LTS and Plesk 11.5.30 #48 (the latest MU)
View 1 Replies
View Related
Jan 31, 2015
When typing my ip it used to go to Plesk landing page.
Then through the option: server > tools > IP Addresses, I changed the "Default site" to my main domain, however, it just points to the main page, and not changes the url to the domain (keeps the ip in title, and not show the domain url).
How to make it forwarded to the domain (show it in the address bar), and not just to the index page?
View 1 Replies
View Related
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
Sep 5, 2014
I think it is possible, but just to be sure...
Default document root is:
var/www/vhosts/www.mysite.com/httpdocs/
Can I change it to:
var/www/vhosts/www.mysite.com/web/
A simple "yes" or "no" will do...
View 3 Replies
View Related
Jul 13, 2015
Did 12.0.18 comes with default maria DB instead of mysql ??
View 2 Replies
View Related
Jan 6, 2007
Does anyone know why you have to specify the Disk Space in both the Cleint area and also the Domain area within Plesk? Also for one client I have specified 250MB, but in the email user it says 'unlimited' any ideas?
View 5 Replies
View Related
May 19, 2014
With the endless security patches, is there a command that can be used to verify that all current microupdates have been applied?
View 4 Replies
View Related
Mar 10, 2015
i have to delete all PTR records in over 80 domains in a Plesk 12 panel, when i tried to run the dns command to remove the PTR record from a domain, i got the error :
Code: Unable del record in DNS server: unable find DNS record ...
There is a KB article about this specific problem : [URL] .... , but it refers to older Plesk versions (8.x-10.x). I gave it a shot by copying the fix file from all 3 different versions to /usr/local/psa/admin/plib/api-common/ and i got the following PHP errors:
Code:
PHP Warning: include_once(class.PHostingManager.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
PHP Warning: include_once(): Failed opening 'class.PHostingManager.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
[URL] ......
Is there any workaround this PTR issue? Also, is Parallels going to update the article and provide solution for Plesk 12?
View 4 Replies
View Related
Mar 30, 2015
Up till the last update Plesk was working correctly. After the latest update I can't send out mail in any form:
webmail, pop3, wordpress forms, etc.
This is the error message I get:
Command died with status 100: "/usr/bin/spamc".
Command output: Mail handler 'limit-out' said: REPLY:554:5.7.0
Your message could not be sent. The user spamfilter is not allowed to send email.
When I reverted back to the last snapshot before the update everything works fine again. But the automated update bot messes it all up again when it downloads the newer version.
View 2 Replies
View Related
Jul 25, 2014
I just upgraded my Plesk 11.5 on Plesk version: 12.0.18 Update #9 , and after the upgrade the Postfix stop working. And forwarding, receiving is not working at all and I am getting message bellow.
OS: CentOS 6.5 (Final)
Plesk version: 12.0.18 Update #9
This is the mail system at host nsXXXXX.ovh.net.You can delete your own text from the attached returned message. mail system
<xyz@gmail.com>: Command rejected
Final-Recipient: rfc822; xyz@gmail.com
Action: failed
Status: 5.7.1
Diagnostic-Code: X-Postfix; Command rejected
View 2 Replies
View Related
Oct 5, 2014
When a customer use the wordpress auto installation tool, all work ok.
But, when the customer try to install wordpress manually (Uploading by FTP), it returns different permissions errors.
Example: "wp-config.php" cant write .
I compared the permissions of both vhosts (WP-Auto-install and WP-Manually-Install), and have totally different permissions.
WP-Auto-installed : /httpdocs = 770
WP-Manually : /httpdocs = 750
How I can set permissions to 770 by default when create a vhost? to avoid the customer having to do it manually.
View 4 Replies
View Related
Dec 4, 2014
I have suddenly lost all of the websites on the plesk panel server 12.0.18. One of the domains was being used to spam and so I started blocking stuff and removing some of the offending files and folders and the spamming stopped.
However it got to a point where I needed to restart the server and although it was working before the restart, once I did restart it it stopped working. All domains are loading nothing and the access_log looks like nginx or FastCGI is trying to redirect the page somewhere. The bootstrapper repair log file states:
"Details: PHP Warning: include_once(Template/Writer/Webserver/Apache.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/Loader.php, Line: 97"
View 5 Replies
View Related
Dec 10, 2014
I have found through the KB the way to do it server wide but I was wondering if there was still a way to reset default domain permissions per domain.
/usr/local/psa/bin/repair --restore-vhosts-permissions - to restore all domain permissions.
View 1 Replies
View Related
Nov 26, 2014
I changed the DNS parameters of the default domain service plans to slave.
But where can I set the default master server, I didn't find it.
View 4 Replies
View Related
Oct 3, 2013
Is it possible to know how can I setup the DKIM default for each domains without manually activate it each time?
View 6 Replies
View Related
Feb 11, 2015
i'm running 12.0.18#34 on PCS dedicated server. i recently discovered that some of the default jails on fail2ban that is shipped with Plesk 12 were not working correctly. Let me explain what i mean. For instance, the plesk-panel jail. The logs were parsed correctly, the command was successfully appended in iptables list, the fail2ban log was updated. Still, the intruder was not blocked. I kept reading "already banned" on the fail2ban.log but actually there was no blocking.
After some checks, i found out that fail2ban default configuration states SSH as default blocking port.
that means, the block was working but only for ssh hits. thus the plesk-panel admin page hits were passing through.
since i added port=http,https on jail.local > plesk-panel and did it a restart on fail2ban service, only then did it start to actually block incoming hits.
I think this should be verified by programmers group and maybe include a fix in some future minor update.
View 1 Replies
View Related
Sep 9, 2014
My server currently installed plesk 12 , I need to change wordpress default language ( default English )
Which aps table to edit language.
View 1 Replies
View Related
Nov 20, 2014
My default certificate expired recently. I created a new certificate "default certificate 2".
I used this certificate for "Secure the Panel"
I went to "Tools and Settings" -> "IP addresses" and made this certificate the default for all the IPs. On the page "Tools and Settings" -> "SSL certificates", it says Used: 0 next to "default certificate".
But when I try to delete it, it tells me: "Error: Unable to remove certificates: one or several certificates are assigned to the IP addresses/domains."
Is there anywhere I can check where this certificate is still used?
View 3 Replies
View Related
Jun 16, 2014
I have Plesk 11.5 installed on my server. There are about 30 sites on the same shared IP address. I need to set up a site to be accessible via https://<ip-address-of-the-server> . According to the documentation I went to Setting -> IP Addresses and selected the desired site from the drop down. Now http://<ip-address-of-the-server> (note, 80th port) works like a charm. Unfortunately https:// displays only the first page of the selected site; all CSS, JS and other files are not found (404).
I did some research and found that Nginx forwards the requests to Apache for all the PHP files and tries to handle all the static files by itself (what is expected and correct). But it looks like that there is no special configuration for nginx which would specify where to get these static files for the IP address, and Nginx just uses the first loaded config (started from b in my case).
I temporary resolved this issue by modifying the last_nginx.conf for the desired domain this way: listen XX.XX.XX.XX:443 default_server ssl;
Note I added "default_server" directive. Of course it would be erased on each reconfiguration of the config files, but as for now I do not see how I can put it in custom nginx.conf or on the server servel level. I reckon Plesk should include the directive in the file the same way as it produces last_httpd_ip_default.conf Apache config for the selected domain. It looks to be an easy fix on the template level, may be I will do it later, but for now this is just the bug report.
View 2 Replies
View Related
Feb 11, 2015
I am noticing that several of my users are wiping out their user root folders ( logs, error docs, etc...) when they fail to use '/httpdocs/' as the root directory when publishing with FTP.
I fixed this by editing the proftpd.conf to use ~/httpdocs/ as the DefaultRoot folder ( instead of just ~/ ).Would it be safer(better) to go through all the ftp users and make the home directory '/httpdocs/' instead of '/' in the admin UI? If yes, what is the best way to do a mass update of this setting for multiple users ( multiple domains ) ?
View 2 Replies
View Related
Nov 10, 2014
Is there a way to set the php-handle for all domais as "fastcgi".
At the moment when i create a domain, it will be run as "apache".
I like to change it to "fastcgi". I know there is way, to change it in the databases, but i forget where was it...
View 3 Replies
View Related
Jul 9, 2015
If you would disable a subscription and reloaded that domain name. You would be redirected to a default subscription. How can i change this default landing page?
View 2 Replies
View Related