• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Plesk 9.5.4 subscription command not found

sosbilisim

Basic Pleskian
Hello;

I use apache with revese-proxy nginx but my new added domains cant add system i trace them.

my generate_nginx_config.sh file contains

R_WWWROOT=`/usr/local/psa/bin/subscription --info $domain | grep "\-\-WWW-Root--" | cut -d\ -f2 | sed -e 's/\\//\\\\\\//g'`


/usr/local/psa/bin/subscription file not found in system

[root@linux nginx_setup]# ls -al /usr/local/psa/bin/subscription
ls: /usr/local/psa/bin/subscription: Böyle bir dosya ya da dizin yok


where is the subscription file on my plesk box

thank you
 
9.5 does use subscriptions, I think thats a plesk 10/11 thing.


Plesk 9
# cat /usr/local/psa/version; ls -la /usr/local/psa/bin/subscription
9.5.4 RedHat el5 95110630.15
ls: /usr/local/psa/bin/subscription: No such file or directory


Plesk 11
# cat /usr/local/psa/version; ls -la /usr/local/psa/bin/subscription
11.0.9 RedHat el5 110120608.16
lrwxrwxrwx 1 root root 50 Jul 18 11:48 /usr/local/psa/bin/subscription -> /usr/local/psa/admin/plib/api-cli/subscription.php*
 
Not sure what to tell ya, its not there on Plesk 9 and that appears intentional, but it does re-appear (or get added) into later versions of Plesk, I think starting with 10 but definitely in 11.

Also there is no mention of /usr/local/psa/bin/subscription in the link you provided except for a couple people in the comments, the "article" (if you can call it that) doesn't reference that file.
 
Back
Top