• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Urgent. Wrong syntax for command's '-passwd' parameter.

MarisaD

New Pleskian
took a copy of the backup then wiped a server, reinstalled plesk, trying to restore from backup and get the below errors.

I think I need to edit the .xml files in the /var/lib/psa/dumps to change some passwords to force the restore through, however the passwords are stored in the XML as encrypted so how can I best do this?

Example of Errors below with private things changed, please help asap

The mailboxes not so important but I need a way to get the databases back up and running ideally with same passwords as before



Error:

Execution of /opt/psa/admin/plib/api-cli/mail.php --create [email protected] -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:[email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occured during mailname creation: Can't create mailname:
Wrong syntax for command's '-passwd' parameter.





Error: database "dbname"

Failed deployment of database user usernof database dbname



Error:

Execution of /opt/psa/admin/plib/api-cli/database.php --update databasenme-add_user uname-type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.





Error: domain "domain.com"

Failed deployment of mail user [email protected]



Error:

Execution of /opt/psa/admin/plib/api-cli/mail.php --create [email protected] -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:[email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occured during mailname creation: Can't create mailname:
Wrong syntax for command's '-passwd' parameter.





Error: domain "domain.com"

Execution of /opt/psa/admin/plib/api-cli/domain.php --update domain.com -guid 284aaf06-76fa-42ff-9cb3-23ed37429e06 -vendor-guid 843b78d2-0749-4635-9fcc-d20563309eed -creation-date 2012-08-04 -hosting true -hst_type phys -do-not-apply-skeleton -ip 1.1.1.1 -www-root httpdocs -login siteusername-passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.




Error: database "db_t"

Failed deployment of database user user_t of database db_t



Error:

Execution of /opt/psa/admin/plib/api-cli/database.php --update db_t -add_user user_t -type mysql -print-id -default -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.
 
Have you tried to search Wrong syntax for command's '-passwd' parameter phrase in Plesk Troubleshooter? http://troubleshooting.plesk.parallels.com/

Hi Igor,

Please read my full post.

That search only brings http://kb.parallels.com/en/113417

I already know it is because of the special characters issue, because it is plesk 11 I cannot change the password in the XML because it is type='encrypted'.

The server it was on is now wiped as i said so I cannot 'change' the password to not use special characters so I asked for another way around.


Please can you advise if http://forum.parallels.com/showthread.php?t=265257 is relevant as you said it is related to Most probably it is related to issue discussed in this thread - http://forum.parallels.com/showthread.php?t=260790 which you were going to release a patch for, is there a patch for this for 64bit?
 
We have already submitted request to developers regarding this issue (#117042 for your reference).
Developers are working on it. I will update thread with results.
 
I have this problem too...

Hi, I have this problem too, my server is down for 4 days ...

any updates ?

----- part of log --------

Error: domain "x.com"

Execution of /usr/local/psa/admin/plib/api-cli/domain.php --update x.com -guid 6482cfc2-a90b-4577-9a01-8d47b2a5c8dc -vendor-guid 748ffa7e-be47-4573-acce-ce5156cb1a27 -creation-date 2012-12-22 -hosting true -hst_type phys -do-not-apply-skeleton -ip 198.x.54.x -www-root httpdocs -login xordo -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-passwd' parameter.

-----------------------
 
Back
Top