VSM Server wont start | ERROR vsmserver: Session database needs manual recovery

Hello there,

I’m running into an issue while trying to start vsmserver. I’ve tried upgrading to version 4.19 and ignoring the old config files during installation, but nothing seems to work.

OS: Red Hat Enterprise Linux release 8.9 (Ootpa)

Output from /var/log/vsmserver.log

2025-08-29 13:38:01 ERROR vsmserver: Error loading session database: Error unpacking /var/lib/vsm/sessions (pickle data was truncated)
2025-08-29 13:38:01 ERROR vsmserver: Session database needs manual recovery.
2025-08-29 13:38:01 ERROR vsmserver: Exiting

Anyone know of a fix for this? Or how to recover the session database?

Thank you,

Josh Burroughs

Hi @JLBurroughs,

Welcome to the forum.

It looks like the session database has become corrupted somehow. If you don’t care about the existing sessions, you should just be able to delete the session database file (/var/lib/vsm/sessions) and reboot the server to kill any orphan sessions.

It would also be worth looking in to any reasons why the database became corrupted, for example insufficent space on /var.

Hope that helps.

Hey there Aaron,

That fixed my issue, thanks for the help!

-Josh Burroughs

1 Like