Re: [CentOS] mirror.centos.org down?

2008-08-16 Thread John R Pierce

nethub wrote:
I'm getting a server failure for mirror.centos.org.  Is anyone else 
having trouble?


looks good from here.

$ dig mirror.centos.org

; <<>> DiG 9.3.4-P1 <<>> mirror.centos.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50244
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0

;; QUESTION SECTION:
;mirror.centos.org. IN  A

;; ANSWER SECTION:
mirror.centos.org.  120 IN  A   64.34.175.102

;; AUTHORITY SECTION:
mirror.centos.org.  599 IN  NS  pdns4.centos.org.
mirror.centos.org.  599 IN  NS  pdns1.centos.org.
mirror.centos.org.  599 IN  NS  pdns2.centos.org.
mirror.centos.org.  599 IN  NS  pdns3.centos.org.

;; Query time: 377 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Aug 16 22:56:25 2008
;; MSG SIZE  rcvd: 131


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


[CentOS] mirror.centos.org down?

2008-08-16 Thread nethub
I'm getting a server failure for mirror.centos.org.  Is anyone else 
having trouble?


Nameserver trace for mirror.centos.org:

   * Looking for who is responsible for root zone and followed 
g.root-servers.net.
   * Looking for who is responsible for org and followed 
d0.org.afilias-nst.org.
   * Looking for who is responsible for centos.org and followed 
ns3.centos.org.
   * Looking for who is responsible for mirror.centos.org and followed 
pdns1.centos.org.


Nameservers for mirror.centos.org:

   * pdns1.centos.org returned (SERVFAIL)
   * pdns2.centos.org returned (SERVFAIL)
   * pdns3.centos.org returned (SERVFAIL)
   * pdns4.centos.org returned (SERVFAIL)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] learning centos

2008-08-16 Thread Lanny Marcus
On Thu, Aug 14, 2008 at 3:23 AM, admin <[EMAIL PROTECTED]> wrote:
> IMHO the best way to learn is to read the official documentation, and get
> some hands on practice.
>
> I have purchased both Michael Jang's RHCE book and Tammy Fox's RHEL5 book
> (I'm preparing for RHCE), and while they are both very useful, the official
> documentation seems the best for really spelling things out.


IMHO, in this case, the official documentation is very good. Also, it
can be downloaded,
free.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hard disk, format, filesystem SOLVED

2008-08-16 Thread Jussi Hirvi
Les Mikesell <[EMAIL PROTECTED]> escribio (16.8.2008 18:45)
> I usually create the boot and swap partitions as RAID1 also.  Swap so
> running processes won't crash if 1 disk fails and boot so the copy stays
> up to date as kernel updates are installed.  But if you start with a
> copy of your working /boot you should be able to fix it up with a
> rescue-mode boot from the install CD when you need it.

Thanks, that sounds like a good idea. Though I think I have the boot part
covered - I have a cron job updating the boot partition on the mirror disk
every night. 

- Jussi

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


[CentOS] kickstart and 5.2 x86_64 giving errors.

2008-08-16 Thread Jerry Geis
When I use my kickstart file (which works on 5.1 x86_64) with 5.2 I get 
the following error.

I put my kickstart file at the end.

Do I have something incomaptible in the file?

jerry
--

Traceback (most recent call first):
 File "/usr/lib/anaconda/network.py", line 341, in lookupHostname
   ret = isys.pumpNetDevice(dev.get('device'), dev.get('dhcpclass'))
 File "/usr/lib/anaconda/network.py", line 531, in write
   ip = self.lookupHostname()
 File "/tmp/treedir.1828/instimage/usr/lib/anaconda/yuminstall.py", 
line 1401, in doPreInstall

   anaconda.id.network.write(anaconda.rootPath)
 File "/tmp/treedir.1828/instimage/usr/lib/anaconda/backend.py", line 
180, in doPreInstall

   anaconda.backend.doPreInstall(anaconda)
 File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
   rc = stepFunc(self.anaconda)
 File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
   self.moveStep()
 File "/usr/lib/anaconda/gui.py", line 1018, in nextClicked
   self.anaconda.dispatch.gotoNext()
 File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
   self.intf.icw.nextClicked()
 File "/usr/lib/anaconda/gui.py", line 1045, in handleRenderCallback
   self.currentWindow.renderCallback()
AttributeError: 'module' object has no attribute 'pumpNetDevice'

Local variables in innermost frame:
self: 
myns: 10.0.2.3
dev: DEVICE=eth0
BOOTPROTO=dhcp
DHCPCLASS=
HWADDR=52:54:00:12:34:56
ONBOOT=yes
--

# Kickstart file automatically generated by anaconda.

auth --useshadow --enablemd5

install
cdrom
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8

# Clear the Master Boot Record
zerombr

firstboot --disabled

keyboard us
xconfig --startxonboot
network --device eth0 --bootproto dhcp --hostname MessageNet.msgnet.com
rootpw mnkickstart
firewall --enabled --http --ssh --smtp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Indiana/Indianapolis

%include /tmp/partition-information

%pre
#!/bin/sh
## generic script to pick hda, sda, or RAID 1
# -a "`cat /proc/ide/hda/media`"Â =Â "disk"Â ]
HD1="/dev/sda"
HD1SHORT="sda"
HD2="/dev/sdb"
HD2SHORT="sdb"
if [ -e /proc/ide/hda/media ]
then
if [ "`cat /proc/ide/hda/media`" == "disk" ]
then
HD1="/dev/hda"
HD1SHORT="hda"
HD2="/dev/hdb"
HD2SHORT="hdb"
fi
fi

## Determine size of harddisk
HD1SIZE=`fdisk -l $HD1 | grep Disk | cut -f 3 -d ' ' | cut -f 1 -d '.'`
if [ $HD1SIZE -le 20 ]
then
ROOTSIZE=1
SWAPSIZE=1000
else
ROOTSIZE=2
SWAPSIZE=4000
fi

##Â Save partitioning information into file so include section can grab it.
echo "bootloader --location=mbr --driveorder=$HD1SHORT --append=\"rhgb quiet\"  
 "  >  /tmp/partition-information
echo "clearpart --all --initlabel  
"  >> /tmp/partition-information
echo "part / --ondisk=$HD1SHORT --fstype ext3 --size=$ROOTSIZE --asprimary 
"  >> /tmp/partition-information
echo "part swap  --ondisk=$HD1SHORT   --size=$SWAPSIZE --asprimary 
"  >> /tmp/partition-information
echo "part /home --ondisk=$HD1SHORT --fstype ext3 --size=1 --asprimary --grow  
"  >> /tmp/partition-information

%packages
@development-libs
@editors
@x-software-development
@gnome-desktop
@dialup
@core
@base
@ftp-server
@legacy-software-development
@base-x
@web-server
@smb-server
@printing
@mail-server
@sound-and-video
@development-tools
@graphical-internet
mesa-libGLU-devel
device-mapper-multipath
xorg-x11-server-Xnest
xorg-x11-server-Xvfb
imake
-sysreport

%post 
# Install is complete show the post progress.

init 3
chvt 3

# Echo the type of install we are doing
cat /proc/cmdline > /tmp/MN_server

echo "Change RunLevel boot console mode..."
sed -i s'/id:5:/id:3:/'g /etc/inittab

echo "Setting up nameserver"
echo nameserver 65.24.0.168 >  /etc/resolv.conf
echo nameserver 65.24.0.169 >> /etc/resolv.conf
service network restart

yum -y update
yum -y install vnc
yum -y install tftp
yum -y install tftp-server
yum -y install sendmail-cf
yum -y install dhcp
yum -y install ncurses-devel
yum -y install compat-openldap
yum -y install libxml2
yum -y install libxml2-devel
yum -y install lsscsi
yum -y install alsa-lib-devel
yum -y install alsa-lib-devel.i386

echo ""
echo "Kickstart installation complete - reboot"


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


Re: [CentOS] Hard disk, format, filesystem SOLVED

2008-08-16 Thread Les Mikesell

Jussi Hirvi wrote:



I would have just used fdisk instead of partd.  If you are adding this
to a raid, you don't need a filesystem, just a partition of the right
size.  The contents are going to be wiped by the raid sync anyway.


Thanks for comment. Fdisk was recommended me by another experienced user
too, so there is probably a good reason. Though I don't know, what's wrong
with using parted. 


BTW, this problem partition was not the raid1 partition, but a copy of the
boot partition on the startup disk. In case the boot disk ever fails, I hope
I can make the 2nd disk bootable by just installing grub.


I usually create the boot and swap partitions as RAID1 also.  Swap so 
running processes won't crash if 1 disk fails and boot so the copy stays 
up to date as kernel updates are installed.  But if you start with a 
copy of your working /boot you should be able to fix it up with a 
rescue-mode boot from the install CD when you need it.


--
  Les Mikesell
   [EMAIL PROTECTED]


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


[CentOS] FSID and NFS

2008-08-16 Thread Mag Gam
What is the purpose of FSIDs? I am exporting 30 volumes via NFS. Do I
need a FSID option?

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


Re: [CentOS] can't get Ethernet SNMP information

2008-08-16 Thread Rudi Ahlers
On 8/13/08, Marc Grimme <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I didn't follow the whole thread but had the same problem when using
> net-snmp
> with bridges (an I see peth0 and that rang the bell). The problem seems to
> be
> that net-snmp does not like nics with same ips (I didn't find very much on
> that topic). You should see some errors from net-snmp in the syslogs of
> your
> managed servers. What does your syslog say?
>
> I solved it by changing the bridge configuration from the scripts provided
> by
> xen /etc/xen/scripts/network-bridge to using ifcfg bridges. Then cacti
> could
> monitor the interfaces like normal.
>
> Hope that helps.
>
> Regards marc.
>
>
>
> Hi Mark,

I don't think that's quite the case. Each interface has a different IP. In
fact, if each interface had the same IP, then the whole network in that IP
range, on the server, would be problematic - and there would be not traffic
flowing through. For TCP/IP to work properly, each interface has to have a
unique IP address (and depending on the subnet, a different subnet mask /
gateway pair as well).

Each XEN interface is also a seperate interface, but it uses the bridgetools
to work properly - i.e. connect directly to the external network.

-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hard disk, format, filesystem SOLVED

2008-08-16 Thread Guy Boisvert

Jussi Hirvi wrote:

Les Mikesell <[EMAIL PROTECTED]> escribio (15.8.2008 20:01)

I would have just used fdisk instead of partd.  If you are adding this
to a raid, you don't need a filesystem, just a partition of the right
size.  The contents are going to be wiped by the raid sync anyway.


Thanks for comment. Fdisk was recommended me by another experienced user
too, so there is probably a good reason. Though I don't know, what's wrong
with using parted. 


BTW, this problem partition was not the raid1 partition, but a copy of the
boot partition on the startup disk. In case the boot disk ever fails, I hope
I can make the 2nd disk bootable by just installing grub.

- Jussi 



I had this same boot problem you had and i found the following script 
made by Alex Tkachenko (Thanks Alex!):



== CUT HERE 
#!/bin/sh
#
# Update MBR on both mirror drives
# (grub/swraid has problems updating the slave, # as of RHEL3)
# Should be run after grub rpm updates as well
#
# By Alex Tkachenko 

ADMINDIR=/root/admin



if [ ! -d $ADMINDIR ]
then
echo $ADMINDIR does not exists.
echo Creating $ADMINDIR for storing boot sector backups...
mkdir -p $ADMINDIR
else
echo $ADMINDIR exists.
fi


BOOT_ARRAY=`df /boot | awk '/dev/{print $1}'`

# Select only active disks (skip spares)
DISKS=`mdadm --query --detail /dev/md0 | awk '/active sync/{print $7}'| 
sed '

s@/dev/@@g
s/,/ /g
s/[0-9]//g
'`

for d in $DISKS
do

cat 

Re: [CentOS] gftp crashing on IPv6 to vsftp

2008-08-16 Thread Carlos Eduardo Pedroza Santiviago
Hi,

On Fri, Aug 15, 2008 at 4:30 PM, Robert Moskowitz <[EMAIL PROTECTED]> wrote:
> I am running vsftp pretty much 'out of the box', though I turned off IPv4
> and have it listening on IPv6.
[...]
> But when I try to download or upload a file, gftp just crashes.  Nothing in
> /var/log on either system.
>
> Any advice?
>

Try running strace to see when gtfp crashes. Probably
~/.xsession-errors could have some useful info.

-- 
Carlos Eduardo Pedroza Santiviago - 
http://softwarelivre.net | Passo-a-passo rumo à liberdade!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 42, Issue 5

2008-08-16 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
[EMAIL PROTECTED]

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
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

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


Today's Topics:

   1. Re: CESA-2008:0818 Moderate CentOS 5 x86_64 hplip Update
  (Karanbir Singh)
   2. Re: CESA-2008:0818 Moderate CentOS 5 i386 hplip   Update
  (Karanbir Singh)


--

Message: 1
Date: Fri, 15 Aug 2008 17:55:35 +0100
From: Karanbir Singh <[EMAIL PROTECTED]>
Subject: Re: [CentOS-announce] CESA-2008:0818 Moderate CentOS 5 x86_64
hplip   Update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Karanbir Singh wrote:
> CentOS Errata and Security Advisory 2008:0818 Moderate
> 
> Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0818.html
> 
> The following updated files have been uploaded and are currently 
> syncing to the mirrors: ( md5sum Filename ) 
> 
> x86_64:
> cfcd76e57b844ea28a53de43f9262cb4  postfix-2.3.3-2.1.el5_2.x86_64.rpm
> 7bebb4b9264b5ceac8c736c75a95155b  postfix-pflogsumm-2.3.3-2.1.el5_2.x86_64.rpm
> 
> Source:
> bf3130ae011fc9d69bcd43a8c29d4811  postfix-2.3.3-2.1.el5_2.src.rpm
> 
> 

Obviously, the package set mentioned here is incorrent. The correct 
update announcement will go out in a few hours time.

Apologies for this messup.

- KB


--

Message: 2
Date: Fri, 15 Aug 2008 17:56:08 +0100
From: Karanbir Singh <[EMAIL PROTECTED]>
Subject: Re: [CentOS-announce] CESA-2008:0818 Moderate CentOS 5 i386
hplip   Update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Karanbir Singh wrote:
> CentOS Errata and Security Advisory 2008:0818 Moderate
> 
> Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0818.html
> 
> The following updated files have been uploaded and are currently 
> syncing to the mirrors: ( md5sum Filename ) 
> 
> i386:
> 12ed57905be0034361f4357f7ebfb580  postfix-2.3.3-2.1.el5_2.i386.rpm
> 5f45b128714174964caf8b5633d9723f  postfix-pflogsumm-2.3.3-2.1.el5_2.i386.rpm
> 
> Source:
> bf3130ae011fc9d69bcd43a8c29d4811  postfix-2.3.3-2.1.el5_2.src.rpm
> 
> 

Obviously, the package set mentioned here is incorrect. The correct 
update announcement will go out in a few hours time.

Apologies for this messup.

- KB


--

___
CentOS-announce mailing list
[EMAIL PROTECTED]
http://lists.centos.org/mailman/listinfo/centos-announce


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


Re: [CentOS] Hard disk, format, filesystem SOLVED

2008-08-16 Thread Jussi Hirvi
Les Mikesell <[EMAIL PROTECTED]> escribio (15.8.2008 20:01)
> I would have just used fdisk instead of partd.  If you are adding this
> to a raid, you don't need a filesystem, just a partition of the right
> size.  The contents are going to be wiped by the raid sync anyway.

Thanks for comment. Fdisk was recommended me by another experienced user
too, so there is probably a good reason. Though I don't know, what's wrong
with using parted. 

BTW, this problem partition was not the raid1 partition, but a copy of the
boot partition on the startup disk. In case the boot disk ever fails, I hope
I can make the 2nd disk bootable by just installing grub.

- Jussi 

--
Jussi Hirvi  *  Green Spot
Topeliuksenkatu 15 C  *  00250 Helsinki  *  Finland
Tel. & fax +358 9 493 981  *  SMS +358 40 771 2098
[EMAIL PROTECTED]  *  http://www.greenspot.fi


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