• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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