Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Health Check Error - Please help a noob
« previous
next »
Print
Pages: [
1
]
Author
Topic: Health Check Error - Please help a noob (Read 1435 times)
guest40773
Guest
Health Check Error - Please help a noob
«
on:
November 12, 2023, 04:53:56 am »
I think this is the right spot to post this but I downloaded a new update and I decided to run a health check audit and I received the following error
>>> Check for missing or altered base files
Error 2 occurred.
etc/sysctl.conf:
size (311, 345)
sha256digest (0x8c57d647047d84b9be4cddbb0b6d58c1d5839f148b62d1137b8bf2611f681cfd, 0x06ec8255e5fdfb4ccaf2059bc0d12c92554e4ba8f92b9d4c51af74ba58ba00c9)
I have no idea what this means. Can anyone please shed some light on this? If this helps the only plugins I have are ZenArmor, CrowdSec and I think thats it.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Health Check Error - Please help a noob
«
Reply #1 on:
November 12, 2023, 07:58:09 am »
Something modifies your /etc/sysctl.conf -- I think a plugin or software of a plugin does that (you didn't post the full health audit), but it's relatively moot because we don't even operate sysctl.conf
Cheers,
Franco
Logged
guest40773
Guest
Re: Health Check Error - Please help a noob
«
Reply #2 on:
November 13, 2023, 05:31:33 am »
Ok so don't worry or do you want me to run another health audit and post the full result? Im learning as I go so I don't know if I should be worried or not.
Logged
guest40773
Guest
Re: Health Check Error - Please help a noob
«
Reply #3 on:
November 13, 2023, 05:35:05 am »
I also got this error but it looks like its mainly IPV6 stuff which I don't use but the checking connectivity to host pkg.opnsense.org had me a little worried
***GOT REQUEST TO AUDIT CONNECTIVITY***
Currently running OPNsense 23.7.8 at Mon Nov 13 04:32:50 UTC 2023
Checking connectivity for host: pkg.opnsense.org -> 89.149.222.99
PING 89.149.222.99 (89.149.222.99): 1500 data bytes
1508 bytes from 89.149.222.99: icmp_seq=0 ttl=55 time=85.400 ms
1508 bytes from 89.149.222.99: icmp_seq=1 ttl=55 time=85.246 ms
1508 bytes from 89.149.222.99: icmp_seq=2 ttl=55 time=85.352 ms
1508 bytes from 89.149.222.99: icmp_seq=3 ttl=55 time=85.555 ms
--- 89.149.222.99 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 85.246/85.388/85.555/0.111 ms
Checking connectivity for repository (IPv4):
https://pkg.opnsense.org/FreeBSD:13:amd64/23.7
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 855 packages processed.
Updating SunnyValley repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ... done
Processing entries: ....... done
SunnyValley repository update completed. 64 packages processed.
All repositories are up to date.
Checking connectivity for host: pkg.opnsense.org -> 2001:1af8:5300:a010:1::1
ping: UDP connect: No route to host
Checking connectivity for repository (IPv6):
https://pkg.opnsense.org/FreeBSD:13:amd64/23.7
Updating OPNsense repository catalogue...
pkg:
https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/meta.txz
: No route to host
repository OPNsense has no meta file, using default settings
pkg:
https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/packagesite.pkg
: No route to host
pkg:
https://pkg.opnsense.org/FreeBSD:13:amd64/23.7/latest/packagesite.txz
: No route to host
Unable to update repository OPNsense
Updating SunnyValley repository catalogue...
pkg:
https://updates.zenarmor.com/opnsense/FreeBSD:13:amd64/23.7/latest/meta.txz
: No route to host
repository SunnyValley has no meta file, using default settings
pkg:
https://updates.zenarmor.com/opnsense/FreeBSD:13:amd64/23.7/latest/packagesite.pkg
: No route to host
pkg:
https://updates.zenarmor.com/opnsense/FreeBSD:13:amd64/23.7/latest/packagesite.txz
: No route to host
Unable to update repository SunnyValley
Error updating repositories!
***DONE***
Logged
guest40773
Guest
Re: Health Check Error - Please help a noob
«
Reply #4 on:
November 13, 2023, 05:39:04 am »
This is my full health audit. I've uninstalled and reinstalled everything and still get this. I have no idea what to do about that zen armor file. Im assuming ill have to ssh into it and fix it?
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 23.7.8 at Mon Nov 13 04:35:53 UTC 2023
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 23.7.8 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 23.7.8 is correct.
>>> Check for missing or altered base files
Error 2 occurred.
etc/sysctl.conf:
size (311, 345)
sha256digest (0x8c57d647047d84b9be4cddbb0b6d58c1d5839f148b62d1137b8bf2611f681cfd, 0x06ec8255e5fdfb4ccaf2059bc0d12c92554e4ba8f92b9d4c51af74ba58ba00c9)
>>> Check installed repositories
OPNsense
SunnyValley
>>> Check installed plugins
os-crowdsec 1.0.7
os-sensei 1.15.2
os-sensei-agent 1.15.2
os-sensei-updater 1.15
os-sunnyvalley 1.3
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: ....
os-sensei-1.15.2: missing file /usr/local/zenarmor/output/archive/.placeholder
Checking all packages......... done
>>> Check for core packages consistency
Core package "opnsense" has 69 dependencies to check.
Checking packages: ...................................................................... done
***DONE***
Logged
guest40773
Guest
Re: Health Check Error - Please help a noob
«
Reply #5 on:
November 13, 2023, 08:50:00 am »
Now its showing the same error but says blacklisted.
Logged
guest40773
Guest
Re: Health Check Error - Please help a noob
«
Reply #6 on:
November 13, 2023, 06:50:39 pm »
Seems to be getting worse. I now get this when checking for updates
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 23.7.8 at Mon Nov 13 12:47:36 EST 2023
Fetching changelog information, please wait... done
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 855 packages processed.
Updating SunnyValley repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ... done
pkg: sqlite error while executing CREATE TABLE packages (id INTEGER PRIMARY KEY,origin TEXT,name TEXT NOT NULL,version TEXT NOT NULL,comment TEXT NOT NULL,desc TEXT NOT NULL,osversion TEXT,arch TEXT NOT NULL,maintainer TEXT NOT NULL,www TEXT,prefix TEXT NOT NULL,pkgsize INTEGER NOT NULL,flatsize INTEGER NOT NULL,licenselogic INTEGER NOT NULL,cksum TEXT NOT NULL,path TEXT NOT NULL,pkg_format_version INTEGER,manifestdigest TEXT NULL,olddigest TEXT NULL,dep_formula TEXT NULL,vital INTEGER NOT NULL DEFAULT 0);CREATE TABLE deps (origin TEXT,name TEXT,version TEXT,package_id INTEGER REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,UNIQUE(package_id, name));CREATE TABLE categories (id INTEGER PRIMARY KEY, name TEXT NOT NULL UNIQUE );CREATE TABLE pkg_categories (package_id INTEGER REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,category_id INTEGER REFERENCES categories(id) ON DELETE RESTRICT ON UPDATE RESTRICT,UNIQUE(package_id, category_id));CREATE TABLE licenses (id INTEGER PRIMARY KEY,name TEXT NOT NULL UNIQUE);CREATE TABLE pkg_licenses (package_id INTEGER REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,license_id INTEGER REFERENCES licenses(id) ON DELETE RESTRICT ON UPDATE RESTRICT,UNIQUE(package_id, license_id));CREATE TABLE option (option_id INTEGER PRIMARY KEY,option TEXT NOT NULL UNIQUE);CREATE TABLE option_desc (option_desc_id INTEGER PRIMARY KEY,option_desc TEXT NOT NULL UNIQUE);CREATE TABLE pkg_option (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,option_id INTEGER NOT NULL REFERENCES option(option_id) ON DELETE RESTRICT ON UPDATE CASCADE,value TEXT NOT NULL,PRIMARY KEY(package_id, option_id));CREATE TABLE pkg_option_desc (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,option_id INTEGER NOT NULL REFERENCES option(option_id) ON DELETE RESTRICT ON UPDATE CASCADE,option_desc_id INTEGER NOT NULL REFERENCES option_desc(option_desc_id) ON DELETE RESTRICT ON UPDATE CASCADE,PRIMARY KEY(package_id, option_id));CREATE TABLE pkg_option_default (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,option_id INTEGER NOT NULL REFERENCES option(option_id) ON DELETE RESTRICT ON UPDATE CASCADE,default_value TEXT NOT NULL,PRIMARY KEY(package_id, option_id));CREATE TABLE shlibs (id INTEGER PRIMARY KEY,name TEXT NOT NULL UNIQUE );CREATE TABLE pkg_shlibs_required (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,shlib_id INTEGER NOT NULL REFERENCES shlibs(id) ON DELETE RESTRICT ON UPDATE RESTRICT,UNIQUE(package_id, shlib_id));CREATE TABLE pkg_shlibs_provided (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,shlib_id INTEGER NOT NULL REFERENCES shlibs(id) ON DELETE RESTRICT ON UPDATE RESTRICT,UNIQUE(package_id, shlib_id));CREATE TABLE annotation (annotation_id INTEGER PRIMARY KEY,annotation TEXT NOT NULL UNIQUE);CREATE TABLE pkg_annotation (package_id INTEGER REFERENCES packages(id) ON DELETE CASCADE ON UPDATE RESTRICT,tag_id INTEGER NOT NULL REFERENCES annotation(annotation_id) ON DELETE CASCADE ON UPDATE RESTRICT,value_id INTEGER NOT NULL REFERENCES annotation(annotation_id) ON DELETE CASCADE ON UPDATE RESTRICT,UNIQUE (package_id, tag_id));CREATE TABLE pkg_conflicts (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,conflict_id INTEGER NOT NULL,UNIQUE(package_id, conflict_id));CREATE TABLE provides( id INTEGER PRIMARY KEY, provide TEXT NOT NULL);CREATE TABLE pkg_provides (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,provide_id INTEGER NOT NULL REFERENCES provides(id) ON DELETE RESTRICT ON UPDATE RESTRICT,UNIQUE(package_id, provide_id));CREATE TABLE requires( id INTEGER PRIMARY KEY, require TEXT NOT NULL);CREATE TABLE pkg_requires (package_id INTEGER NOT NULL REFERENCES packages(id) ON DELETE CASCADE ON UPDATE CASCADE,require_id INTEGER NOT NULL REFERENCES requires(id) ON DELETE RESTRICT ON UPDATE RESTRICT,UNIQUE(package_id, require_id));PRAGMA user_version=2014; in file pkgdb.c:2333: database is locked
Unable to create repository SunnyValley
Unable to update repository SunnyValley
Error updating repositories!
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***
Logged
newsense
Hero Member
Posts: 1036
Karma: 77
Re: Health Check Error - Please help a noob
«
Reply #7 on:
November 13, 2023, 06:54:17 pm »
Drive full or dying, check free space first, then SMART information
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Health Check Error - Please help a noob
«
Reply #8 on:
November 13, 2023, 08:05:05 pm »
Suppose it was Zenarmor adding this for one reason or another. Sounds familiar... a forum search would have probably turned up a result.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Health Check Error - Please help a noob