Re: [CentOS] Problem getting mysqldump on Centos 5.x server

2013-04-24 Thread Eero Volotinen
Hi Bruce,

Error 28 means that "not enought diskspace", free some more disk space and
try again.

--
Eero


2013/4/24 Bruce Whealton 

> >
> > If time is pressing, and he's not sure how to get mysqldump to
> > function properly, I'd suggest shutting down the mysql server, taking
> > a tarball backup of /var/lib/mysql (or wherever the database files
> > are), compressing that (xz is nice for these purposes), and then
> > getting the mysqldump backup.
>
> I'm a bit confused here.  If I get a tarball and compress that, then is
> that
> for download and moving to the other server?  Is this just in case the
> mysqldump does not work at all.
> >
> > As for getting the mysql dump itself, if he's not sure what privileges
> > are set up, I'd probably skip resetting permissions and instead taking
> > the dump from a daemon running under --skip-grant-tables.
>
> So, I start mysql-server with the option --skip-grant-tables and then try
> to
> do the mysqldump?
>
> >
> > It all depends on how much time he has before the system becomes
> > unavailable to him.
> >
> >
> In my previous email, I point out that the error now is different.  It is
> error 28 from the storage engine.  So, I have to google that and see what
> that means.
>
> Thanks,
> Bruce
>
>
> >Definitely another option.
>
> >The only thing I would say is if getting the dump under
> --skip-grant-tables
> you need to make absolutely >sure external access to the database is
> blocked
> as the daemon will presumably be running a lot longer in
> ->-skip-grant-tables to complete a dump than it would be just to reset a
> password.
>
> ___
> 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] Problem getting mysqldump on Centos 5.x server

2013-04-24 Thread Clint Dilks
Bruce, one other option if you are low on diskspace is using ssh to pipe
the file to another server.

Check out
http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ for an
example of how you might do this



On Wed, Apr 24, 2013 at 7:06 PM, Eero Volotinen wrote:

> Hi Bruce,
>
> Error 28 means that "not enought diskspace", free some more disk space and
> try again.
>
> --
> Eero
>
>
> 2013/4/24 Bruce Whealton 
>
> > >
> > > If time is pressing, and he's not sure how to get mysqldump to
> > > function properly, I'd suggest shutting down the mysql server, taking
> > > a tarball backup of /var/lib/mysql (or wherever the database files
> > > are), compressing that (xz is nice for these purposes), and then
> > > getting the mysqldump backup.
> >
> > I'm a bit confused here.  If I get a tarball and compress that, then is
> > that
> > for download and moving to the other server?  Is this just in case the
> > mysqldump does not work at all.
> > >
> > > As for getting the mysql dump itself, if he's not sure what privileges
> > > are set up, I'd probably skip resetting permissions and instead taking
> > > the dump from a daemon running under --skip-grant-tables.
> >
> > So, I start mysql-server with the option --skip-grant-tables and then try
> > to
> > do the mysqldump?
> >
> > >
> > > It all depends on how much time he has before the system becomes
> > > unavailable to him.
> > >
> > >
> > In my previous email, I point out that the error now is different.  It is
> > error 28 from the storage engine.  So, I have to google that and see what
> > that means.
> >
> > Thanks,
> > Bruce
> >
> >
> > >Definitely another option.
> >
> > >The only thing I would say is if getting the dump under
> > --skip-grant-tables
> > you need to make absolutely >sure external access to the database is
> > blocked
> > as the daemon will presumably be running a lot longer in
> > ->-skip-grant-tables to complete a dump than it would be just to reset a
> > password.
> >
> > ___
> > 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] How to make a network interface come up automatically on link up?

2013-04-24 Thread Svavar Örn Eysteinsson
You can create these two files which will be executed every time interface 
comes up & goes down.

/sbin/ifup-local
/sbin/ifdown-local

mark them as executable.

The Device name will be passed as argument.

example, /sbin/ifup-local eth0.

use case or if statements for interface parsing in the script.









On 24.4.2013, at 06:02, Joakim Ziegler wrote:

> This seems really dirty. :)
> 
> Also, I actually have to take it down and back up to make it work 
> currently. But I will try the recipe I got soon and see if that fixes it.
> 
> -- 
> Joakim Ziegler  -  Supervisor de postproducción  -  Terminal
> joa...@terminalmx.com   -   044 55 2971 8514   -   5264 0864
> 
> On 23/04/13 5:09, Carl T. Miller wrote:
>> On 04/23/2013 05:25 AM, John Doe wrote:
>>> From: Joakim Ziegler 
>>> 
 As I'd mentioned before, the problem isn't that the interface doesn't
 come up on boot, it does, but since it's a point to point interface,
 when I reboot the computer on the other end, it goes down and doesn't
 come back up automatically. That is, link going down and up makes the
 network configuration stay down, I have to manually take the interface
 down and back up to make it work again.
>>> 
>>> Not the solution you want but, as a last resort, you could always have a
>>> cron script that checks every minute if the link is down...
>> 
>> Or consider putting "* * * * * /sbin/ifup eth2" in root's crontab.  If
>> eth2 is up, it simply rereads the configs (which haven't changed).  If
>> it was down, it brings it up.
>> 
>> c
>> 
>> 
>> 
>> ___
>> 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] centos 6.4 networking problem

2013-04-24 Thread Michel Donais
>> If I look at the network connection There is nothing there.
>> If I do ifconfig -a the two nics are there
>> If I do ifup eth0 I get device doesn't seem to be present
>> If I do ifup eth1 the system search to determine the IP information for 
>> this
>> device.
>>
>> Do somebody have an idea to bring them up?
>
> What do you have in /etc/sysconfig/network-scripts?


ifcfg-eth0
ifcfg-eth1
ifcfg-lo
ifdown
ifdown-bnep
ifdown-eth
ifdown-ib
ifdown-ippp
ifdown-ipv6
ifdown-isdn
ifdown-post
ifdown-ppp
ifdown-routes
ifdown-sit
ifdown-tunnel

ifup
ifup-aliases
ifup-bnep
ifup-eth
ifup-ib
ifup-ippp
ifup-ipv6
ifip-isdn
ifup-plip
ifup-plusb
ifup-post
ifup-ppp
ifup-routes
ifup-sit
ifup-tunnel
ifup-wireless
init.ipv6-global
net.hotplug
network-functions
network.functions-ipv6

But in /etc/networking an /etc/profiles/default it's empty


---
Michel Donais



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


[CentOS] CentOS-announce Digest, Vol 98, Issue 12

2013-04-24 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CEBA-2013:0765  CentOS 6 net-snmp Update (Johnny Hughes)
   2. CEBA-2013:0766  CentOS 6 util-linux-ng Update (Johnny Hughes)
   3. CESA-2013:0744 Important CentOS 6 kernel Update (Johnny Hughes)


--

Message: 1
Date: Tue, 23 Apr 2013 14:10:14 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2013:0765  CentOS 6 net-snmp Update
To: centos-annou...@centos.org
Message-ID: <20130423141014.ga13...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2013:0765 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2013-0765.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
22c1b61ca29ffac0540e8c69ed4978b593397f073ceea488c214dc4de4e8d231  
net-snmp-5.5-44.el6_4.1.i686.rpm
88978bb4f6ad83469a0957d004932e19bf01b3910a236a65add92c32db2d1cba  
net-snmp-devel-5.5-44.el6_4.1.i686.rpm
a6acd0ccbb1806b21613cb7627ecc11ed83c1fd4a6ae3734c55f1a6fb2e66315  
net-snmp-libs-5.5-44.el6_4.1.i686.rpm
606d23836bdc0c847127bdd37356f1e4cf182f5272a93342661c8ff4cc2e5c42  
net-snmp-perl-5.5-44.el6_4.1.i686.rpm
8c616a2a4033eaffac23e40b76c8254d8106b8a32f8aeb5fd86466b9df1a6de7  
net-snmp-python-5.5-44.el6_4.1.i686.rpm
5f7ed7df1a117e0027bd3198d1b1ae4c10154499b3bd6b7e6e947fd5bc71cf52  
net-snmp-utils-5.5-44.el6_4.1.i686.rpm

x86_64:
4264eb2c92145edda0ccc1ada4e0d7b7b81fffc5b54eba91a2837ffa56279114  
net-snmp-5.5-44.el6_4.1.x86_64.rpm
88978bb4f6ad83469a0957d004932e19bf01b3910a236a65add92c32db2d1cba  
net-snmp-devel-5.5-44.el6_4.1.i686.rpm
68dec725c4835a8b1be34ece1e5e2153e9563a4eaf5fadc532e7b2dcb8e7ef59  
net-snmp-devel-5.5-44.el6_4.1.x86_64.rpm
a6acd0ccbb1806b21613cb7627ecc11ed83c1fd4a6ae3734c55f1a6fb2e66315  
net-snmp-libs-5.5-44.el6_4.1.i686.rpm
79c82a07009f9d15605573bad352e879b0d3d5d9166ee11e6d509bdea8a7e705  
net-snmp-libs-5.5-44.el6_4.1.x86_64.rpm
d7cdf7de602c930604deff186728abfb8759c2ef25cb5553fce570f273ee7598  
net-snmp-perl-5.5-44.el6_4.1.x86_64.rpm
faed19a38db2c658c0d010d824c242075d54d9233766161856c3b78d0587e51e  
net-snmp-python-5.5-44.el6_4.1.x86_64.rpm
69bcf2359656b3dba79b7802a30280a01630e1c7e6946b5b1c9dcbaa5272bbf1  
net-snmp-utils-5.5-44.el6_4.1.x86_64.rpm

Source:
ae3a3629f3dc1f8c1bcf37d36ff22ad6d57672dd89da68624955bbacc1883efd  
net-snmp-5.5-44.el6_4.1.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Tue, 23 Apr 2013 14:10:48 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2013:0766  CentOS 6 util-linux-ng
Update
To: centos-annou...@centos.org
Message-ID: <20130423141048.ga13...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2013:0766 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2013-0766.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
6fb69c5d7e41f288a3b4c02a9781bf0862a31097c40a355e5a23258797de3084  
libblkid-2.17.2-12.9.el6_4.2.i686.rpm
b2669e4e36e63ad5a9e340ce0db6fca86caeb1d1978d19de64a724e4503870b6  
libblkid-devel-2.17.2-12.9.el6_4.2.i686.rpm
456f4a115059614313d28e9e5e13e9277805fcb39b0360502a2403f387352801  
libuuid-2.17.2-12.9.el6_4.2.i686.rpm
c3b963f7d6c5ce61ebc9d2a1352c2f916cd6fba5ce850cb834a06c96bd0a0809  
libuuid-devel-2.17.2-12.9.el6_4.2.i686.rpm
6a651304e6ff1797efbf9d5b4e5356000c165bb26b7d661947d973ae5676b6dd  
util-linux-ng-2.17.2-12.9.el6_4.2.i686.rpm
a81db631b7ebd637acc0becbd927f1ec9ae5e9c806d3a1f996949c65483ac424  
uuidd-2.17.2-12.9.el6_4.2.i686.rpm

x86_64:
6fb69c5d7e41f288a3b4c02a9781bf0862a31097c40a355e5a23258797de3084  
libblkid-2.17.2-12.9.el6_4.2.i686.rpm
894ae55e9711dbc12e3b5a65990fc5cb3cdc945ef7182bc85b4d65026ce04773  
libblkid-2.17.2-12.9.el6_4.2.x86_64.rpm
b2669e4e36e63ad5a9e340ce0db6fca86caeb1d1978d19de64a724e4503870b6  
libblkid-devel-2.17.2-12.9.el6_4.2.i686.rpm
872a013b807fb8dec89e251028689ef722778ff569aa9ac0e17cfa5166a9ee8b  
libblkid-devel-2.17.2-12.9.el6_4.2.x86_64.rpm
456f4a115059614313d28e9e5e13e9277805fcb39b0360502a2403f387352801  
libuuid-2.17.2-12.9.el6_4.2.i686.rpm
d8c58a235fd689d3416a9c4941fd13b6ef5362561145dfc24847c2a5d5defed8  
libuuid-2.17.2-12.9.el6_4.2.x86_64.rpm
c3b963f7d6c5ce61ebc9d2a1352c2f916cd6fba5ce850cb834a06c96bd0a0809  
libuuid-devel-2.17.2-12.9.el6_4.2.i686.rpm
988e5ad0313d34d

Re: [CentOS] [centos-6.3-desktop] Unable to login

2013-04-24 Thread Mayur Patil
Thanks to especially Mark Sir.

After *yum -y update* system is now enjoying GUI !!

One thing to mention is that my system processing also increases
considerably !!

Thanks again to All !!

-- 
*Cheers,
Mayur*.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Merging os and updates

2013-04-24 Thread isdtor
Some updates.

Rebooting after kickstart, the vnc screen shows

Booting from Hard Disk...
GRUB

It's hung there. This makes me think that grub wasn't installed
correctly. But this looks normal:

# file -s /dev/dm-6
/dev/dm-6: x86 boot sector; GRand Unified Bootloader, stage1 version
0x3, boot drive 0x80, 1st sector stage2 0x882ee7, GRUB version n.m;
partition 1: ID=0x83, active, starthead 1, startsector 63, 20964762
sectors, code offset 0x48
#

Next, with some kpartx magic, I'm able to mount the single partition
on the lv that provides the vm's disk device and find that /boot is
all kernel pieces. Modules are missing, too, so the kernel didn't get
installed. Manually extracting the kernel rpm and putting the pieces
into place does not help, even if I build an initrd.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] r-x and r-x.

2013-04-24 Thread Johan Vermeulen
Dear All,

I'm currently troubleshooting NetworkManger scripts.

I see a difference in machine A :

drwxr-xr-x 2 root root 4096 apr 24 16:33 .
drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
-rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
-rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
-rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
-rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
-rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
-rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher

and machine B:

drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
-rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
-rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
-rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
-rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
-rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
-rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher

the difference being -rwxr-xr-x and -rwxr-xr-x.

so with or without a dot (.)

Does that mean anything?

Thanks for any advise on this.

Greetings, J.


Opensource Software is the future.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] r-x and r-x.

2013-04-24 Thread Dirk Olmes
On 04/24/2013 04:50 PM, Johan Vermeulen wrote:
> Dear All,
> 
> I'm currently troubleshooting NetworkManger scripts.
> 
> I see a difference in machine A :
> 
> drwxr-xr-x 2 root root 4096 apr 24 16:33 .
> drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
> -rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
> -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
> -rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
> 
> and machine B:
> 
> drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
> drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
> -rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
> -rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
> -rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
> 
> the difference being -rwxr-xr-x and -rwxr-xr-x.
> 
> so with or without a dot (.)
> 
> Does that mean anything?

Yes, the dot is a hint that SELinux attributes are set on those files.
Run ls -Z to see them.

-dirk

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


Re: [CentOS] hard drive question - WD red

2013-04-24 Thread Emmanuel Noobadmin
On 4/23/13, Dan Young  wrote:
> I ran across some forum posts indicating they are unlikely to work in
> arrays of greater than five disks. This is alluded to in the spec
> sheet as well.

I was concerned since we've been using Reds in our newer servers.

> http://www.avsforum.com/t/1454542/issue-with-wd-red-drives

However, the conclusion of that thread seems to put that particular
issue firmly on an odd incompatibility with the Asrock motherboard
used and the WD Red drives. One of the posters pointed out he has 12
Reds on a single Adaptec.

Somebody suggests possibly an issue with 6 drives being spread over 2
different controllers. I couldn't help wonder if it's just a Windows
driver thing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hard drive question - WD red

2013-04-24 Thread Fernando Cassia
On Wed, Apr 24, 2013 at 10:49 AM, Emmanuel Noobadmin
 wrote:
> Somebody suggests possibly an issue with 6 drives being spread over 2
> different controllers. I couldn't help wonder if it's just a Windows
> driver thing.

Surely. A HDD only knows about sectors, reads and writes it knows
nothing about RAID. RAID is a controller thing.

In fact, if I use an ARCO RAID1 device (my favorite raid solution), it
masks two drives as a single one while doing RAID1 at the hardware
level, the OS and software side think it's 'talking to' a single
drive.

http://www.arcoide.com/category.aspx?PageId=241

FC


-- 
During times of Universal Deceit, telling the truth becomes a revolutionary act
Durante épocas de Engaño Universal, decir la verdad se convierte en un
Acto Revolucionario
- George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] r-x and r-x.

2013-04-24 Thread Greg Bailey
On 04/24/2013 07:50 AM, Johan Vermeulen wrote:
> Dear All,
>
> I'm currently troubleshooting NetworkManger scripts.
>
> I see a difference in machine A :
>
> drwxr-xr-x 2 root root 4096 apr 24 16:33 .
> drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
> -rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
> -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
> -rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
>
> and machine B:
>
> drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
> drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
> -rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
> -rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
> -rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
>
> the difference being -rwxr-xr-x and -rwxr-xr-x.
>
> so with or without a dot (.)
>
> Does that mean anything?

Hi Johan,

 From "info coreutils", section 10.1.2 (What information is listed):

  Following the file mode bits is a single character that specifies
  whether an alternate access method such as an access control list
  applies to the file.  When the character following the file mode
  bits is a space, there is no alternate access method.  When it is
  a printing character, then there is such a method.

  GNU `ls' uses a `.' character to indicate a file with an SELinux
  security context, but no other alternate access method.

  A file with any other combination of alternate access methods is
  marked with a `+' character.

My first guess would be that Machine A has SELinux disabled, but Machine 
B has (or had at some point) SELinux enabled.

-Greg

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


Re: [CentOS] r-x and r-x.

2013-04-24 Thread Larry Martell
On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen
 wrote:
> Dear All,
>
> I'm currently troubleshooting NetworkManger scripts.
>
> I see a difference in machine A :
>
> drwxr-xr-x 2 root root 4096 apr 24 16:33 .
> drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
> -rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
> -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
> -rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
>
> and machine B:
>
> drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
> drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
> -rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
> -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
> -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
> -rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
> -rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
> -rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
>
> the difference being -rwxr-xr-x and -rwxr-xr-x.
>
> so with or without a dot (.)
>
> Does that mean anything?
>
> Thanks for any advise on this.


The . means the file has an access list with SELinux. You could try
disabling SELinux on machine B and seeing if that fixes the issue.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] r-x and r-x.

2013-04-24 Thread Ian Forde
Yep - you'll want to do a 'ls -lZ' on both dirs and compare the
differences...
On Apr 24, 2013 8:32 AM, "Larry Martell"  wrote:

> On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen
>  wrote:
> > Dear All,
> >
> > I'm currently troubleshooting NetworkManger scripts.
> >
> > I see a difference in machine A :
> >
> > drwxr-xr-x 2 root root 4096 apr 24 16:33 .
> > drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
> > -rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
> > -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
> > -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
> > -rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
> > -rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
> > -rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
> >
> > and machine B:
> >
> > drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
> > drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
> > -rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
> > -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
> > -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
> > -rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
> > -rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
> > -rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
> >
> > the difference being -rwxr-xr-x and -rwxr-xr-x.
> >
> > so with or without a dot (.)
> >
> > Does that mean anything?
> >
> > Thanks for any advise on this.
>
>
> The . means the file has an access list with SELinux. You could try
> disabling SELinux on machine B and seeing if that fixes the issue.
> ___
> 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] hard drive question - WD red

2013-04-24 Thread John R Pierce
On 4/24/2013 7:49 AM, Emmanuel Noobadmin wrote:
> However, the conclusion of that thread seems to put that particular
> issue firmly on an odd incompatibility with the Asrock motherboard
> used and the WD Red drives. One of the posters pointed out he has 12
> Reds on a single Adaptec.

those forum threads are full of people who have setup raids and not 
dealt with error recovery.   I wouldn't put much faith in them.



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

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


Re: [CentOS] hard drive question - WD red

2013-04-24 Thread Tom Bishop
On Wed, Apr 24, 2013 at 11:42 AM, John R Pierce  wrote:

> On 4/24/2013 7:49 AM, Emmanuel Noobadmin wrote:
> > However, the conclusion of that thread seems to put that particular
> > issue firmly on an odd incompatibility with the Asrock motherboard
> > used and the WD Red drives. One of the posters pointed out he has 12
> > Reds on a single Adaptec.
>
> those forum threads are full of people who have setup raids and not
> dealt with error recovery.   I wouldn't put much faith in them.
>
>
> +1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] IPv6

2013-04-24 Thread Matt
I have setup a CentOS 6.3 VPS with ONLY IPv6 access simply for testing
at this point.  It browses the Internet with lynx fine on most major
sites that are IPv6 enabled.  Yum does not seem to work though.
Always tries to connect to an IPv4 mirror and gives an error.  Is
there a way specify an IPv6 mirror to yum?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPv6

2013-04-24 Thread Michael Mol
On 04/24/2013 12:46 PM, Matt wrote:
> I have setup a CentOS 6.3 VPS with ONLY IPv6 access simply for testing
> at this point.  It browses the Internet with lynx fine on most major
> sites that are IPv6 enabled.  Yum does not seem to work though.
> Always tries to connect to an IPv4 mirror and gives an error.  Is
> there a way specify an IPv6 mirror to yum?

Run through your mirror list, find a mirror which has a  record in
DNS, and specify that one explicitly?

For this kind of circumstance, my first approach would be to put a squid
proxy on a dual-stacked (IPv4 & IPv6) host, and set http_proxy on the
v6-only host such that outbound HTTP connections would pass through the
squid proxy; the squid proxy will then use either IPv4 or IPv6 as
appropriate for the requested destination host.

(Incidentally, this is a great way to give IPv6 access to IPv4 hosts as
well. I was once surprised to discover my PS3 pulling video from Netflix
over IPv6 in this way.)



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 6.4 networking problem

2013-04-24 Thread Frank Cox
On Wed, 24 Apr 2013 07:50:38 -0400
Michel Donais wrote:

> > What do you have in /etc/sysconfig/network-scripts?

> ifcfg-eth0
> ifcfg-eth1

What are the contents of these two files?

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] hard drive question - WD red

2013-04-24 Thread m . roth
Emmanuel Noobadmin wrote:
> On 4/23/13, Dan Young  wrote:
>> I ran across some forum posts indicating they are unlikely to work in
>> arrays of greater than five disks. This is alluded to in the spec
>> sheet as well.
>
> I was concerned since we've been using Reds in our newer servers.
>
>> http://www.avsforum.com/t/1454542/issue-with-wd-red-drives
>
> However, the conclusion of that thread seems to put that particular
> issue firmly on an odd incompatibility with the Asrock motherboard
> used and the WD Red drives. One of the posters pointed out he has 12
> Reds on a single Adaptec.
>
> Somebody suggests possibly an issue with 6 drives being spread over 2
> different controllers. I couldn't help wonder if it's just a Windows
> driver thing.

Oh, good, someone actually running Reds. How long have you had them, and
have you had any issues? I'm not actually worried about RAID - we have a
very few servers with RAID 1, and I think they're all software RAID. The
big RAIDs, we bought the boxes with drives. We'd be using them for
servers, and backups.

   mark

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


Re: [CentOS] How to make a network interface come up automatically on link up?

2013-04-24 Thread Gordon Messmer
On 04/22/2013 10:30 AM, Joakim Ziegler wrote:
> I've tried various combinations of HOTPLUG=yes and no, and MANAGED=yes
> and no, then someone asked me if this was really not managed, so I
> posted the dmesg output above.

I'm pretty sure HOTPLUG is only used when the interface ITSELF is 
attached to the system at runtime, not the cable, and MANAGED isn't used 
at all.

If you set NM_CONTROLLED=no then the configuration will be loaded only 
if the system starts the "network" service and the configuration will 
not change on link up/link down.

Otherwise, you need to check the messages log file for information from 
NetworkManager.  dmesg will not tell you what you need to know.

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


[CentOS] DIMM problem

2013-04-24 Thread m . roth
Hey, folks,

   I've got an HP Proliant DL580 G5 throwing ECC errors. This is annoying,
since a) it's all new as of a few months ago, and b) it's *fully*
populated. The two things I need to figure out are a) *which* DIMM it
is, and b) is it mirrored; if so, which *other* DIMM needs to come out
until we get replacements from the OEM.

Here's one of many, all identical, from dmesg:
EDAC MC0: CE row 12, channel 1, label "": Corrected error (Branch=0,
Channel 1),  DRAM-Bank=2 RD RAS=8218 CAS=500, CE Err=0x1,
Syndrome=0x6cad8e02(Correctable Patrol Data ECC))

I see the Bank=2, so I assume that's the first riser board on the left;
but I can't identify which of the four (?) DIMMs on it is the problem.

I've been googling, and skimming useless manuals, and have just been
trying to look under /sys/devices/system/edac/mc/mc0/. I see ce_count
there showing thousands; but all of the ce_count files under csrow[0-7]
show zero.

Clues, anyone?

 mark


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


Re: [CentOS] DIMM problem

2013-04-24 Thread John R Pierce
On 4/24/2013 10:34 AM, m.r...@5-cent.us wrote:
> Hey, folks,
>
> I've got an HP Proliant DL580 G5 throwing ECC errors. This is annoying,
> since a) it's all new as of a few months ago, and b) it's *fully*
> populated. The two things I need to figure out are a) *which* DIMM it
> is, and b) is it mirrored; if so, which *other* DIMM needs to come out
> until we get replacements from the OEM.
>
> Here's one of many, all identical, from dmesg:
> EDAC MC0: CE row 12, channel 1, label "": Corrected error (Branch=0,
> Channel 1),  DRAM-Bank=2 RD RAS=8218 CAS=500, CE Err=0x1,
> Syndrome=0x6cad8e02(Correctable Patrol Data ECC))

call HP, that new server should be under support contract, no?


-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

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


Re: [CentOS] DIMM problem

2013-04-24 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John R Pierce said the following on 24/04/2013 19:43:

> call HP, that new server should be under support contract, no?

A ProLiant G5 is all but "new" :)

Better buy some compatible RAM because the original HP for old servers is very
expensive.



Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

Nel Giorno della Fine non ti servira` l'inglese.
--Franco Battiato, "Il re del mondo"
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlF4GnQACgkQ3kWu7Tfl6ZSzaACeIYTQHkIA7Zn3+myuJCDkeODw
K+UAn34xthkfjqUaD/9CPANOU/WThumK
=25kH
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DIMM problem

2013-04-24 Thread m . roth
Luigi Rosa wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> John R Pierce said the following on 24/04/2013 19:43:
>
>> call HP, that new server should be under support contract, no?
>
> A ProLiant G5 is all but "new" :)
>
> Better buy some compatible RAM because the original HP for old servers is
> very expensive.

The *memory* was new - I replaced all, I think, of the original memory.
The server's from '09. If they had a warranty, it's well past that, and HP
won't chat or email without $$$.

   mark

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


Re: [CentOS] DIMM problem

2013-04-24 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

m.r...@5-cent.us said the following on 24/04/2013 19:51:

> The *memory* was new - I replaced all, I think, of the original memory. The
> server's from '09. If they had a warranty, it's well past that, and HP 
> won't chat or email without $$$.

ProLiant DL 580 servers have an integrated log.

If you boot with SmartStart CD you can run "Integrated Management Log Viewer"
application and see if the system has logged some event related to ECC memory.

If you find some errors about ECC memory, you have a fault memory module (the
entry in the integrated log SHOULD say what module is faulty).

If the memory module is new you should be able to get a replacement.


Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

Any sufficiently advanced bug is indistinguishable from a feature.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlF4HYUACgkQ3kWu7Tfl6ZQgsgCcCjHw1ujs7CKgWrrfSrPl2awT
G6kAoKqZmHNxiVJu2u/qb9ywJ/sUKaQN
=IC+Z
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DIMM problem

2013-04-24 Thread me
On Wed, 24 Apr 2013, m.r...@5-cent.us wrote:

> Hey, folks,
>
>   I've got an HP Proliant DL580 G5 throwing ECC errors. This is annoying,
> since a) it's all new as of a few months ago, and b) it's *fully*
> populated. The two things I need to figure out are a) *which* DIMM it
> is, and b) is it mirrored; if so, which *other* DIMM needs to come out
> until we get replacements from the OEM.
>
> Here's one of many, all identical, from dmesg:
> EDAC MC0: CE row 12, channel 1, label "": Corrected error (Branch=0,
> Channel 1),  DRAM-Bank=2 RD RAS=8218 CAS=500, CE Err=0x1,
> Syndrome=0x6cad8e02(Correctable Patrol Data ECC))
>
> I see the Bank=2, so I assume that's the first riser board on the left;
> but I can't identify which of the four (?) DIMMs on it is the problem.
>
> I've been googling, and skimming useless manuals, and have just been
> trying to look under /sys/devices/system/edac/mc/mc0/. I see ce_count
> there showing thousands; but all of the ce_count files under csrow[0-7]
> show zero.
>
> Clues, anyone?

Is there anything in the iml log on ILO? Also did you try just re-seating
the memory or moving it into other slots to see if you can track it down that
way??

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DIMM problem

2013-04-24 Thread John R Pierce
On 4/24/2013 10:46 AM, Luigi Rosa wrote:
>> call HP, that new server should be under support contract, no?
> A ProLiant G5 is all but "new":)

ah, he said 'all new as of a few months ago'.   actually, thats a 
2009-ish server, with quad Tigerton/Dunnington quadcore processors 
(roughly equivalent to the Core2 Q series), and it came with a 3 year 
onsite warranty.   It uses PC2-5300 fully buffered dram (ddr2-6700) so 
yeah, that ram is going to be expensive since its an older generation.  
looks to take 4x4 1/2/4/8GB sticks, in pairs, but if you have all 4 
CPUs, you probably need to populate all 4 banks. oh, and there were 
memory expansion mezzenaine cards, so bringing it up to 32 dimms total.

I figured for laughs I'd try and find a ram layout for it, but best I've 
found says its printed on the lid to the CPU/memory module.
http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=125&prodSeriesId=3454575&prodTypeId=15351&prodSeriesId=3454575&objectID=c03047771


-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

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


Re: [CentOS] DIMM problem

2013-04-24 Thread m . roth
Luigi Rosa wrote:
> m.r...@5-cent.us said the following on 24/04/2013 19:51:
>
>> The *memory* was new - I replaced all, I think, of the original memory.
>> The server's from '09. If they had a warranty, it's well past that, and HP
>> won't chat or email without $$$.
>
> ProLiant DL 580 servers have an integrated log.
>
> If you boot with SmartStart CD you can run "Integrated Management Log
> Viewer" application and see if the system has logged some event related
to ECC
> memory.
>
> If you find some errors about ECC memory, you have a fault memory module
> (the entry in the integrated log SHOULD say what module is faulty).
>
> If the memory module is new you should be able to get a replacement.

Oh, I know I can get a replacement. In the meantime, it's in *use*, and I
need to arrange to be able to take it down. Then there's the issue of what
comes out - it's got, I don't remember 32 DIMMs maybe, including 3 or 4
riser boards. The bank=2 makes me *think* it's riser 2, but which of the
four? And where's it's mirror (I think it's mirrored memory).

Good idea, though, and I just installed OpenIPMI and ipmitool... and the
only thing that ipmitool sel list shows is a power supply failure
yesterday. I did go into the datacenter and look at it, and it's got this
cute pull-out little display... and it's not showing any of the DIMMs as
failing, which goes with the results of
cat /sys/devices/system/edac/mc/mc0/csrow*/*count *all* giving me zero,
though /sys/devices/system/edac/mc/mc0/ce_count shows 20260 and rising.

mark

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


Re: [CentOS] Problem getting mysqldump on Centos 5.x server

2013-04-24 Thread Bruce Whealton
>> 

Bruce, one other option if you are low on diskspace is using ssh to pipe the
file to another server.

Check out
http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ for an
example of how you might do this

 

On Wed, Apr 24, 2013 at 7:06 PM, Eero Volotinen 
wrote:

Hi Bruce,

Error 28 means that "not enought diskspace", free some more disk space and
try again.
>>

I freed up some space but we are back to the access denied.  But wait.  I
recall that I changed the password yesterday.

Ok, so we are back to the error that relates to the lack of disk space.  So,
I guess that other technique will put the sqldump file into the users home
folder on that other server.

Interestingly, it isn't the directory or partition that holds the mysql
files that is nearly full, it is the /usr and the /tmp.  The latter, even
when I recursively delete everything is still reporting as full.  So, my
curiosity is whether or not, for the purpose of piping it through to another
server, it still needs disk space from one of those partitions.  I'm not
sure otherwise, why it reports not enough disk space when the /home
partition has over 100GB free.  Maybe it needs space in the /tmp directory.
I'll see if I get the same error trying to pipe it through to another
server.

Bruce




 

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


Re: [CentOS] r-x and r-x.

2013-04-24 Thread Johan Vermeulen
Dear All,

thanks for the responses.

Indeed, on machine A, Selinux is disabled.

-bash-4.1# selinuxenabled && echo enabled || echo disabled
disabled

and on machine B, it's enabled.

I will test the script again on B with Selinux disabled.

Greetings, J.

Op 24-04-13 18:06, Ian Forde schreef:
> Yep - you'll want to do a 'ls -lZ' on both dirs and compare the
> differences...
> On Apr 24, 2013 8:32 AM, "Larry Martell"  wrote:
>
>> On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen
>>  wrote:
>>> Dear All,
>>>
>>> I'm currently troubleshooting NetworkManger scripts.
>>>
>>> I see a difference in machine A :
>>>
>>> drwxr-xr-x 2 root root 4096 apr 24 16:33 .
>>> drwxr-xr-x 5 root root 4096 jan  9 12:13 ..
>>> -rwxr-xr-x 1 root root  175 jan  9 12:13 00-netreport
>>> -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi
>>> -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs
>>> -rwxr-xr-x 1 root root  926 sep 25  2012 10-dhclient
>>> -rwxr-xr-x 1 root root  301 apr 24 15:58 20-backuplauncher
>>> -rwxr-xr-x 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
>>>
>>> and machine B:
>>>
>>> drwxr-xr-x. 2 root root 4096 apr 24 16:34 .
>>> drwxr-xr-x. 5 root root 4096 apr 23 12:06 ..
>>> -rwxr-xr-x. 1 root root  175 jan  9 12:13 00-netreport
>>> -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs
>>> -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient
>>> -rwxr-xr-x. 1 root root  326 apr 23 13:42 15-nfslauncher
>>> -rwxr-xr-x. 1 root root  307 apr 24 16:10 20-backuplauncher
>>> -rwxr-xr-x. 1 root root  220 jun 22  2012 yum-NetworkManager-dispatcher
>>>
>>> the difference being -rwxr-xr-x and -rwxr-xr-x.
>>>
>>> so with or without a dot (.)
>>>
>>> Does that mean anything?
>>>
>>> Thanks for any advise on this.
>>
>> The . means the file has an access list with SELinux. You could try
>> disabling SELinux on machine B and seeing if that fixes the issue.
>> ___
>> 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] IPv6

2013-04-24 Thread Matt
>> I have setup a CentOS 6.3 VPS with ONLY IPv6 access simply for testing
>> at this point.  It browses the Internet with lynx fine on most major
>> sites that are IPv6 enabled.  Yum does not seem to work though.
>> Always tries to connect to an IPv4 mirror and gives an error.  Is
>> there a way specify an IPv6 mirror to yum?
>
> Run through your mirror list, find a mirror which has a  record in
> DNS, and specify that one explicitly?
>
> For this kind of circumstance, my first approach would be to put a squid
> proxy on a dual-stacked (IPv4 & IPv6) host, and set http_proxy on the
> v6-only host such that outbound HTTP connections would pass through the
> squid proxy; the squid proxy will then use either IPv4 or IPv6 as
> appropriate for the requested destination host.
>
> (Incidentally, this is a great way to give IPv6 access to IPv4 hosts as
> well. I was once surprised to discover my PS3 pulling video from Netflix
> over IPv6 in this way.)

I put a temporary public IPv4 on it and installed a single package
with it.  After that I removed the IP and a it did a full yum update
without incident over IPv6.

My thought is on servers that do not require to talk to general public
and mainly talk to other servers and admins or users that I know have
IPv6 running them solely on IPv6 will work fine.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] r-x and r-x.

2013-04-24 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/24/2013 02:57 PM, Johan Vermeulen wrote:
> Dear All,
> 
> thanks for the responses.
> 
> Indeed, on machine A, Selinux is disabled.
> 
> -bash-4.1# selinuxenabled && echo enabled || echo disabled disabled
> 
> and on machine B, it's enabled.
> 
> I will test the script again on B with Selinux disabled.
> 
> Greetings, J.
> 
> Op 24-04-13 18:06, Ian Forde schreef:
>> Yep - you'll want to do a 'ls -lZ' on both dirs and compare the 
>> differences... On Apr 24, 2013 8:32 AM, "Larry Martell"
>>  wrote:
>> 
>>> On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen 
>>>  wrote:
 Dear All,
 
 I'm currently troubleshooting NetworkManger scripts.
 
 I see a difference in machine A :
 
 drwxr-xr-x 2 root root 4096 apr 24 16:33 . drwxr-xr-x 5 root root
 4096 jan  9 12:13 .. -rwxr-xr-x 1 root root  175 jan  9 12:13
 00-netreport -rwxr-xr-x 1 root root  335 okt 22  2012 04-iscsi 
 -rwxr-xr-x 1 root root  345 jan  9 12:13 05-netfs -rwxr-xr-x 1 root
 root  926 sep 25  2012 10-dhclient -rwxr-xr-x 1 root root  301 apr 24
 15:58 20-backuplauncher -rwxr-xr-x 1 root root  220 jun 22  2012
 yum-NetworkManager-dispatcher
 
 and machine B:
 
 drwxr-xr-x. 2 root root 4096 apr 24 16:34 . drwxr-xr-x. 5 root root
 4096 apr 23 12:06 .. -rwxr-xr-x. 1 root root  175 jan  9 12:13
 00-netreport -rwxr-xr-x. 1 root root  345 jan  9 12:13 05-netfs 
 -rwxr-xr-x. 1 root root  926 sep 25  2012 10-dhclient -rwxr-xr-x. 1
 root root  326 apr 23 13:42 15-nfslauncher -rwxr-xr-x. 1 root root
 307 apr 24 16:10 20-backuplauncher -rwxr-xr-x. 1 root root  220 jun
 22  2012 yum-NetworkManager-dispatcher
 
 the difference being -rwxr-xr-x and -rwxr-xr-x.
 
 so with or without a dot (.)
 
 Does that mean anything?
 
 Thanks for any advise on this.
>>> 
>>> The . means the file has an access list with SELinux. You could try 
>>> disabling SELinux on machine B and seeing if that fixes the issue. 
>>> ___ 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
> 
Disabling SELinux is not going to fix your problem.  Since the field is just
showing you that you have extended attibutes assigned to yr files.

Why not just script around it.

ls -l | sed 's/\. / /g'

Would replace all ". " from your output.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlF4LSMACgkQrlYvE4MpobMtZgCfXaIGgAUBIR+VtvmtimjiQ6Gi
lSYAoLm8RjgS0fuzXplqAVkOIdWWaqV7
=sAby
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem getting mysqldump on Centos 5.x server

2013-04-24 Thread Bruce Whealton
 

>Bruce, one other option if you are low on diskspace is using ssh to pipe
the file to another server.

>Check out
http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ for an
example of how you might do this

So, first it gave the usual error that relates to not enough disk space.
Then it made the connection to the other server, asking me to accept a
certificate that isn't known...  then asking for my password.  Finally, it
creates a file that is only 805B in size.  

So, I was doing the mysqldump on a Centos 5.x server and sending it to my
own Linux Centos 6.x box that does have a url that allows ssh across the
internet.  I suppose it wouldn't create the connection or the dump.sql.gz
file if it could not connect to my Centos 6.x box.  

I wish I understood the makeup of how mysql actually saves a database.  I
mean there is this mysql directory that has an directory for the same
database that I am trying to get.  However, if I just copy those files, I
don't know if that will give me a database or not.

Bruce






 

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


Re: [CentOS] Problem getting mysqldump on Centos 5.x server

2013-04-24 Thread Les Mikesell
On Wed, Apr 24, 2013 at 2:06 PM, Bruce Whealton
 wrote:

>>Check out
> http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ for an
> example of how you might do this
>
> So, first it gave the usual error that relates to not enough disk space.

That doesn't make much sense.  If you are piping the output it
shouldn't need local disk space.

> Then it made the connection to the other server, asking me to accept a
> certificate that isn't known...  then asking for my password.  Finally, it
> creates a file that is only 805B in size.

You should be able to view that with 'less'  (which should
automatically uncompress if needed) to see what you got.

> So, I was doing the mysqldump on a Centos 5.x server and sending it to my
> own Linux Centos 6.x box that does have a url that allows ssh across the
> internet.  I suppose it wouldn't create the connection or the dump.sql.gz
> file if it could not connect to my Centos 6.x box.

Yes, but it does not sound like your mysqldump command generated the
right output.

> I wish I understood the makeup of how mysql actually saves a database.  I
> mean there is this mysql directory that has an directory for the same
> database that I am trying to get.  However, if I just copy those files, I
> don't know if that will give me a database or not.

I think it should, given reasonably similar mysql versions, but you
should be able to make the mysqldump| gzip| ssh command work.

--
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gwenview WITHOUT nepomuk

2013-04-24 Thread Rex Dieter
m.r...@5-cent.us wrote:

> Does anyone know how to make gwenview *not* try to use nepomuk? I liked it
> under 5.x, but in 6.x it *constantly* complains about things like tagging
> is not enabled... but won't open, when I log in, with gwenview running and
> showing the same picture I'd logged out on. Then there are the random
> crashes
> 
> Don't need a "semantic" desktop, I know what things are, where they are,
> or how to find them

Try running kdebugdialog, and ensure that "Disable all debug output" is 
checked (and restart your session).

-- rex

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


Re: [CentOS] DIMM problem

2013-04-24 Thread m . roth
John R Pierce wrote:
> On 4/24/2013 10:46 AM, Luigi Rosa wrote:
>>> call HP, that new server should be under support contract, no?
>> A ProLiant G5 is all but "new":)
>
> ah, he said 'all new as of a few months ago'.   actually, thats a
> 2009-ish server, with quad Tigerton/Dunnington quadcore processors
> (roughly equivalent to the Core2 Q series), and it came with a 3 year
> onsite warranty.   It uses PC2-5300 fully buffered dram (ddr2-6700) so
> yeah, that ram is going to be expensive since its an older generation.
> looks to take 4x4 1/2/4/8GB sticks, in pairs, but if you have all 4
> CPUs, you probably need to populate all 4 banks. oh, and there were
> memory expansion mezzenaine cards, so bringing it up to 32 dimms total.
>
> I figured for laughs I'd try and find a ram layout for it, but best I've
> found says its printed on the lid to the CPU/memory module.
> http://h2.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=125&prodSeriesId=3454575&prodTypeId=15351&prodSeriesId=3454575&objectID=c03047771

I need to consider that - it might help. Anyway, that's it... and
*everything* is populated. Another HBS (you know, the technical term,
Honkin' Big Server... and I forget how many U's)



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


Re: [CentOS] r-x and r-x.

2013-04-24 Thread m . roth
Johan Vermeulen wrote:
> Dear All,
>
> thanks for the responses.
>
> Indeed, on machine A, Selinux is disabled.
>
> -bash-4.1# selinuxenabled && echo enabled || echo disabled
> disabled
>
> and on machine B, it's enabled.
>
> I will test the script again on B with Selinux disabled.
>
ARGH. Unless you move it to permissive, at least, you're in for a world of
hurt until you fix all the stuff. If you've got time, touch /.autorelabel
and reboot. And wait, for a while.

  mark

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


Re: [CentOS] r-x and r-x.

2013-04-24 Thread John R. Dennison
On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote:
>
> Disabling SELinux is not going to fix your problem.  Since the field is just
> showing you that you have extended attibutes assigned to yr files.
> 
> Why not just script around it.
> 
> ls -l | sed 's/\. / /g'
> 
> Would replace all ". " from your output.

Because that would be too easy and people absolutely love to shoot
themselves in the face by disabling selinux.  Because it is, as we all
know, ridiculously hard to manage.





Jonn

PS

Did I forget a  tag?

-- 
We must respect the other fellow's religion, but only in the same sense and
to the extent that we respect his theory that his wife is beautiful and his
children smart.

-- H. L. Mencken (1880-1956), writer, editor, and critic


pgppEZMfdP1wS.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] r-x and r-x.

2013-04-24 Thread m . roth
John R. Dennison wrote:
> On Wed, Apr 24, 2013 at 03:06:11PM -0400, Daniel J Walsh wrote:
>>
>> Disabling SELinux is not going to fix your problem.  Since the field is
>> just showing you that you have extended attibutes assigned to yr files.
>>
>> Why not just script around it.
>>
>> ls -l | sed 's/\. / /g'
>>
>> Would replace all ". " from your output.
>
> Because that would be too easy and people absolutely love to shoot
> themselves in the face by disabling selinux.  Because it is, as we all
> know, ridiculously hard to manage.

Don't get me started. I'm fighting it regularly. For example,
SELinux is preventing /usr/bin/perl from getattr access on the file
/sys/devices/system/node/node0/meminfo. For complete SELinux messages.

And yes, I did post a few things to the selinux list

mark

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


[CentOS] odd problem with .vnc/xstartup and kdm

2013-04-24 Thread Miranda Hawarden-Ogata
I recently switched our workstations from gdm to kdm, because I was 
receiving some complaints with gdm about having to set the desktop 
halfway through the login (versus being able to set it from the start of 
the login process), as well as having the mile long list of previous 
logins (which, by the way, if anyone knows how to turn that off, lemme 
know, please!).

After switching the window manager to kdm, we started having problems 
with our vncserver sessions. Every single session was kde, without 
regard for the contents of the xstartup file for that particular user. I 
have users that want gnome and others that want kde, and some project 
accounts that use some other custom stuff, so obviously this was a problem.

The only "configuration" I did after yum group-installing KDE-Desktop 
was to set up the /etc/sysconfig/desktop file to contain:
DESKTOP="KDE"
DISPLAYMANAGER="KDE"

so I am not sure what is up with kdm to be causing this. I tried looking 
online but only found some ancient debian/ubuntu questions that are 
mostly unanswered or resolved in ways that won't work for us (hard 
coding something in xinitrc, for example).

So, does anyone have any ideas as to what is going on and what I can do 
to resolve it? I am currently in the process of rolling back the 
workstations to the gdm configuration as a "fix", but if possible I'd 
really like to be able to actually sort out what is going on. Our 
systems are not heavily customized, being "software development 
workstation" installs with a few extra group installs (including the 
centos base tigervnc-server package) and a handful of third-party 
rpmforge packages installed, and kdm seems to work properly on the 
console (allowing selection of other desktops, etc), it's only with the 
~/.vnc/xstartup that we are having issues.

Thanks!
Miranda

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


[CentOS] Anybody Else Seeing these internet spikes?

2013-04-24 Thread John Hinton
Is anybody else seeing these internet spikes that seemed to come along 
with the WP bots? And, what are good methods for defense? It looks like 
they are hitting port 80 but not leaving a trace in logs.

-- 
John Hinton
877-777-1407 ext 502
http://www.ew3d.com
Comprehensive Online Solutions

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


[CentOS] rsync vault.centos.org::centos-full-store - @ERROR: Unknown module 'centos-full-store'

2013-04-24 Thread a j
Hi,

I use vault.centos.org::centos-full-store to rsync few repositories from
vault.
Recently I started getting @ERROR: Unknown module 'centos-full-store'
Has something changed?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] odd problem with .vnc/xstartup and kdm [RESOLVED]

2013-04-24 Thread Miranda Hawarden-Ogata
On 2013/04/24 12:02, Miranda Hawarden-Ogata wrote:
> I recently switched our workstations from gdm to kdm, because I was 
> receiving some complaints with gdm about having to set the desktop 
> halfway through the login (versus being able to set it from the start 
> of the login process), as well as having the mile long list of 
> previous logins (which, by the way, if anyone knows how to turn that 
> off, lemme know, please!).
>
> After switching the window manager to kdm, we started having problems 
> with our vncserver sessions. Every single session was kde, without 
> regard for the contents of the xstartup file for that particular user. 
> I have users that want gnome and others that want kde, and some 
> project accounts that use some other custom stuff, so obviously this 
> was a problem.
>
> The only "configuration" I did after yum group-installing KDE-Desktop 
> was to set up the /etc/sysconfig/desktop file to contain:
> DESKTOP="KDE"
> DISPLAYMANAGER="KDE"
>
> so I am not sure what is up with kdm to be causing this. I tried 
> looking online but only found some ancient debian/ubuntu questions 
> that are mostly unanswered or resolved in ways that won't work for us 
> (hard coding something in xinitrc, for example).
>
> So, does anyone have any ideas as to what is going on and what I can 
> do to resolve it? I am currently in the process of rolling back the 
> workstations to the gdm configuration as a "fix", but if possible I'd 
> really like to be able to actually sort out what is going on. Our 
> systems are not heavily customized, being "software development 
> workstation" installs with a few extra group installs (including the 
> centos base tigervnc-server package) and a handful of third-party 
> rpmforge packages installed, and kdm seems to work properly on the 
> console (allowing selection of other desktops, etc), it's only with 
> the ~/.vnc/xstartup that we are having issues.
>
> Thanks!
> Miranda
>
>

For anyone in the future trying to figure this out, thought I'd post. 
Turned out that the "default" xstartup that I thought was explicitly 
calling gnome was not doing so, and was calling the system default 
desktop instead. Once I explicitly called gnome via a gnome-session 
script call in xstartup, the problem was resolved.

Although a great many of the online instructions for setting gnome as 
your vnc desktop tell you to unset some variables and then call startx, 
all that does is call the system default desktop, which is fine and 
dandy if you're running gdm as your manager, but completely worthless if 
you are running kdm. You need to explicitly call gnome-session instead 
of startx, and you can also dump everything else in the "default" file 
as it is not necessary. A functional xstartup can be as barren as:

(gnome)
#!/bin/sh
gnome-session &

(kde)
#!/bin/sh
startkde &

Hope this helps someone in the future :D

Thanks!
Miranda

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