Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to create a user which has rights to the Panels (v11) CLI tools. I've added the user to the psaadm group, as the documentation indicates, as well as the swkey-data group, as I was getting access denied for that dir. I am using sudo to run the command as that user:

sudo -u mcp /usr/local/psa/bin/subscription --info test.com

But I am receiving this error:

Unable to connect to database: get_admin_password() failed: file_get_contents() failed:

Suggestions?

share|improve this question
    
I don't think I've seen such topic in Plesk documentation before. Can you tell in which documentation you've got this recipe? –  Sergey L Aug 29 '12 at 6:02
    
The complete CLI documentation for Plesk 11: download1.parallels.com/Plesk/PP11/11.0/Doc/en-US/online/… –  mattdwen Sep 3 '12 at 3:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.