• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Segmentation fault on every PSA command

H

HanZim

Guest
[FIXED] Segmentation fault on every PSA command

I did a clean install on Ubuntu 12.04 LTS (vanilla OpenVZ template) via


After the setup completes successfully every call to /opt/psa/bin/sw-engine-pleskrun will result in an Segmentation fault e.g.

/usr/local/psa/bin/vps_optimized --turn-on
or
/usr/local/psa/bin/admin --show-password

Host machine is Proxmox Virtual Environment Version 2.1.

There is no hint in any log file about this strange error.

Any help would be highly appreciated.

UPDATE
Thanks to the great Parallels team we could identify the error. For some odd reason the LC_CTYPE env variable was set to UTF-8. This causes the commands to fail with a segmentation fault.

How to fix this:

Edit your /etc/bash.bashrc and add the following to the end of the file.

#/etc/bash.bashrc
export LC_ALL="en_US.UTF-8"

Log out and back in. Now all commands will work.
 
Last edited by a moderator:
It can be related to lack of resources for OpenVZ container. Did you try check it?
 
Hello Igor,

thanks a lot for your reply. The VM has plenty of RAM, HDD space and 2 CPUs assigned to it. Are there any other resources that I can check?

Strangely the same procedure with an Ubuntu 10.04 LTS template works. So I guess it must be some kind of incompatibility with Plesk and Ubuntu 12.04 LTS.

Is there any way to detect was causes the segmentation fault on the machine?
 
Do you have any failcounters in the output of

# cat /proc/user_beancounters

?
 
Back
Top