Problem with updating HiveManager

  • 1
  • Question
  • Updated 5 years ago
  • Answered
I have update from HM 5.1r5 to 6.0. Then I read it was for SR only, so I went back to 5.1r4. Now when I want to upgrade to 5.1r5 I get the following error when I start te HiveManager:
Starting httpd: httpd: Syntax error on line 151 of /et/httpd/conf/httpd.conf: cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory
Photo of Jochem

Jochem

  • 5 Posts
  • 2 Reply Likes
  • frustrated

Posted 5 years ago

  • 1
Photo of Brian Powers

Brian Powers, Champ

  • 396 Posts
  • 92 Reply Likes
Jochem,

So that error is a bit overwhelming and I'm not exactly sure of the next course of action. However, to determine which code release is indeed running on your HM, you can SSH into it, issue the following prompts:

1.) SSH (via any SSH client) into the IP of your HM.
2.) Enter your login credentials
3.) 3. Advanced Product Configuration
4.) 1. Configure HiveManager
5.) 17. Display HM version

If you're still showing as running the 6.x code, you can also use command 6. - Revert to Previous Version of HM.

I hope that you have a database backup as I wouldnt recommend any dramatic changes like this without a recent backup. If you do not have a backup, I'd get open a support ticket and have them dig into the issue before making any changes at all.

Best of luck!
Photo of Scott M.

Scott M., Sr. Support Engineer

  • 104 Posts
  • 8 Reply Likes
Hello Jochem,

Is this HiveManager Virtual Appliance?

Are you looking for a root cause analysis or are you more interested in the fastest way to get up and running on 5.1r5?
Photo of Jochem

Jochem

  • 5 Posts
  • 2 Reply Likes
Hello Scott,

Yes this is on a HiveManager Virtual Applliance. I'm looking for a solution :)
With a lot of Linux experience a root login would be very welcome, but if there is a quick solution, that would be very welcome too.
Photo of Scott M.

Scott M., Sr. Support Engineer

  • 104 Posts
  • 8 Reply Likes
Hello Jochem,

Thanks for your reply.

"/et/httpd/conf/httpd.conf" might suggest there is an issue related to Apache.

In your reply you said you are interested in a quick solution. One can spin-up a new HiveManager and restore from backup in less than 30 minutes. You can get your license migrated by support. You will have a 30 day license on the new installation which will give you plenty of time to get your license migrated to the new HMVA.

If you want a root cause analysis, I recommend opening a support case and we will research the root cause.
Photo of Jochem

Jochem

  • 5 Posts
  • 2 Reply Likes
Hi Scott,

Maybe I can wait for the 6.0r2 update, then I can upgrade the access points too and everything should work fine.
Another thing I've done, is booting with an linux boot cd on the HMVA. Then I mounted the HVMA partion and looked at the httpd.conf. I can't discovery what is wrong.
"Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory"
But I saw a mod_authn_alias.so in /etc/httpd/modules/ with owner root:root and 755 file params, like all other modules.
Photo of Scott M.

Scott M., Sr. Support Engineer

  • 104 Posts
  • 8 Reply Likes
Hello Jochem,

Are you getting this issue after using the HiveManager firmware to perform an in-place upgrade, or does it happen after creating a new instance of HiveManager and then migrating the database.... or both.

6.0r1 was actually finalized before 5.1r5 which explains why the migration is not smooth/possible. Your idea of waiting for 6.0r2 is a good one. However, you should still have a back-up of your 5.1r4 database. I don't see any reason why you could not spin-up a new instance of HiveManager 5.1r5 and then migrate the database from an older 5.1r4 backup. This promises to be the fastest and cleanest way to resolve your issue.