Plesk 11.x / Linux :: Yum Update Throw Warning For Selinux-policy-targeted
Nov 18, 2014
Specs: centOS 6.6 (Final) with Plesk 11.5.30 #48
In the last updates I get this warning:
Updating: selinux-policy-targeted-3.7.19-260.el6.noarch 128/373
libsemanage.semanage_direct_commit: WARNING: genhomedircon is disabled.
See /etc/selinux/semanage.conf if you need to enable it.
/etc/selinux/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule: Failed!Click to expand...
I have changed the maildir in Plesk according to [URL] ..... Everything works like a charm, however selinux doesn't allow access to the new directory. That means we get a permission denied and no mail is received at the server anymore.
Old location: /var/qmail/mailnames/ New location: /mnt/bigstorage/mailnames/
tail -f /var/log/maillog: Mar 2 13:38:42 srv2 postfix-local[5983]: postfix-local: from=example@example.com, to=example@example.com, dirname=/mnt/bigstorage/mailnames/ Mar 2 13:38:42 srv2 postfix-local[5983]: cannot chdir to mailnames dir /mnt/bigstorage/mailnames: Permission denied
If we disable selinux, everything works, however this is not the best practice.
How can I fix this error without disabling selinux?
I recently got a Windows VPS from 1and1 internet. I tried to run Windows update and Baseline Analyzer (SOP for me)..but neither would work. I learned that it seems to be Sw-Soft that have taken it upon themselves to test and push Windows updates to the hosts. Is this just for the big boys like 1and1? Or is this something Sw-soft does for all hosts?
Just wondering..say what you want about 1and1..I must say my experiences have improved over the last few weeks..and it does seem like they are really trying harder.
When I deny all other traffic for the "System policy for incoming traffic" to secure the server by only allowing the explicit ports I've requested to open, my server stops operating correctly.
It appears when I set the "System policy for incoming traffic" to deny, it appears to be disrupting various functions such as web traffic over ports 80/443, FTP, SSH, they either work extremely slow or don't work at all.
I brought this up with my Plesk license provider and they stated that the Plesk firewall doesn't add any tracking for ephemeral ports, therefore if you set the policy to drop for incoming/outgoing, it's not going to allow proper TCP communication since the return socket can't be opened. Also that the firewall is an explicit deny system rather than explicit allow based system.
Am I doing something wrong? All I want to do is to block all ports other than the ones I've set to allow. Is this how it is supposed to work?
If a Plesk admin wants to install Wordpress, the installation always fails.
1. Select Server Management -> Tools & Settings -> Security -> Security Policy 2. Select (*) Very strong 3. Confirm with OK 4. Select Hosting Services -> Domains 2. Select Domain 3. Select Button Install Apps 4. Select Wordpress in All Available Applications 5. Select Install 6. Error message is shown! Error: Installation of WordPress at http://lyl-canbys.de/blog failed. Your password is not complex enough. According to the server policy, the minimal password strength is Very strong. To improve the password strength, use numbers, upper and lower-case characters, and special characters like !,@,#,$,%,^,&,*,?,_,~
But the password was complex enough. with 20 numbers+charcters+special chars!
I i lower Plesks Security Policy to (*) Strong, the Wordpress installation works. But lowering Security with password length 8 is not desireable.
Today I upgraded to Plesk 12 and during the day I got several customers that had problems with their mailbox size. According to Plesk they were exceeding the size, but they've been doing that for years. The setting that these limits don't have any real meaning is ignored after the upgrade...
When I click upgrade now at the plesk panel I get following error:
Parallels Panel pre-upgrade check... WARNING: The proftpd FTP service will fail to start in case the support for IPv6 is disabled on the server. Please check [URL] .... for details.
Is it safe to proceed? I guess it shall be automatically?
I'm using this script as a cron to generate DKIM keys for the domains I have. It's an easy script. And it does it's job just OK. I have the necessary software installed and configured.
The way it works is:
The script check if the domain in queue has a record for it. If it doesn't, OpenDKIM generates a one time DKIM record for mail._domainkey that I am entering to my dns records for all the domains I have.
After creating the DKIM record, it checks and deletes mail._domainkey records if there's any. Then adds the generated DKIM to plesk dns zones and disables/enables greylisting to create the appropriate dns entry.
If it does have a DKIM recors on the hdd already, then it removes
mail._domainkeyand TXT o=-entries.
After that it basically adds the already generated DKIM record and it disables/enables the greylisting for each domain in order to recreate "TXT o=-"
Up till here, it works fine. I can see these entries when I check the DNS Settings. They are there.
But whenever I run this script either via cron or manually, I get an error message on my panel: (You can check the screenshot as well)
Code:
Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.
And unless I manually click "Apply DNS Template Changes" for EVERY SITE it doesn't go away.
So, I was wondering, is there a way to scriptize that command? Or how to prevent it?
This is the command I use to generate DKIM and add it to Plesk database, also if any such record exists, delete and re-write it:
OS = CentOS 6.5 (Final) Plesk version = 12.0.18 Update #7, last updated at July 11, 2014 12:46 PM
I have been trying to make my sites better suited to anti spam measures. The only warning I have left to work out is:
Warning - Reverse DNS does not match SMTP Banner
In the Plesk settings i do have the outgoing mail setting set to Send from domain IP addresses and use domain names in SMTP greeting - still I get the warning.
I am using Post fix. This is a 1and1 dedicated server and I am using custom name servers for this domain. I believe the smtp banner is matching the main ip and not the domain.
I have some problem with my parse_url after last update of Plesk Panel.I ran the test script on my server and on my local computer, and received the following result: Local computer:
HTML: Array ( [host] => product_features.clear_list?redirect_url=http [path] => //www.siteExample.com ) As you can see, the structure of the output data is not identical as it should be.
I was running on a Ubuntu 10.04 LTS VPS and had this error too, then yesterday imported the domain from the old VPS to our new Plesk Server (Ubuntu 12.04.3 LTS) and I still get this error on this one domain.
This is the error in question...
Warning:hosting "mydomain.tld"
Failed to pack files Backup_mydomain.tld_user-data_1311120042 in /var/lib/psa/dumps/domains/mydomain.tld [ 49562925056 bytes free of 53687091200 bytes total on mount point 0]
Warning:hosting "mydomain.tld"
For security reason backup is performed on behalf of subscription system user. System user has no read access to backup file.Click to expand...
we are getting the following error message during our scheduled backup..Warning: mysql "wordpress_9"...Not all the data was backed up into /mnt/backup/web03/domains/domain.com.au/databases/wordpress_9_1 successfully. Use of chdir('') or chdir(undef) as chdir() is deprecated at /opt/psa/PMM/agents/shared/Storage/Bundle.pm line 39.
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `backupdb_wp_commentmeta` at row: 717
I have been having a lot of problems with my server lately. Today I attempted to update container software. The operation failed with this output:
Operation update with the Env(s) "server.[site].com" is finished with errors: Can not update packages: exec failed: warning: /etc/issue created as /etc/issue.rpmnew warning: /etc/issue.net created as /etc/issue.net.rpmnew error: /etc/httpd/logs expected to be a regular file, lstat() returned 40000 error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory warning: /etc/yum.conf created as /etc/yum.conf.rpmnew Error in Transaction: One or more rpm failed. Error: /usr/share/vzyum/bin/yum failed, exitcode=1 .
I am slowly learning how to use Linux and the SSH terminal to manage my server... but this beyond me...
(I wonder if it has anything to do with the "segmentation faults" that have been occurring.)
I have a server with openSuSE 13.1 and Plesk 12.0.18#7 and get following Warnings:
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts
Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /srv/www/vhosts/s535829144.online.de/httpdocs/contenido/includes/pseudo-cron.inc.php on line 306
I set php.ini from UTC to Europe/Berlin and restart the Server, thats no Effect.
For some reason one of my customers email accounts seems to have been hacked. My admin account continues to say that the customer has reach over the 30 emails per hour limit. This is the email error:
following customers' domains, mailboxes and subscriptions are reached their limits for outgoing emails for the period:>From Dec/13/2014 05:47. To Dec/ 13/ 2014 06:47
Subscriptions customerdomain.com, the limit is 100 messages per hour 336 attempt(s) to exceed limits from Dec/13/2014 04:31 to Dec/13/2014 05:47
So far it has sent over 5,000 attempted in the past few hours. The customer used gmail to send from domain before, so I've changed their gmail email password. I've also changed the main email password, and the plesk username and password login for the customer. It still continues
Is it possible through Plesk Linux version on the root servers to update?If not and you will update the Debian itself, you have to note something? What should you back up before everything to make Plesk is working again? Is a complete reinstallation is required?
My current version of nginx in plesk 11.5.44 is 1.5.0 and i would like to update it to the latest stable version which is 1.6.0. However, i cannot seem to manage to do so. I tried with yum update nginx but i receive Package(s) nginx available, but not installed.
After updating from Plesk 10 to Plesk 12 I have lost ssh access for all users (service is not running).
While I select ssh connection I still receive an error:
--------------------------- PuTTY Fatal Error --------------------------- Server unexpectedly closed network connection --------------------------- OK ---------------------------Click to expand...
I want to upgrade to Plesk 12, but want to make sure current version of 11.5.30 is working properly.Whenever Plesk tried to update I get the following error.Installing packages
Loaded plugins: fastestmirror, priorities, refresh-packagekit Loading mirror speeds from cached hostfile * atomic: www5.atomicorp.com * epel: mirror.compevo.com 437 packages excluded due to repository priority protections
[code]....
Fatal error during packages installation: The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.Check that the correct key URLs are configured for this repository. YumBaseError: The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.
ERROR: Failed to run the Yum utility.The Yum utility failed to install the required packages.
I have VPS Server with Parallels Plesk 11.5.30 (64 bits) on OVH.ORG..Today i do Update to newest version via https://MY-IP:8447
Code: [URL] .....
Now i cant login to my server: [URL] ....
How can i repair it. I dont wanna install again Plesk Panel becouse i have a lot of configuration and email adress.All components like Apache Mysql, ftp works good, but i cant only login.
I've tried a few times to update php on my server from version 5.3 to the latest 5.5 however it keeps conflicting with apache2 that's installed and I ended up having to re-install everything as I accidentally deleted Plesk attempting to fix it.
Ideally I'd rather just run nginx with php-fpm without apache but it's not as straightforward anymore with plesk and how to go about updating PHP?
I've got a clean install of Parallels Plesk v12.0.18_build1200140606.15 running on Ubuntu 12.04.2 LTS.
Symptoms are that two of my domains are not resolved anymore, one of which is my mail, the other the plesk default. So even I try to login by ip, it bounces to the default name and that does not resolve.
This probably happened yesterday morning and i see an autoupdate log, so i can't think what else would cause this out of the blue, since i am on holiday and have not touched the server for three weeks.
The log doesn't really have errors, just one warning i saw, about packages not beeing updated, using old ones. But that was only passenger, so ok i guess. The log is rather big and so i didn't read it all. It ends by saying patch for 12.0.18 will not be applied and errors in apt-get update, that i mentioned.
The domains were set up like many others that still work, as masters.
I can log in as root, so if i could just let me log in by ip again.
Linux auringostaitaan.fi 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64
we have a problem with internal statistics in one of our servers with plesk, statistics don't update, trying command line at server with "/usr/local/psa/ admin/sbin/statistics --calculate-one --domain-name=domain.tld" we have this result:
WARNING during statistics_collector execution: : statistics[22087]: Statistics info parsing error: Number value is out of range for expected type. Error occured at offset 856, character '9'.
[2015-06-29 11:17:29] ERR [statistics[22087]: Statistics info parsing error: Number value is out of range for expected type. Error occured at offset 856, character '9'.] ERROR during statistics_collector execution:
We can update some domains from command line, but others fail and cron dont update any, maybe if one fail the cron command stop working?
how is it possible that after an update my main site is down? This site: www.orderhosting.it has plesk Panel and I have 20 sites. They work perfectly but my main site is off. I think there is an error in the configuration because:
This is strange.Error log does not report any errors, only this: [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?