• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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