Re: [CentOS] Strange behavior from software RAID

2013-03-03 Thread Gerry Reno
You can usually generate a new mdadm.conf using:

rm /etc/mdadm.conf
mdadm --detail --scan >> /etc/mdadm.conf


On 03/02/2013 09:35 PM, Harold Pritchett wrote:
> Somewhere, mdadm is cacheing information.  Here is my /etc/mdadm.conf file:
>
> more /etc/mdadm.conf
> # mdadm.conf written out by anaconda
> DEVICE partitions
> MAILADDR root
> ARRAY /dev/md0 level=raid1 num-devices=4 metadata=0.90 
> UUID=55ff58b2:0abb5bad:42911890:5950dfce
> ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 
> UUID=315eaf5c:776c85bd:5fa8189c:68a99382
> ARRAY /dev/md2 level=raid1 num-devices=2 metadata=0.90 
> UUID=5b017f95:b7e266cc:f17a7611:8b752a02
> ARRAY /dev/md3 level=raid1 num-devices=2 metadata=0.90 
> UUID=4cc310ee:60201e16:c7017bd4:9feea350
> ARRAY /dev/md4 level=raid1 num-devices=2 metadata=0.90 
> UUID=ea205046:3c6e78c6:ab84faa4:0da53c7c
>
> After a system re-boot, here is the contents of /proc/mdstat
>
> # cat /proc/mdstat
> Personalities : [raid1]
> md125 : active raid1 sdc3[0]
>455482816 blocks [2/1] [U_]
>
> md0 : active raid1 sdd1[3] sdc1[0] sdb1[1] sda1[2]
>1000320 blocks [4/4] []
>
> md127 : active raid1 sdd3[1] sdb3[0]
>971747648 blocks [2/2] [UU]
>
> md3 : active raid1 sdf1[1] sde1[0]
>1003904 blocks [2/2] [UU]
>
> md4 : active raid1 sdf3[1] sde3[0]
>1948491648 blocks [2/2] [UU]
>
> md1 : active raid1 sda3[1]
>455482816 blocks [2/1] [_U]
>
> unused devices: 
>
> There are six physical disks in this system:
>
> Disk /dev/sda:  500.1 GB, 500107862016 bytes
> Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
> Disk /dev/sdc:  500.1 GB, 500107862016 bytes
> Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
> Disk /dev/sde: 2000.3 GB, 2000398934016 bytes
> Disk /dev/sdf: 2000.3 GB, 2000398934016 bytes
>
> I used mdadm --examine /dev/sda1 to find the internal UUID for each of the 
> physical volumes making up these volume groups
>
> /dev/sda1:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 55ff58b2:0abb5bad:42911890:5950dfce
> /dev/sdb1:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 55ff58b2:0abb5bad:42911890:5950dfce
> /dev/sdc1:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 55ff58b2:0abb5bad:42911890:5950dfce
> /dev/sdd1:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 55ff58b2:0abb5bad:42911890:5950dfce
> /dev/sda3:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 315eaf5c:776c85bd:5fa8189c:68a99382
> /dev/sdc3:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 315eaf5c:776c85bd:5fa8189c:68a99382
> /dev/sdb3:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 5b017f95:b7e266cc:f17a7611:8b752a02
> /dev/sdd3:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 5b017f95:b7e266cc:f17a7611:8b752a02
> /dev/sde1:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 4cc310ee:60201e16:c7017bd4:9feea350
> /dev/sdf1:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> 4cc310ee:60201e16:c7017bd4:9feea350
> /dev/sde3:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> ea205046:3c6e78c6:ab84faa4:0da53c7c
> /dev/sdf3:  Magic : a92b4efc  Version : 0.90.00  UUID : 
> ea205046:3c6e78c6:ab84faa4:0da53c7c
>
> As you can see, the UUID on the various PVs match the values in the 
> /etc/mdadm.conf file.
>
> My question is What the heck is going on.  When I boot the system, I end up 
> with two unexpected, unconfigured volume groups.  Where the heck are 
> /dev/md125 and /dev/md127 coming 
> from?  They don't appear in /etc/mdadm.conf and if I re-boot they keep coming 
> back.  It appears that somewhere mdadm is keeping information.  How can I get 
> rid of it so the 
> mdadm.conf file is used.
>
> Harold
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] raid 1 question

2013-03-07 Thread Gerry Reno
On 03/07/2013 06:29 PM, Dave Johansen wrote:
> On Thu, Mar 7, 2013 at 9:33 AM, Timo Schoeler 
> wrote:
>> On 03/07/2013 05:30 PM, thus Paras pradhan spake:
>>
>>> Hi,
>> Hi,
>>
>>> I have a server with 2 disks. Installed centos 5.9 with raid1. I
>>> created /dev/md0 to hold "/"  and /dev/md1 for swap and nothing
>>> else. Grub is installed on /dev/md0. After the successful
>>> installation, the server does not boot. I don't see the boot loader .
>>> I see a blank cursor blinking.
>>>
>>> What have I done wrong?
>> have you paid attention on 'Section Two' here?
>>
>> http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
> Does the same warning about it not being recommended to use the
> software RAID also apply to CentOS 6?
>
> Thanks,
> Dave
>

Dave,  I've been using software raid with every type of RedHat distro 
RH/CentOS/Fedora for over 10 years without any
serious difficulties.  I don't quite understand the logic in all these negative 
statements about software raid on that
wiki page.  The worst I get into is I have to boot from a bootdisk if the MBR 
gets corrupted for any reason.  No big
deal.  Just rerun grub.

Gerry

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] raid 1 question

2013-03-07 Thread Gerry Reno
On 03/07/2013 06:40 PM, John R Pierce wrote:
> On 3/7/2013 3:35 PM, Gerry Reno wrote:
>> Dave,  I've been using software raid with every type of RedHat distro 
>> RH/CentOS/Fedora for over 10 years without any
>> serious difficulties.  I don't quite understand the logic in all these 
>> negative statements about software raid on that
>> wiki page.  The worst I get into is I have to boot from a bootdisk if the 
>> MBR gets corrupted for any reason.  No big
>> deal.  Just rerun grub.
> have you been putting /boot on a mdraid?  that's what the article is 
> recommending against.
>
> I've always put a static boot on each drive, then made the REST of the 
> drive a mdraid mirror and put a LVM in it.   all that needs to be done 
> is to rsync the primary /boot with the backup following  any kernel updates.
>
>
Yes, I have /boot on /dev/md0 many times.   Some distros (anacondas) give great 
problem with this.   For those I just
create entire filesystem outside of anaconda and then tell it to use an 
existing Linux.  Works fine.

Gerry


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] raid 1 question

2013-03-07 Thread Gerry Reno
On 03/07/2013 06:52 PM, Les Mikesell wrote:
> On Thu, Mar 7, 2013 at 5:40 PM, John R Pierce  wrote:
>> On 3/7/2013 3:35 PM, Gerry Reno wrote:
>>> Dave,  I've been using software raid with every type of RedHat distro 
>>> RH/CentOS/Fedora for over 10 years without any
>>> serious difficulties.  I don't quite understand the logic in all these 
>>> negative statements about software raid on that
>>> wiki page.  The worst I get into is I have to boot from a bootdisk if the 
>>> MBR gets corrupted for any reason.  No big
>>> deal.  Just rerun grub.
>> have you been putting /boot on a mdraid?  that's what the article is
>> recommending against.
> I've put /boot on md  raid1 on a lot of machines (always drives small
> enough to be MBR based) and never had any problem with the partition
> looking enough like a native one for grub to boot it.  The worst thing
> I've seen about it is that some machines change their idea of bios
> disk 0 and 1 when the first one fails, so your grub setup might be
> wrong even after you do it on the 2nd disk - and that would be the
> same with/without raid.   As long as you are prepared to boot from a
> rescue disk you can fix it easily anyway.
>
Good point, Les.   Rescue disks and bootdisks are key and critical if you're 
going to use software raid.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nc not working as advertised

2013-03-07 Thread Gerry Reno
On 03/07/2013 07:09 PM, Robert Moskowitz wrote:
> On 03/07/2013 06:30 PM, Keith Keller wrote:
>> On 2013-03-07, Robert Moskowitz  wrote:
>>> On 03/07/2013 05:06 PM, Paul Heinlein wrote:
 On Thu, 7 Mar 2013, Robert Moskowitz wrote:

> I can't get nc to do anything worthwhile. In fact I can't even get the
> examples in the manpage to work.  From either my C6 servers or my F17
> notebooks.  For example:
>
> echo -n "GET / HTTP/1.0\r\n\r\n" | nc medon.htt-consult.com 80
 You mean

echo -ne "GET ..."

 right?
>>> No.  I did a simple copy from the manpage.  check it out yourself. :(
>> The man page may be incorrect.  You need -e in order to get echo to
>> print out the line feeds properly:
> I did try with "echo -ne" and that worked.  the man page IS incorrect.  
> Guess I have to submit a bug report.
>
>> Did you also try the client/server example in the man page (which looks
>> correct to me)?
> The localhost loopback works.
>
> Ah, I just figured out my between systems problem.  I was testing across 
> subnets, and the port I was using is not allowed over ipv6, I only have 
> an ipv4 rule for it.  gumble.  Corollary #2 of Murphy's Law:  "It is 
> always something."
>
> Now back to it.  I think I figured out my HIP testing problems; it has 
> to do with the HIPFW options...  Always firewalls, it seems.
>
>
Rule #1.   When testing turn off the firewall.

.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Lockups with kernel-2.6.32-358.0.1.el6.i686

2013-03-08 Thread Gerry Reno
On 03/08/2013 10:43 AM, m.r...@5-cent.us wrote:
> Kwan Lowe wrote:
>> On Thu, Mar 7, 2013 at 8:51 PM, Johnny Hughes  wrote:
> 
>> As far as logging goes, any idea what sort of failures could cause
>> such a lockup? I.e., if memory was failing, would the system still be
>> able to log? As the mouse is frozen and kernel sysrq has no effect,
>> I'm still leaning towards hardware but literally everything except the
>> case has been swapped out. (Well.. let me qualify that.. Everything
>> but the 64GB SSD drive has been swapped but it seemed unlikely that a
>> drive failure could cause such a lockup. Incorrect assumption?)
> No ideas... and I've had a number of systems do this, over the last couple
> years, where someone noted it had stopped responding; I go down, and it
> doesn't respond *at* *all* when I plug in a monitor & keyboard, and power
> cycling's the only answer.
>
> Thinking about it, I believe it's mostly been on our Penguin servers, and
> that co. uses Supermicro m/b's, and we've had h/w problems with them,
> also, and have had several m/b's replaced under warranty.
>
>   mark
>
>

Nearly every time we've had lockup problems it has come down to bad or failing 
memory.

I've even had memory cause problems where it would pass a quick memtest but 
ultimately would fail if you left it running
the tests overnight.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Lockups with kernel-2.6.32-358.0.1.el6.i686

2013-03-08 Thread Gerry Reno
On 03/08/2013 11:46 AM, Kwan Lowe wrote:
> On Fri, Mar 8, 2013 at 11:34 AM,   wrote:
>> Ok, so there was nothing in /var/log/dmesg? Have you tried running mcelogd?
> Nothing in dmesg, but I have not run mcelogd.  I will try that tonight. 
> Thanks!
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Run memtest on your memory and leave it running overnight.

.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache setup problems

2013-03-08 Thread Gerry Reno
On 03/08/2013 02:59 PM, Bruce Whealton wrote:
> Hello,
>  I am having a hard time figuring out why I am getting a 404 Forbidden
> error when I try to browse to my site.  I moved the site root to be here: 
> /home/www
> I registered two domains with dynamic dns services online.  So, one domain I
> have is futurewavewebdevelopment.com and another is fwwebdev.dnsdynamic.com
> After my most recent update to the httpd.conf file, these domains are not
> working.  It was going to a starter page in the /var/html directory.
> I thought that what I need to do is create folders for each domain like
> this:
> /home/www/futurewavewebdevelopment.com/public_html
> and /home/www/fwwebdev.dnsdynamic.com/public_html
> I thought, I'd put the public files for the domains inside the public_html
> folder.  
> I changed the permissions to give each of these at least read permission.
> The domain futurewavewebdevelopment.com does not appear to be going to my ip
> any longer.  
>
> Anyway, I have my httpd.conf file in the following pastbin:
> http://pastebin.com/qXVLJw0P
>
> I know that is a security risk, so I'll be sure to remove it very soon.
> Can someone tell me what I need to do to make this work.
> Thanks,
> Bruce
>
>

Did you restart apache?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cannot mount 3TB MyBook USB HD

2013-03-08 Thread Gerry Reno
On 03/08/2013 04:32 PM, Miller,Jason [Burlington] wrote:
> Hello, new Linux user here and I cannot mount a new (empty) WD MyBook
> Essentials 3TB USB external hard drive (Model WDBACW0030HBK-NESN).
>
> I'm only about 3 weeks into this linux thing and so please forgive me if
> any of my syntax is off
>
>  
>
> My linux OS is CentOS  5.4 x86-64 running on a dedicated HP z400. The WD
> MyBook is to back up the large data files we are creating on the HP400
> (it's used to run a DNA sequencer)
>
>  
>
> I plugged the brand new MyBook into my XP system  and cleaned out all
> the pre-installed WD files as soon as I got it, then plugged into my
> Linux system (2 completely separate machines). It failed to auto-mount
> with this error:
>
>  
>
> Failed to read last sector (732558079): Invalid argument
> HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
>or it was not setup correctly (e.g. by not using mdadm --build ...),
>or a wrong device is tried to be mounted,
>or the partition table is corrupt (partition is smaller than NTFS),
>or the NTFS boot sector is corrupt (NTFS size is not valid).
> Failed to mount '/dev/sdc1': Invalid argument
> The device '/dev/sdc1' doesn't seem to have a valid NTFS.
> Maybe the wrong device is used? Or the whole disk instead of a
> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
>
>  
>
>  
>
> I've been searching in many forums and such but so far nothing I've
> tried has worked, including:
>
>  
>
> Reformatting the HD (on the XP machine), NTFS format using 4096 byte
> allocation size (slow format, took hours)
>
> Reformatting the HD (on the XP machine), NTFS format using 512 byte
> allocation size (that the size used on the two ext3 internal drives;
> used "quick format" option this time)
>
>  
>
> Adding a new directory:
>
> # mkdir /media/MyBook
>
>  
>
> Then changing fstab to add line:
>
> /dev/sdc1   /media/MyBook  ntfs-3g
> rw,umask=,defaults  0 0
>
>  
>
> Then:
>
> # mount /media/MyBook
>
>  
>
> Which returned the same error each time
>
>  
>
> I installed gparted, then opened the GUI program. It nicely displays the
> info on the two installed ext3 hard drives but that's all it shows
>
>  
>
> Here's some info on other packages which were investigated,  installed
> or updated in an attempt to mount this USB drive:
>
> ntfs-3g would not install, yum reported conflicts with fuse-ntfs-3g
>
> dkms-fuse is not installed
>
> dkms not installed
>
> fuse-ntfs-3g (updated to latest version)
>
> parted (updated to latest version)
>
>  
>
> When  I run
>
> # parted /dev/sdc 
>
> Or
>
> # parted /dev/sdc1
>
> I get this message:
>
> Warning: Device /dev/sdc has a logical sector size of 4096.  Not all
> parts of GNU Parted support this at the moment, and the working code is
> HIGHLY EXPERIMENTAL.
>
>  
>
> When I use "print" command in gparted I get
>
> Error: unable to open /dev/sdc (or /dev/sdc1) - unrecognized disk label
>
>  
>
> I also tried fdisk
>
> # fdisk /dev/sdc
>
> And received this message:
>
> The number of cylinders for this disk is set to 45599. There is nothing
> wrong with that, but this is larger than 1024, and could in certain
> setups cause problems with:
>
> 1) software that runs at boot time (e.g., old versions of LILO)
>
> 2) booting and partitioning software from other Oss (e.g., DOS FDISK,
> OS/2 FDISK)
>
>  
>
> WARNING: The size of this disk is 3 TB 
>
> DOS partition table format can not be used on drives for volumes larger
> than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID
>
> partition table format (GPT).
>
>  
>
>  
>
> Similar results when I used
>
> # fdisk /dev/sdc1
>
> Except some number were different (ie number of cylinders report as
> 12180)
>
>  
>
> What am I doing wrong? Is all this problem simply due to the size of the
> hard drive (3TB)? I also have a 1TB Seagate used to backup several other
> computers (all XP or Win7). Would I be better to use the Seagate on the
> linux and the WD on the windows systems?
>
>  
>
> Thanks
>
>  
>
> Jason Miller
>
> j.mil...@ec.gc.ca  
>
>  
>
> Aquatic Contaminants Research Division
>
> National Water Research Institute
> Environment Canada - Canada Centre for Inland Waters
> 867 Lakeshore Rd.
> Burlington, Ontario, Canada
> L7R 4A6
>
> 905-336-4537
>
>  
>


Did you try mounting this drive as type dos or fat or vfat?

It looks like it might be old dos format.  Not NTFS.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.4 Release Date.

2013-03-09 Thread Gerry Reno
On 03/08/2013 04:49 PM, Johnny Hughes wrote:
> On 03/08/2013 11:30 AM, Kaushal Shriyan wrote:
>> Hi,
>>
>> Any date planned to release CentOS 6.4 as GA release?
> The release will be today .. likely in less than 2 hours from now.
>
>

I just checked the mirrors this morning and nothing has shown up for 6.4.

Did something major delay the release?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.4 Release Date.

2013-03-09 Thread Gerry Reno
On 03/09/2013 10:28 AM, Miguel Medalha wrote:
>> I just checked the mirrors this morning and nothing has shown up for 6.4.
>>
>
> That's strange! Yesterday I've seen it in a few mirrors, including a couple 
> here in Portugal.
> As an example:
>
> ftp://ftp.dei.uc.pt/pub/linux/CentOS/6.4/
>
>

Thanks Miguel.

It looks like some of the mirrors are days behind.  I just happened to check a 
couple that were.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 12:12 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 12:14:14 +0100
> Reindl Harald wrote:
>
>> use "screen" if you update over WAN connections
>> yes, i know it is too late but thats the way to go
> I was doing it through VNC, thinking that would be more-or-less equivalent to
> screen, which it apparently isn't.  Somehow my vnc session (desktop) just
> disappeared in the middle of the job, while I was running "yum update" on the
> remote host machine and two other computers.  Perhaps the "yum update" that 
> was
> running on the remote host machine killed VNC -- in hindsight perhaps I
> shouldn't have done that.

What most likely happened:

The "yum update" that was running in your lost VNC session was in all 
likelihood still running.

If you had done a 'ps -ef | grep yum' you would probably have seen that yum 
update was still running.

And then it looks like you logged back in to a new session and began running 
other yum commands before the original "yum
update" had completed.

So now you have a mess that may not be easy to untangle.

It may be easier to restore from backup and then attempt to do the update again.

>
> My google searching leads me to suspect that initramfs may be missing on those
> computers. If that is the case (which I will verify later this afternoon) then
> I'm thinking that perhaps chrooting to the hard drive followed by a simple yum
> remove kernel-2.6.32-358.0.1 and yum install kernel-2.6.32-358.0.1 will fix 
> it. 
>
> It's funny that all three of them died in the same way, though I guess they
> were all at about the same stage in the update process when my VNC session
> disappeared.
>
> Running "yum-complete-transaction", followed by "package-cleanup 
> --cleandupes",
> followed by "yum update" seems to have put everything back the way that it
> should be, with the exception of whatever it is that prevents the machine from
> booting.
>


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 01:04 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 12:26:51 -0400
> Gerry Reno wrote:
>
>> The "yum update" that was running in your lost VNC session was in all
>> likelihood still running.
> If yum was indeed still running, it wasn't using any significant CPU.  I did
> run top in my login terminal to see if anything significant was going on and 
> yum
> didn't show up on the list.
>
> When I attempted to re-connect to vncserver after that, I was told "connection
> refused", and "service vncserver start" cranked up another session for me
> without any errors.
>
> I think vncserver just altogether crashed for some reason, probably related to
> the yum update that I was running on that machine at the time.  I suppose the
> lesson learned here is to always update the host machine from a screen session
> running in a plain terminal, not through a vnc session.

The reason I said yum update was still running was because I've had this exact 
scenario occur before.

VNC died during yum update and when I got back in I could see that yum update 
was still running.

I just waited until it finished.

>
>> It may be easier to restore from backup and then attempt to do the update
>> again.
> Perhaps, but since everything seems to still be in place on those hard drives,
> and since my last "yum update" completed without any errors being reported, I
> suspect (hope?) that everything is still ok with the exception of whatever is
> causing the machines to fail to boot.
>

I hope it is only your initramfs.  If that isn't it, for me I would just 
restore and rerun the update.  Much less time
involved.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 07:00 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 11:04:37 -0600
> Frank Cox wrote:
>
>>> It may be easier to restore from backup and then attempt to do the update
>>> again.
>> Perhaps, but since everything seems to still be in place on those hard 
>> drives,
>> and since my last "yum update" completed without any errors being reported, I
>> suspect (hope?) that everything is still ok with the exception of whatever is
>> causing the machines to fail to boot.
> It's looking more and more like a full nuke-and-pave is going to be the answer
> here.
>
> As I suspected, initramfs-2.6.32-358.0.1 was missing in /boot.  Unfortunately,
> none of the other installed kernels boot either -- everything gives me a 
> kernel
> panic.
>
> I  did a yum remove kernel-2.6.32-358.0.1 and yum install 
> kernel-2.6.32-358.0.1
> and the whole transaction appeared to be successful.
>
> That got me  initramfs-2.6.32-358.0.1 back in /boot, but I still get a kernel
> panic when I reboot the machine.  The initial rhgb screen comes up and the
> little circle thing cranks for a minute or so, but then I get "kernel panic:
> attempted to kill init!". Booting without rhgb gives me a cursor in the top
> left corner for a minute, followed by "kernel panic: attemtped to kill init!".
> The last time /var/log/boot.log was written to was the last time the machine 
> was
> rebooted prior to this whole episode (i.e. a few weeks ago) so there is
> absolutely no error message or log information available other than the kernel
> panic message on the screen.
>
> Damn, I hate the idea of having to set all of these machines up again from
> scratch.  Two of them aren't much to re-do, but the third one is the office
> workhorse machine that does everything from dhcp server to nfs server to print
> server to you-name-it.
>

Did you try booting a rescue disk and reinstalling the bootloader?



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 07:29 PM, Gerry Reno wrote:
> On 03/10/2013 07:00 PM, Frank Cox wrote:
>> On Sun, 10 Mar 2013 11:04:37 -0600
>> Frank Cox wrote:
>>
>>>> It may be easier to restore from backup and then attempt to do the update
>>>> again.
>>> Perhaps, but since everything seems to still be in place on those hard 
>>> drives,
>>> and since my last "yum update" completed without any errors being reported, 
>>> I
>>> suspect (hope?) that everything is still ok with the exception of whatever 
>>> is
>>> causing the machines to fail to boot.
>> It's looking more and more like a full nuke-and-pave is going to be the 
>> answer
>> here.
>>
>> As I suspected, initramfs-2.6.32-358.0.1 was missing in /boot.  
>> Unfortunately,
>> none of the other installed kernels boot either -- everything gives me a 
>> kernel
>> panic.
>>
>> I  did a yum remove kernel-2.6.32-358.0.1 and yum install 
>> kernel-2.6.32-358.0.1
>> and the whole transaction appeared to be successful.
>>
>> That got me  initramfs-2.6.32-358.0.1 back in /boot, but I still get a kernel
>> panic when I reboot the machine.  The initial rhgb screen comes up and the
>> little circle thing cranks for a minute or so, but then I get "kernel panic:
>> attempted to kill init!". Booting without rhgb gives me a cursor in the top
>> left corner for a minute, followed by "kernel panic: attemtped to kill 
>> init!".
>> The last time /var/log/boot.log was written to was the last time the machine 
>> was
>> rebooted prior to this whole episode (i.e. a few weeks ago) so there is
>> absolutely no error message or log information available other than the 
>> kernel
>> panic message on the screen.
>>
>> Damn, I hate the idea of having to set all of these machines up again from
>> scratch.  Two of them aren't much to re-do, but the third one is the office
>> workhorse machine that does everything from dhcp server to nfs server to 
>> print
>> server to you-name-it.
>>
> Did you try booting a rescue disk and reinstalling the bootloader?
>
>
>
If you have a good full backup just reinstall the base OS and overlay your 
backup.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 07:40 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 19:29:56 -0400
> Gerry Reno wrote:
>
>> Did you try booting a rescue disk and reinstalling the bootloader?
> I booted the "Centos 6.4 minimal iso", told it to "upgrade an existing
> installation", and to install the bootloader.  About all that it appeared to 
> do
> was install the bootloader.  Unfortunately, the machine still didn't boot.
>
> The bootloader seems to be fine -- grub itself boots up.  I get a kernel panic
> after that, when you normally see the messages about unpacking vmlinuz and so
> on.  I just get a blank black screen with a flashing cursor (or the rhgb
> screen with the spinning doodad, depending on the grub setting) and then a
> kernel panic.
>

It seems like maybe  it cannot find the root filesystem.

Kernel panics just like this when it cannot find it.

.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 11:09 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 20:24:55 -0400
> Gerry Reno wrote:
>
>> It seems like maybe  it cannot find the root filesystem.
>>
>> Kernel panics just like this when it cannot find it.
> Interesting.  How can I check that?  I have another almost-identical system
> that's still working and I compared grub.conf between the two of them and
> didn't notice any significant differences.  Nothing that immediately jumped up
> and down and screamed "problem here!" at least.
>
> What should I be looking for?
>
>

Boot to rescue mode and see if you can mount the device containing the root 
filesystem readonly and see all the files on it.

Then check that the kernel root option is looking at the same device.





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] lost connection during yum update

2013-03-10 Thread Gerry Reno
On 03/10/2013 11:23 PM, Frank Cox wrote:
> On Sun, 10 Mar 2013 23:16:10 -0400
> Gerry Reno wrote:
>
>> Boot to rescue mode and see if you can mount the device containing the root
>> filesystem readonly and see all the files on it.
>>
>> Then check that the kernel root option is looking at the same device.
> I can indeed see all of the files on that computer, including the boot
> directory and everything under /
>
> I don't know what to do from that point, though.
>
> Here is the grub.conf from the working system, which is pretty much identical
> to one of the non-working systems.  I assume that you mean I need to do
> something to change and/or fix the root= portion of the kernel commandline, 
> but
> how do I find out what to change it to?
>
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.32-358.0.1.el6.i686)
> root (hd0,0)
> kernel /vmlinuz-2.6.32-358.0.1.el6.i686 ro
> root=/dev/mapper/vg_ws195-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD quiet
> SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_ws195/lv_swap rhgb crashkernel=auto
> KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=vg_ws195/lv_root rd_NO_DM
> initrd /initramfs-2.6.32-358.0.1.el6.i686.img
>
>
Do you know if this grub file was rewritten?

Can you check it against a backup copy?

Other than that I've given you my best suggestions.

.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] seeking enlightenment (java and dependencies)

2013-03-11 Thread Gerry Reno
On 03/11/2013 03:32 PM, m.r...@5-cent.us wrote:
> Ok, all you javaphiles, explain to me why, when I was looking to try to
> remove java-1.5.0-gcj and the -devel, it wanted to remove, as
> dependencies, things like tomcat6, ant, and gcc-java. Note that
> java-1.6.0-oipenjdk and -devel are installed
>
>  mark
>
>

What does yum deplist tomcat6 say?




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Filesystem gets corrupted after kernel upgrade to 2.6.32-431.5.1.el6

2014-02-15 Thread Gerry Reno
You might have some hardware going bad underneath.


On 02/15/2014 03:30 PM, Max Grobecker wrote:
> Hi,
>
> Thanks for your replies!
> Today, I'm unable to get the filesystem errors reproduced - maybe I got
> a bad mirror? Very unlikely, the PGP signature should then be broken also...
>
>
>
> Well, at least the problems with booting the machine still exists, but I
> tested this only in virtual environments until now.
>
> In about 50% of my startup tries, the bootloader is counting down and
> tries starting the default kernel. But instead of that, the system gets
> reset and the bootloader starts again.
> Even if I choose the former kernel, this thing still happens.
>
> After a while the loop gets stopped by a kernel panic. I'm not sure, if
> the systems kernel panic'ed, or if it's the boot loader itself...
> I attached two screenshots to this mail.
> These are the only information I can get so far.
>
> This strange behaviour only happens to KVM (HVM) machines which were
> recently upgraded to the new kernel.
> Other systems (surprisingly MS Windows also) are running and booting
> finde without problems.
> I'm unable to test, if this happens also to native machines without
> virtualization, at the moment :-(
>
> If you need more information, I could help ;-)
>
>
> Greetings from Wuppertal, Germany
>  Max
>
>
> Am 15.02.2014 20:31, schrieb Ulf Volmer:
>> On 02/15/2014 06:33 PM, Max Grobecker wrote:
>>
>>> Is it just me? I don't use any 3rd party repositorys and it blows my
>>> mind that no one else seems to notice...!
>> Just you.
>>
>> 2.6.32-431.5.1.el works here without any issues on phys. and virtual
>> plattforms.
>>
>> regrads
>> Ulf
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Old harware (intel 82845G card) stopped working after update (centos 6)

2014-02-17 Thread Gerry Reno
Running current bits on ancient hardware is always risky.

Test first with LiveCD.  Or better yet, stay back with known working bits.


On 02/17/2014 09:20 AM, alain.coch...@unistra.fr wrote:
> Hello.  I apology in advance if I am not reporting things correctly,
> but my knowledge about these things is very limited.
>
> I have five Transtec computers, approximately born in July 2005; they
> have an intel 82845G video card.
>
> The last 'yum update' was on January 30, 2014.  I did not reboot the
> machines at that time.  I cannot be sure about the date of the 'yum
> update' preceding that one, but I think is was on September 7, 2013.
>
> Last Friday (February 14, 2014), 4 of those 5 computers stopped
> working properly after some action on them.
>
> The problem is: black screen with only the arrow of the mouse (mouse
> is working correctly :-).  Apart from that, the computers are OK: one
> can use Ctrl-Alt-F1, etc.
>
> For sure, one of the action which led to the problem was a reboot.  I
> cannot be 100% sure about the action, which was simply a change of
> screen: the machine was OK; then I changed the screen; it did not work
> any more; then I rebooted. But my experience is that, sometimes, even
> under normal condition, it does not work right away, or perhaps not at
> all, after changing the screen.
>
> The 5th computer, on which nothing has been done, is still working
> just fine.
>
> NB: for sure, there has been at least one reboot on at least one of
> the 5 machines between September (or whatever date at which the
> previous 'yum update' has been performed) and January, and the problem
> did not show up.
>
> For what it's worth, the following 2 packages are installed:
>
> xorg-x11-drv-intel-devel-2.21.12-2.el6.i686
> xorg-x11-drv-intel-2.21.12-2.el6.i686
>
> Also, here is the output of 'lspci | grep 82845':
>
> 00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM 
> Controller/Host-Hub Interface (rev 01)
> 00:02.0 VGA compatible controller: Intel Corporation 
> 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
>
> Based on the data, my best guess is that the problem I have is due to
> some recent change in the centos packages.  Perhaps it was supposed to
> be so? (I.e., no longer supporting old hardware?).  If so, at any
> rate, I'll be grateful if someone can suggest a workaround, or perhaps
> a hint towards that goal.
>
> Regards,
> Alain
>
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] seg error

2014-03-03 Thread Gerry Reno
Incompatible glibc?


On 03/03/2014 10:31 PM, Michel Donais wrote:
> 4gb seg fixup

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Please remove me from mailing list.

2014-03-04 Thread Gerry Reno
Follow directions to unsubscribe on this page:

http://lists.centos.org/mailman/listinfo/centos



On 03/04/2014 10:48 AM, Cesareo wrote:
> Thank you,
>
> Cesareo Rodriguez
> (618) 971-7325
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] bizarre problem with performance

2014-09-17 Thread Gerry Reno
Right off hand I would say that NFS is hanging and/or bad DNS lookup
timeout.

Happened on several of our servers years ago.

On Wed, Sep 17, 2014 at 5:41 PM, Dan Hyatt  wrote:

> Hi,
> I am running centos6-5 on dell620 blades.
> mirrored local root drives
> several (including home) mounted filesystems.
>
> The other blades are working fine.
> Top indicates the server is running 1% cpu, and very little memory
> (idleing)
> There is no error in the messages file
> There is no amber lights on the server.
>
> When I log into my server it is fine, on my remote mounted home directory.
> When I cd to root (local disk) and I type ls it just hangs.
>
> I ran top, the system is basically idle
> I ran ifconfig and everything looks good.
> when I ran df -h it hangs
>
> when I run ls  on my home directory it is fine
> when I run ls on my root directory it hangs
> when I run df -k it hangs
>
> I can go into any remote mounted directory and everything works fine.
>
> any suggestions.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos