OPNsense Forum
Archive => 15.7 Legacy Series => Topic started by: Ringo De Smet on September 02, 2015, 06:21:21 pm
-
Hello,
First of all, thank you for the OPNsense effort. After my router died, I reviewed a number of software router/firewalls and landed with OPNsense.
We are a few days up and running now, and today I tried to configure an IPSec VPN to an Amazon VPC. The IPSec daemon doesn't seem to start:
OPNsense opnsense: /diag_ipsec.php: The command '/usr/local/sbin/ipsec up con1' returned exit code '7', the output was ''
So I tried the IPSec log files. No respons in the web UI, so I tried a good old console. In /var/log, I have several log files of file size 511488 bytes. Checking the file type and trying out less, it returns garbage.
I suspect there is disk corruption. However, it's my first time on a (Free)BSD system, so I don't find my way around the tooling.
System:
* OPNsense 15.7.11
* 64bit VM on VMware ESXi 6.0
* 1GB RAM
* 40 GB virtual disk (thin provisioned) on an iSCSI datastore from my Synology NAS (only 3% used after install)
-
Hi Ringo,
Welcome to OPNsense!
The syslog files use clog, so you need clog to display them.
To tail the ipsec.log, just use:
clog -f /var/log/ipsec.log
This should return readable output if all is working like it should, although it's a mystery why your UI doesn't display the entries because it should do something similar.
If you have disk issues, I suspect a dmesg should tell you something more about it.
I hope you can find the issue,
Regards,
Ad
-
Log-term we want to go back to non-clog style log files.