Can't find apache logs on virtualmin UI, on Logs and Reports

12 posts / 0 new
Last post
#1 Wed, 11/20/2019 - 04:12
randomuser456852

Can't find apache logs on virtualmin UI, on Logs and Reports

Hi every1, Im new on virtualmin and when I try to check the apache logs I have to log in in to the bash terminal and check for the logs there.

I don't know why apache logs are not shown under Logs and Reports. Only showing:

  • AWstats Configuration
  • AWstats Report
  • Logged Webmin Actions
  • Webalizer Report.

I want to see the logs from the UI.

Thanks for the help

Wed, 11/20/2019 - 04:44
Jfro

You can expand that logs yourself with the +add button in same GUI part. < webmin < system < System logs

And for virtual server themselves you should have under LOG and Reports section: apache access and error log , if not you have to check your settings/template/rights somewhere.

IF you're new please read forum guidelines first before posting. ;)

Example only one you didn't post your versions............

Wed, 11/20/2019 - 07:57
randomuser456852

Hi, thank you for your help.

Usermin: 1.780 Webmin: 1.932 Virtualmin: 6.08

I have the apache logs access and error enableds on Webimn - System - System logs.

Also on the virtual server template when creating a virtual server, on Settings - Server Templates - Default Settings - Administrators Webmin Modules System logs apache, and FTP are enabled. Also they are correctly configured on Settings - Server Templates - Default Settings - Apache website.

I don't get it, anyways now the logs are not being logged on $server_name/logs. I think i have a missconfiguration some where...

Thanks.

Wed, 11/20/2019 - 08:13
Jfro

Maybe a caching problem somewhere. or skin / template in use you didn't write version of that also not the OS version

Wed, 11/20/2019 - 09:30
randomuser456852

I'm not able to find the problem. When I create a new virtual server, on Logs and report section there is no apache logs. However, they are logging on /var/log/virtualmin/$virtual_server. I'm a bit confussed.

Wed, 11/20/2019 - 14:12
adamjedgar

For the virtualmin virtual server where this is a problem

Goto virtualmin>Edit Virtual Server>("enabled features" i think it is)

Check to make sure that "apache website" is enabled

I am thinking that the reason the logs exist in that other location is because perhaps they are generic logs and not specific to the user (individual virtual servers)?

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Mon, 11/25/2019 - 03:04
randomuser456852

Yes apache is enabled on every virtual server. Something must have changed becuase I was able to see the logs some time ago. I just realized that the logs are not visible. Don't know what's going on. I also checked the server templates but everything seems to be fine.

Still I can't see the apache logs on Logs and Reports section of the virtual server

Mon, 11/25/2019 - 03:18
Jfro

If you go with ssh can you find the log files? https://duckduckgo.com/html?q=how%20to%20find%20apache%20log%20files

Mon, 11/25/2019 - 03:21
randomuser456852

Yes but the global logs under /var/logs/virtualmin/$servername_access and /var/logs/virtualmin/$servername_error.

But on the virtualserver home /mnt/www-data/$server_name/logs, it's empty.

Thanks for your help.

Mon, 11/25/2019 - 03:33
Jfro

I mean on CLI comand line with SSH login the log files for domains themselves! ( docroot?? )

But try the link and some of those i gave you

Mon, 11/25/2019 - 03:35
randomuser456852

Yes, With ssh on directory /var/log/virtualmin/$server_name I am able to see the logs of every single domain.

But on their home on /mnt/www-data/$server_name/logs where usually the logs for the server are stored, there are no logs.

Mon, 11/25/2019 - 03:38 (Reply to #11)
Jfro

Ok then someone knowing virtualmin for this should help you out i guess. ( i.a. not using virtualmin defaults for this)

I can't here sorry. ;)

I others don't have this problem then maybe not a bug but something with config / update went wrong , so yes then it is good to find out the cause..

Topic locked