Hi when i "sudo systemctl status apache2.service" I m getting this error: No such file or directory: AH02291: Cannot access directory '/var/log/virtualmin/' for error log of vhost defined at /etc/apache2/sites-enabled/mydomain.com.conf how can i solve it? thank u.
Code: :~$ grep virtualmin /etc/apache2/sites-enabled/mydomain.com.conf ErrorLog /var/log/virtualmin/mydomain.com_error_log CustomLog /var/log/virtualmin/mydomain.com_access_log combined :~$ ls -lhd /var/log/virtualmin ls: cannot access '/var/log/virtualmin': No such file or directory :~$ [/QUOTE]
Hi Telman first of all thank you for your advice. I implemented the commands that yuo have written but it gave the outputs below. How should i continue now? Thank you. :~$ grep virtualmin /etc/apache2/sites-enabled/homelistt.com.conf ErrorLog /var/log/virtualmin/homelistt.com_error_log CustomLog /var/log/virtualmin/homelistt.com_access_log combined :~$ ls -lhd /var/log/virtualmin ls: cannot access '/var/log/virtualmin': No such file or directory :~$
That host does not have directory /var/log/virtualmin. Perhaps virtualmin, whatever is is, is not installed completely or properly? Or the settings in the conf file are wrong?
Okay thank you. How can I undo the commands that you advise. I mean how can i undo this command "grep virtualmin /etc/apache2/sites-enabled/homelistt.com.conf" Thank you
There is no need to undo it. It just wrote text on your screen. If you want to get rid of the text, use command Code: clear Or close the terminal with command exit, or close the window if terminal is running in a window.