• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Apache not running after mariadb update

SMAHI

Basic Pleskian
Hi,
I've updated mariadb to V 10.1, but unfortunately Apache won't start after that.
The loggin shows

`Apr 23 13:18:46 XXXXX httpd[3640]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf`

with apachectl -t :
`
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 26 of /etc/httpd/conf/plesk.conf.d/webmails/bib____.com_webmail.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/roundcube.htaccess.inc: No such file or directory
`

it seems that some files/dirs are missing likes :
- /etc/httpd/conf/plesk.conf.d/roundcube.htaccess.inc
- /etc/httpd/conf/plesk.conf.d/forwarding
...etc

Please help
 
Last edited:
Hi SMAHI,

pls. consider to use the Plesk Repair Utility, if you experience issues/errors/problems. It will investigate and correct misconfigurations automatically ( if you use the "-y" option string )

Pls. read the official documentation at: => Plesk Repair Utility


Example commands over your command line ( logged in as user "root" over SSH ):

Just DISPLAY possible issues/errors/problems... no automatic repair:
Code:
plesk repair web -n -v
DISPLAY possible issues/errors/problems... WITH automatic repair:
Code:
plesk repair web -y -v


Another option to repair webserver - configuration files, is to use the Plesk component: Webserver Configurations Troubleshooter ( => HOME > Extensions ), which can be installed over the Plesk Control Panel ( HOME > Tools & Settings > Updates and Upgrades ), or with the command over the command line ( logged in as user "root" over SSH ):

Code:
plesk installer --select-product-id plesk --select-release-current --install-component config-troubleshooter
 
@UFHH01 thank for your reply

the plesk command is missing, weird.
terminal output
Code:
-bash: plesk: command not found
 
Hi SMAHI,

pls. DON'T use copy&paste to avoid possible ( invisible at the command line! ) HTML - formats, when you copied it from forums and other sites from the www; instead, pls either TYPE the command, or consider to paste the command suggestion(s) first into a TXT - Editor ( i.e. "notepad.exe" on Windows systems ), before you continue to copy the suggested again FROM the TXT - Editor to paste it into your SSH - Client. ;)


The "long" version of the "plesk installer" - command is on each linux system:
Code:
/usr/local/psa/admin/bin/autoinstaller
 
Hi SMAHI,

pls. DON'T use copy&paste to avoid possible ( invisible at the command line! ) HTML - formats, when you copied it from forums and other sites from the www; instead, pls either TYPE the command, or consider to paste the command suggestion(s) first into a TXT - Editor ( i.e. "notepad.exe" on Windows systems ), before you continue to copy the suggested again FROM the TXT - Editor to paste it into your SSH - Client. ;)


The "long" version of the "plesk installer" - command is on each linux system:
Code:
/usr/local/psa/admin/bin/autoinstaller

unfortunately it did not works
I am getting the following error :
Code:
/usr/local/psa/admin/bin/autoinstaller: No such file or directory
 
Hi SMAHI,

I assume that you accidently removed some Plesk components, when you upgraded your database - server. Pls. consider to restore from a backup and investigate possible logs from "/var/log" or/and consider to contact the official Plesk Support at: => Contact Support - Plesk
 
Hi SMAHI,

pls. see the output of a "locate" command on a "CentOS 7.3" system as for example:
locate autoinstaller

Output:

/root/.autoinstaller
/root/.autoinstallerrc
/root/.autoinstaller/microupdates.xml
/root/.autoinstaller/options.ini
/usr/local/psa/admin/bin/autoinstaller
/usr/local/psa/admin/plib/autoinstaller
/usr/local/psa/admin/plib/autoinstaller/AutoInstaller.php
/usr/local/psa/admin/plib/autoinstaller/AutoInstallerComponent.php
/usr/local/psa/admin/plib/autoinstaller/AutoInstallerDependency.php
/usr/local/psa/admin/plib/autoinstaller/AutoInstallerManager.php
/usr/local/psa/admin/plib/autoinstaller/AutoInstallerRelease.php
/usr/local/psa/admin/sbin/autoinstaller
As you can see, BOTH paths are valid, while the "ls" - commands
Code:
ls -lah /usr/local/psa/admin/bin | grep auto
lrwxrwxrwx  1 root   root     15 17. Apr 06:01 autoinstaller -> ../sbin/wrapper
Code:
ls -lah /usr/local/psa/admin/sbin | grep auto
-rwxr-xr-x  1 root root    19M 10. Mär 11:21 autoinstaller
... point to the fact, that you are definetly missing something. ;)


My suggestions is still the same, that you should consider to INVESTIGATE the root cause with the help of log - files. ;)
 
Back
Top