It worked at one point and then just stopped working…and unfortunately I don’t have a logs to show why…syslog or messages.
I’ve tried;
apt-get install rsyslog
apt-get syslog-ng
I believe there’s a third option as well, but I don’t recall. I’ve installed and removed them a few times to see if doing this work.
Is there a native syslog for Virtualmin? Is there a command or module that may have been deleted, or can I re-install Virtualmin on top of the current install to correct issues or missing features?
My setup is;
Virtualmin
Ubuntu
Apache2
I searched the forum and none of the options worked.
Worst case, which I don’t mind doing and sometimes the quickest option, wiping out everything and reinstalling everything from scratch
What is it exactly that’s not working? Are you saying all the logs in /var/log aren’t being populated?
Virtualmin doesn’t actually use syslog – that’s performed by the syslog service installed and configured by your distro.
If that’s no longer working, there could be something wrong with the syslog service, or configuration.
It sounds like you were working with several different syslog services there, which may make it a little trickier to determine the actual issue… but what you may want to do is go back to the original syslog service installed by your distro, and to work from there.
Which Ubuntu version is it that you’re using? Based on that, we can determine which package to install.
It almost appears as if no logs are working, with the exception of a few. For instance the CSF logs work and show that they cannot access the syslog or messages.
It does look like it’s running now. Are you seeing any log messages? And if you start or restart the service, do you see any errors or warnings on the command line?
root@mail:/# df -h
Filesystem Size Used Avail Use% Mounted on
/vz/private/222 40G 1.8G 39G 5% /
none 3.0G 4.0K 3.0G 1% /dev
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 615M 84K 615M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.0G 0 3.0G 0% /run/shm
none 100M 0 100M 0% /run/user
root@mail:/#
# /etc/rsyslog.conf Configuration file for rsyslog.
#
# For more information see
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
#
# Default logging rules can be found in /etc/rsyslog.d/50-default.conf
#################
MODULES
#################
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support
#$ModLoad immark # provides --MARK-- message capability
provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514
provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514
Enable non-kernel facility klog messages
$KLogPermitNonKernelFacility on
###########################
GLOBAL DIRECTIVES
###########################
Use traditional timestamp format.
To enable high precision timestamps, comment out the following line.
Sorry, I’m really not sure what’s wrong… the only other thing I can offer is that you could try copying the config files for rsyslog from another working system.
But other than that, it sounds like something may be broken – and I think it’ll take someone digging around on your system for a bit to determine what the problem there is.