Re: [CentOS] Changing hostname?

2008-09-14 Thread Marcus Moeller
Dear Bob.

> /etc/sysconfig/network
> Hostname=server1.mydomain.com
> (where the domain is one of my websites on the server, actually my name
> server too)

As mentioned before, I cannot see that this variable is used in any form.

> Change /etc/hosts
> First of all, leave all the original stuff and do not alter.
> Underneath the original stuff, just add
>   server1.mydomain.com
>
> REBOOT

If you have read the initial posting this is about setting up the
hostname on machines without a network connection (but loopback).

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


Re: [CentOS] Local yum repository

2008-09-14 Thread Sergey Podushkin

saurabh wrote:
i followed your instructions and edited the local repo file under 
/etc/yum.repos.d by adding disabled=1 in the last

Really sorry, I mistyped. Right option is "enabled", not "disabled", so
you need replace "disabled=1" by "enabled=0".
Once again, sorry!

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


RE: [CentOS] Installing nVidia driver on remote CentOS 4

2008-09-14 Thread John
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Eon Strife
Sent: Saturday, September 13, 2008 11:40 PM
To: centos@centos.org
Subject: [CentOS] Installing nVidia driver on remote CentOS 4

Hi,
There's a linux cluster somewhere (using Rocks), and I use remote desktop
(nxmachine) to do the work on the frontend of the cluster. The desktop is
Gnome. And, I intend to install new nVidia driver, but it requires me to
stop the X Server. I check around the internet, they say we can use the
/etc/init.d/gdm stop, but I can't run it since the gdm file does not exist.
Another alternative is by rebooting the Linux (of course, we change the
inittab before). But I don't know how to reboot remotely. Moreover, I don't
know if it is safe to reboot Linux remotely, because I can't physically
access the linux workstation. Oh, the operating system of the Linux is
CentOS 4. 
What should I do ?
Thanks.
--
JohnStanley Writes:

Why are you even worried about installing the Nvidia driver on a Cluster? It
should only be running in Run Level 3. Beside it's not going to make your NX
Client session any much faster Also to it does not have to be in run level 5
to access it with NX.

Hint: If that's what you really want then enter runlevel 3 (# init 3). Then
start the driver install, but you may very well be asking for a Night Mare
doing this to a Cluster. Be warned if the cluster OS runs off a san server
as well as all the cluster nodes it could be trouble, (Diskless).

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


[CentOS] Re: Illegal opp code

2008-09-14 Thread Dermot
2008/9/12 Dermot :

> HP DL 385 G2.
> CentOS 5.1
> Kernel 2.6.18-92.1.10.el5
>
> I have a newly installed server that was running x. It told me there
> were updates to install. I accepted that all, except sysreport as I
> always seem to have problems installing. I rebooted, having set the
> default run level to 3. I then got a red screen with an "illegal
> OpCode" error message.
>
> I have used my CD to boot into rescue more. My old system is mounted under 
> /mnt.
>
> I would also like to get my system back up and running. I have put a
> fair bit of time into loading libraries and software.
>
> I have tried editing the grub.conf and commenting out the
> 2.6.18-92.1.10.el5 kernel so it used a previous kernel but I can not
> get past this error. There is no message from grub. The system comes
> straight from the BIOS messages into this red screen.
>
> Is there any other ways to determine what the problem is? The error
> messages says nothing more that a few lines of hex which don't look
> useful to me.

This turned out to be an grub issue. The illegal OpCode message seems
to come the HP hardware/BIOS.

I resolved it by booting using an CentOS cd, doing linux rescue at boot.
>chroot /mnt/sysimage
>grub
grub> device (hd0) /dev/csiss/c0d0
grub> root (hd0,0)
grub> setup (hd0)

It took a couple of attempts, my knowledge of grub is limited. During
the process I also booted from a DOS floppy and did a fdisk /mbr. That
removed the Illegal OpCode which confirmed I was on the right route.

Hopefully this post might help some other poor HP harware user.
Dp.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP Hardware

2008-09-14 Thread Dermot
2008/9/14 nate <[EMAIL PROTECTED]>:
> Mag Gam wrote:
>> At my university we use HP hardware exclusively. When we build CentOS
>> our Unix SA is running several HP utilities. I am wondering what some
>> of these utilities are, such as cmaidad. Is it possible to to use
>> these HP utilities to monitor for disk crashes (similar to smartd)? Is
>> anyone using native HP utilities for this purpose?
>

I just did a round of HP patches to my DL series servers. In doing so
I went to the HP site and installed the Support Pack RPMs. This
provide a load of tool including the Compaq RAID utility (cqpacuex).
However these tools run as daemons so if you want a small footprint,
this might not be the way for you. The tools do provide a web-based
dignostics utility which also allows you to configure the host array
or in my case, the fibre attached storage arrays.

In the past I have had to change the name in the /etc/*release file to
RedHat to install HP stuff. I can't remember if I had to do that this
time!
Dp.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Local yum repository

2008-09-14 Thread William L. Maltby

On Sun, 2008-09-14 at 01:51 +0530, saurabh wrote:
> Hi All,
> 
> i have a local repository configured for 'yum',which have files copied 
> over from the RHEL DVD,It was configured initially,as i was facing some 
> issues with my NIC which was not supported on 2.6.18 so had to upgrade 
> to 2.6.26.
> Now as all is working fine and i'm on net i want to disable that 
> repository and just use the rpmforge repository configured on my system 
> following directions from
> http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show&redirect=Repositories%2FRPMForge
> 
> Please help me out
> -  Disabling the local Repo
> or by
> -  Any method to keep it up to date ,[syncing it with some online 
> repository]

I suggest "man -k yum" as a starting point before asking such basic
questions. If this returns nothing, as root user do "makewhatis" and try
it again. Then read some of what is returned by doing "man ",
omitting the quotes and replacing the "" with the name of the
man page.

> 

-- 
Bill

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


Re: [CentOS] Installing libpng

2008-09-14 Thread Filipe Brandenburger
Hi,

On Sat, Sep 13, 2008 at 18:23, Joe Tseng <[EMAIL PROTECTED]> wrote:
> I've been trying to install perl-Tk and I learned v804.028 uses libpng >
> 1.2.20;

Are you sure? Where are you installing perl-Tk from?

I just tried to yum install perl-Tk version 804.028-2.el5.rf from the
rpmforge repository, and it didn't say anything about having to
upgrade libpng. I have libpng version 1.2.10-7.1.el5_0.1 installed.
This is an updated CentOS 5.2 machine.

Can you give more details on where are you getting this perl-Tk from?

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


Re: [CentOS] HP Hardware

2008-09-14 Thread Mag Gam
Looks like thats what I did.

But what is the exact purpose of 'cmaidad'. Is it a replacement for
SMART? I think it is...But just want to confirm

On Sun, Sep 14, 2008 at 6:40 AM, Dermot <[EMAIL PROTECTED]> wrote:
> 2008/9/14 nate <[EMAIL PROTECTED]>:
>> Mag Gam wrote:
>>> At my university we use HP hardware exclusively. When we build CentOS
>>> our Unix SA is running several HP utilities. I am wondering what some
>>> of these utilities are, such as cmaidad. Is it possible to to use
>>> these HP utilities to monitor for disk crashes (similar to smartd)? Is
>>> anyone using native HP utilities for this purpose?
>>
>
> I just did a round of HP patches to my DL series servers. In doing so
> I went to the HP site and installed the Support Pack RPMs. This
> provide a load of tool including the Compaq RAID utility (cqpacuex).
> However these tools run as daemons so if you want a small footprint,
> this might not be the way for you. The tools do provide a web-based
> dignostics utility which also allows you to configure the host array
> or in my case, the fibre attached storage arrays.
>
> In the past I have had to change the name in the /etc/*release file to
> RedHat to install HP stuff. I can't remember if I had to do that this
> time!
> Dp.
> ___
> 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] Yum-updatesd

2008-09-14 Thread Josh Donovan
Bob Hoffman wrote:
> The default setting is every hour. Checking for an update at least once a
> day is not bad as a bug fix can come in at anytime. I would think that is
> very important for the server.

Is CentOS your first introduction to Linux? You may need to cut your teeth
upstream on Fedora (a cutting edge product) as it changes frequently and
has tons of updates. With an Enterprise distro the aim is stability to run
mission critical servers.

With the latest and greatest distro (Fedora), the aim is to roll out tons
of updates and have you test them out.

Thanks,
Josh.




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


Re: [CentOS] Missing 4.7 kernel update SRPMs ?

2008-09-14 Thread Akemi Yagi
On Sat, Sep 13, 2008 at 2:18 PM, R P Herrold <[EMAIL PROTECTED]> wrote:
> On Sat, 13 Sep 2008, Shad L. Lords wrote:
>
>> James Pearson wrote:
>>>
>>> I can't find the kernel-2.6.9-78.0.1.EL.src.rpm and
>>> kernel-2.6.9-78.0.1.plus.c4.src.rpm on the download sites - the binary
>>> i386/x86_64 RPMS are there, but not the matching SRPMs
>>
>> There are actually quite a few missing sources:
>
> Please file bugs -- these are easy to address, but might lost in a mailing
> list context.

Filed at bugs.centos.org:

http://bugs.centos.org/view.php?id=3132

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


[CentOS] SeaMonkey RPM for CentOS 5.2 (32 bit) is in which Yum Repository?

2008-09-14 Thread Lanny Marcus
I'm curious about SeaMonkey (especially the HTML Composer). Which Yum Repository
has the RPM for CentOS 5.2 (32 bit). TIA!

[EMAIL PROTECTED] ~]# yum install seamonkey
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * google: dl.google.com
 * rpmforge: fr2.rpmfind.net
 * extras: mirror.cs.vt.edu
 * updates: mirror.newnanutilities.org
 * base: mirror.cs.vt.edu
 * addons: styx.biochem.wfubmc.edu
 * adobe-linux-i386: linuxdownload.adobe.com
294 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
No package seamonkey available.
Nothing to do
[EMAIL PROTECTED] ~]#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slackware's 'explodepkg' equivalent for rpm?

2008-09-14 Thread Ric Moore
On Sun, 2008-09-14 at 15:15 +0200, Niki Kovacs wrote:
> Hi,
> 
> Is there any 'explodepkg' equivalent for the rpm command? What I want is 
> simply uncompress an RPM package to get the files directly, but I didn't 
> find anything in rpm's manpage.

If you just want to peruse the rpm from the inside, use 'mc' (Midnight
Commander) and it works like a charm. I don't know if it will uncompress
them to the directory, as I've never had a need to do that, but check it
out. Use F3 to look inside files you see listed. F3 again to back out.
F10 quits. I like it. Ric

-- 

My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
https://nuoar.dev.java.net/
Verizon Cell # 336-254-1339

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


[CentOS] Tmp directory and sticky

2008-09-14 Thread Bob Hoffman

I noticed after my install that the tmp directory was

A- not a sticky
B- still executable

I went and changed etc/fstab to add loop,noexec,nosuid,rw, which I hope is
the right thing to do.
I rebooted and it looks like it worked.

When doing an ls -l on the main directory, the tmp folder lit up all green
in putty (cool, I hope)

But the chmods I did with winscp will not take effect (they do on other
directories) so I manually ran chmod 1777 on the tmp folder.

Since centos seems to be pretty good at pre configuration, I am concerned
that maybe I should not do this, but every security book says to do it. 

I am imagining I will be okay, and I hope if it is right, that others on the
list that do not know about this, make the change. Especially if running a
webserver.

Right or wrong?

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


Re: [CentOS] Computer and network devices management tool

2008-09-14 Thread Les Mikesell

Lunix1618 wrote:

Hello,

I have to deploy a monitoring system that need to keep watch on every 
device/host on my LAN.
Can anyone recommend me a tool that in CentOS packages stock ? I know 
some tool like GLPI but no available CentOS package so I want to looking 
for something else that already that tested on CentOS.


I am running CentOS 5.2


Ocsinventory-ng (http://www.ocsinventory-ng.org/index.php?page=English) 
has agents that will report the hardware/software/network config from 
all of the computers.  Glpi will take this and let you manually add 
other equipment and information.


There are Centos-compatible rpms for both in this repository:
http://blog.famillecollet.com/pages/Config-en  - you also need to 
configure the EPEL repo for some perl/php modules.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] Slackware's 'explodepkg' equivalent for rpm?

2008-09-14 Thread Frank Cox
On Mon, 15 Sep 2008 01:11:39 -0400
Ric Moore <[EMAIL PROTECTED]> wrote:

> If you just want to peruse the rpm from the inside, use 'mc' (Midnight
> Commander) and it works like a charm. I don't know if it will uncompress
> them to the directory, as I've never had a need to do that,

File Roller will do all of that (extract to where-ever you please, etc.)

Just click on the rpm file with Nautilis file browser and the rest happens by
magic.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Computer and network devices management tool

2008-09-14 Thread Lunix1618

Hello,

I have to deploy a monitoring system that need to keep watch on every 
device/host on my LAN.
Can anyone recommend me a tool that in CentOS packages stock ? I know 
some tool like GLPI but no available CentOS package so I want to looking 
for something else that already that tested on CentOS.


I am running CentOS 5.2

Thanks in advance.
Regards,

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


Re: [CentOS] Slackware's 'explodepkg' equivalent for rpm?

2008-09-14 Thread Dag Wieers

On Sun, 14 Sep 2008, Niki Kovacs wrote:

Is there any 'explodepkg' equivalent for the rpm command? What I want is 
simply uncompress an RPM package to get the files directly, but I didn't find 
anything in rpm's manpage.


Since I hate the cpio tool, I always use mc (midnight commander) and go 
inside of the RPM files to copy something out.


If you just want to see what is inside the RPMs, adding a -v to the query 
shows you the output as if it was a directory-listing:


rpm -qplv 

Kind regards,
--
--   dag wieers,  [EMAIL PROTECTED],  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SeaMonkey RPM for CentOS 5.2 (32 bit) is in which Yum Repository?

2008-09-14 Thread Lanny Marcus
On Sun, Sep 14, 2008 at 6:37 PM, MHR <[EMAIL PROTECTED]> wrote:
> On Sun, Sep 14, 2008 at 2:47 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote:
>> I'm curious about SeaMonkey (especially the HTML Composer). Which Yum 
>> Repository
>> has the RPM for CentOS 5.2 (32 bit). TIA!

> As far as I know you have to get it from mozilla.org, and it's not an rpm

If I install it, where should I install it?. (I think there were
SeaMonkey RPMs, but for CentOS 3
and CentOS4).

> I should also point out that I've had a lot of trouble with the last
> two versions of Seamonkey.  It has a tendency to crash whenever a
> local file is supposed to be accessed, usually when attempting to save
> or download a file or web page.

Not good. Is that on 64 bit CentOS or 32 bit? (Probably, it doesn't make
a difference).

> (Funny thing is, I haven't had that problem with the 64-bit
> pre-release version of 2.0pre1a, although I can't get the pdf and swf
> plugins to work with that)

I'm interested in the Composer part of SeaMonkey. Thank you, for your
input!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SeaMonkey RPM for CentOS 5.2 (32 bit) is in which Yum Repository?

2008-09-14 Thread MHR
On Sun, Sep 14, 2008 at 2:47 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote:
> I'm curious about SeaMonkey (especially the HTML Composer). Which Yum 
> Repository
> has the RPM for CentOS 5.2 (32 bit). TIA!
>

As far as I know you have to get it from mozilla.org, and it's not an rpm.

I should also point out that I've had a lot of trouble with the last
two versions of Seamonkey.  It has a tendency to crash whenever a
local file is supposed to be accessed, usually when attempting to save
or download a file or web page.

(Funny thing is, I haven't had that problem with the 64-bit
pre-release version of 2.0pre1a, although I can't get the pdf and swf
plugins to work with that)

YMMV

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