• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Creation Utilities not working

J

Jason Lee

Guest
I have a script that auto creates domain users that doesn't seem to work since I upgraded to Plesk 7.5 I was wondering if anyone else was having these problem?

I get the following errors:

/usr/local/psa/bin/domain.sh: line 2: unexpected EOF while looking for matching ``'
/usr/local/psa/bin/domain.sh: line 6: syntax error: unexpected end of file

When I run the command.....

/bin/sh /usr/local/psa/bin/domain.sh -c 'tes.com' -status 'true' -dom_user 'true' -du_passwd 'password' -dns 'true' -www 'true' -hosting 'true' -hst_type 'phys' -ip '<ip address>' -login 'test2' -passwd 'password' -hard_quota '500' -ssi 'true' -php 'true' -cgi 'true' -perl 'true' -asp 'true' -ssl 'true' -webstat 'true' -err_docs 'true' -log_bytime 'daily' -log_max_num '5' -notify 'false' -clogin 'PersonalHosting'

Any help would be apreciated.
 
Problem solved domain.sh is acutally a php file and didn't need /bin/sh in the cmd.
 
Yeah, you should run them as /usr/local/psa/bin/domain.sh
 
Back
Top