Opnsense pam_start(): System error

Started by agitech, October 27, 2023, 12:33:14 PM

Previous topic - Next topic
Hello, two or a few days ago I was trying to install an Opnsense update.
Can't remember everything, only some of them "can't remove the vital core" (or similar).
Result: The system now cannot start and I cannot log in.
When I enter my login (root) I get the message:

login : in openpam_load_module(): no pam_opnsense.so found
login : pam_start(): System error


Opnsense is virtualized on Proxmox. Everything was working fine until I tried to update it. Worked for about 6 months.
I recorded a video of the loading process.
The link is there - https://www.youtube.com/watch?v=ypWUA68ghzI
I think that only a reinstallation can solve the situation, but maybe there is a way to restore the system?

If you have SSH access via key it might let you log in.

At least one vital file is missing from the system. The best way to fix it (if you can gain access) is

# pkg upgrade -f

Otherwise an in-place reinstall (with config import) will also solve it.


Cheers,
Franco