Skip to main content

upgrade centos and webmin

Posted by rmrg on Sun, 05/08/2011

I have Thirdlane MTE with PBX Manager 6.1.1.7
I would like to update Centos (currently 5.2) and webmin (currently 1.470) versions, that are very old.
When I try to update webmin from the web interface I receive the following error:

Downloading http://www.webmin.com/cgi-bin/redirect.cgi/upgrade/ (263 bytes) ..
Can't upgrade from www.webmin.com : Missing Location header

So, my questions are:
1.- How can I upgrade webmin?
2.- Can I upgrade Centos with just "yum upgrade" command?
3.- By doing this will affect Thirdlane?

Please advice,
Thank you,
Regards,
RMRG


Submitted by eeman on Sun, 05/08/2011 Permalink

manually download the rpm, that particular version had a bug preventing upgrading in that way.

'yum update' is what you need to execute. when you run a new kernel you'll not have asccess to dahdi drivers. So you'll need to upgrade those as well. Once you're running new dahdi drivers asterisk will need to be re-compiled from a 'make distclean' state.

Submitted by rmrg on Mon, 05/09/2011 Permalink

I just downloaded the new RPM and already installed it.
Could you please specify more about the operating system upgrade?
- Where can I download the dahdi drivers from?, anyway I don't have any E1/T1 cards installed in my Thirdlane MTE.
- Once done "yum update", how can I recompile thirdlane, just typing "make distclean"? in what folder?
Please advice.
Thank you,
Regards,
RMRG

Submitted by raven on Wed, 05/11/2011 Permalink

If this is a production box with actual customers, and you are not familiar with compiling asterisk, I would advise that you should NOT attempt a full yum update operation. 'Makdistclean' state means you will recompile asterisk. If you have never done this, and this is a production machine, again, you should abort this plan and consult someone who has. But if you have compiled asterisk, by all means, knock yourself out with that if you want to go that far.

I would try unloading the Thirdlane module out of Webmin, using whatever means you used to install Webmin to remove it. Don't touch the asterisk. Then re-install webmin and thirdlane module. Be sure to back up your Thirdlane first with it's backup operation.

Probably the best solution is to always have 2 MTE servers and do your version control roundrobin style, meaning one gets done, customers moved, then the other stays on the old until it is time for the next upgrade.

Probably the biggest question you should ask is why you want to upgrade Webmin. If the asnwer is just, 'I pushed a button that says 'Upgrade Webmin'...

That is not a good reason.