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

2013-04-23 Thread John Doe
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...

JD
___
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-23 Thread Carl T. Miller
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] CentOS-announce Digest, Vol 98, Issue 11

2013-04-23 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:0760  CentOS 5 policycoreutils Update (Johnny Hughes)
   2. CEBA-2013:0761  CentOS 5 cman Update (Johnny Hughes)


--

Message: 1
Date: Tue, 23 Apr 2013 03:21:18 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2013:0760  CentOS 5 policycoreutils
Update
To: centos-annou...@centos.org
Message-ID: <20130423032118.ga12...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2013:0760 

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

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

i386:
c2650ca9abcf12086139491927887d6df6a79f2e5b7f61ba79cb54f10c3ad3cb  
policycoreutils-1.33.12-14.8.el5_9.i386.rpm
132b63efc85630f0a949c407b30e5700f7b140f9965a9085c548b165b96268f5  
policycoreutils-gui-1.33.12-14.8.el5_9.i386.rpm
ead595e5fd1bc9b13ceeb9f41a4cb52ca67aca24617d29af9a7831acf34dd993  
policycoreutils-newrole-1.33.12-14.8.el5_9.i386.rpm

x86_64:
fd9efc318c5c5a8d949a7c7a296433c17b632ff810d8276a6fd93627091f79fa  
policycoreutils-1.33.12-14.8.el5_9.x86_64.rpm
f8ced42ec8329297562aa895dc1c51cf84560292e352638acd7ab75cea3be24e  
policycoreutils-gui-1.33.12-14.8.el5_9.x86_64.rpm
9c94c506d4930d4fc58d84925229d739e55e3d1d467e93c3ac014dc599d1bf64  
policycoreutils-newrole-1.33.12-14.8.el5_9.x86_64.rpm

Source:
537a46af40495ff04147795ba221228107e59fd62383cee81785e190675e3746  
policycoreutils-1.33.12-14.8.el5_9.src.rpm



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



--

Message: 2
Date: Tue, 23 Apr 2013 03:22:19 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2013:0761  CentOS 5 cman Update
To: centos-annou...@centos.org
Message-ID: <20130423032219.ga13...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2013:0761 

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

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

i386:
a2af038796c04d776e1ae15eb993ad6870a6079870600e6f0f0a37ae1ce45a04  
cman-2.0.115-109.el5.3.i386.rpm
ef7c37066056f5e95299192ff0ba3cb100df0dd29b99553d57bf60e082ba3b5a  
cman-devel-2.0.115-109.el5.3.i386.rpm

x86_64:
6024a5fafd4f1230456fdf8584d04158f617952ca8d3aa1882e26d448c3aa52c  
cman-2.0.115-109.el5.3.x86_64.rpm
ef7c37066056f5e95299192ff0ba3cb100df0dd29b99553d57bf60e082ba3b5a  
cman-devel-2.0.115-109.el5.3.i386.rpm
3741785b0475e58e7c09fdc27d0c6b50eb56302d18f5e8292621f62d3a5db96c  
cman-devel-2.0.115-109.el5.3.x86_64.rpm

Source:
174bea6201ad26818ad6eff65af15b7e9de2f1dd0094e5c5bc72a925ef01  
cman-2.0.115-109.el5.3.src.rpm



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



--

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


End of CentOS-announce Digest, Vol 98, Issue 11
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2013-04-23 Thread Mayur Patil
Hello,

  I have done following steps:

   Press Ctrl+Alt+F2

   By root login, I entered following command :

yum groupinstall basic-desktop desktop-platform x11 fonts

   Then I reboot system; only blank screen appears ; not even cursor.

   Then I tried this :

   yum groupinstall -y ' X Windows System'

   yum groupinstall -y ' Desktop '

   Then I open */etc/inittab* via text editor and change following line:

id:3:initdefault:

To:

id:5:initdefault:

Then give command to start the GUI:

$ init 5
but screen stop responding after giving message " Starting jexec
services ".

   After that I reboot system, Then I run.

   $ startx

   It has loaded some packages but failed to load and stop there.

   Then I tried this gnome-session, gnome-panel and gnome-applets.

   It has said everything is installed.

   After this, I tried this:

   yum -y groupinstall "X Window System" "Desktop" "Fonts" "General Purpose
Desktop"

   upto 83 MB installation Then I reboot and entered startx

it has given following error and stopped

   Loading extension GLX
   FATAL: Module fbcon not found.
   [dix] Could not init font path element catalogue:/etc/X11/fontpath.d,
removing from list!
   [dix] Could not init font path element built-ins, removing from list!

   Fatal server error: could not open default font 'fixed'
   (EE) Please consult the CentOS support  at
http://wiki.centos.org/Documentation  for help.
   (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
   (EE) Server terminated with error (1). Closing log file.
   [89.274] (EE)
   [89.274] (II) AIGLX: Suspending AIGLX clients for VT switch

   Now as the last measure, I have run the

  yum -y update

   today itself. 243 MB, will get complete tomorrow (as per I hope).

   I have google for this but not find confirm solution.

   Am I missing something; please help ??

  Seeking for guidance,

  Thank you !!!

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


Re: [CentOS] hard drive question - WD red

2013-04-23 Thread Dan Young
On Mon, Apr 22, 2013 at 12:50 PM,   wrote:
> I see a really good price, and better for quantity, for 3TB drives. Now,
> I've been down on WD for a couple of years, since I found that they'd
> protected certain h/d parms from being changed (like TLER). The ones I'm
> looking at are the Red, which seems to be a new color (at least to me),
> and one technical review I've read says that they're intended for NAS,
> etc, and you can adjust those parms. They're *not* supposed to be
> "enterprise" or server grade, but it sounds like they'd work with RAID.
>
> Anyone know anything about them?

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.

http://www.avsforum.com/t/1454542/issue-with-wd-red-drives
http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771442.pdf

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


Re: [CentOS] RAID 6 - opinions

2013-04-23 Thread Lamar Owen
On 04/12/2013 01:01 AM, David Miller wrote:
> You simply match up the Linux /dev/sdX designation with the drives 
> serial number using smartctl. When I first bring the array online I 
> have a script that greps out the drives serial numbers from smartctl 
> and creates a neat text file with the mappings. When either smartd or 
> md complain about a drive I remove the drive from the RAID using mdadm 
> and then pull the drive based on the mapping file. Drive 0 in those 
> SuperMicro SAS/SATA arrays are always the lowest drive letter and goes 
> up from there. If a drive is replaced I just update the text file 
> accordingly. You can also print out the drive serial numbers and put 
> them on the front of the removable drive cages. It is not as elegant 
> as a blinking LED but it works just as well. I have been doing it like 
> this for 6 plus years now with a few dozen SuperMicro arrays. I have 
> never pulled a wrong drive. 

It's great the the Supermicro controllers can do this, but I know from 
experience that in the general case with multiple controllers and on 
CentOS 6 this will not work.  Just a quick caveat on that.

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


Re: [CentOS] [OT] RAID 6 - opinions

2013-04-23 Thread Lamar Owen
On 04/12/2013 02:11 AM, John R Pierce wrote:
> many of the systems I design get deployed in remote DCs and are 
> installed, managed and operated by local personnel where I have no 
> clue as to the levels of their skills, so its in my best interest to 
> make the procedures as simple and failsafe as possible. when faced 
> with a wall of 20 storage servers, each with 48 disks, good luck with 
> finding that 20 digit alphanumeric serial number 
> "3KT190V2754280ED" ... uh HUH, thats assuming all 960 disks got 
> just the right sticker put on the caddies. 'replace the drives with 
> the red blinking lights' is much simpler than 'figure out what 
> /dev/sdac is on server 12' 

This is what I love about real RAID controllers or real storage array 
systems, like NetApp, EMC, and others.  Not only does the faulted drive 
light up amber, but the shelf/DAE also lights up amber.

I told an EMC VP a week or so ago that 'anybody can throw a bunch of 
drives together, but that's not what really makes an array work.' The 
software that alerts you and does the automatic hotsparing (even across 
RAID groups (using EMC terminology)) is where the real value is.  A 
bunch of big drives all lopped together can be a pain to troubleshoot 
indeed.

I've done arrays with a bunch of COTS drives; and I've done EMC. Capex 
is easier to justify than opex in a grant-funded situation, and that's 
why in 2007 we bought our first EMC Clariions (44TB worth, not a lot by 
today's standards), since the grant would fund the capex but not the 
opex, and I've not regretted it once since. One of those Clariion 
CX3-10c's has been continuously available since placed into service in 
2007, even through OS (EMC FLARE) upgrades/updates and a couple of drive 
faults.

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


[CentOS] Merging os and updates

2013-04-23 Thread isdtor
I've been able to successfully kickstart CentOS 3.9 from the base
repo, but no such luck after merging os and updates. I think I did
everything right - updated base/comps.xml and regenerated
hdlist/hdlist2. Updated  the yum repo as well although I'm pretty sure
it's not used by anaconda.

This is difficult to debug. The setup is running under kvm on a CentOS
6.4 host, and for some reason, a completely headless install fails
(--graphics none; virt-viewer complains loudly and dies). A graphical
install with vnc looks quite different from newer OSes' ks installs,
there is no VC showing package install progress or an interactive
shell. I.e. I cannot tell what exactly fails.

Yes, there is a specific legacy reason for using 3.9 here.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2013-04-23 Thread Tilman Schmidt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 23.04.2013 16:49, schrieb Mayur Patil:
> Hello,
> 
> I have done following steps:
[...]
> I have google for this but not find confirm solution.
> 
> Am I missing something; please help ??
> 
> Seeking for guidance,

It is virtually impossible to deduce from your description what's
wrong with your machine. You should find someone in your vicinity who
knows
Linux and can have a direct look.

HTH
T.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlF2/rAACgkQ780oymN0g8NhzACfahGgKlEH2kjrB20toC+ALm+t
ynEAnioqWOCRTsTX7SZX81ofp1gaahjv
=Wlar
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2013-04-23 Thread Cliff Pratt
You should not have removed the i686 packages. The packaging system ensures
that there are no conflicts. I suggest that you reinstall them. It may be
that there is no need of them, but second-guessing the packaging system is
never a good idea, unless you know *exactly* what you are doing.

Cheers,

Cliff


On Tue, Apr 23, 2013 at 1:26 AM, Mayur Patil wrote:

> Hello,
>
>  I have trapped in weird problem. My Setup is CentOS 6.3 Desktop edition
> x86_64 arch.
>
>  My login screen is blinking so frequently that I am unable to see and
> login into it.
>
>  And also I am unable to reinstall the OS because it will take very long
> time re-setup everything as per my configuration as well as Data.
>
>  The problem is as follows:
>
>  I have several months ago libgcc-4.4.6.i686.
>
>  Today for installing rsyslog, I updated the package libgcc-4.4.7.i686 and
> libgcc-4.4.7.x86_64. Then thinking
>
>  about chances of conflict, I removed libgcc-4.4.7.i686  it has also
> removed the
>
>  cups-libs
>  gmp
>  gnutils
>  gtk2
>  libstdc++
>  libtiff
>  peazip
>
>  all are i686 type. Then I installed same packages for 64 bit through yum
> install 
>
>  Message also said successfully installed. Then I try to open another
> terminal window but it was suddenly closing
>
>  so I thought restart might solve this problem; so I restart the computer.
>
>  I am getting normal CentOS login backgroud but getting faster blinking
> screen.
>
>  How should I solve this problem (except formatting the CentOS) as CentOS
> is the only OS on that machine.
>
>  1. How to login into CentOS now??
>
>  2. Which package should I need to install and how ??
>
>  Kindly do the needful,
>
>  Thank you !!
>
> *--
> Cheers,
> Mayur. *
> ___
> 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] Problem getting mysqldump on Centos 5.x server

2013-04-23 Thread Bruce Whealton
Hello all,
I have a dedicated hosting account that I am closing down but I am
having problems getting an access denied error when I run the mysqldump
command from the ssh prompt, logged in as root.  So, the hosting provider,
who saw the same error, reported, " Hence, we would suggest you directly FTP
the database from server to your machine by using ssh client."  I am not
sure what that means.  Unless it means going into the /home/msyql directory
and then into the corresponding directory for the particular db that I am
trying to get.  This is for a joomla installation.  So, there are files that
include db.opt and then jos_banner.frm, jos_banner.MYD, jos_banner.MYI, and
etc.
So, do I download all those files?
I am wanting to move the site to another server which is a VPS hosting
account that also runs Centos 5.x. 
Thanks in advance for any help,
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-23 Thread Clint Dilks
Hi Bruce

>From your message I am assuming that either you installed MySQL yourself or
had some do it for you?

Is the mysql database currently running?  If not it should be.
Are you able to access the database using the command line tools ?  From
the machine its currently running on try

mysql -p ( when prompted enter the password you believe should work)

If it is running I suggest you schedule a time to shut it down and reset
the root password
See http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html or
Google

Moving the physical files associated with a MySQL Database can be made to
work if you absolutely must.  But getting a mysql dump is a much cleaner
approach.

I hope this helps :)




On Wed, Apr 24, 2013 at 1:20 PM, Bruce Whealton
wrote:

> Hello all,
> I have a dedicated hosting account that I am closing down but I am
> having problems getting an access denied error when I run the mysqldump
> command from the ssh prompt, logged in as root.  So, the hosting provider,
> who saw the same error, reported, " Hence, we would suggest you directly
> FTP
> the database from server to your machine by using ssh client."  I am not
> sure what that means.  Unless it means going into the /home/msyql directory
> and then into the corresponding directory for the particular db that I am
> trying to get.  This is for a joomla installation.  So, there are files
> that
> include db.opt and then jos_banner.frm, jos_banner.MYD, jos_banner.MYI, and
> etc.
> So, do I download all those files?
> I am wanting to move the site to another server which is a VPS hosting
> account that also runs Centos 5.x.
> Thanks in advance for any help,
> Bruce
>
> ___
> 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-23 Thread Michael Mol
On 04/23/2013 09:42 PM, Clint Dilks wrote:
> Hi Bruce
> 
>>From your message I am assuming that either you installed MySQL yourself or
> had some do it for you?
> 
> Is the mysql database currently running?  If not it should be.
> Are you able to access the database using the command line tools ?  From
> the machine its currently running on try
> 
> mysql -p ( when prompted enter the password you believe should work)
> 
> If it is running I suggest you schedule a time to shut it down and reset
> the root password
> See http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html or
> Google
> 
> Moving the physical files associated with a MySQL Database can be made to
> work if you absolutely must.  But getting a mysql dump is a much cleaner
> approach.
> 
> I hope this helps :)

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.

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.

It all depends on how much time he has before the system becomes
unavailable to him.



signature.asc
Description: OpenPGP digital 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-23 Thread Clint Dilks
On Wed, Apr 24, 2013 at 1:56 PM, Michael Mol  wrote:

> On 04/23/2013 09:42 PM, Clint Dilks wrote:
> > Hi Bruce
> >
> >>From your message I am assuming that either you installed MySQL yourself
> or
> > had some do it for you?
> >
> > Is the mysql database currently running?  If not it should be.
> > Are you able to access the database using the command line tools ?  From
> > the machine its currently running on try
> >
> > mysql -p ( when prompted enter the password you believe should work)
> >
> > If it is running I suggest you schedule a time to shut it down and reset
> > the root password
> > See http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html or
> > Google
> >
> > Moving the physical files associated with a MySQL Database can be made to
> > work if you absolutely must.  But getting a mysql dump is a much cleaner
> > approach.
> >
> > I hope this helps :)
>
> 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.
>
> 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.
>
> It all depends on how much time he has before the system becomes
> unavailable to him.
>
>

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] kde in centos 6.4

2013-04-23 Thread Michel Donais
Brand new Centos 6.4 installation.
The window manager is Gnome; I tried some trick found on the web to chande 
it to KDE without success.
Do somebody can tell me what to do to get KDE working on this installation.



---
Michel Donais 

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


[CentOS] centos 6.4 networking problem

2013-04-23 Thread Michel Donais
On this system I have two nics

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?


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


Re: [CentOS] centos 6.4 networking problem

2013-04-23 Thread Frank Cox
On Wed, 24 Apr 2013 01:22:35 -0400
Michel Donais wrote:

> On this system I have two nics
> 
> 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?
> 
> 
> ---
> Michel Donais
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


-- 
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] How to make a network interface come up automatically on link up?

2013-04-23 Thread Joakim Ziegler
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


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

2013-04-23 Thread Bruce Whealton
Clint,
Thanks for the tip.  The server is running but I noticed when I was inside a
mysql session, I was getting messages that the mysql went away and then came
back.  Anyway, I updated the password and now I have 'Got error 28 from
storage engine' when trying to dump tablespaces
mysqldump: couldn't execute 'show fields from `jos_banner`': Got error 28
from storage engine (1030)
So, it might be getting stuck on the first table.
Or does it matter where you run this command?
Bruce

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Clint Dilks
Sent: Tuesday, April 23, 2013 9:42 PM
To: CentOS mailing list
Subject: Re: [CentOS] Problem getting mysqldump on Centos 5.x server

Hi Bruce

>From your message I am assuming that either you installed MySQL 
>yourself or
had some do it for you?

Is the mysql database currently running?  If not it should be.
Are you able to access the database using the command line tools ?  From the
machine its currently running on try

mysql -p ( when prompted enter the password you believe should work)

If it is running I suggest you schedule a time to shut it down and reset the
root password See
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html or Google

Moving the physical files associated with a MySQL Database can be made to
work if you absolutely must.  But getting a mysql dump is a much cleaner
approach.

I hope this helps :)






___
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-23 Thread 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