Plesk 12.x / Linux :: CentOS 5.5 - Resetting Access And Error Log
Apr 25, 2015
I am running CentOS 5.5, Plesk 12.
Access_log and error_log are being rotated around 10AM daily for my server.
But for busy days access_log and error_log gets very big to inspect. Is there any way that I can manually reset the logs for the time being but without changing the daily rotation time?
What causes the firewall to change / reset itself periodically? I enabled the plesk firewall, but some time later it is reset itself and switched to the opensuse firewall (completely different rule set, which blocks most of the ports).
I then disabled the plesk firewall and loaded my own iptables rule set via iptables-restore command. However a few hours later, it also gets reset to the opensuse firewall. The std. opensuse firewall closes most of the ports, so then our email is blocked.
I would like to permanently switch off any plesk handling of the firewall and manage the iptables myself. How to do this?
I also have fail2ban running and defined my own jail.local files.
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.
the Error Code is :SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine Knowledge base says I am out of storage but I am not .But the output of command df -h returns this:
Restarting sw-cp-server doesn't shows any error.However , I was getting some problems with mysql socket and I wasn't able to use the plesk still then currently a custom installation of phpmyadmin lets me access the databases but I can't access any of my websites either (Wordpress). Apache returns 504 Gateway Error .
We found 502 Bad Gateway error Nginx on multiple domain "currently troissoeursetunfrere.com is a wordpress site e-commerce" and also malittleboutique.com ecommerce wordpress, possibly to fix this problem we have followed this tutorial " [URL] ....
I've been with my Strato VServer and it installed Plesk on Linux a big problem.
I coming no longer in the Plesk Dashboard and the following code appears:
Syntax error or access violation: 1286 Unknown table engine 'InnoDB'
Here are the contents of my my.cnf
# # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options, # - "~/.my.cnf" to set user-specific options. # # One can use all long options that the program supports.
I seem to have an error with backing up to my personal FTP repository. I have only just noticed the issue, but i believe it originated when I upgraded Plesk Panel 11 to Plesk Panel 12. I am currently running version 12.0.18 on Cent OS 6.5.
Note whether i check the "Use passive mode" option makes no difference to my problem.Below is what I get from the panel.log under /usr/local/psa/admin/logs
I am using Parallels Plesk Panel v. 11.0.9 on a V-Server provided by Strato (Germany), the OS is Ubuntu 10.04 LTS. Established and running under Plesk is a MySQL-Database, administered via Plesk by PHPMyAdmin 3.5.8.1. PHPMyAdmin offers the following information:
Datenbank-Server
Server: Localhost via UNIX socket Software: MySQL Software-Version: 5.1.41-3ubuntu12.10 - (Ubuntu) Protokoll-Version: 10 Benutzer: admin@localhost Server Zeichensatz: UTF-8 Unicode (utf8) Webserver
sw-cp-server Datenbank-Client Version: libmysql - mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $ PHP-Erweiterung: mysql Click to expand...
I have apache, php, and mysql setup on CentOS 4.4. I have phpMyAdmin running perfectly in a folder in /var/www/html/phpMyAdmin. I can access phpMyAdmin and use it perfectly. I downloaded Cacti which is a server monitoring application written in php, nothing special. I untar the file and it creates a folder, I simply do a mv command from /home/sys/cacti to /etc/www/html/cacti. Then when I open my browser and attempt to access: [url]I am getting a Access Denied error. It makes no sense though, I have verified the permissions of the files and folders, all good.
The group owner and owner are root, the files are all -rw-r--r-- and the folders are drwxr-xr-x.
From what I can tell the vhosts on my Plesk Panel keep resetting (I think around once a day), all my webstatistics (AWStats) begin to 404 and I have a Wordpress installed in the root of a domain which is now displaying the "Web Server's Default Page" (any sub-directory of the Wordpress install gives a 404 such as the wp-admin directory). The way I've fixed this temporarily is to run "%plesk_cli%
epair.exe" --update-vhosts-structure. I do not see any errors or warnings in the event viewer or log files.
On another note is there a way to increase the logging for event viewer to include more than just errors (such as informational) to make it easier to track down issues?
A few day ago when i access Windows plesk i receive error Access Denied. [URL]..... Even i made these steps i still receiving Access Denied when i access. I tried use PLesk REconfigurator, put psaadm permissons on all C:, update plesk, windows and still having this issue.
I am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.
Here are my details:
Linux Centos 5.5 PHP 5.3.3 x86_64 Plesk 12
I have tried installing all sorts of different repos and it just isn't working.
When I try to install using # yum install php-mcrypt I get the following:
Loaded plugins: fastestmirror Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead --> Processing Dependency: php53-gd for package: psa-php53-configurator --> Processing Dependency: php53-imap for package: psa-php53-configurator
I migrate to 12.0.18 Actualización #28, última actualización Dic 11, 2014 02:12 PM.
When I try to Access to the domains in a specific client I´m geting this error:
Internal error: D:Plesk wes.escarmerieradomenech.com is out of webspace MessageD:Plesk wes.escarmerieradomenech.com is out of webspace File Webspace.php Line401 TypePleskFatalException
I've searched the web to set up ssl on 1 domain of 2 installed op 1 ip address. It seems easy: setup virtual hosts, turn ssl on and point to your certificates.
I'm completely lost. I setup the certificate from geotrust in plesk panel 11.5 as described in the manual but that didn't work, apparently because i have 2 domains and 1 ip.
So i started looking to adapt my vhost settings to use sni. First problem: i can't find the setting of the virtual host.
Secondly where can i find the path to the .key and .crt files.
How i can install a ssl certificate on one of the two domains sharing 1 ip.
We have Panel Plesk 11.5.30 in Windows 2008 R2. when you go to File Sharing in all the Subscriptions, appears this error: Internal error: Unable to access File Sharing repository with the system user name "admin": wrong username or password
This happen since we do the update to the new version 11.5.30 ...
I am attempting to migrate from a debian os server with the latest plesk 12 to Centos (rather cloudlinux) and would like to know if there are any options that should not be checked during the process?
I recently tried to do the normal procedure, which is to transfer all objects, etc. And for some reason the percentage went from 1-50% to then back to zero.. but when clicking to check the current status, its still working
Status: in progress Current operation deploying domain.com current operation progress: empty bar
Different sites are transferring, but I am not sure if the migration will effect the system because the difference in OS folder structure and file location.
PHP-imagick: [root@server ~]# yum install gcc (Please note: if it is already installed, then it will be updated if required) [root@server ~]# yum install make automake [root@server ~]# yum install php-pear [root@server ~]# yum install php-devel [root@server ~]# pecl install imagick
Now you will have to add the imagick extension in your PHP condifuration file:[root@server ~]# cd /etc/php.d/[root@server ~]# nano -w imagick.ini
Then you put following line in that file:extension = “imagick.so”..And save it with <CTRL> <O>After finishing this, you will have to restart Apache as follows: [root@server ~]# service httpd restart
I have the latest centos 7 and plesk 12 installed on a dedicated server and i wish to add a new IP to use on a specific website. However, when I am trying to add the IP in plesk i am getting the following error:
Code: Error: ifmng failed: sh: /sbin/ifconfig: No such file or directory /sbin/ifconfig 'eth0:1' '85.214.93.196' netmask '255.255.255.255' up exited with non-zero status 127
I have read somewhere on the forum that installing iptables can fix this but cents 7 is using the new firewald and i am wondering if in the future such a change will not affect the well being of the overall server.
Is there any solution to this problem or will there be a fix from Plesk in the near future ?
Why isnt Plesk 12 configuring firewalld under CentOS 7 correctly? We have to manuella enable port 8443 and all other ports manually with firewall-cmd..
I have new Linux server with CentOS 6.6 on it. I have tried to install Plesk version 12.0.18 on it.
During installation process from http://autoinstall.plesk.com/plesk-installer shell script I'm getting error: START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:09:44 CST 2014 ***** problem report ***** ERROR while trying to SMB database not created Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again STOP Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:10:01 CST 2014: PROBLEMS FOUND START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:15:46 CST 2014
---TRANSACTION 0 0, not started, process no 32603, OS thread id 139715979196160 MySQL thread id 38, query id 7054 localhost admin SHOW ENGINE innodb status -------- FILE I/O -------- I/O thread 0 state: waiting for i/o request (insert buffer thread)
I am trying to install Plesk 12.0 on fresh CentOS 6 (64bit). It goes as far as initialising the databases and then moans about missing files:/usr/bin/sw-engine: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I then install libpng $ yum install libpng.x86_64
Re-run installer and hits next error - libfreetype: /usr/bin/sw-engine: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directoryI have CentOS-base repo and Epel repo enabled.
Why are those files not being installed as dependencies by Plesk? Is this a bug ?
I'm running a CentOS 6 server with Plesk 11.0.9 installed. It's only being used for dev purposes with only a couple vhosts running on it. All of the vhosts are using PHP - there are a few WordPress sites and Zend Framework 2 applications running. Up until a few months ago it was also running a high traffic WordPress site, but that's no longer the case.
This server has been running without problems for over a year. A few days ago I first started noticing 503 errors (Service Temporarily Unavailable) on accessing one of the vhosts from the web browser.
I logged on through ssh and noticed the load was a bit higher than I expected (nothing crazy though). All other vhosts using PHP also gave me the same error. The only vhost that was working normal was a Ruby on Rails app (Redmine).
I also did a netstat -napt and noticed many connections from two or three IP addresses. I checked their geographical location and after blocking them through iptables the problem seemed to have gone away.
Now it's a few days later and the same problem started popping up. I checked again through netstat and noticed that again a whole bunch of connections from only a handful of IP addresses were connected to Apache.
When I was digging deeper I noticed that some of those IP addresses were what looks to me like other servers (at least they're running Apache). I'm suspecting they are hacked servers and they're trying to use my server to send spam or some other type of evil.
I just blocked those new IP addresses in iptables and that seemed to have solved the problem for now again, but I want to solve the root of the problem.
So my questions are: 1) How can I find out to what vhost those clients are connected? 2) Why does Apache stop working with not that many client connections, when it used to serve thousands of visitors at the same time when that big site was still running on this server? 3) What could they possibly be using my server for? The first time it happened I thought that they found some leaking WordPress plugin to use to spam people, but today I checked and there's barely anything in the mail queue.