Re: [CentOS] kickstart problems

2008-09-01 Thread Paolo Supino
On Tue, Sep 2, 2008 at 8:14 AM, nate <[EMAIL PROTECTED]> wrote:

> Paolo Supino wrote:
> > Hi Nate
> >
>
> > 3: After the error comes up I get the HTTP setup configuration screen
> with
> > the source website (in IP) and CentOS directory as I entered them in the
> > pxeconfiguration file and as it appears in the kickstart configuration
> file
> > and all I have to do is press the 'OK' button to continue the
> installation
> > to a successful completion.
>
> If that's the case the next most likely culprit is
>
> > url --url http://192.168.11.1/source
>
>
> Just because the PXE boot loader can download the kickstart
> config does not mean that the installation process will work
> with that NIC.
>
> Also I've had lots of broadcom systems not work with kickstart over
> the years, it's not uncommon for newer systems to have newer
> revs of the chipsets and those revs not being supported by the
> installer.
>
> But it sounds like in your case it does work, so I would look
> at the url above, as it likely is the cause of the problem. Check
> the http access logs on the server for 404s and similar errors.
>
> nate
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Hi Nate

  I found the problem and it was easier than expected ...
The problem seems to be that anaconda has a problem with having a network
card statically configured :-( All I had to do is change the bootproto for
eth0 from 'static' to 'DHCP'. Now it successfully retrieves 'stage2.img'
file from the web server and completes the installation with zero
intervention. For the time being this will do, but I'd rather the clients
have everything configured locally once when installing than accessing the
network for any information they need (this configuration is for a HPC
cluster and every network access decreases performance).






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


Re: [CentOS] kickstart problems

2008-09-01 Thread nate
Paolo Supino wrote:
> Hi Nate
>

> 3: After the error comes up I get the HTTP setup configuration screen with
> the source website (in IP) and CentOS directory as I entered them in the
> pxeconfiguration file and as it appears in the kickstart configuration file
> and all I have to do is press the 'OK' button to continue the installation
> to a successful completion.

If that's the case the next most likely culprit is

> url --url http://192.168.11.1/source


Just because the PXE boot loader can download the kickstart
config does not mean that the installation process will work
with that NIC.

Also I've had lots of broadcom systems not work with kickstart over
the years, it's not uncommon for newer systems to have newer
revs of the chipsets and those revs not being supported by the
installer.

But it sounds like in your case it does work, so I would look
at the url above, as it likely is the cause of the problem. Check
the http access logs on the server for 404s and similar errors.

nate

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


Re: [CentOS] kickstart problems

2008-09-01 Thread Paolo Supino
Hi Nate

  Autoconfiguration failure makes sense, but it's not a drivers issue:
1: It's a broadcom tg3 driver that is well supported in the kernel.
2: the kernel fetches successfully the kickstart configuration file I supply
it in the command line and
3: After the error comes up I get the HTTP setup configuration screen with
the source website (in IP) and CentOS directory as I entered them in the
pxeconfiguration file and as it appears in the kickstart configuration file
and all I have to do is press the 'OK' button to continue the installation
to a successful completion.
4. Sniffing the network showed the following: the kernel fetches the
kickstart file, fails to fetch 'product.img' file prints out the error
message of being unable to fetch 'stage2.img' file and only when I press the
'OK'  button in the HTTP setup window actually contacts the HTTP server and
successfully fetches 'stage2.img' file.

  My guess is that my configuration isn't handled properlly by anaconda, I
just need to find out where (or change my configuration so that anaconda
will handle it properly).

  I (out of haste of getting this email out) omitted the configuration files
I use in the kickstart configuration. So here they are ...
pxelinux.cfg/C0A80B02:
default ks
prompt 0
label ks
kernel vmlinuz
append initrd=initrd.img ramdisk_size=9216 ksdevice=bootif noapic
acpi=off ks=http://192.168.11.1/kickstart/n002.ks
ipappend 2

kickstart configuration file:
# Kickstart file automatically generated by anaconda.

install
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto static --ip 192.168.11.2 --netmask
255.255.255.0 --gateway 192.168.11.1 --nameserver=192.168.11.1 --hostname
n002.example.com
network --device eth1 --onboot no --bootproto dhcp --hostname
n002.example.com
network --device eth2 --onboot no --bootproto dhcp --hostname
n002.example.com
network --device eth3 --onboot no --bootproto dhcp --hostname
n002.example.com

url --url http://192.168.11.1/source
rootpw --iscrypted ?
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc Asia/Jerusalem
bootloader --location=mbr --driveorder=sda --append="noapic acpi=off"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
zerombr
clearpart --all --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
.
.
.



On Mon, Sep 1, 2008 at 5:03 PM, nate <[EMAIL PROTECTED]> wrote:

> Paolo Supino wrote:
>
> >   Has anyone encounter this problem and has a solution for it?
>
> Network autoconfiguration failed, most likely there is not
> a compatible driver for the network card in your system.
>
> If there is a driver disk for that NIC you can use that, what
> I typically have done in the past is build an updated driver from
> source and insert it into the installation program which is a
> fairly complicated process involving extracting the initrd, the
> modules.cgz inside of it, putting the compatible driver built
> against the same kernel into the modules config and recompressing
> the modules file, updating the pci device table for the new device,
> and rebuilding the initrd. Also adding a step in the %post section
> to install a compatible driver with whatever kernel the installer
> ends up installing so when the system reboots it has network
> connectivity.
>
> I also repeat the first part of the process where I insert the
> kernel, again in the stage 2 netinst.img? file(forgot off hand
> exactly what the file is called), it may not be required for
> network drivers, but I think it is for storage drivers, I forget,
> been a while since I had to do it.
>
> nate
>
> ___
> 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] I need help with GRUB

2008-09-01 Thread Sadaruwan Samaraweera
On Tue, Sep 2, 2008 at 4:14 AM, Al Sparks <[EMAIL PROTECTED]> wrote:

> --- On Mon, 9/1/08, Lanny Marcus <[EMAIL PROTECTED]> wrote:
>
> > From: Lanny Marcus <[EMAIL PROTECTED]>
> > Subject: Re: [CentOS] I need help with GRUB
> > To: "CentOS mailing list" 
> > Date: Monday, September 1, 2008, 9:53 AM
> > On Sun, Aug 31, 2008 at 11:31 PM, Sadaruwan Samaraweera
> > <[EMAIL PROTECTED]> wrote:>
> > > On Mon, Sep 1, 2008 at 9:55 AM, Ian Forde
> > <[EMAIL PROTECTED]> wrote:
> > >>
> > >> On Mon, 2008-09-01 at 09:47 +0530, Sadaruwan
> > Samaraweera wrote:
> > >> > Hello,
> > >>
> > >> >And the problem that I'm having is
> > with my two Linux distros. Ive
> > >> > installed CentOS & Windows in my SATA HDD
> > and I've used my complete
> > >> > 40GB PATA HDD for Ubuntu. Well all OS's
> > work fine with out any
> > >> > problems but when I want to boot into CentOS
> > I've to select the SATA
> > >> > as my booting HDD from the BIOS if I want to
> > go to Ubuntu the I've to
> > >> > select my PATA as the default HDD from the
> > menu. So what I want to do
> > >> > is I need to add Both distros in to one GRUB
> > boot loader and the other
> > >> > thing is that both grubs that I've on
> > both HDD s only detects the
> > >> > windows Partition not the Linux partion. So I
> > need to to know how to
> > >> > add bothe Linux versions I've into one
> > GRUB. I want to use the SATA
> > >> > HDD as my default HDD.
> > >>
> > >> You'll want to merge the grub boot stanzas
> > into one file, apply it to
> > >> one (or both) of the drives, and keep it in sync
> > when you do kernel
> > >> updates (because those affect the grub menu)...
> > This way, you won't have
> > >> to change the BIOS setting.
> > >>
> >
> > > OK, thx for the quick reply but I realy don't know
> > how to do that can any
> > > one help on that note.
> >
> >
> > Possibly what you need to do is add another entry in your
> > /etc/grub.conf file, on the HD you boot from.  Below is
> > mine.
> >
> > [EMAIL PROTECTED] ~]$ sudo cat /etc/grub.conf
> > Password:
> > # grub.conf generated by anaconda
> > #
> > # Note that you do not have to rerun grub after making
> > changes to this file
> > # NOTICE:  You have a /boot partition.  This means that
> > #  all kernel and initrd paths are relative to
> > /boot/, eg.
> > #  root (hd0,2)
> > #  kernel /vmlinuz-version ro
> > root=/dev/VolGroup00/LogVol00
> > #  initrd /initrd-version.img
> > #boot=/dev/hda
> > default=0
> > timeout=5
> > splashimage=(hd0,2)/grub/splash.xpm.gz
> > hiddenmenu
> > title CentOS (2.6.18-92.1.10.el5)
> > root (hd0,2)
> > kernel /vmlinuz-2.6.18-92.1.10.el5 ro
> > root=/dev/VolGroup00/LogVol00 rhgb quiet
> > initrd /initrd-2.6.18-92.1.10.el5.img acpi=off
> > title CentOS (2.6.18-92.1.6.el5)
> > root (hd0,2)
> > kernel /vmlinuz-2.6.18-92.1.6.el5 ro
> > root=/dev/VolGroup00/LogVol00 rhgb quiet
> > initrd /initrd-2.6.18-92.1.6.el5.img acpi=off
> > title CentOS (2.6.18-92.1.1.el5)
> > root (hd0,2)
> > kernel /vmlinuz-2.6.18-92.1.1.el5 ro
> > root=/dev/VolGroup00/LogVol00 rhgb quiet
> > initrd /initrd-2.6.18-92.1.1.el5.img acpi=off
> > title Windows XP
> > rootnoverify (hd0,0)
> > chainloader +1
> > [EMAIL PROTECTED] ~]$
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
>
> It's handy that someone posted their grub file.
>
> The answer to your question/situation might be complicated by the fact that
> you use you have been changing your boot up disk in your BIOS.
>
> But the thing to look for in your grub.conf file is:
>
> > title CentOS (2.6.18-92.1.1.el5)
> > root (hd0,2)
> > kernel /vmlinuz-2.6.18-92.1.1.el5 ro
>
> Note that this example includes an entry for a hard drive:
>
> > root (hd0,2)
>
> That entry points to the "first" hard drive, third partition.  If you
> have 2 hard drives, and you wanted to boot off the "second" drive
> first partition, you might use:
>root (hd1,0)
>
> You basically want to look at the grub configuration for each OS on
> each hard drive you installed it on, and in consolidating them, "cut
> and paste" entries from what you want to be your secondary drive to
> your primary boot drive.
>
> Again, this is only using the above grub.conf as an example.  If you
> have SCSI hard drives instead then probably the grub.conf will show
> something like:
>   root (sd0,2)
>
> So it's important to look at your grub.conf and make modifications.
>
> Hope this helps.  If you want more specific advice, then post BOTH
> grub.conf files, and tell us which one will be from what you want to
> be your secondary drive, and what you want to be your primary drive
> (in BIOS).
> === Al
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Sadaruwan Samarawee

Re: [CentOS] Changing swap resume signature location

2008-09-01 Thread Ian Forde
On Mon, 2008-09-01 at 13:25 -0400, Mag Gam wrote:
> 1. Format the swap partition again: sudo mkswap /dev/XXX
> 2. Activate swap partition sudo swapon /dev/XXX
> 3. Replace UUID=XXX in /etc/initramfs-tools/conf.d/resume by "resume=/dev/XXX"
> 4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
> (same version as the kernel)

Hmm... for CentOS this would be:

Become root (or use sudo - your choice...)
1. 'mkswap /dev/xxx'
2. Put the entry into /etc/fstab
3. 'swapon -a' (This will ensure that your fstab entry is good.  If it
doesn't load up, something's wrong...)
4. Recreate your initial ramdisk.  You could do something like:
'mkinitrd /boot/initrd-2.6.18-92.1.10.el5.img 2.6.18-92.1.10.el5' but
I'd recommend creating a new ramdisk (different filename) and creating a
new test grub entry...

-I

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


Re: [CentOS] Anti Virus and Anti Spam

2008-09-01 Thread Eucke

horas simalango wrote:

I am using sendmail as MTA, and I am looking for free anti virus.
About the milter, where can I download it?

Thank you

Horasima


I don't think all of this is available via the the conventional centos 
mirrors but I'd bet they're on Dag's as well as a few others.  find one 
you trust. 

I am pasting the following from this website  
http://www.be4mind.com/?q=node/190
I gave it a once over and it looks fairly complete.  This write includes 
adding greylisting as well.



PLEASE COPY CONFIGURATION FILE OPTIONS FROM THE ATTACHED DOCUMENT 
(NEWLINES PROBLEMS IN HTML) OTHERWISE SOMETHING COULD GO WRONG 
(EXPECIALLY WITH SENDMAIL).


Follow these steps to try stopping sPaMmErs :)

1. CONFIGURING YUM REPOSITORIES
[EMAIL PROTECTED] ~]# wget http://centos.karan.org/kbsingh-CentOS-Extras.repo
[EMAIL PROTECTED] ~]# wget http://centos.karan.org/kbsingh-CentOS-Misc.repo
[EMAIL PROTECTED] ~]# mv *.repo /etc/yum.repos.d/
[EMAIL PROTECTED] ~]# rpm --import 
http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
[EMAIL PROTECTED] ~]# wget 
http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm

[EMAIL PROTECTED] ~]# rpm -ivh rpmforge-release-0.3.6-1.el4.rf.i386.rpm

2. INSTALLING REQUIRED PACKAGES
#FROM kbsingh
[EMAIL PROTECTED] ~]# yum install milter-greylist spamassassin 
spamass-milter pyzor


#FROM rpmforge
[EMAIL PROTECTED] ~]# yum install clamd.i386
Installed: clamd.i386 0:0.90.3-1.el4.rf
Dependency Installed: clamav.i386 0:0.90.3-1.el4.rf clamav-db.i386 
0:0.90.3-1.el4.rf

Complete!
[EMAIL PROTECTED] mail]# yum install clamav-milter.i386
Installed: clamav-milter.i386 0:0.90.3-1.el4.rf
Complete!

3. SENDMAIL CONFIGURATION
-Backup your sendmail config files and edit sendmail.mc:
[EMAIL PROTECTED] ~]# cd /etc/mail
[EMAIL PROTECTED] mail]# cp sendmail.mc sendmail.mc.orig
[EMAIL PROTECTED] mail]# mv sendmail.cf sendmail.cf.orig

-Add the following line just before the two MAILER lines:
[EMAIL PROTECTED] mail]# vi sendmail.mc

[...]
dnl #
dnl # ANTISPAM/VIRUS AND GREYLIST AND DNSBL
dnl #
FEATURE(`dnsbl',`relays.ordb.org')dnl
FEATURE(`dnsbl',`list.dsbl.org')dnl
FEATURE(`dnsbl',`sbl-xbl.spamhaus.org')dnl
INPUT_MAIL_FILTER(`greylist',`S=local:/var/lib/milter-greylist/run/milter-greylist.sock')
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
INPUT_MAIL_FILTER(`spamassassin', 
`S=local:/var/run/spamass-milter/spamass-milter.sock, 
F=,T=C:15m;S:4m;R:4m;E:10m')dnl
INPUT_MAIL_FILTER(`clamav', `S=local:/var/clamav/clmilter.socket, F=T, 
T=S:4m;R:4m')

dnl #
MAILER(smtp)dnl
MAILER(procmail)dnl

-Compile sendmail.mc:
[EMAIL PROTECTED] mail]# m4 sendmail.mc > sendmail.cf

4. CONFIGURE SPAMASSASIN
-There's a nice spamassasin configurator at:
http://www.yrex.com/spam/spamconfig.php

-Create your config file and put it in /etc/mail/spamassassin/local.cf
[EMAIL PROTECTED] mail]# cp /etc/mail/spamassassin/local.cf 
/etc/mail/spamassassin/local.cf.orig

[EMAIL PROTECTED] mail]# vi /etc/mail/spamassassin/local.cf
-
# SpamAssassin config file for version 3.x
# NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6
# See http://www.yrex.com/spam/spamconfig25.php for earlier versions
# Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50)

# How many hits before a message is considered spam.
required_score 3.0

# Change the subject of suspected spam
rewrite_header subject *SPAM*

# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 1

# Enable the Bayes system
use_bayes 1

# Enable Bayes auto-learning
bayes_auto_learn 1

# Enable or disable network checks
skip_rbl_checks 0
use_razor2 1
use_pyzor 1

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales en

## General Whitelist
## Be careful using "whitelist_from" can be easly forged by spammers, use
## trusted_networks combined with whitelist_from_rcvd instead
#internal_networks 127.0.0.1 192.168.1.0/24
#trusted_networks 127.0.0.1 192.168.1.0/24 64.233.0.0/16
#whitelist_from_rcvd [EMAIL PROTECTED] *gmail.com,*google.com
#whitelist_from [EMAIL PROTECTED]
-

5. CONFIGURE CLAMAV:
Make sure config files are enabled by editing them as follows:
[EMAIL PROTECTED] mail]# vi /etc/freshclam.conf
Comment or remove the line below.
#Example

[EMAIL PROTECTED] mail]# vi /etc/clamd.conf
Comment or remove the line below.
#Example

Edit freshclam config file and remove or comment last line with 
FRESHCLAM_DELAY
directive. Optionally run freshclam from the root console to check that 
everything

works.

Use the cron

Re: [CentOS] Changing swap resume signature location

2008-09-01 Thread Patrice Guay
Mag Gam wrote:
> On Mon, Sep 1, 2008 at 2:42 PM, Patrice Guay wrote:
 On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay wrote:
> At boot time, the system is looking for a resume signature on the
> default SWAP partition that was defined during the OS installation.
>
> On several systems, I changed the location of the SWAP partition. How do
> I change the location where the system looks at boot time for the resume
> signature?
>
>>> 1. Format the swap partition again: sudo mkswap /dev/XXX
>>> 2. Activate swap partition sudo swapon /dev/XXX
>>> 3. Replace UUID=XXX in /etc/initramfs-tools/conf.d/resume by
>>>"resume=/dev/XXX"
>>> 4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
>>> (same version as the kernel)
>>>
>> I cannot find the /etc/initramfs-tools directory on my system. Which
>> package provides it under CentOS 5?
>>
> 
> This is a Debian specific command. I am certain something like this
> exists for CentOS too...
> 

Please, do not provide an answer if it is not directly relevant for
CentOS. I found a similar receipe than yours after searching Google but
I am still unable to find an answer for my CentOS 5 systems.

Regards,
--
Patrice

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


Re: [CentOS] Re: Help me

2008-09-01 Thread Karanbir Singh

andylockran wrote:

In thunderbird, it's very easy to change.

Tools>Accounts>Composition>Automatically Start My Reply ABOVE/BELOW The 
Quote.




While talking about Thunderbird, some of you might also want to look at 
:  https://addons.mozilla.org/en-US/thunderbird/addon/347


--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I need help with GRUB

2008-09-01 Thread Al Sparks
--- On Mon, 9/1/08, Lanny Marcus <[EMAIL PROTECTED]> wrote:

> From: Lanny Marcus <[EMAIL PROTECTED]>
> Subject: Re: [CentOS] I need help with GRUB
> To: "CentOS mailing list" 
> Date: Monday, September 1, 2008, 9:53 AM
> On Sun, Aug 31, 2008 at 11:31 PM, Sadaruwan Samaraweera
> <[EMAIL PROTECTED]> wrote:>
> > On Mon, Sep 1, 2008 at 9:55 AM, Ian Forde
> <[EMAIL PROTECTED]> wrote:
> >>
> >> On Mon, 2008-09-01 at 09:47 +0530, Sadaruwan
> Samaraweera wrote:
> >> > Hello,
> >>
> >> >And the problem that I'm having is
> with my two Linux distros. Ive
> >> > installed CentOS & Windows in my SATA HDD
> and I've used my complete
> >> > 40GB PATA HDD for Ubuntu. Well all OS's
> work fine with out any
> >> > problems but when I want to boot into CentOS
> I've to select the SATA
> >> > as my booting HDD from the BIOS if I want to
> go to Ubuntu the I've to
> >> > select my PATA as the default HDD from the
> menu. So what I want to do
> >> > is I need to add Both distros in to one GRUB
> boot loader and the other
> >> > thing is that both grubs that I've on
> both HDD s only detects the
> >> > windows Partition not the Linux partion. So I
> need to to know how to
> >> > add bothe Linux versions I've into one
> GRUB. I want to use the SATA
> >> > HDD as my default HDD.
> >>
> >> You'll want to merge the grub boot stanzas
> into one file, apply it to
> >> one (or both) of the drives, and keep it in sync
> when you do kernel
> >> updates (because those affect the grub menu)...
> This way, you won't have
> >> to change the BIOS setting.
> >>
> 
> > OK, thx for the quick reply but I realy don't know
> how to do that can any
> > one help on that note.
> 
> 
> Possibly what you need to do is add another entry in your
> /etc/grub.conf file, on the HD you boot from.  Below is 
> mine.
> 
> [EMAIL PROTECTED] ~]$ sudo cat /etc/grub.conf
> Password:
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making
> changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #  all kernel and initrd paths are relative to
> /boot/, eg.
> #  root (hd0,2)
> #  kernel /vmlinuz-version ro
> root=/dev/VolGroup00/LogVol00
> #  initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=5
> splashimage=(hd0,2)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.18-92.1.10.el5)
> root (hd0,2)
> kernel /vmlinuz-2.6.18-92.1.10.el5 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
> initrd /initrd-2.6.18-92.1.10.el5.img acpi=off
> title CentOS (2.6.18-92.1.6.el5)
> root (hd0,2)
> kernel /vmlinuz-2.6.18-92.1.6.el5 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
> initrd /initrd-2.6.18-92.1.6.el5.img acpi=off
> title CentOS (2.6.18-92.1.1.el5)
> root (hd0,2)
> kernel /vmlinuz-2.6.18-92.1.1.el5 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
> initrd /initrd-2.6.18-92.1.1.el5.img acpi=off
> title Windows XP
> rootnoverify (hd0,0)
> chainloader +1
> [EMAIL PROTECTED] ~]$
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


It's handy that someone posted their grub file.

The answer to your question/situation might be complicated by the fact that you 
use you have been changing your boot up disk in your BIOS.

But the thing to look for in your grub.conf file is:

> title CentOS (2.6.18-92.1.1.el5)
> root (hd0,2)
> kernel /vmlinuz-2.6.18-92.1.1.el5 ro

Note that this example includes an entry for a hard drive:

> root (hd0,2)

That entry points to the "first" hard drive, third partition.  If you
have 2 hard drives, and you wanted to boot off the "second" drive
first partition, you might use:
root (hd1,0)

You basically want to look at the grub configuration for each OS on
each hard drive you installed it on, and in consolidating them, "cut
and paste" entries from what you want to be your secondary drive to
your primary boot drive.

Again, this is only using the above grub.conf as an example.  If you
have SCSI hard drives instead then probably the grub.conf will show
something like:
   root (sd0,2)

So it's important to look at your grub.conf and make modifications.

Hope this helps.  If you want more specific advice, then post BOTH
grub.conf files, and tell us which one will be from what you want to
be your secondary drive, and what you want to be your primary drive
(in BIOS).
=== Al
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help using ed [OT]

2008-09-01 Thread William L. Maltby

On Mon, 2008-09-01 at 10:26 -0700, Bill Campbell wrote:
> On Mon, Sep 01, 2008, William L. Maltby wrote:
> >
> >On Sun, 2008-08-31 at 19:45 +0200, Thomas Johansson wrote:
> >> Hi
> >> 
> >> Perhaps omeone might answer this tricky problem. I can do this other 
> >> ways, but i really want to understand how to solve it using ed. I have 
> >> one solution using g/re/s/re//txt/ , but I want to understand how or if 
> >> i can solve it using the ed (.)a command.
> >

> Instead of ``ed' one can use ``ex'' which should be in any distribution as
> its part of ``vi'' or ``vim''.  I think the command set of ``ed'' is a
> subset of ``ex'' so scripts should work the same.

Further, it *may* be that the "superset" that is available in ex can
overcome of few of the deficiencies and hurdles that his use of ed is
presenting. Because of my background, I never read about or learned the
full ex stuff - vi(m), sed, (g)awk, bash, ... all did what I needed.

Maybe if the OP reviews the ex stuff he'll have an easier time of it.

Only potential downside I see is maybe a little more overhead and the
need for vi(m)/ex on the target system. *Usually* they are there, but
maybe someone is a "minimalist" there?

> 
> I frequently use the gnu shtool program for this sort of thing unless the
> job is very simple, and I really want to edit the file in place.
> 
> Bill

-- 
Bill (the other one)

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


Re: [CentOS] Changing swap resume signature location

2008-09-01 Thread Mag Gam
On Mon, Sep 1, 2008 at 2:42 PM, Patrice Guay
<[EMAIL PROTECTED]> wrote:
>>> On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay
>>> <[EMAIL PROTECTED]> wrote:
 At boot time, the system is looking for a resume signature on the
 default SWAP partition that was defined during the OS installation.

 On several systems, I changed the location of the SWAP partition. How do
 I change the location where the system looks at boot time for the resume
 signature?

>> 1. Format the swap partition again: sudo mkswap /dev/XXX
>> 2. Activate swap partition sudo swapon /dev/XXX
>> 3. Replace UUID=XXX in /etc/initramfs-tools/conf.d/resume by
>>"resume=/dev/XXX"
>> 4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
>> (same version as the kernel)
>>
>
> I cannot find the /etc/initramfs-tools directory on my system. Which
> package provides it under CentOS 5?
>
> Thanks,
> --
> Patrice
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

This is a Debian specific command. I am certain something like this
exists for CentOS too...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Help me

2008-09-01 Thread Steve Huff


On Sep 1, 2008, at 1:36 PM, Martyn Hare wrote:


I would recommend top posting.


that's great, but please don't do so here.

the CentOS website asks that you bottom post:

http://www.centos.org/modules/tinycontent/index.php?id=16

and this issue was done to death just a few months ago:

http://lists.centos.org/pipermail/centos/2008-May/056578.html

please don't start again.

-steve

---
If this were played upon a stage now, I could condemn it as an  
improbable fiction. - Fabian, Twelfth Night, III,v




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


Re: [CentOS] CentOS 4.7 status

2008-09-01 Thread Ramon Nieto


--- El sáb 30-ago-08, Adrian Sevcenco <[EMAIL PROTECTED]> escribió:
De:: Adrian Sevcenco <[EMAIL PROTECTED]>
Asunto: [CentOS] CentOS 4.7 status
A: CentOS@centos.org
Fecha: sábado, 30 agosto, 2008, 8:37 pm

Hi,
i was wondering what is the status of 4.7
Most important, what is the status of the last packages updated by the upstream 
provider? one of them a new kernel which i don't see on the mirror repositories.


Thank you,
Best regards,
Adrian
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing swap resume signature location

2008-09-01 Thread Patrice Guay
>> On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay
>> <[EMAIL PROTECTED]> wrote:
>>> At boot time, the system is looking for a resume signature on the
>>> default SWAP partition that was defined during the OS installation.
>>>
>>> On several systems, I changed the location of the SWAP partition. How do
>>> I change the location where the system looks at boot time for the resume
>>> signature?
>>>
> 1. Format the swap partition again: sudo mkswap /dev/XXX
> 2. Activate swap partition sudo swapon /dev/XXX
> 3. Replace UUID=XXX in /etc/initramfs-tools/conf.d/resume by
>"resume=/dev/XXX"
> 4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
> (same version as the kernel)
>

I cannot find the /etc/initramfs-tools directory on my system. Which
package provides it under CentOS 5?

Thanks,
--
Patrice
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I need help with GRUB

2008-09-01 Thread Lanny Marcus
On Sun, Aug 31, 2008 at 11:31 PM, Sadaruwan Samaraweera
<[EMAIL PROTECTED]> wrote:>
> On Mon, Sep 1, 2008 at 9:55 AM, Ian Forde <[EMAIL PROTECTED]> wrote:
>>
>> On Mon, 2008-09-01 at 09:47 +0530, Sadaruwan Samaraweera wrote:
>> > Hello,
>>
>> >And the problem that I'm having is with my two Linux distros. Ive
>> > installed CentOS & Windows in my SATA HDD and I've used my complete
>> > 40GB PATA HDD for Ubuntu. Well all OS's work fine with out any
>> > problems but when I want to boot into CentOS I've to select the SATA
>> > as my booting HDD from the BIOS if I want to go to Ubuntu the I've to
>> > select my PATA as the default HDD from the menu. So what I want to do
>> > is I need to add Both distros in to one GRUB boot loader and the other
>> > thing is that both grubs that I've on both HDD s only detects the
>> > windows Partition not the Linux partion. So I need to to know how to
>> > add bothe Linux versions I've into one GRUB. I want to use the SATA
>> > HDD as my default HDD.
>>
>> You'll want to merge the grub boot stanzas into one file, apply it to
>> one (or both) of the drives, and keep it in sync when you do kernel
>> updates (because those affect the grub menu)... This way, you won't have
>> to change the BIOS setting.
>>

> OK, thx for the quick reply but I realy don't know how to do that can any
> one help on that note.


Possibly what you need to do is add another entry in your
/etc/grub.conf file, on the HD you boot from.  Below is  mine.

[EMAIL PROTECTED] ~]$ sudo cat /etc/grub.conf
Password:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,2)
#  kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#  initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.1.10.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-92.1.10.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-92.1.10.el5.img acpi=off
title CentOS (2.6.18-92.1.6.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-92.1.6.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-92.1.6.el5.img acpi=off
title CentOS (2.6.18-92.1.1.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-92.1.1.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-92.1.1.el5.img acpi=off
title Windows XP
rootnoverify (hd0,0)
chainloader +1
[EMAIL PROTECTED] ~]$
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Help me

2008-09-01 Thread Martyn Hare
Top is preferred, it's a standard just like it's a standard to put:
"
--  
[signature here]
"

I would recommend top posting.

On Mon, 01 Sep 2008 17:12:11 +0100
andylockran <[EMAIL PROTECTED]> wrote:

> > on 8-31-2008 9:05 PM [EMAIL PROTECTED] spake the following:
> >> Interestingly enough, we use top posting 99% of the time at work, even 
> >> though it takes extra effort to do so in thunderbird.  We had a new 
> >> employee that started with us, and used bottom posting on some of her 
> >> replies, and most people thought that her replies were empty. 
> >> Food for thought, I guess.
> 
> 
> In thunderbird, it's very easy to change.
> 
> Tools>Accounts>Composition>Automatically Start My Reply ABOVE/BELOW The 
> Quote.
> 
> :)
> 
> Andy
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


-- 
Martyn Hare <[EMAIL PROTECTED]>


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


Re: [CentOS] Help using ed [OT]

2008-09-01 Thread Bill Campbell
On Mon, Sep 01, 2008, William L. Maltby wrote:
>
>On Sun, 2008-08-31 at 19:45 +0200, Thomas Johansson wrote:
>> Hi
>> 
>> Perhaps omeone might answer this tricky problem. I can do this other 
>> ways, but i really want to understand how to solve it using ed. I have 
>> one solution using g/re/s/re//txt/ , but I want to understand how or if 
>> i can solve it using the ed (.)a command.
>
>OK. But keep in mind that many folks (and distros?) believe ed is
>hopelessly outdated and some even advocate its removal from
>distributions. Thankfully some other packages(s) depend on it.

Instead of ``ed' one can use ``ex'' which should be in any distribution as
its part of ``vi'' or ``vim''.  I think the command set of ``ed'' is a
subset of ``ex'' so scripts should work the same.

I frequently use the gnu shtool program for this sort of thing unless the
job is very simple, and I really want to edit the file in place.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

The stamping of paper is an operation so much easier than the laying of
taxes, that a government, in the practice of paper emissions, would rarely
fail, in any such emergency [such as an election], to indulge itself too
far in the employment of that resource... -- Alexander Hamilton
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Changing swap resume signature location

2008-09-01 Thread Mag Gam
1. Format the swap partition again: sudo mkswap /dev/XXX
2. Activate swap partition sudo swapon /dev/XXX
3. Replace UUID=XXX in /etc/initramfs-tools/conf.d/resume by "resume=/dev/XXX"
4. Regenerate the initrd: sudo mkinitramfs -o /boot/initrd.img-2.6.XX
(same version as the kernel)



On Mon, Sep 1, 2008 at 1:23 PM, Mag Gam <[EMAIL PROTECTED]> wrote:
> Why not create a new swap partition and place it in /etc/fstab ?
> You don't have to worry about swap signatures and all...
>
>
>
>
> On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay
> <[EMAIL PROTECTED]> wrote:
>> At boot time, the system is looking for a resume signature on the
>> default SWAP partition that was defined during the OS installation.
>>
>> On several systems, I changed the location of the SWAP partition. How do
>> I change the location where the system looks at boot time for the resume
>> signature?
>>
>> Thanks,
>> --
>> Patrice Guay
>> [EMAIL PROTECTED]
>> ___
>> 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] Changing swap resume signature location

2008-09-01 Thread Mag Gam
Why not create a new swap partition and place it in /etc/fstab ?
You don't have to worry about swap signatures and all...




On Sat, Aug 30, 2008 at 8:05 AM, Patrice Guay
<[EMAIL PROTECTED]> wrote:
> At boot time, the system is looking for a resume signature on the
> default SWAP partition that was defined during the OS installation.
>
> On several systems, I changed the location of the SWAP partition. How do
> I change the location where the system looks at boot time for the resume
> signature?
>
> Thanks,
> --
> Patrice Guay
> [EMAIL PROTECTED]
> ___
> 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 4.7 status

2008-09-01 Thread Mag Gam
+2

Seems Redhat already released 4.7
http://www.press.redhat.com/2008/07/24/red-hat-enterprise-linux-47-released-today/




On Mon, Sep 1, 2008 at 1:08 PM, Oliver Schulze L. <[EMAIL PROTECTED]> wrote:
> +1
>
> Adrian Sevcenco wrote:
>>
>> Hi,
>> i was wondering what is the status of 4.7
>> Thank you,
>> Best regards,
>> Adrian
>>
>
> ___
> 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 4.7 status

2008-09-01 Thread Oliver Schulze L.

+1

Adrian Sevcenco wrote:

Hi,
i was wondering what is the status of 4.7
Thank you,
Best regards,
Adrian
  

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


[CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-09-01 Thread Scott Silva




8" floppies. Now that does bring back a memory for me. I was working
on a project in Texas. The customer was in Kentucky as I recall.
I fixed a problem and gave an 8" floppy to our Shipping department, to
send to the customer. The customer called me on the phone, to
inform me that the floppy had been bent, so it would fit into the box.
As I recall, it did work, after he straightened it out. For the rest
of the time that I worked there, I packed things myself, before they
were shipped, and that wasn't my job. I couldn't believe someone in
the Shipping department was that stupid.
Are you kidding? The shipping and the mailroom departments are usually the 
first place that get their budgets cut. That is where every bodies kids get 
summer jobs, and are often very transient in employment.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


Re: [CentOS] Re: Help me

2008-09-01 Thread andylockran

on 8-31-2008 9:05 PM [EMAIL PROTECTED] spake the following:
Interestingly enough, we use top posting 99% of the time at work, even 
though it takes extra effort to do so in thunderbird.  We had a new 
employee that started with us, and used bottom posting on some of her 
replies, and most people thought that her replies were empty. 
Food for thought, I guess.



In thunderbird, it's very easy to change.

Tools>Accounts>Composition>Automatically Start My Reply ABOVE/BELOW The 
Quote.


:)

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


[CentOS] Re: Help me

2008-09-01 Thread Scott Silva
on 8-31-2008 9:05 PM [EMAIL PROTECTED] spake the 
following:

Top posting is when you put your reply on top of the original message, the way 
I'm doing.  Apparently some people prefer that for some reason which dates back 
to the days of newsgroups.  Some people also don't understand that not all 
clients support bottom posting.

Interestingly enough, we use top posting 99% of the time at work, even though it takes extra effort to do so in thunderbird.  We had a new employee that started with us, and used bottom posting on some of her replies, and most people thought that her replies were empty.  

Food for thought, I guess.  

I follow the principle of "when in Rome, do as the Roman's do". Just because 
this list and others ask for bottom posting, you don't need to change your 
entire message world. It isn't that hard to remember where you are and what 
they ask, especially if you get *chastised*  a few times.


I say do as you want to do, but you will take the chance that the only 
response to your plea for help might be a public spanking. If that is OK for 
you, then take your chances. If you want to be sure you get help when you need 
it, then follow the rules of the list you are on.


We have freedom to do what we want, but others also have freedom to deal with 
it in whatever manner they see fit.


Freedom of speech also gives freedom to ignore it!

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


[CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-09-01 Thread R P Herrold

On Mon, 1 Sep 2008, Paul wrote:


Hmmm, Processor Technologies used to have a voice coil actuated dual
drive that shared it between both drives IIRC.  Interesting drive with a
motorized eject, thing is you had to wait for the disk to complete eject
before you grabbed it, if you grabbed it before it finished coming out
the arm the pushed the disk out would jamb.


The 'Helios' -- 2300 late '70's dollars for a floppy disk 
drive.   hmmm


As I said -- I don't miss them.

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


Re: [CentOS] kickstart problems

2008-09-01 Thread nate
Paolo Supino wrote:

>   Has anyone encounter this problem and has a solution for it?

Network autoconfiguration failed, most likely there is not
a compatible driver for the network card in your system.

If there is a driver disk for that NIC you can use that, what
I typically have done in the past is build an updated driver from
source and insert it into the installation program which is a
fairly complicated process involving extracting the initrd, the
modules.cgz inside of it, putting the compatible driver built
against the same kernel into the modules config and recompressing
the modules file, updating the pci device table for the new device,
and rebuilding the initrd. Also adding a step in the %post section
to install a compatible driver with whatever kernel the installer
ends up installing so when the system reboots it has network
connectivity.

I also repeat the first part of the process where I insert the
kernel, again in the stage 2 netinst.img? file(forgot off hand
exactly what the file is called), it may not be required for
network drivers, but I think it is for storage drivers, I forget,
been a while since I had to do it.

nate

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


Re: [CentOS] Re: Curmudgeoning (was Re: Problems with writing Dual Layer DVD)

2008-09-01 Thread Paul

On Sun, 2008-08-31 at 22:21 -0400, Ric Moore wrote:
> On Sun, 2008-08-31 at 11:20 -0700, Bill Campbell wrote:
> 
> > When I first encountered a customer who had disk drive problems such that
> > we replaced the 8in drives in their Radio Shack Model II several times, it
> > wasn't until I went on-site to find that they were storing their floppies
> > by sticking them to the file cabinet with refrigerator magnets.  The
> > amazing thing to me was that I found that this was a fairly common problem.
> > 
> > Then there was the person who stapled the floppy to a cover letter.
> 
> Just turning the machine off, with the 8" floppy still in the drive
> would spike the boot sector. Luckily I knew a guy that could resurrect
> it. That was on the IMSAI VDP-88 with voice-coil. By the time I got it,
> they weren't making replacement boot disks as IMSAI was long out of
> business. Govt. State Surplus is your friend, if you're into old
> iron. :) Ric

Hmmm, Processor Technologies used to have a voice coil actuated dual
drive that shared it between both drives IIRC.  Interesting drive with a
motorized eject, thing is you had to wait for the disk to complete eject
before you grabbed it, if you grabbed it before it finished coming out
the arm the pushed the disk out would jamb.

This discussion really should be on the classic computers mail list.

Hmmm 2Mhz 8080a vs 3.0Ghz Core 2 duo ... things have changed a bit on
the personal computer side.

Paul

> 
> 
> ___
> 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] CentOS-announce Digest, Vol 43, Issue 1

2008-09-01 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. CESA-2008:0875-03: Low CentOS 2 i386 tzdata   enhancement
  update (John Newbigin)


--

Message: 1
Date: Mon, 01 Sep 2008 09:51:22 +1000
From: John Newbigin <[EMAIL PROTECTED]>
Subject: [CentOS-announce] CESA-2008:0875-03: Low CentOS 2 i386 tzdata
enhancement update
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

The following errata for CentOS-2 have been built and uploaded to the
centos mirror:

RHEA-2008:0875-03 tzdata enhancement update

Files available:
tzdata-2008e-1.el2_1.noarch.rpm

More details are available from the RedHat web site at
https://rhn.redhat.com/errata/rh21as-errata.html

The easy way to make sure you are up to date with all the latest patches
is to run:
# yum update

-- 
John Newbigin
ITS Senior Analyst / Programmer
Faculty of Information and Communication Technologies
Swinburne University of Technology
Melbourne, Australia
http://www.ict.swin.edu.au/staff/jnewbigin










--

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


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


Re: [CentOS] Help me

2008-09-01 Thread William L. Maltby
Eww! Loongg lines!  :-)

On Mon, 2008-09-01 at 04:05 +, [EMAIL PROTECTED] wrote:
> Top posting is when you put your reply on top of the original message, the 
> way I'm doing.  Apparently some people prefer that for some reason which 
> dates back to the days of newsgroups.  Some people also don't understand that 
> not all clients support bottom posting.
> 
> Interestingly enough, we use top posting 99% of the time at work, even though 
> it takes extra effort to do so in thunderbird.  We had a new employee that 
> started with us, and used bottom posting on some of her replies, and most 
> people thought that her replies were empty.  

ISTR that T'bird has preferences for this. Not so? I use it and have NP
interspersing my responses with the quoted text.

BTW, I don't think "bottom" posting is as good as interspersed text, but
it is less labor-intensive (for the *poster*) to just do top or bottom.

> 

-- 
Bill

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


Re: [CentOS] Help using ed [OT]

2008-09-01 Thread William L. Maltby

On Sun, 2008-08-31 at 19:45 +0200, Thomas Johansson wrote:
> Hi
> 
> Perhaps omeone might answer this tricky problem. I can do this other 
> ways, but i really want to understand how to solve it using ed. I have 
> one solution using g/re/s/re//txt/ , but I want to understand how or if 
> i can solve it using the ed (.)a command.

OK. But keep in mind that many folks (and distros?) believe ed is
hopelessly outdated and some even advocate its removal from
distributions. Thankfully some other packages(s) depend on it.

You would be better off using other techniques, sed, (g)awk, some minor
programming language, perl, ...

Regardless, you can't do it precisely as you desire do to the nature or
ed. It's a pure context-sensitive editor.

Fortunately us outdated relics hang together and I can offer a solution.
Whether it is acceptable to you is another matter. More discussion
below.

> 
> A script i have parse several files and append text after a specific 
> text is matched. If one file do not have this text, i get a no match and 
> the script terminates. How can I avoid this behavior keeping the 
> original coding style for ed and append text. I have tried tried but 
> still cannot get it correct using (.)a. Is it even possible to do it 
> that way using the (.)a command?

You have a basic problem with trying to do it without commands using a
range, such as those in your second example.

>From "man ed":

DIAGNOSTICS
   When an error occurs, if ed’s input is from a regular file or
   here document, then it exits, otherwise it prints a ‘?’ and
   returns to  command mode. An  explanation  of  the last error can
   be printed with the ‘h’ (help) command.

>From 1) memory, 2) recent review of man page, there is no way around
this.

Further, your specification of the file leaves a lot to the imagination.
If there are more than 26 instances of addresses you need to add some
more to my sample script to remove existing marks, after they are done
being used, and mark again. Repeat, rinse until done.

If there is more than one occurrence of any pattern, my sample is
inadequate, due to the use of marks to get around ed's inability to
handle a not-found silently and gracefully. This example will process
only the last occurrence.

Although ed is very fast, if the target files are large this may be slow
due to the repeated traversal of the buffers. With a limit of only 26
items (in my example) this may not be an issue.

Once again, you really need to be using some stream processor, as
suggested above.

> 
> Thanks in advance
> Thomas
> 
> 

I have attached my example and test cases so those with no interest
don't have to read.

HTH
-- 
Bill
aa
bb
cc
aa
bb
cc
bb
bb
cc


test
Description: application/shellscript
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help me

2008-09-01 Thread Ralph Angenendt
Frank Cox wrote:
> In newsgroup and mailing list postings, on the other hand, the convention is 
> to
> put your reply at the bottom or in-line with the original message (and the
> original message is ideally trimmed to the minimum required to keep the flow
> of the "conversation" going. 

I think *this* point cannot be stressed enough. I frankly do not care if
you top post or bottom post -  without editing anything out of the mail
you reply to it's just the same mess. From this point of view bottom
posting is even *worse*, as I have to wade through kilobytes of unedited
stuff which I have read before, then read what you (nothing personal!)
wrote, and then still have to figure out which part of the mail that you
completely quoted you were answering to.

So people: TRIM YOUR MAILS!

Ralph


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


[CentOS] kickstart problems

2008-09-01 Thread Paolo Supino
Hi

  I'm having a problem with setting up a kickstart environment based on
CentOS 5.2 x86_64, on a Sun X2200 M2 server (both the server and the client
in the kickstart environment are Sun X2200 M2 systems): the first attempt to
load stage2.img fails with the error screen: "unable to retrieve
http://192.168.11.10/source/images/stage2.img";. Pressing the "OK" button
brings up the "HTTP Setup"  screen with "Website name: 192.168.11.10" and
"CentOS directory: /source" if I press OK it successfully loads stage2.img
file and continues with the kickstart installation to a successful
completion.
I checked the apache logs on 192.168.11.10 and there is no attempt by the
client to even load stage2.img before it prompts for the error.
  Has anyone encounter this problem and has a solution for it?





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