1
22.7 Legacy Series / Re: CRON Not Starting due to phpmailer error. (SOLVED)
« on: July 31, 2022, 02:18:33 pm »
Thank you very much, that worked great!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
EDIT SOLVED:I have the same problem with os-mail-backup.
I simply uninstalled PHPmailer from the command line and it also uninstalled os-mail-backup. Now the Cron starts with no errors.
# /usr/local/etc/rc.d/vnstat restart
vnstat not running? (check /var/run/vnstat/vnstat.pid).
Starting vnstat.
Error: Failed to open database "/var/lib/vnstat/vnstat.db" in read/write mode.
Exiting...
/usr/local/etc/rc.d/vnstat: WARNING: failed to start vnstat
***GOT REQUEST TO INSTALL: os-vnstat***
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
os-vnstat: 1.2
vnstat: 2.6
Number of packages to be installed: 2
[1/2] Installing vnstat-2.6...
===> Creating groups.
Using existing group 'vnstat'.
===> Creating users
Using existing user 'vnstat'.
[1/2] Extracting vnstat-2.6: .......... done
[2/2] Installing os-vnstat-1.2...
[2/2] Extracting os-vnstat-1.2: .......... done
Stopping configd...done
Starting configd.
Keep version OPNsense\Vnstat\General (0.0.1)
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Vnstat: OK
=====
Message from vnstat-2.6:
--
vnstat has been installed.
A sample configuration file has been installed in /usr/local/etc/
Please add your default network interface in the 'Interface' line there
before starting vnstat service.
For more information about vnStat use "man vnstat" or visit:
http://humdi.net/vnstat/
Checking integrity... done (0 conflicting)
Nothing to do.
***DONE***
# /usr/local/etc/rc.d/vnstat restart
vnstat not running? (check /var/run/vnstat/vnstat.pid).
Starting vnstat.
Error: Failed to open database "/var/lib/vnstat/vnstat.db" in read/write mode.
Exiting...
/usr/local/etc/rc.d/vnstat: WARNING: failed to start vnstat
OPNsense 20.1.5-i386
FreeBSD 11.2-RELEASE-p18-HBSD
OpenSSL 1.1.1f 31 Mar 2020
WAN / Internet
:
: PPPoE-Telekom
:
.-----+------.
| FRITZ!Box | 192.168.1.0/24
'-----+------'
|
WAN | 192.168.1.200/32
|
.-----+----------------.
| OPNsense (alix2d2) |
'-----+----------------'
|
LAN | 192.168.10.254/32
|
.-----+------.
| LAN-Switch | 192.168.10.0/24
'-----+------'
|
...-----+------... (Clients/Servers)