virtualmin create domain or subdomain log folder error
example server log
#cat /var/log/apache2/error.log
(2)No such file or directory: apache2: could not open error log file /home/example.com/logs/error_log.
[Sat Oct 01 19:35:03 2011] [warn] child process 1405 still di(2)No such file or directory: apache2: could not open error log file /home/example.com/domains/forum.example.com/logs/error_log.
(2)No such file or directory: apache2: could not open error log file /home/example.com/domains/forum.example.com/logs/error_log.
(2)No such file or directory: apache2: could not open error log file /home/example.net/logs/error_log.
(2)No such file or directory: apache2: could not open error log file /home/example.net/domains/software.example.net/logs/error_log.
/var/webmin/webmin.log
1343232879.343217.0 [04/Oct/2011 13:24:39] root - 127.0.0.1 virtual-server delete-domain.pl “cmd” “delete-domain.pl” “software.example.net” argv=’%252D%252Ddomain%2520software%252Eexample%252Enet’ domain=‘software.example.net’
cat /var/webmin/diffs/13177/xxxxxxxxx/5
delete /etc/webmin/virtual-server/domains/13165654203212420
1,103d0
< virt6already=
< edit_delete=0
< edit_passwd=1
< db=software_example_net
< ugid=3063
< dns_ip=
< edit_redirect=0
< email=
< limit_virus=0
< plan=130383768117168
< limit_webalizer=1
< limit_webmin=0
< limit_virtualmin-awstats=0
< webmin=0
< dom=software.example.net
< edit_admins=0
< uid=3062
< noslaves=
< name=1
< virtualmin-awstats=0
< postgres=0
< web_port=80
< limit_mysql=0
< limit_ssl=0
< gid=3063
< source=create-domain.pl
< subprefix=
< edit_sharedips=0
< ip=11.11.11.11
< dir=1
< web=1
< limit_ftp=1
< group=example.net
< lastsave=1317672049
< limit_postgres=0
< netmask=
< edit_phpver=0
< edit_dnsip=0
< home=/home/example.net/domains/software.example.net
< virt=0
< edit_aliases=1
< netmask6=
< pass=password
< edit_spam=0
< limit_dir=1
< ugroup=example.net
< ip6=
< limit_mail=0
< limit_virt=1
< edit_scripts=0
< cgi_bin_path=/home/example.net/domains/software.example.net/cgi-bin
< edit_restore=0
< subdom=
< public_html_dir=httpdocs
< edit_dbs=0
< dns=0
< creator=root
< db_mysql=
< edit_phpmode=0
< virt6=
< emailto=software.example.netm@example.net
< user=example.net
< id=131767203212420
< edit_disable=0
< db_postgres=
< reseller=
< virtalready=
< parent=131376524131061
< nocreationmail=
< template=130383043013300
< nosecondaries=
< edit_sched=0
< limit_dns=0
< cgi_bin_dir=cgi-bin
< alias=
< defip=1
< edit_ssl=0
< limit_logrotate=1
< alias_mode=0
< edit_catchall=0
< ftp=0
< spam=0
< edit_users=1
< mail=0
< edit_allowedhosts=0
< edit_domain=0
< limit_spam=0
< owner=software.example.net
< limit_unix=0
< unix=0
< ssl=0
< edit_mail=0
< logrotate=1
< public_html_path=/home/example.net/domains/software.example.net/httpdocs
< virus=0
< created=1317672049
< edit_forward=0
< mysql=0
< edit_ip=0
< edit_backup=0
< webalizer=0
< limit_web=1
< prefix=software.example.net
cat /var/webmin/diffs/13177/xxxxxxxxx/2
delete /etc/apache2/sites-available/software.example.net.conf
1,51d0
< <VirtualHost 11.11.11.11:80>
< SuexecUserGroup “#3062” “#3063”
< ServerName software.example.net
< ServerAlias www.software.example.net
< ServerAdmin “admin@csoftware.example.net”
< DocumentRoot /home/example.net/domains/software.example.net/httpdocs
< ErrorLog /home/example.net/domains/software.example.net/logs/error_log
< CustomLog /home/example.net/domains/software.example.net/logs/access_log combined
< ScriptAlias /cgi-bin/ /home/example.net/domains/software.example.net/cgi-bin/
< DirectoryIndex index.html index.htm index.php index.php4 index.php5
… more …
What is the solution?