CentOS 5 :: RPM Tail Chasing Clobbered Yum Upgrade
Mar 28, 2011
I have had update problems for a very long time in my desktop e-machine. Maybe since 5.3. Usually something about Gwenview and other things. And, while --skip-broken got other packages updated, sorry, an incomplete update just isn't acceptable. Because of this I stopped using Centos for a long time. Yesterday, I got ambition and gave it another try. I had a lot of yum upgrade failures when upgrading 5.4 to 5.5, using --skip-broken.
I decided to fix things or delete Centos completely. But, I like the idea of free R****t. I realize this may have been posted, but I had no luck finding it via Google, So I started Googling. I soon found the --disablerepo option, and playing with repos, got most of the failures to upgrade. But, still hung up on a lot of stuff, like 11 packages or more.
Next, I learned about yum-prioroties and setting repo prorities. Yum-priorities was already installed, but I did go in and set the priorities. Since Google has a lot of information on this, I will not repeat here. You go into the repo config files and add a priority number to each repo listing. Here is a script to display repo priorities that I found online, sorry, I lost the author:
[Code]...
View 5 Replies
ADVERTISEMENT
Sep 22, 2010
I was having problems with using sound in 9.04, and decided that I needed to upgrade to 10.04
So, did a bit of cleaning up, before doing a backup to another disk. In the process of cleaning up, I removed, what I thought was "just" sqlite, but it removed firefox, kmail, nautilus, networking, internet, just about all menus, the whole system is shot.
Fortunately, I use simple backup, and was able to 'see' that a full backup was done yesterday, and an incremental just before my 'clean up'. The sbackup only does /home , and system data held in /etc,/usr/local and /var , so not ALL of the system is in the tar files.
Now when I boot into Ubuntu, it just goes to a command prompt. To copy those .tar files to another drive on the same computer, I need to run nautilus or similar, but can't, as no internet. The same with sbackup, basically it won't run anything. I did try the 'recovery option in GRUB, still no go.
I do have Beyond compare on the Ubuntu box, and I _think_ it may be ok to run, and possibly copy those .tar files across. As it won't even do a 'mount' either, I can't copy to CD, or load a USB stick, etc, etc.
I'm 99% certain that the .TAR files will be all that I need. They have all the data, and all the config. type files.
Just wondering if there is any method to get Ubuntu 9.04 up and going again, like a restore point I guess. But, every time I tried using apt-get, it wanted the internet, which is not working on Ubuntu (fortunately I have XP on this same computer, and can connect).
The XP computer can't access the Ubuntu HDD, but Ubuntu can access the XP HDD, and copy to it, but ONLY if I can mount the XP drive first.
So, I guess even if I could do a mount of that XP HDD from Ubuntu, that will be a start.
View 9 Replies
View Related
Apr 21, 2010
I am attempting to install BrainStorm from source. ./config ran with no errors, however this it the output from make
View 4 Replies
View Related
May 8, 2011
I am trying to use tail -f and play a sound everytime a new line appears. I tried this: for i in tail -f myFile; do aplay alert.wav; done; Which kinda worked, the output is:
Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Playing WAVE 'alert.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
But after 3 times it stops, and I would like to print the tail -f result and not the aplay result. How could I achieve that?
View 1 Replies
View Related
Jun 6, 2011
I have installed Ubuntu 11.04 over the weekend and wanted to tail the logs whilst doing so stuff. When I browsed to the folder after getting an error trying to tail, I noticed that the messages file does not exist.
Usually use tail -f /var/log/messages
View 3 Replies
View Related
Jul 30, 2010
I was using Opensuse on Virtualbox earlier today. I issued the tail -f /var/log/messages command on Opensuse 11.3 to see the messages. Then I logged in from my Mac into Opensuse 11.3. I noticed that Opensuse was displaying realtime messages of the things happening. For eg, I entered a wrong su password and it displayed that too. But no such things were happening on my Fedora 13 installation. So is there any way if I could get some realtime messages on Fedora 13 too like the one on Opensuse..?
View 4 Replies
View Related
Jun 20, 2010
I was recently looking into using tail -f to monitor some text files like so: tail -f /var/sometext However, when I did some testing, it doesn't seem to work. What I did was I created a new file and ran: tail -f /home/name/text Then, I opened the log in vim and did some editing, saved it, and it seems that tail is not "seeing" the change.
The weird thing is, running echo "hello" >> /home/name/text seems to work fine (tail sees the change). I read somewhere this has something to do with file descriptors and new inodes being created when saving a file.
View 3 Replies
View Related
Jul 28, 2011
I need to tail -f a log file that is rotated.
This is the exact same issue as the one here, but on OS X:
Why does less tail mode stop working?
So how can I constantly track a file whose inode might change under OS X?
View 1 Replies
View Related
Jan 18, 2010
tail -f <filename> is not working as planned on my Ubuntu 9.10, it doesn't show the appended data.tail -F works, but it does not append the new line, it reopens the file with the message: "tail: <filename> has been replaced; following end of new file"
View 4 Replies
View Related
Mar 23, 2011
Is there a way to tail a log file and send each line as a syslog event to a remote server?
View 1 Replies
View Related
Jan 1, 2010
am facing a problem with tailing a log file. Logs of application located in one folder:applog_20100101_0200.log <--log until 2 am january 1applog_20100101_0456.log <--log until 4:56 amapplog.log <-- current logApplication can change log when ever it wants to. I need to monitor this log, what i do:tail -f applog.logBut when app changes log my tail just stops. How can i tail applog.log all the time with out stops?
View 7 Replies
View Related
Sep 29, 2010
I need to printout auth.log each line by log event, I think it should be running using the following command:
~# tail -f /var/log/auth.log | lpr
but it's not, why?
the lpr package already is installed in myserver, there is no problem to print directly.
~# cat /var/log/auth.log | lpr
View 2 Replies
View Related
Oct 26, 2010
I am running a script with nohup and this generates a lot of logs.
In order to view the log I use tail -f nohup.out
The problem is that the info supplied by this command is not always the latest//sometimes I need to use the command again order to view the latest info added to the nohup.out file.
View 3 Replies
View Related
May 29, 2010
Installed Fedora 12 in vmware and during the installation of a professional program versioned 2003, following error encountered.
tail: cannot open `+124' for reading: No such file or directory
gzip: tmptarfile.tar.Z: not in gzip format
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
extract error, installation cannot proceed.
Checked the google and tried ncompress and export_posix2_version=199209, but the problem persists.Is fedora compatible to this program, MEDICI 2003 ver?
View 4 Replies
View Related
Feb 7, 2010
I'm running ubuntu 9.10 with the latest networkmanager (from ppa)I thought this could be wrong credentials setting, so i've tried a huge amount of setups (user: phonenumber, password: phonenumber, avp:telenor, seems to be the general consensus for how it should be)Is there something I'm missing or is there any way I could tail the output as NetworkManager tries to connect (hopefully seeing something like "wrong password" etc.)
View 6 Replies
View Related
Feb 1, 2010
I want to tail the latest log file in one command line. I dont know what command/option to use for the same.
View 5 Replies
View Related
Dec 21, 2010
How to print a sequence of line say line number 10 to 20 of a 50 line file ?
View 6 Replies
View Related
Oct 6, 2010
Following script name is 123.sh and I need to put this in the background if I do 123.sh -bg this will not bring me back to the prompt but echoes what ever I put (using echo hello >> /tmp/123) in to the /temp/123 file. the only way that I have found doing this is to do "nohup 123.sh &" to put this in to the background. Is this okay or is there any better way of doing this?
#!/bin/bash
# file name is 123.sh
tail -f /temp/123 | while read line
[code]...
View 6 Replies
View Related
Jul 4, 2011
I'm trying to write a script that will either tail or watch /var/log/messages for the words
PHP Code:
signal Gone into alarm state
From this line below.
I would then like the script execute:
And have run at start up.
I'm stuck with grep-ping only one word
PHP Code:
View 14 Replies
View Related
Jul 10, 2009
I have an intel DP35DP motherboard - ICH9 southbridge - set to AHCI mode. Working fine under 5.2. Yesterday I updated to centos 5.3, and got kernel 2.6.18-128.1.16 and now it can't boot. It hangs trying to read sata1 with DRDY errors and exceptions.So then I installed 5.3 from a DVD onto a new drive, and got kernel 2.6.18-128. This worked, most of the time, but occasionally gave me this error. I then updated my BIOS, and the error went away.Then I updated this new working drive to the latest kernel (yum update again) and got kernel 2.6.18-128.1.16, and now it wont boot again, with the same message.
ata1: failed to read log page 10h (errno=-5)
ata1.00 exception Emask 0x1 SAct 0x1 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000008
ata1.00: cmd 60/08:00:61:4b:38/00:00:3a:00:00/40 tag 0 ncq 4096 in
ata1.00: status: { DRDY }
ata1.00: revalidation failed (errno=-2)
ata1.00: revalidation failed (errno=-2)
[Code]....
View 2 Replies
View Related
Jan 26, 2011
have all ways been hiding in the background read not say a thinglets start well i look after 2 dell poweredge 2650 with 12 gig ram installed servers has been running fine onwell i though it was time to upgrade to 5 all went fine till reboot Memory for crash kernel (0x to 0x) not within permissible range ! well what i have been reading this is the norm for now What is mean by ignore it? LoLwell so i did the system keeps boot till i get to this linesbin/mingetty: /sbin/mingetty: cannot execute binary file alot, and it shows. INIT: Id "5" respawning too fast: disabled for 5 minutes ...so maybe its a memory issue so took 8 gig out left 4 in the system now it reboot alls good with only 4 gig of ram installed so is there a way to fix it to use all the ram can i get the system boot on 4 gig and then add the 8gig later on
View 7 Replies
View Related
May 20, 2010
I make upgrade from CentOS 5.4 to CentOS 5.5. Architecture is historical i386. On first boot my system was freezed by disabled earlier but not removed manualy writed xdm service. I disable it. But not found network. I see hardware address of card fe:ff:ff:ff:ff:ff. This address is not normal. But how to restore eeprom of this network adapter?
I don't think its trouble of new CentOS. I think this is random incident.Configuration of computer is Intel D510MO motherboard with integrated atom processor and realtek 8111dl nic. I know some trics about fix mac address in centos, but how to fix this address in bios?
View 1 Replies
View Related
Feb 25, 2009
I have installed CentOS 5.2, apache tomcat 5 already included, How can I upgrade tomcat to version 6 ?
View 1 Replies
View Related
May 7, 2010
I have encountered the same problem as indicated in this post: "udev hang after upgrade from 5.3 to 5.4"[URL]... I'm testing the upgrade path to centos 5.4 on several virtual machines prior to upgrading our production systems. I have upgraded centos 5.2 --> centos 5.4 and centos 5.3 to centos 5.4. In both cases udev hangs after the upgrade. The following message is displayed on the console: "Starting udev: Wait timeout. Will continue in the background [FAILED]"
I found another related post: "udev hangs on boot for a long time, suspect pam_console_apply"[URL]..So, I booted by VMs using the "udevdebug" option to grub and received the same error message - "udevd-event [###]: run_program: Waiting ## seconds for output of '/sbin/pam_console_apply /dev/..."
In my /etc/ldap.conf file "bind_policy hard" is commented out. I added a line "bind_policy soft" as described in the post and my VMs booted fine. NOTE: This problem is not encountered with a fresh install of CentOS 5.4 and the "bind_policy hard" option in the /etc/ldap.conf is commented out as in the upgraded systems. What is really causing this problem and how do I get it addressed? I have a couple hundred systems to update from various releases of CentOS 5 to the latest current version 5.4. It would be nice to get this bug squashed..
[Code]...
View 5 Replies
View Related
Jun 18, 2011
By invoking x11vnc with the -gui tray option the TCL/TK GUI attempts to embed itself onto the system tray, but I encounter the error message "tail: cannot watch /tmp/x11vnc.tray.*", after the first settings dialog approved [clicked OK]. I believe that a package is still missing to be installed and this is not really a software bug. I use the XFCE version shipped along F15, and the GUI can be started but not as a docked-applet.
View 3 Replies
View Related
Aug 5, 2009
there is a bug on the quad core B2 opteron cpu there is a beta patch available , but only for for 2.6.24 kernel i am very happy with my centos, and i would upgrade the kernel to try this patch i am new on linux, so i need a precise tutoriral to upgrade and keep the actual configuration of the kernel
View 2 Replies
View Related
Apr 14, 2009
I've been living too long in apt-land, that's for sure. One of my servers is for an application the vendor indicates "isn't supported under 5.3". Nevertheless, I'm urged to upgrade from 5.2 with 178 packages ready to go when I log in. And for most hosts, that would be a fine thing.
However, for this particular host, I don't want to do that. I do want to upgrade any essential packages (i.e., security), of course, because I don't have a choice there, really. I can certainly look at the security emails from the project, and just upgrade those. Is there an easier way to do this?
View 4 Replies
View Related
Apr 26, 2010
What is the best way to upgrade to PHP 5.2? I am currently using PHP 5.1. Is the only way to use the testing repositories?
View 4 Replies
View Related
Apr 26, 2010
I have a server currently running 5.2. The developers have asked me (the SysAdmin) to upgrade the server to 5.3 -- but not all the way to 5.4, as they haven't tested the app on 5.4 yet.I believe a simple `yum upgrade` will move me all the way to 5.4 -- at least, `yum check-update` shows a whole bunch of 5.4 packages.
View 2 Replies
View Related
Dec 21, 2010
We are in need to upgrade PHP 5.3.3 to 5.3.4 in order to secure PCI compliance. We have been able to upgrade the CLI version without problem , but the apache module is stuck at 5.3.3. Can anyone provide some detailed steps on how to upgrade, or should I just attempt to compile from source?
View 2 Replies
View Related