• 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.

Forwarded to devs service psa startall or stopall does not work anymore in shell

  • Thread starter Deleted member 121791
  • Start date
D

Deleted member 121791

Guest
TITLE:
service psa startall or stopall does not work anymore in shell
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk 17.8.11
Debian 9.4 x64
PROBLEM DESCRIPTION:
service psa fails.

root@sv2 ~ # service psa startall
Starting sw_engine service... already
started
Starting sw_cp_server service... already
started
Starting mysql service... already
started
/usr/lib/plesk-9.0/psa_service: line 1537: : bad substitution

root@sv2 ~ # service psa stopall
/usr/lib/plesk-9.0/psa_service: line 1545: : bad substitution

Repair with
/opt/psa/bootstrapper/pp17.8.11-bootstrapper/bootstrapper.sh repair
or
plesk repair all -y
did not help

Linux: Plesk 17.8.11 // Debian 9.4 x86

How can we fix it?​
STEPS TO REPRODUCE:
1. Open shell
2. Type service psa startall
3. Error message /usr/lib/plesk-9.0/psa_service: line 1537: : bad substitution shown
4. Type service psa stopall
3. Error message /usr/lib/plesk-9.0/psa_service: line 1545: : bad substitution shown​
ACTUAL RESULT:
Error message /usr/lib/plesk-9.0/psa_service: line 1537: : bad substitution shown

Error message /usr/lib/plesk-9.0/psa_service: line 1545: : bad substitution shown​
EXPECTED RESULT:
All servies are started by psa​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Answer the question
 
Thank you for report. The issue was confirmed and submitted as bugreport PPPM-8165
 
Expansion of variable ${!virusfilter} fail in in psa_service.

Problematical lines:

service_start "named $mailer spamfilter ${!virusfilter} apache xinetd"

service_stop "apache ${!virusfilter} spamfilter mailer named mysql sw_cp_server sw_engine"

You should investigate this.
 
Back
Top