• 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 : subdomains references can't be deleted

N

nico_bl1nd

Guest
Hi,
I've got some problem after installing plesk 10.4.
I've made some cleaning, deleted subdomains, files are gone, but when I restart apache through command line, it claims for missing folders.
"Warning: DocumentRoot [/var/www/vhosts/handydandies.com/dev/biotherm.skinvivo] does not exist"

Subdomains is not more in the plesk interface, the folder is no more, and I can't delete it, neither recreate this subdomain.
I've made multiple httpdmng --reconfigure-all (even --reconfigure-server).
Do you have any idea how to delete those references ?

Best regards,

Nicolas Binet
 
Hi Igor,

Here is the output for command : /usr/local/psa/bin/subdomain -r -subdomains maje.dev -domain mydomain.com
An error occurred during domain removal: Domain 'maje.dev.mydomain.com' does not belong to any customer
 
Do you really have maje.dev.mydomain.com in Plesk database? Check it with

select * from domains where displayName like '%maje.dev%'\G
 
How can I connect to the database ?
Plesk has been pre-installed on the server by my french hosting provider OVH.
 
The problem is that the 'plesk' database is not linked to a particular domain.
Is-there anywhere in the interface I can access this particular database ?
Or, is there any global login for this database to connect through CLI ?
 
Just run as root

# mysql -uadmin -p`cat /etc/psa/.psa.shadow`psa

and you will be logged to Plesk database. After that run SQL query that was provided above by me. That's all.
 
You wrote:
I've made some cleaning, deleted subdomains, files are gone,
What does it mean? How exactly you have done it? Manually?
 
I've deleted subdomains through plesk interface.
Subdomains folder strucutres have been deleted
 
Do not understood how subdomain maje.dev.mydomain.com related to initial
Warning: DocumentRoot [/var/www/vhosts/handydandies.com/dev/biotherm.skinvivo] does not exist
But anyway, what sort of output

select * from hosting where www_root like '%/var/www/vhosts/handydandies.com/dev/biotherm.skinvivo%'\G
 
Sorry I had the problem for both.

mysql> select * from hosting where www_root like '%/var/www/vhosts/handydandies.com/dev/biotherm.skinvivo%';
Empty set (0.00 sec)

mysql> select * from hosting where www_root like '%/var/www/vhosts/handydandies.com/dev/maje%';
Empty set (0.00 sec)
 
Sorry, but I can't reproduce this problem on new Plesk 10.4 installation. I have created subdomain and then removed it via Control Panel. After that I have restarted Apache without any errors:

[root@plesk10 ~]# /etc/init.d/httpd stop
Stopping httpd: [ OK ]
[root@plesk10 ~]# /etc/init.d/httpd start
Starting httpd: [ OK ]
[root@plesk10 ~]#
 
Problem this is not a new installation.
I've tried to remove the domain completely, and here is the message I get :
"Missing parameter 'dirname' or previous parameter is empty."
http://share.handydandies.com/2R1h270X452k2l2D2y0u

And the result is that I can't get delete the domaine at all !
Any idea why this happens ?
 
Back
Top