OPNsense Forum

English Forums => General Discussion => Topic started by: agitech on October 27, 2023, 12:33:14 pm

Title: Opnsense pam_start(): System error
Post by: agitech on October 27, 2023, 12:33:14 pm
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:

Code: [Select]
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?
Title: Re: Opnsense pam_start(): System error
Post by: franco on October 27, 2023, 12:41:35 pm
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