back to the other post..
maybe if you reinstall the latest up2date rpm it will fix the problem. I would try to remove it first with `rpm -e up2date` |
How would someone upgrade their rh8 install using apt-get? Just curious.... I'm leery of going back to red hat to try the up2date thing again...
|
Quote:
Then go back to https://rhn.redhat.com and install a working up2date version as explained. When you're done with that, configure up2date as suggested earlier. If you get the mysterious I/O error again upon accessing the config file, you have a much bigger problem lurking somewhere. |
Ok, when I did that, I got a message
"warning: /etc/sysconfig/rhn/up2date saved as /etc/sysconfig/rhn/up2date.rpmsave" what does this mean? btw, I'm @home, with the normal firewall settings.:Pengy: |
That means, that the information we get from you is pretty inaccurate and not helpful upon analyzing your problem(s). Some time ago you wrote you get an input/output error upon reading up2date's config file. Then you didn't pay attention to what DavidPhillips asked you to enter. And now RPM saves up2date's config file, so you don't lose it upon erasing the up2date packages. You can keep the up2date.rpmsave file and restore it after you have installed up2date again. Or you can delete it and configure up2date from scratch. RPM tries to be helpful, so you don't lose changes in config files.
Anyway, before you install up2date again, you should visit your Red Hat Network account at https://rhn.redhat.com and get rid of old system profiles. Make sure you have a free entitlement before trying to register your machine again. |
Should be installed now Blackrose1, althoug it seems that it did not uninstall first. That's why you had the file that was saved.
Try it and check the log file. /var/log/up2date |
I have tried everything in this thread about 10 times, but still cant
run the 'up2date --register' command. either from KDE or the console. Program just hangs, until I kill it. Then get the following message: There was an SSL error: Possible cause system time is wrong. bla bla bla The system time is not wrong.... )-; wget works to get files and Mozilla works half the time, so I have connectivity. Mozilla loads some pages, but not others. Loads Yahoo.com but not google.com. Loads the front page here, but not the forums or FAQ. Can get to about 1/2 of redhat's site.... Have forced install of the up2date-*, db4-*, openSSL* rpms. No help. Tried with both the 2.4.20-6 and 2.4.20-6smp kernels. Same. Was half way thru setting up 2.4.20-8smp kernel when I got all fed up with having to recompile and install the network card drivers for the nth time and yanked the plug and came here. Machine is P4 2.4c on Asus P4P800mb. Pretty sure there is no problem with the hardware or LAN as I am using the Win98 install on the C: drive to post this. (Linux has the D: drive. grub works fine) Any ideas ? I am at a loss. |
The up2date should have been updated not force installed, I'm not sure what that did if anything with the old one.
The problem where we were force installing the up2date was on a system where it's already been updated. Anyway it sounds like you have other issues that should be fixed first, then see if the problem with up2date still exists. The first thing to check is DNS look at /etc/resolve.conf and run dig with the nameserver ip addresses in the file.. david@zeus david]$ cat /etc/resolv.conf nameserver 209.63.0.2 #kppp temp entry nameserver 207.173.86.2 #kppp temp entry [david@zeus david]$ dig @209.63.0.2 google.com ; <<>> DiG 9.2.1 <<>> @209.63.0.2 google.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48212 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 300 IN A 216.239.57.99 google.com. 300 IN A 216.239.37.99 ;; AUTHORITY SECTION: google.com. 290873 IN NS ns1.google.com. google.com. 290873 IN NS ns2.google.com. google.com. 290873 IN NS ns3.google.com. google.com. 290873 IN NS ns4.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 117862 IN A 216.239.32.10 ns2.google.com. 117862 IN A 216.239.34.10 ns3.google.com. 117862 IN A 216.239.36.10 ns4.google.com. 117862 IN A 216.239.38.10 ;; Query time: 359 msec ;; SERVER: 209.63.0.2#53(209.63.0.2) ;; WHEN: Sat Nov 15 16:17:59 2003 ;; MSG SIZE rcvd: 206 [david@zeus david]$ dig @207.173.86.2 google.com ; <<>> DiG 9.2.1 <<>> @207.173.86.2 google.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35349 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 300 IN A 216.239.37.99 google.com. 300 IN A 216.239.57.99 ;; AUTHORITY SECTION: google.com. 308296 IN NS ns1.google.com. google.com. 308296 IN NS ns2.google.com. google.com. 308296 IN NS ns3.google.com. google.com. 308296 IN NS ns4.google.com. ;; ADDITIONAL SECTION: ns1.google.com. 135496 IN A 216.239.32.10 ns2.google.com. 135496 IN A 216.239.34.10 ns3.google.com. 329781 IN A 216.239.36.10 ns4.google.com. 329781 IN A 216.239.38.10 ;; Query time: 229 msec ;; SERVER: 207.173.86.2#53(207.173.86.2) ;; WHEN: Sat Nov 15 16:18:42 2003 ;; MSG SIZE rcvd: 206 looks like DNS is working. run ifconfig and look for errors.. [david@zeus david]$ /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2855 errors:0 dropped:0 overruns:0 frame:0 TX packets:2855 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:125032 (122.1 Kb) TX bytes:125032 (122.1 Kb) ppp0 Link encap:Point-to-Point Protocol inet addr:208.186.45.99 P-t-P:207.173.3.83 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1291 errors:0 dropped:0 overruns:0 frame:0 TX packets:1405 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:494448 (482.8 Kb) TX bytes:185148 (180.8 Kb) check to see if you have a firewall and how it's configured. check /var/log/up2date and /var/log/messages Do you have a proxy server, router or anything else your going through on your end? |
Thanks for the reply Dave, but it is still no go...
DNS looks ok. Same results with iptables on, or firewall disabled. Pretty sure it isnt a router issue, as one of the 3 other machines I put RedHat on in the last 2 weeks is on it also, and is running 2 UT servers and ftp with no problems. All 3 other machines installed and ran up2date just fine. (AMD550, P3-800EB & P3-S 1266 systems) Bit more info. When I attempt the cert update via that wget command, I got a SSL Connectivity error. I nuked the partition and reinstalled again, tried with both the smp and regular kernels. Same on both. Could this be a problem with the network card drivers ? The P4 2.4c that is having this problem is in an Asus P4P800 mb. It has an onboard LAN card. 3Com 3C940 The only thing that goes different with the install on the machine in question it anaconda doesn't detect the eth0, and I have to install the cards drivers 3c2000.o Tried 2 different versions of these... It just seems too bizzare that it does get online, and loads some sites but not others... Next I am going to try disabling the onboard lan and throw a DLink or 3com 530tx card in there and see what happens. If you have any other ideas, I am open to suggestions. I was hoping to get an OS on that would use my chips HT feature. |
Well I'll be. It is a hardware/driver issue. Just stumbled across this:
http://www.linuxquestions.org/questi...ighlight=3C940 Going to try the patched driver mentioned there. Up2date will probably work once I get that installed and can get to google and rhn. (I hope) |
Apt is great. The funny thing is the RH Up2Date Icon still works on the GNOME desktop, so I know exactly when to run Apt. Great stuff.
|
My experiences
Just to add my experiences to possibly help others.
I have never been able to get RH9 up2date working on my works network, (uses NT server with MS Proxy server) I recently built a Linux Server (RH9) at home and got up2date working ok after downloading the latest rpm's. Got all the latest updates no prob, but when I brought it into work and put it on the network here it failed to connect. I could http & https no problem but kept getting SSL errors with up2date. (the error where it suggests the clock is wrong!) After trying just about everything I hit on the answer this week. I had enabled Proxy authentication and put username and password in, but I hadnt put the port number after the proxy IP. I have spent a couple of months looking for answers to this on the net without success, so thought I would share this in case anyone else is having this problem. Ok so its a dead simple solution but sometimes the simple things cause the biggest problems. WHEN SETTING UP UP2DATE ON A NETWORK USING PROXY SERVER THE PROXY ADDRESS SHOULE BE ENTERED AS:- If your proxy IP is 192.168.1.1 and it uses port 80 for http/https then in up2date enter the proxy address as:- 192.168.1.1:80 |
Another common problem that has been found is if your date/time is off by too much! Make sure your date and time are correct.
|
Re: My experiences
Quote:
I recommend trying different settings with the up2date --configure (or rhn_register --configure) settings for proxy servers. There are so many different option. First and foremost, you need to get the IP address:port correct. Then you need to understand if there is uername/password authentication. These are the 2 things that most people get cuaght up on. As an FYI, the up2date agent mostly connects on TCP on port 443 (some on port 80) but you need to make sure your proxy server allows this connection through. |
Ok. I did something really stupid (relative newbie here). I read that I had to delete the contents of the
/etc/sysconfig/rhn/, which I did, then re-register my PC on rhn. This I did and then when to rhn, put in my regi info, downloaded the up2date files, both of them, then tried to install then with rpm -Fvh *.rpm. I got the following. 1:up2date ########################################### [100%] and that was it. When I try to run up2date, to get the updates, I get the following : up2date --register warning: can't access /etc/sysconfig/rhn/up2date warning: can't access /etc/sysconfig/rhn/up2date-uuid No rhnuuid config option found in /etc/sysconfig/rhn/up2date-uuid. Obviously, I did something BAD. by deleting the files in the rhn dir. When I click on the rhn button on the bottom of the page, first I get a bubble popping up saying "Unable to connect to rhn, then once I have clicked the button, I get a Network Error -2: Name or service not known error. This I don't understand since I am online and have loged onto the rhn. Then another window pops up asking me to register my sytem, which I click then nothing. I have had a look on rhn, sure enough, my system isn't registered. This whole thing is driving me wild. Help someone please. |
just download and install the up2date rpm
wget ftp://rpmfind.net/linux/redhat/updat...3.2-1.i386.rpm rpm -Uv up2date-3.1.23.2-1.i386.rpm or if install fails, this rpm -iv --force up2date-3.1.23.2-1.i386.rpm |
I have a bash problem.
I reinstalled rh8. three times. and instead of wrestling w/up2date and all of it's issues, I tried to use apt instead. I learned that I had an issue w/the rpm database and I went to rpm.org, followed instructions, rebuilt the database (twice) and now when I try to run apt nothing happens. I tested bash in root w/ "bash test" and get this back test :/usr/bin/test: cannot execute binary file |
Actually up2date has no problems in my opinion. Just need to download and install the new version.
`bash test` is an invalid command as far as I can tell There is probably nothing wrong with bash on your system if that's the only issue. |
HTTPS
I'm totally lost:
All methods didn't work, RPMs don't install, Manual Certificate Copying didn't work. Ignoring dependencies didn't work. I notice when I run rpm... that the prompt returns quickly without any output as if it did nothing. Same when installing certificates manually using install ... Also, my computer fails to connect to any thing on the 443 secure http port from the web browser. Any help is highly appreciated P.S. I am new to Linux |
Append to last post
I removed up2date and up2date-gnome using rpm -e. Then I ran the new packages by mouse double-click. they installed. Now the RHN icon shows red ! instead of the hated gray ? and says 69 updates are available. Fine so far, but when I click Launch up2date, no response. And still, I cant connect to any https from Mozilla.
|
So you have no up2date problem. Your problem is you are not connected to the internet.
Once you have that working you should be ok. |
appendix 2
Now up2date worked. After being silent for a long period, it said my account with RHN was disabled. I enables it and it started downloading these 69 updates. So I have functional up2date at the moment I guess, but I'm left with the intermediary problems:
1- Why https is not working? 2- Why RPMs does not install from command prompt although they do from GUI? |
what's the error for each problem?
|
No Error Message
Nothing, after trying for a minute to an https in Mozilla, it says time out. And RPMs don't install from command prompt, the prompt just return as if you only pressed enter.
|
what's your firewall settings?
have a look at /var/log/messages For the rpm problem try this rpm --rebuilddb |
Not yet
I didn't set any firewalling on this machine. But however, how can I check if there is any filtering through command prompt?
I rebuild the rpm database, still rpm from command prompt is just like pressing enter. I have a new test machine, the https in browser worked but rpm does the same ignorance. I'm thinking to get a new RPM software, what do u think? Regarding var/log/messages, it does not contain any "443" or "https" string. |
iptables -L
|
IPTables
If this manipulates IP Routing Table on the machine, I am scared to try it. This machine is a squid proxy with ISA2000 as parent. I had bad time convinving it to work.
|
Quick question about up2date (GUI) applying an RPM...
I just installed RH9 and am applying the updates. Update agent says that I need to install redhat-config-printer-0.6.47.11-1 and have redhat-config-printer-0.6.47-1 installed. When I click next, it attempts to resolve the pre-reqs etc. and determines that redhat-config-printer-0.6.47.11-1 is already installed. What's up with this? |
Don't know but you should try upgrade first
rpm -Uv filename if you want to you could force it with this rpm --force -iv filename |
Ok, here's a question that I have, and it's totally bugging me.
I recently reformatted my system, tried some other distributions, played around, and in general did non-Red Hat things. However, I'm back to RH9, and I can no longer up2date! rhn_register forces me to make a new account, which I don't want to do. There's no setting for this in up2date --configure either. The closest thing I can find is the rhuuid. But rhn.redhat.com doesn't have this information for me. Assistance? Thanks. |
up2date --register
then check current member, enter name and password |
If this is being done in X, that is the problem, I'm currently doing this over putty (I'm at work), and even if I do it at home, I don't have XFree installed yet.
[edit] Stupid question, stupid answer. Putty had been jumbling the text (moving it around), and I forgot to verify my password, that was the only thing stopping me from loging in. Sorry! |
Several files with errors
When downloading with up2date I get gpg errors with several files. Hard to believe that so many files are corrupted on the RedHat site. It is mostly with the large main files. kdecommon - xfree86 etc.
What is the best procedure to follow to fix this? |
If your using RH 8 I believe it's about to be or already is no longer supported anyway.
|
That's why I'm trying to get it fully patched before the pull the plug.
|
same problem with me, I'm using Red Hat Linux 2.1. I have successfully registered my system on RHN but when I am going to run the commoand up2date ...it show the first chanal screeen but on second step collecting pakages it held on 2%...can any body help me in this regard
|
try running this from the command line
up2date -u |
up2date errors - no solution yet!
Don't know how it broke, but up2date is giving me the errors below. I have tried removing all the files from /var/spool/up2date, but this did not help.
> kernel 2.4.20-28.8smp > up2date-3.0.7.2-1 - My entitlement is up to date, so that is not an issue. - I found some other threads with these exact same errors, but no working solutions have been posted thus far.... Does anyone know how to fix these (apparently Python) ~dean ]# up2date -fuv Traceback (most recent call last): File "/usr/sbin/up2date", line 801, in ? main() File "/usr/sbin/up2date", line 573, in main fullUpdate, dryRun=options.dry_run)) File "/usr/sbin/up2date", line 737, in batchRun batch.run() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 55, in run self.__findPackagesToUpdate() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 86, in __findPackagesToUpdate plist.run() File "/usr/share/rhn/up2date_client/packageList.py", line 85, in run self.addObsoletePackages(obsList) File "/usr/share/rhn/up2date_client/packageList.py", line 109, in addObsoletePackages for p in obsoletePackages: TypeError: iteration over non-sequence up2date |
Up2date
Unable to find this issue and it is bugging me.
When I do an 'up2date', DL and install go just fine, but when I restart my machine, there are now 3 'versions' (?) of RedHat 9 on my screen (I have used the 'up2date' feature twice since initial install). Does RH9 retain all previous 'up2date' installations so you can revert to an earlier install if a problem is encountered? Does this sort of emulate Windoze XP 'restore' feature? |
those are RH9 kernels. Well, those are just kernels really. It's not smart to boot into an older kernel unless a new one fails to boot.
It's a fail safe. ...sure, it's system restore, Windows just stole it from Linux (duh) :D. |
Thanks for the info - I was afraid I had installed 3 separate OS. I suspected it was a 'restore' and I believe you that Window$ purloined form Linux. :-)
|
You can 'kinda' say that you have 3 seperate OSes installed... kinda. The different is, it's just a kernel. You don't have 3 calculators, and 3 notepads, 3 scandisks, and 3 defragmenters installed.
1 set of applications, 3 kernels. Good stuff :). |
:D Dude, THANK YOU! You are a life saver!!
<Where do i send the check?> :cool: |
In order to get my Up2date working, I just removed the s from the https://, I can't remember exactly where I did it, except that it was in a configurations window, not in console, I was very tired and frustrated at the time, but maybe you can find this helpful.
|
ok heres another 1 for u guys not shure if it is directly related to up2date or not but ill give you what i have
[root@GW root]# up2date --nox -u Traceback (most recent call last): File "/usr/sbin/up2date", line 993, in ? main() File "/usr/sbin/up2date", line 612, in main up2dateAuth.updateLoginInfo() File "up2dateAuth.py", line 112, in updateLoginInfo File "up2dateAuth.py", line 96, in login File "up2dateAuth.py", line 48, in maybeUpdateVersion File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 151, in getVersion release, version = getOSVersionAndRelease() File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 144, in getOSVersionAndRelease raise up2dateErrors.RpmError( up2date_client.up2dateErrors.RpmError: RPM error. The message was: Could not determine what version of Red Hat Linux you are running. If you get this error, try running rpm --rebuilddb root@GW root]# rpm --rebuilddb error: db4 error(16) from dbenv->remove: Device or resource busy [root@GW root]# ps had a few db probs but ran "rpm -initdb" and "rpm -rebuilddb" |
a similar problem here, but i feel it's masochistic in nature.
i got rh9 shoehorned into reiserfs partitions, with hdparm -a64 -c3 -d1 -k1 -m16 -n1 -u1 -X67 /dev/hda /dev/hdb. this puppy just screamed along fine until i went from rh's 2.4.20-30.9 to kernel 2.6.4. i did check the option for "configuration change" on the gui. now i get this: [root@owensby root]# up2date rpmdb: unable to join the environment error: db4 error(11) from dbenv->open: Resource temporarily unavailable error: cannot open Packages index using db3 - Resource temporarily unavailable (11) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/sbin/up2date", line 993, in ? main() File "/usr/sbin/up2date", line 612, in main up2dateAuth.updateLoginInfo() File "up2dateAuth.py", line 112, in updateLoginInfo File "up2dateAuth.py", line 96, in login File "up2dateAuth.py", line 48, in maybeUpdateVersion File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 151, in getVersion release, version = getOSVersionAndRelease() File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 134, in getOSVersionAndRelease for h in ts.dbMatch('Providename', "redhat-release"): TypeError: rpmdb open failed [root@owensby root]# did i leave something unchecked in the kernel config? is up2date totally incompatible with the 2.6 kernels? if the config change option is unchecked, it still does the same thing. -O. |
i would suggest getting rid of or not using up2date, and trying apt or yum or something else,
synaptic for gui users. When i was using redhat i remember up2date panel disappearing sometimes and i had once to reinstall it because of a bug(i followed instructions on redhat web site). rpm are terrifics...maybe because i've been using debian for few years. I remember rpm hunting and dependencies or not seeing all available packages to install graphically(stuck with that funny GUI displaying only majors categories), hopefully there was the command line. Now i can't even think about using a rpm based distro , because personnaly(personnaly !!) i don't like rpm(package management), ram usage of redhat(slow and old pc),.... |
Any idea of what happen as script can't write /usr/share/rhn/RHNS-CA-CERT? I have root command. see below. But first remove /usr/share/rhn/RHNS-CA-CERT and also remove GPG-KEY because it will keep saying that I already has those files there so won't do anything, the trick is to remove those 2 files. But now, trying to downloading new-cert.sh via wget command, but cannot write to /usr/share/rhn/RHNS-CA-CERT? what i am doing wrong, need help? Have been reinstall more than 5 times so far, first modem, kppp, and now up2date? Thought it was cakewalk, but it didn't. Oh well, need your help, thanks.
[jlukocs@localhost jlukocs]$ su Password: [root@localhost jlukocs]# wget -q -O - https://rhn.redhat.com/help/new-cert.sh | /bin/bash The script cannot write to /usr/share/rhn/RHNS-CA-CERT Please run the command as root (in a shell -- use the "su" command) |
I've read most of this thread and still can't figure out my problem. I updated the rpm's for up2date and updated the certificate. This solved part of my problem. Whenever i run up2date, it would freeze before it even started downloading the updates. After i did the 2 things mentioned above, i was able to at least start downloading. It only downloads 1-2 files if that then freezes again.
I tried running up2date -u and had the same problem. Any idea as to why it keeps freezing? Is there any other up2date servers other than the default? Maybe my connection to that server timesout or something, anyone know a dif address i could try? Running Redhat 9.0, fresh install. AMD XP 2100+ 512mb ddr pc2700 WD 80gig 7200rpm |
All times are GMT -5. The time now is 05:24 AM. |