Jul 15, 2003
14
0
151
Today i wanted to update my 7.4.0-STABLE_52 to the latest stable version because of the security issue.

So the upgrading began and I was working on another cpanel/whm box and unfortunatly I made a mistake and clicked an item in the menu of the box which was upgrading :(

Now if I try to do the update again on that box i just hangs after this message:


PHP version file is up to date
Doing a manual update...
Cpanel updates are coming from layer2.cpanel.net
Locking password for user daemon.
passwd: Success



The same if i do
scripts/upcp

from my console..

I also tried updating the scripts with
scripts/updatenow

But it doesn't solve the problem... anybody knows what to do??

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
What's in /etc/resolv.conf ?

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by ciphervendor
What's in /etc/resolv.conf ?

domain cpanel.megabithosting.nl
search cpanel.megabithosting.nl
nameserver 127.0.0.1
nameserver ipofmyothernameserver
nameserver ipofmyprovidernameserver



As you can see.. this looks good.. :S

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
I think it stuck on the sysup script... but i'm not sure..

If only there was a logfile which documented what went wrong.. :(

cPanel.net Support Ticket Number:
 

Higgins

Well-Known Member
Jan 31, 2003
82
0
156
We had the same issue for 2 Weeks or so. Try to rebuild the RPM Database in WHM. Thats fixed it for us.

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by Higgins
We had the same issue for 2 Weeks or so. Try to rebuild the RPM Database in WHM. Thats fixed it for us.
How long does this normally take? I'm waiting for 15 minutes now.. and it just says this:


D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.21349
D: creating directory /var/lib/rpmrebuilddb.21349
D: opening old database with dbapi 3
D: opening db environment /var/lib/rpm/Packages joinenv


cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Originally posted by megabithosting
domain cpanel.megabithosting.nl
search cpanel.megabithosting.nl
nameserver 127.0.0.1
nameserver ipofmyothernameserver
nameserver ipofmyprovidernameserver



As you can see.. this looks good.. :S

cPanel.net Support Ticket Number:
That is incorrect. It should be:

domain cpanel.megabithosting.nl
search cpanel.megabithosting.nl
nameserver MAIN-SERVER-IP
nameserver BACKUP-NAMESERVER-IP
nameserver ANOTHER-BACKUP-NAMESERVER-IP

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Well... I fixed the problem by doing a manual rpm database rebuild on my Redhat 9 box.


rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb


So if you cancel an upgrade and nothing else works including rebuilding your rpm database in WHM... try this. Worked for me.. my box is upgrading to the newest version again.

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by ciphervendor
That is incorrect. It should be:

domain cpanel.megabithosting.nl
search cpanel.megabithosting.nl
nameserver MAIN-SERVER-IP
nameserver BACKUP-NAMESERVER-IP
nameserver ANOTHER-BACKUP-NAMESERVER-IP

cPanel.net Support Ticket Number:
Well.. it isn't wrong really because I point the first one to my localhost which the nameserver is running on also. So it doens't matter if you use you localhost ip or your main server ip.

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Yeah actually it does matter if you use the loop back interface or not. And the second & third entries should not be hostnames...the point of the resolv.conf is to resolve hostnames not have them in the file itself.

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by ciphervendor
Yeah actually it does matter if you use the loop back interface or not. And the second & third entries should not be hostnames...the point of the resolv.conf is to resolve hostnames not have them in the file itself.

cPanel.net Support Ticket Number:
So that's why I am using ip's :)

Anyway.. the resolv.conf wasn't the problem but the rpm database was ;) Thnx

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Right...anyways...it's apparent you don't know how to admin a machine. I feel sorry for any site on your box.

cPanel.net Support Ticket Number:
 

sexy_guy

Well-Known Member
Mar 19, 2003
847
0
166
Originally posted by ciphervendor
What's in /etc/resolv.conf ?

cPanel.net Support Ticket Number:
Whats resolv.conf got to do with anything? :rolleyes:

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by ciphervendor
Right...anyways...it's apparent you don't know how to admin a machine. I feel sorry for any site on your box.

cPanel.net Support Ticket Number:
??? :confused:

Stepped out of bed with your wrong leg m8? :) Go pick on someone else.. I'm not here to argue with you :mad:

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Originally posted by sexy_guy
Whats resolv.conf got to do with anything? :rolleyes:

cPanel.net Support Ticket Number:
hhhmmm let's see....upcp stalls out....why would that happen...oh yeah...the box can't resolve **** or the box is on a shitty network.

cPanel.net Support Ticket Number:
 

sexy_guy

Well-Known Member
Mar 19, 2003
847
0
166
Originally posted by ciphervendor
Right...anyways...it's apparent you don't know how to admin a machine. I feel sorry for any site on your box.

cPanel.net Support Ticket Number:
resolv.conf has nothing to do with anything. Here we go another drip who throws the line " You dont know how to lalalalal" ye we know. Maybe you should be the one taking a crash course in adminstration here. Moron!

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Originally posted by sexy_guy
resolv.conf has nothing to do with anything. Here we go another drip who throws the line " You dont know how to lalalalal" ye we know. Maybe you should be the one taking a crash course in adminstration here. Moron!

cPanel.net Support Ticket Number:
Why don't you use the search button at the top and key in my username. Read my posts, you might actually learn something.

I'm serious...if you actually think that I don't know what I'm talking about...read my posts on this forum.

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by ciphervendor
hhhmmm let's see....upcp stalls out....why would that happen...oh yeah...the box can't resolve **** or the box is on a shitty network.

cPanel.net Support Ticket Number:
That could have been the problem.. but it wasn't :) as you can see I fixed it :rolleyes:

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Originally posted by megabithosting
??? :confused:

Stepped out of bed with your wrong leg m8? :) Go pick on someone else.. I'm not here to argue with you :mad:

cPanel.net Support Ticket Number:
Sleep is for the weak ;) Not arguing or picking on anyone...you didn't seem receptive to being told that the loop back interface wasn't cool (it creates dns cache, etc.) and will cause issues and yes...I did read over the last two lines in your resolv.conf file...

hey **** happens your box is running now...everyone is happy.

cPanel.net Support Ticket Number:
 
Jul 15, 2003
14
0
151
Originally posted by ciphervendor
Why don't you use the search button at the top and key in my username. Read my posts, you might actually learn something.

I'm serious...if you actually think that I don't know what I'm talking about...read my posts on this forum.

cPanel.net Support Ticket Number:
OMG! :eek:

This is going to far now.... I thought this was a forum for Cpanel issues... now it's getting to personal IMO.
Please close the thread.

I'm going back to work now... don't have time for this noncense :(

cPanel.net Support Ticket Number: