• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 10.4.4 avoid removing of some subdomains

P

pichlo

Guest
Hey Guys,

it's me again. Plesk 10.4.4 is getting my crazy. I can't delete some of my subdomains. I can not exactly explain which one makes problems and which not. For testing my ssl problem (the previous post) I've create a subdomain "ssltest.mydomain.tld". After deleting it some times later plesk alerts that my configuration has some errors. So I try to reconfigure it per command console and got the following:

#/usr/local/psa/admin/bin/httpdmng --reconfigure-all
No valid mailman bindir detected
PleskUtilException: '/opt/psa/admin/bin/apache-config' '-t' failed with code 1.
(…)
stderr:
apache2: Syntax error on line 278 of /etc/apache2/apache2.conf: Syntax error on line 6 of /etc/apache2/conf.d/zz010_psa_httpd.conf: Syntax error on line 122 of /opt/psa/admin/conf/vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/ssltest.mydomain.tld/conf/13304321040.68571400_httpd.include: No such file or directory

What the f*** ??? Why does plesk needs a configuration file for deleted subdomains? This makes absoluty no sense (!!!) I try to create a dummy file to get plesk working again:

# mkdir /var/www/vhosts/ssltest.mydomain.tld
# mkdir /var/www/vhosts/ssltest.mydomain.tld/conf
# touch /var/www/vhosts/ssltest.mydomain.tld/conf/13304321040.68571400_httpd.include
#/usr/local/psa/admin/bin/httpdmng --reconfigure-all

Now everythings works fine. But only as long as I not delete this dummy file. If I delete this dummy file I get the first error message again....

How can I found and delete these old reference the the delete subdomain ssltest.mydomain.tld?

Thanks, Martin
 
Back
Top