Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] Several log files become binary and have file size 511488
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Several log files become binary and have file size 511488 (Read 8006 times)
Ringo De Smet
Newbie
Posts: 1
Karma: 0
[SOLVED] Several log files become binary and have file size 511488
«
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)
«
Last Edit: September 10, 2015, 04:58:27 pm by franco
»
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: Several log files become binary and have file size 511488: disk corruption?
«
Reply #1 on:
September 02, 2015, 10:00:19 pm »
Hi Ringo,
Welcome to OPNsense!
The syslog files use clog, so you need clog to display them.
To tail the ipsec.log, just use:
Code:
[Select]
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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: [SOLVED] Several log files become binary and have file size 511488
«
Reply #2 on:
September 10, 2015, 04:58:58 pm »
Log-term we want to go back to non-clog style log files.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] Several log files become binary and have file size 511488