Menu

Show posts

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.

Show posts Menu

Messages - rackenthogg

#16
After installing 24.7 and restoring my config backup everything seemed to be OK. But after update from 24.7 to 24.7.1 my dashboard is now empty and options "Restore default layout" and "Add Widget" do nothing, i.e. after clicking on "Restore default layout" nothing happens and after clicking on "Add Widget" pull-down menu which should contain list of widgets is not opening and contains only "Nothing selected" line. I rebooted box after update to 24.7.1.
Edit: yes, I cleared cache/cookies in browser and tried different "fresh" browser.
#17
Quote from: doktornotor on August 15, 2024, 02:57:28 PM
Wouldn't it be a whole lot faster, easier and safer to just do a clean install of the latest version and restore the configuration backup?

I will be forced to do so, if I will find no other way.
#18
Quote from: franco on August 15, 2024, 02:12:48 PM
Okay then, the base should have upgraded, but didn't. Let's rerun what's missing:
# opnsense-update -b -A 24.1 -r 24.7

After this nothing works again. No network, no SSH menu, no nothing. I connected display to mainboard's external  VGA port and I was able to see only some quickly flashing error messages about redis database unable to connect and then empty list of network interfaces. Then the screen cleared so I cannot even make the photo of it.
I have my keyboard and display attached directly, so if anyone has further rescue ideas I may work them on my box. I supose I can pause the booting process and access BSD shell somehow.
#19
Quote from: franco on August 15, 2024, 01:33:52 PM
Ok, and now:

# freebsd-version -u


root@localhost:~ # freebsd-version -u
13.2-RELEASE-p11
#20
Quote from: franco on August 15, 2024, 11:51:36 AM
Huh, it hasn't even booted the right kernel? oO
# uname -a

Result:

root@localhost:~ # uname -a
FreeBSD localhost.localdomain 14.1-RELEASE-p3 FreeBSD 14.1-RELEASE-p3 stable/24.7-n267778-bb2c86773c1b SMP amd64
#21
Quote from: franco on August 15, 2024, 10:45:59 AM
> pkg-static: Cannot delete vital package: opnsense!
IMO this sounds fishy. Try this:
# opnsense-update -p -A 24.7

Thank you for fast reply! Here are my results:


root@localhost:~ # opnsense-update -p -A 24.7
Updating OPNsense repository catalogue...
pkg-static: Repository OPNsense has a wrong packagesite, need to re-create database
pkg-static: https://pkg.opnsense.org/FreeBSD:13:amd64/24.7/latest/meta.txz: Not Found
repository OPNsense has no meta file, using default settings
pkg-static: https://pkg.opnsense.org/FreeBSD:13:amd64/24.7/latest/packagesite.pkg: Not Found
pkg-static: https://pkg.opnsense.org/FreeBSD:13:amd64/24.7/latest/packagesite.txz: Not Found
Unable to update repository OPNsense
Updating mimugmail repository catalogue...
mimugmail repository is up to date.
Error updating repositories!
root@localhost:~ #
#22
Steps I took:

1. Update to last 24.1 version from WebGUI. Went OK.
2. Upgrade to 24.7 from WebGUI. Seemed to be OK, until reboot. There was only shutdown sound, but then the box hanged, no boot-up sound after half an hour. Also no ping to LAN/WAN interfaces and no WebGUI/SSH access at this moment.
3. I restart the box the hard way (turning the power off//on). There is no boot-up sound. I try to access webGUI - no luck. Luckily there is SSH access. But when I try to run commands from SSH menu, the only response I got is:


ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"


(this line repeated twice).

And this moment there is Internet acess through the box and most of the firewall rules seem to be working.

The only SSH menu commands working are "Shell", "Firewall logs" and "Update from console".
The menu shows that the OPNSense version is still 24.1

When I try to use "Update from console" the process starts normally, I see the growing list of packaged fetched from repo. But in the end the following happens:


[93/93] Fetching py311-h11-0.14.0.pkg: .......... done
Checking integrity... done (0 conflicting)
pkg-static: Cannot delete vital package: opnsense!
pkg-static: If you are sure you want to remove opnsense,
pkg-static: unset the 'vital' flag with: pkg set -v 0 opnsense
ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"
ld-elf.so.1: /usr/local/bin/php: Undefined symbol "__libc_start1@FBSD_1.7"


So what I my options at the moment?

#23
Quote from: mimugmail on July 25, 2022, 06:39:05 PM
I meant going to sub menu server and hit save

Full success, now everything works correctly. Thank you for your help!  :D
#24
Quote from: mimugmail on July 25, 2022, 01:32:01 PM
You need to change it in General, hit save, go back to Server and there restart again.

I can't do that, because there is only service start button in Server tab, even if maltrail service is running (which I can check logging to it or seeing its status on Dashboard).



https://i.postimg.cc/Y9fcYjmH/2022-07-25-150752.jpg
#25
Quote from: mimugmail on July 25, 2022, 07:29:48 AM
Can you post a screenshot please?

Message about empty database shows and disappears immediately after that, so I can't catch it on screenshot.
The only thing which remains visible is simply login screen with "Login" and "Password" fields.

BUT

I disabled maltrail service, restarted OPNsense box, after restart I enabled maltrail, restarted box again and now it works - but with default password, which I cannot change from OPNSense GUI, even if the new correct hash is pasted in relevant place.
#26
Quote from: mimugmail on July 23, 2022, 10:23:12 AM
/usr/local/share, sorry

So wrong password hash was in conf file (one of 'changeme!'), after entering this password no data shows, except message "No events found". How can I repair maltrail?
#27
I found that hash in maltrail.conf file is that one for "changeme!" password, not the one set in OPNSense GUI.
So I used this password, circle "progress bar" appeared for a second and then just a small box with message "No events found".
#28
Thanks for quick reply. There is no maltrail" subdir in /usr/share:


root@localhost:~ # cd /usr/share/maltrail
/usr/share/maltrail: No such file or directory.

root@localhost:~ # cd /usr
root@localhost:/usr # cd share
root@localhost:/usr/share # cd maltrail
maltrail: No such file or directory.

root@localhost:/usr/share # ls
atf             examples        kyua            nls             syscons
bsdconfig       firmware        licenses        openssl         tabset
calendar        flua            locale          pc-sysinstall   tmac
certs           games           man             security        vi
dict            groff_font      me              sendmail        vt
doc             i18n            misc            skel            zfs
dtrace          keys            mk              snmp            zoneinfo
#29
I am trying to reach maltrail interface using correct password and it is rejected with message "Bad login and/or password". I verified password hash at "Services: Maltrail: General" tab on web GUI so I am sure I am using good password. I entered password both manually and by copy-pasting - no luck. I tried admin and root logins - still rejected.

#30
22.1 Legacy Series / Re: CPU load 99% after update
February 04, 2022, 11:45:21 AM
Quote from: Dantichrist on February 04, 2022, 12:15:00 AM
I had a similar issue awhile ago. I reset the netflow data in reporting>settings> reset netflow data, and that fixed the issue.You can also try the repair option that's on the same page.

Tried that but still no luck. ntopng is devouring all CPU power.