Submitted by SSLu on Wed, 02/19/2014 - 22:12
Hi
I am trying to update my virtualmin to the latest version but I am unable to do so from the virtualmin interface. on the virtualmin package updates page, it says that there are no virtualmin updates for my server.
I believe there are updates. Please assist.
Best regards
SS Lu
Status:
Active
Comments
Submitted by andreychek on Wed, 02/19/2014 - 22:34 Comment #1
Howdy -- yeah, version 3.77 is a bit older, there are indeed updates to that.
What output do you get if you run these two commands:
ls /etc/yum.repos.d/
cat /etc/yum.repos.d/virtualmin.repo
Submitted by SSLu on Thu, 02/20/2014 - 06:49 Comment #2
Hi
When I run
ls /etc/yum.repos.d/
I get the following :
[root@ns5 ~]# ls /etc/yum.repos.d/ CentOS-Base.repo CentOS-Media.repo utterrambling.repo.bak CentOS-Debuginfo.repo CentOS-Vault.repo virtualmin.repo.rpmsave
Best regards
SS Lu
Submitted by andreychek on Thu, 02/20/2014 - 08:35 Comment #3
Ah, it looks like your virtualmin.repo file was renamed, and yum is no longer seeing it.
Try running this command:
mv /etc/yum.repos.d/virtualmin.repo.rpmsave /etc/yum.repos.d/virtualmin.repo
After that, run "yum update" on the command line, and it'll update all your packages, including those from Virtualmin. The most recent Virtualmin version is 4.06, which should be downloaded by running that command.
Submitted by SSLu on Fri, 02/21/2014 - 00:36 Comment #4
Hi
I have done the yum update as posted above.
The updates went through. Do I need to reboot the server after this? I re-login via the web interface after the updates were done and my virtualmin still shows V3.77 Pro.
Best regards
SS Lu
Submitted by andreychek on Fri, 02/21/2014 - 00:40 Comment #5
You should not need to reboot.
What output do you receive if you run this command:
rpm -qa | grep virtual-server
Submitted by SSLu on Fri, 02/21/2014 - 01:00 Comment #6
Hi
Here's what I get
[root@ns5 ~]# rpm -qa | grep virtual-server wbt-virtual-server-mobile-2.3-1 wbt-virtual-server-theme-7.7-1 ust-virtual-server-theme-6.9-1 ust-virtual-server-mobile-2.1-1 wbm-virtual-server-3.77-1 [root@ns5 ~]#
Submitted by andreychek on Fri, 02/21/2014 - 08:45 Comment #7
Okay, what are the contents of your virtualmin.repo file? You can determine that with this command:
cat /etc/yum.repos.d/virtualmin.repo
Submitted by SSLu on Fri, 02/21/2014 - 20:45 Comment #8
Hi
here are the contents of the virtualmin.repo file
login as: root root@210.193.7.13's password: Last login: Sat Feb 22 10:21:14 2014 from bb116-14-57-118.singnet.com.sg [root@ns5 ~]# cat /etc/yum.repos.d/virutalmin.rep [virtualmin] name=Red Hat Enterprise $releasever - $basearch - Virtualmin baseurl=http://75800:57CE864BB@software.virtualmin.com/rhel/$releasever/$basearch/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin gpgcheck=1
[virtualmin-universal] name=Virtualmin Distribution Neutral baseurl=http://75800:57CE864BB@software.virtualmin.com/universal/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin gpgcheck=1 [root@ns5 ~]#
Now I have another problem. I am able to ssh into my server but the virtualmin web interface is not coming up on the browser. when I try to connect to https://myserveripaddress:10000, firefox just comes back with a server taking too long to respond message and times out.
Submitted by andreychek on Fri, 02/21/2014 - 21:04 Comment #9
Hmm, it looks like your file is actually spelled as "virutalmin.rep" currently.
In order to work properly, it should be spelled as:
virtualmin.repo
Without the ".repo" extension, yum won't see it there.