How to , and other stuff about linux, photo, php … Another blog just like others on internet

May 23, 2016

qmail with plesk

Filed under: Linux — Tags: , , , , — admin @ 2:47 pm

Some short commands

List out all messages currently in queue by running:
Count the number of messages in the queue currently by running:

Delete all mails from queue

/usr/local/psa/admin/sbin/mailqueuemng -D


March 21, 2016

letsencrypt plesk problem

Filed under: Linux — Tags: , , — admin @ 4:58 pm

Well today a new problem.

I have try to install the letsencrypt  module on a plesk centos 6 server . That have python 2.6 and you will get a warning I think that is not working with python2.6 but the problem is other module.

The error’s look something like this

Fehler: Fehler bei der Installation des SSL-Zertifikats von Let’s Encrypt: Failed letsencrypt execution: /usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/cryptography/ DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python.


Traceback (most recent call last):

File "/usr/local/psa/var/modules/letsencrypt/venv/bin/letsencrypt", line 11, in <module>


File "/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/letsencrypt/", line 1950, in main

plugins = plugins_disco.PluginsRegistry.find_all()

File "/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/letsencrypt/plugins/", line 168, in find_all

plugin_ep = PluginEntryPoint(entry_point)

File "/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/letsencrypt/plugins/", line 31, in __init__

self.plugin_cls = entry_point.load()

File "/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/pkg_resources/", line 2201, in load

self.require(*args, **kwargs)

File "/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/pkg_resources/", line 2218, in require

items = working_set.resolve(reqs, env, installer)

File "/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages/pkg_resources/", line 835, in resolve

raise VersionConflict(dist, req).with_context(dependent_req)

ContextualVersionConflict: (cryptography 1.1 (/usr/local/psa/var/modules/letsencrypt/venv.gUBSl/lib/python2.6/site-packages), Requirement.parse(‘cryptography>=1.3’), set([‘PyOpenSSL’]))


The problem actually is the crypthography module.

So the fix is

cd /usr/local/psa/var/modules/letsencrypt/venv/bin

./pip install –upgrade cryptography

December 3, 2013

Load without reason on centos

Filed under: Linux — Tags: , , — admin @ 1:09 pm

Well it appear that on a plesk server with only os reloaded we see some load.
I search the raid but it was finished to re sync so no load should be there .
After debugging with iotop I see this
505 be/3 root 0.00 B/s 0.00 B/s 0.00 % 99.99 % [jbd2/md1-8]

After a little search it appear that is from ext4 journaling.

Not to disable ext4 journaling is not so easy because you have to umount the partition, or to be monuted in read only .

After a little search I found out that rsyslog was the problem was hitting the limit, and was writing a lot of information into the log. After disabling the rsyslog everything was back to normal . However I am waiting again the problem to see what pid was causing this.

Any way strange problem .


Powered by WordPress