No directory structure created for new virtual server

5 posts / 0 new
Last post
#1 Sun, 01/12/2014 - 18:34
godsfshrmn

No directory structure created for new virtual server

I have made a few virtual servers successfully before, but for whatever reason, now when I create one there is no directory template made under /home//. The only directory there is /ftp. The only errors that show during creation are related to this non-existent directory structure (i.e can't copy php.ini over). I verified quotas and disk space isn't an issue. Where else do I need to check?

Sun, 01/12/2014 - 19:36
godsfshrmn

It looks like virtualmin can't create any directories. It fails to create anything when I run a script installer. Is this a bash problem?

Mon, 01/13/2014 - 09:33
andreychek

Howdy,

Are you receiving any errors when creating a Virtual Server? Actually, could you paste in the full output you receive when creating a Virtual Server?

-Eric

Mon, 01/13/2014 - 09:44
godsfshrmn

I don't really see any errors that would directly point to a cause. I glanced through syslog and a few other logs, but nothing at all was there. The actual virtual server is "set up" and showing in virtualmin afterwards, but I get the 404 error on browsing to the domain and the non-existent folder structure.

Setting Up Virtual Server
In domain testing
Creating administration group testing ..
.. done
Creating administration user testing ..
.. done

Creating aliases for administration user ..
.. done

Adding administration user to groups ..
.. done

Creating home directory ..
.. done

Creating mailbox for administration user ..
.. done

Adding new DNS zone ..
.. done

Adding to email domains list ..
.. done

Adding default mail aliases ..
.. done

Adding new virtual website ..
.. done

Adding webserver user www-data to server's group ..
.. done

Performing other Apache configuration ..
.. configuration failed : Failed to copy /etc/php5/cgi/php.ini to /home/testing/etc/php5/php.ini : sh: cp: No such file or directory

Setting up scheduled Webalizer reporting ..
.. Webalizer reporting failed! : Failed to open /home/testing/public_html/stats/.htaccess.webmintmp.15179 : No such file or directory at ../web-lib-funcs.pl line 1376, line 1.

Setting up log file rotation ..
.. done

Creating MySQL login ..
.. done

Creating MySQL database testing ..
.. done

Creating FTP virtual server ..
.. done

Adding ProFTPd user ftp to server's group ..
.. done

Setting up spam filtering ..
.. done

Setting up virus filtering ..
.. done

Setting up AWstats reporting ..
.. AWstats reporting failed! : virtualmin-awstats::feature_setup failed : Failed to open /home/testing/cgi-bin/awstats.pl.webmintmp.15179 : No such file or directory at ../web-lib-funcs.pl line 1376, line 1.

Adding DAV directives to website configuration ..
.. DAV Login failed! : virtualmin-dav::feature_setup failed : Failed to open /home/testing/etc/dav.digest.passwd : No such file or directory at ../web-lib-funcs.pl line 1376, line 1.

Adding Mailman alias and redirects to website configuration ..
.. done

Creating Webmin user ..
.. done

Re-starting DNS server ..
.. done

Applying web server configuration ..
.. done

Applying FTP server configuration ..
.. done

Re-loading Webmin ..
.. done

Saving server details ..
.. done
Thu, 09/04/2014 - 11:11
rfitting

Creating administration group test .. .. done

Creating administration user test .. .. done

Creating aliases for administration user .. .. done

Adding administration user to groups .. .. done

Creating home directory .. .. done

Creating mailbox for administration user .. .. done

Adding new DNS zone .. .. done

Adding new virtual website .. .. done

Adding webserver user apache to server's group .. .. done

Performing other Apache configuration .. .. configuration failed : Failed to copy /etc/php.ini to /home/test/etc/php5/php.ini : cp: accessing `/home/test/etc/php5/php.ini': Permission denied

Creating SSL certificate and private key .. .. SSL website failed! : Failed to open /home/test/ssl.cert.webmintmp.12256 : Permission denied at ../web-lib-funcs.pl line 1385, line 1.

Setting up log file rotation .. .. done

Adding DAV directives to website configuration .. .. DAV Login failed! : virtualmin-dav::feature_setup failed : Failed to open /home/test/etc/dav.digest.passwd : Permission denied at ../web-lib-funcs.pl line 1385, line 1.

Creating Webmin user .. .. done

Re-starting DNS server .. .. done

Applying web server configuration .. .. done

Re-loading Webmin .. .. done

Saving server details .. .. done

Topic locked