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

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