• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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 name@domain.net -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:name@external.net -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 admin@domain.com



Error:

Execution of /opt/psa/admin/plib/api-cli/mail.php --create admin@domain.com -passwd '' -passwd_type sym -mailbox true -forwarding true -forwarding-addresses add:name@extdomain.net -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