• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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