Re: [CentOS] No MySQL password in ps aux!

2011-09-14 Thread Dotan Cohen
On Wed, Sep 14, 2011 at 01:27, John Beranek  wrote:
> You can even do this in something like Perl, here you just modify '$0'.
>

I did not realize that the cli arguments are mutable.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Flesh Playerproblem

2011-09-14 Thread John Doe
From: Ashish Shaligram 

> I have installed centos 6, i have already installed flesh player, browser ask 
> for flesh player. 
> how can i solve the problem? 

Check that the plugin file is installed.

ll /usr/lib*/mozilla/plugins/libflashplayer.so
Or replace mozilla with your actual browser.

If missing link, maybe run /usr/lib/flash-plugin/setup

JD

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


Re: [CentOS] Missing ipa-server package on centos6?

2011-09-14 Thread John Doe
From: Armin Herbert 

> I can't seem to find the ipa-server package in centos 6; it is not available 
> on my favourite mirrors, nor do the release notes mention its absence. Has it 
> been overlooked when assembling the distribution?

Dunno but CentOS 5 and 6 have the same ipa packages...

# yum list | grep -i "^ipa"
ipa-client.i386    2.0-10.el5_6.1  updates  
ipa-gothic-fonts.noarch    003.02-3.1.el5  base 
ipa-mincho-fonts.noarch    003.02-2.1.el5  base 
ipa-pgothic-fonts.noarch   003.02-3.1.el5  base 
ipa-pmincho-fonts.noarch   003.02-2.1.el5  base 

# yum list | grep -i "^ipa"
ipa-client.x86_64 2.0-9.el6 base    
ipa-gothic-fonts.noarch   003.02-4.2.el6    base    
ipa-mincho-fonts.noarch   003.02-3.1.el6    base    
ipa-pgothic-fonts.noarch  003.02-4.1.el6    base    
ipa-pmincho-fonts.noarch  003.02-3.1.el6    base

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


Re: [CentOS] Missing ipa-server package on centos6?

2011-09-14 Thread Baptiste AGASSE
Hi,

From RHEL 6.1 Release note :
"Red Hat Enterprise Linux 6.1 features IPA as a Technology Preview. IPA is an 
integrated security information management solution which combines Red Hat 
Enterprise Linux, Red Hat Directory Server, MIT Kerberos, and NTP. It provides 
web browser and command-line interfaces, and its numerous administration tools 
allow an administrator to quickly install, set up, and administer one or more 
servers for centralized authentication and identity management."

So, maybe in CentOS 6.1 :)

Baptiste

- Mail original -
De: "John Doe" 
À: "CentOS mailing list" 
Envoyé: Mercredi 14 Septembre 2011 11:17:03
Objet: Re: [CentOS] Missing ipa-server package on centos6?

From: Armin Herbert 

> I can't seem to find the ipa-server package in centos 6; it is not available 
> on my favourite mirrors, nor do the release notes mention its absence. Has it 
> been overlooked when assembling the distribution?

Dunno but CentOS 5 and 6 have the same ipa packages...

# yum list | grep -i "^ipa"
ipa-client.i386    2.0-10.el5_6.1  updates  
ipa-gothic-fonts.noarch    003.02-3.1.el5  base 
ipa-mincho-fonts.noarch    003.02-2.1.el5  base 
ipa-pgothic-fonts.noarch   003.02-3.1.el5  base 
ipa-pmincho-fonts.noarch   003.02-2.1.el5  base 

# yum list | grep -i "^ipa"
ipa-client.x86_64 2.0-9.el6 base    
ipa-gothic-fonts.noarch   003.02-4.2.el6    base    
ipa-mincho-fonts.noarch   003.02-3.1.el6    base    
ipa-pgothic-fonts.noarch  003.02-4.1.el6    base    
ipa-pmincho-fonts.noarch  003.02-3.1.el6    base

JD
___
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-announce] Release for CentOS-5.7 i386 andx86_64

2011-09-14 Thread Robert Heller
At Tue, 13 Sep 2011 23:21:05 -0400 CentOS mailing list  
wrote:

> 
> >> We are pleased to announce the immediate availability of CentOS-5.7 for
> >> i386 and x86_64 Architectures.
> 
> 
> Did Centos cr will bring me to 5.7 or should I make a fresh install if I'm 
> interested bye this level?

To go from 5.x (x < 7) to 5.7, just do a yum update.  It will happen
automatically. 

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

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


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


Re: [CentOS] [CentOS-announce] Release for CentOS-5.7 i386 and x86_64

2011-09-14 Thread Keith Roberts
On Wed, 14 Sep 2011, Always Learning wrote:

> To: centos@centos.org
> From: Always Learning 
> Subject: Re: [CentOS] [CentOS-announce] Release for CentOS-5.7 i386 and x86_64
> 
> On Wed, 2011-09-14 at 00:33 +0100, Karanbir Singh wrote:
>
>> We are pleased to announce the immediate availability of CentOS-5.7 for
>> i386 and x86_64 Architectures.
>
> Thank you for all the hard dedicated work.

+1 Yes.

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Error in updating to 5.7

2011-09-14 Thread Alain Péan
Hi all,

I have a Dell server, CentOS 5.6 64 bits, on which I configured the CR 
repository. I just tried to update to 5.7, and had this error :
# yum update

http://mirror.centos.org/centos/5/cr/x86_64/repodata/filelists.sqlite.bz2: 
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/filelists.sqlite.bz2 from cr: [Errno 256] No 
more mirrors to try.
  You could try using --skip-broken to work around the problem
  You could try running: package-cleanup --problems
 package-cleanup --dupes
 rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

My repolist is this one :
# yum repolist
Loaded plugins: dellsysid, fastestmirror, refresh-updatesd
Loading mirror speeds from cached hostfile
  * addons: distrib-coffee.ipsl.jussieu.fr
  * base: distrib-coffee.ipsl.jussieu.fr
  * epel: fr2.rpmfind.net
  * extras: centos.crazyfrogs.org
  * updates: centos.crazyfrogs.org
repo id   repo 
name status
addonsCentOS-5 - 
Addons enabled:0
base  CentOS-5 - 
Base   enabled: 3535
crCentOS-5 - 
CR enabled:  573
dell-omsa-indep   Dell OMSA repository - Hardware 
independent   enabled:  719
dell-omsa-specificDell OMSA repository - Hardware 
specific  enabled:2
epel  Extra Packages for Enterprise 
Linux 5 - x86_64enabled: 6700
extrasCentOS-5 - 
Extras enabled:  233
updates   CentOS-5 - 
Updatesenabled:  150
repolist: 11912

Other information :
# cat /etc/redhat-release
CentOS release 5.6 (Final)
# uname -a
Linux xxx 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 
x86_64 x86_64 GNU/Linux

Does anybody has an idea why I have this error ?

Thanks for the help.

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 13:14 +0200, Alain Péan wrote:

> I have a Dell server, CentOS 5.6 64 bits, on which I configured the CR 
> repository. I just tried to update to 5.7, and had this error :
> # yum update
> 
> http://mirror.centos.org/centos/5/cr/x86_64/repodata/filelists.sqlite.bz2: 
> [Errno 14] HTTP Error 404: Not Found


I do not know the answer. However please try

yum clean all

then try

yum update

Regards,

Paul,
England,
EU.


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


Re: [CentOS] [CentOS-announce] Release for CentOS-5.7 i386 and x86_64

2011-09-14 Thread Karanbir Singh
On 09/14/2011 06:59 AM, James A. Peltier wrote:
> Yes, I did notice that, just wondered why.  It seems more prone to breakage 
> (creating multiple symlinks vs one)

There are a couple of reasons. I wont go into all, but the 2 that stick
out the most for me are:

1) symlinking a step deeper means we can have more finer grained control
over the content exported from the / and the /
level, specially when it involved shared content ( Extras as one
functional example, addons and contribs as another - but non impacted here )

2) This is the more important one : with /6/ and 6.X/ being real
physical locations there is still the door open that allows /6/ to
become the CR repo. Entirely, across the OS/ and Updates/+ CR/ whereas
6.X/cr/ then becomes local to what is representative of a next-release
content repo ( in relation to the point release its injected into ).
This becomes even more relevant when you factor in 'CR/ content will not
move to vault.c.o when the .X content does'. Furthermore, this
is an important issue when we consider that the CR repo is opt-in,
having a /6/ stream that is always updated and always just-usable
irrespective of what 6.X one installs on their machines is always going
to be a good goal to achieve, imho. Impact on how we do things, how we
store stuff, stage content, get it into the mirrors, export to users and
yum clients : massive. Ofcourse, the only experience that needs to be
protected is the yum-client interface, and can we achieve this refactor
without impacting yum-client interfaces ? I dont know. What I do know,
is that very very few external mirrors have the capacity to handle
something of this nature. Solve'able problems no doubt.

There are also site-specific benefits like being able to add and track
local repo's without needing to add in hackery over the centos mirror
rsync exported content within a / or .X/ tree. And for
people who run multiple machines, or need to have different production
environments this tends to be quite a big deal.

>From the user perspective, it should not make a difference as to where
the symlinks are setup to -> from. If there is an impact, do tell.

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


Re: [CentOS] Submitting patches from upstream fixes/bugs

2011-09-14 Thread Trey Dockendorf
On Tue, Sep 13, 2011 at 7:32 PM, Karanbir Singh wrote:

> On 09/14/2011 01:30 AM, Trey Dockendorf wrote:
> > What is the preferred method for submitting patches from upstream
> > projects ?  I have two patches for libvirt-0.8.1.el6_0.6.  One adds ESX
> > 4.1 support to things like virt-v2v
> > (http://www.redhat.com/archives/libvir-list/2010-July/msg00480.html) and
> > the second fixes the broken "virsh snapshot-create"
> > (https://bugzilla.redhat.com/show_bug.cgi?id=727709).  All I did really
> > was get them to work with the CentOS 6 version of libvirt.
>
> For the base distro components these would need to come via RH's code.
> However, if you open issues at bugs.centos.org and offer to maintain the
> patches, they could go into the same components into the CentOSPlus repo.
>
> - KB
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


Based on the bug report for the snapshot-create issue, it seems it's in
libvirt 0.9.0 and that it's something that may be solved completely in
Fedora 16.  Is there a good way to find if a specific patch/fix has been
applied upstream by Red Hat?

What goes into the maintenance of a patch?  I'd be happy to do so, but I
only know enough C to be able to work in patches / changes and track down
compile errors, but not enough to have been the original person that finds
these solutions.

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


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Alain Péan
Le 14/09/2011 13:22, Always Learning a écrit :
> On Wed, 2011-09-14 at 13:14 +0200, Alain Péan wrote:
>
>> I have a Dell server, CentOS 5.6 64 bits, on which I configured the CR
>> repository. I just tried to update to 5.7, and had this error :
>> # yum update
>> 
>> http://mirror.centos.org/centos/5/cr/x86_64/repodata/filelists.sqlite.bz2:
>> [Errno 14] HTTP Error 404: Not Found
>
> I do not know the answer. However please try
>
>   yum clean all
>
> then try
>
>   yum update
>
> Regards,
>
> Paul,
> England,
> EU.
>

Hi Paul,

Indeed, yum clean all fixed the error. Yum update completed without error.

   xulrunner.x86_64 0:1.9.2.22-1.el5_7  yum.noarch 
0:3.2.22-37.el5.centos
   zlib.i386 0:1.2.3-4.el5  zlib.x86_64 
0:1.2.3-4.el5
   zlib-devel.i386 0:1.2.3-4.el5
zlib-devel.x86_64 0:1.2.3-4.el5

Complete!

# cat /etc/redhat-release
CentOS release 5.7 (Final)

I must say I wondered how the yum update will deal with the CR updates, 
and if the error was related to this, but it seems that everything is OK 
now.

Thanks.

Alain

-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] how to stop an in-progress fsck that runs at boot?

2011-09-14 Thread Josh Miller
On 09/13/2011 07:39 PM, Matt Garman wrote:
...
> Also, as a side question: I always do this---let my servers run for a
> very long time, power down to change/upgrade hardware, then forget
> about the forced fsck, then pull my hair out waiting for it to finish
> (because I can't figure out how to stop it once it starts).  I know
> about tune2fs -c and -i, and also the last (or is it second to last?)
> column in /etc/fstab.  My question is more along the lines of "best
> practices"---what are most people doing with regards to regular fsck's
> of ext2/3/4 filesystems?  Do you just take the defaults, and let it
> delay the boot process by however long it takes?  Disable it
> completely?  Or do something like taking the filesystem offline on a
> running system?  Something else?
...

I make an effort to note the count before rebooting and if I don't have 
time to allow the fsck, I will adjust the max-mount-counts to give me 
some time to plan an fsck on a subsequent reboot.


-- 
Josh Miller
Open Source Solutions Architect
http://itsecureadmin.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cons of disabling *.i386 and *.i686 in a 64bit Distribution

2011-09-14 Thread James Nguyen
Can anybody give me a reason why this would be a bad idea.  So the premise
for this question is that I setup an exclude=*.i368,*.i686 in my yum.conf.
 While doing a yum update I come across missing package dependencies for
instance mkinitrd for the i386 package.  I noticed there is already one for
x86_64.  I realized during the kickstart install that some of these *.i386
got installed before I could enable the exclude in the yum.conf.

So the questions I pose is... why are some of these *.i386 packages getting
installed on a 64bit distro? is there any harm is removing them all?

I guess I could spin up a virtual and try, but wanted to see what the census
already knows about this matter as well.

Thanks!
-- 

james h nguyen | lead systems architect | www.callfire.com | 1.949.625.4263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] copying data to CF card

2011-09-14 Thread Jerry Geis

> >/  under centos 5 x86_64 - I was able to run fdisk to partition a CF card,
> />/  make the filesystem, copy data to the filesystem, run grub from an
> />/  x86_64 system
> />/  to make the CF card bootable with grub. That all worked fine.
> /
> What format is your CF card ?
>
>
Paul

I have the CF card formatted as ext3.

Jerry

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


Re: [CentOS] how to stop an in-progress fsck that runs at boot?

2011-09-14 Thread Shad L. Lords
On Tue, Sep 13, 2011 at 8:39 PM, Matt Garman wrote:

> My question is more along the lines of "best
> practices"---what are most people doing with regards to regular fsck's
> of ext2/3/4 filesystems?  Do you just take the defaults, and let it
> delay the boot process by however long it takes?  Disable it
> completely?  Or do something like taking the filesystem offline on a
> running system?  Something else?
>

If you are running on LVM and have (enough) free space available then there
is a very easy way to check the filesystem for errors.  If this finds errors
then you can run it on the real filesystem when you can schedule downtime to
fix them.  It also will give you a good estimate about the amount of time
you will need to schedule.

- Create an LVM snapshot of the volume you want to check
- Preen the filesystem to fix and minor in-progress stuff the snapshot
caused
- Force a full filesystem check and watch for any errors

lvcreate -s -L 50G -n fsck_snapshot vg_name/lv_name
e2fsck -p -C0 /dev/vg_name/fsck_snapshot
e2fsck -fy -C0 /dev/vg_name/fsck_snapshot
lvremove -f vg_name/fsck_snapshot

Make sure the 50G above gives you enough room for all the writes that will
take place during the fsck operation.

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


Re: [CentOS] Cons of disabling *.i386 and *.i686 in a 64bit Distribution

2011-09-14 Thread Christopher Hawker
I could not see any issues with it. As you probably know i386 packages will
work on an x86_64 install, and there are some packages written for i386 that
you can't get for x86_64. You could disable it, but my system runs perfect
with it.

--
If you have any questions, please do not hesitate to call me on +61 478 241
896.

Regards,
Christopher Hawker

On Thu, Sep 15, 2011 at 12:52 AM, James Nguyen  wrote:

> Can anybody give me a reason why this would be a bad idea.  So the premise
> for this question is that I setup an exclude=*.i368,*.i686 in my yum.conf.
>  While doing a yum update I come across missing package dependencies for
> instance mkinitrd for the i386 package.  I noticed there is already one for
> x86_64.  I realized during the kickstart install that some of these *.i386
> got installed before I could enable the exclude in the yum.conf.
>
> So the questions I pose is... why are some of these *.i386 packages getting
> installed on a 64bit distro? is there any harm is removing them all?
>
> I guess I could spin up a virtual and try, but wanted to see what the
> census already knows about this matter as well.
>
> Thanks!
> --
>
> james h nguyen | lead systems architect | www.callfire.com |
> 1.949.625.4263
>
> ___
> 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 79, Issue 5

2011-09-14 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. Release for CentOS-5.7 i386 and x86_64 (Karanbir Singh)


--

Message: 1
Date: Wed, 14 Sep 2011 00:33:50 +0100
From: Karanbir Singh 
Subject: [CentOS-announce] Release for CentOS-5.7 i386 and x86_64
To: CentOS Announcements List 
Message-ID: <4e6fe85e.5080...@centos.org>
Content-Type: text/plain; charset=ISO-8859-1

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We are pleased to announce the immediate availability of CentOS-5.7 for
i386 and x86_64 Architectures.

CentOS-5.7 is based on the upstream release EL 5.7 and includes
packages from all variants including Server and Client. All upstream
repositories have been combined into one, to make it easier for end
users to work with.

This is just an announcement email, not the release notes. The Release
Notes for CentOS-5.7 can be found on-line at :
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.7 and everyone is
encouraged to look through them once. Also worth browsing through are
the CentOS FAQs at http://wiki.centos.org/FAQ

+++
Upgrading from CentOS-5.6 ( or CentOS-5.0/5.1/5.2/5.3/5.4/5.5):

If you are already running CentOS-5.6 or an older CentOS-5 distro, all
you need to do is update your machine via yum by running :

'yum update'

Running 'yum list updates' before doing the update is recommended, so
you can get a list of packages that are going to be updated. To check
you are indeed on CentOS-5.7, run : 'rpm -q centos-release' and that
should return: 'centos-release-5-7.el5.centos.1'

If you are running CentOS-5.6 and have the CR repo enabled, a simple
'yum update' will still move your machine to 5.7. But since the CR repo
already contained all the 5.7 updates, there will only be a handful of
rpms that need to be installed for the 5.6 to 5.7 upgrade. If you are
not running the CR repo, we highly encourage everyone to install and run
this repository on their machines. More details on the CR repo can be
found online at http://wiki.centos.org/AdditionalResources/Repositories/CR

+++
Downloading CentOS-5.7 for new installs:

When possible, consider using torrents to run the downloads. Not only
does it help the community and keeps mirrors from running up high
bandwidth bills, in most cases you will find its also the fastest means
to download the distro. There are currently over a hundred people
seeding CentOS-5 and it's possible to get upto 100mbps downloads via
these torrents.

- -- Via BitTorrent :
   CD:
http://mirror.centos.org/centos/5.7/isos/i386/CentOS-5.7-i386-bin-1to8.torrent
http://mirror.centos.org/centos/5.7/isos/x86_64/CentOS-5.7-x86_64-bin-1to8.torrent

   DVD:
http://mirror.centos.org/centos/5.7/isos/i386/CentOS-5.7-i386-bin-DVD.torrent
http://mirror.centos.org/centos/5.7/isos/x86_64/CentOS-5.7-x86_64-bin-DVD.torrent

md5sum's for these torrent files:

8e29e525f45c4a7b3a963cc01ec3459a  CentOS-5.7-i386-bin-1to8.torrent
32c9e0826b50d6be44823523be403c7f  CentOS-5.7-x86_64-bin-1to8.torrent
795d6c11b5ef8907653360af52b9f317  CentOS-5.7-i386-bin-DVD.torrent
04c563f2c838bf6b255fcc5fcc18cf66  CentOS-5.7-x86_64-bin-DVD.torrent

sha1sum's for these torrent files:

8a945ba89b03328480fde20eaa0b638ceb7f4509  CentOS-5.7-i386-bin-1to8.torrent
b1a18ba25e77543c4df9078dfafba990fbd58601  CentOS-5.7-x86_64-bin-1to8.torrent
d3c4ed0d14fe1873bbcee931224e5e8819f779dc  CentOS-5.7-i386-bin-DVD.torrent
302850dd4f9a8198b303f872c83a5a16ec1c40c2  CentOS-5.7-x86_64-bin-DVD.torrent


While torrent files will do their own content checks, and only the right
torrent will register and download from torrent.centos.org - its very
important for your own security that an md5/sha1sum check is done on the
.torrent file itself, and  ensure that only the torrent.centos.org
tracker is being used. Sha1sum's are more secure than md5's. Whenever
possible, use sha1sum's instead of md5.

- -- Via direct download:
Due to bandwidth considerations the CentOS Project does not publish ISOs
directly from our network machines. However direct downloads are
available from external mirrors over http, ftp and rsync. A geoip
based list is available at http://isoredirect.centos.org/centos/5/isos/
to give you the best predictable match ( and only lists mirrors that are
updated already, so you don't need to waste time looking for a sync'd
mirror )

Some mirrors also publish DVD images that can be downloaded directly.
Refer to the mirrors list page at http

[CentOS] Yum update to 5.7 unexpected results

2011-09-14 Thread b.j. mcclure
I have a couple machines running 5.6 fully updated from cr repo.  When I
did 'yum update' this morning it found 8 updates:
   centos-release-5-7.el5
   centos-release-notes-5.7-0
ghostscript 8.70-6.el5_7.3
nspr 4.8.8-1.el5_7
nss 3.12.10-4.el5
nss-tools 3.12.10-4.el5
   ntp-4.2.2p1-15.el5
   initscripts-8.45.38-2.el5

However yum reported 404 on everything but ntp and initscripts.  I
installed ntp and initscripts individually and yum continued to report
404 on the rest of the updates on both machines.  One machine i386, the
other x86_64.

I did a 'yum clean all' followed by 'yum update' and it installed
centos-release and centos-release-notes but not nss, nss-tools,
ghostscript or nspr updates.

[]# cat /etc/redhat-release
CentOS release 5.7 (Final)

[]# rpm -q nss nss-tools ghostscript nspr
nss-3.12.8-4.el5_6
nss-tools-3.12.8-4.el5_6
ghostscript-8.70-6.el5
nspr-4.8.6-1.el5_5

Both machines had identical results and appear to be fully updated to
5.7 but with at least four packages not updated.  I don't think this is
an intended result.

Any thoughts much appreciated.

B.J.

CentOS Linux release 6.0 (Final)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cons of disabling *.i386 and *.i686 in a 64bit Distribution

2011-09-14 Thread James Nguyen
On Wed, Sep 14, 2011 at 8:22 AM, Christopher Hawker wrote:

> I could not see any issues with it. As you probably know i386 packages will
> work on an x86_64 install, and there are some packages written for i386 that
> you can't get for x86_64. You could disable it, but my system runs perfect
> with it.
>
> Yes I do know that i386 will run fine on x86_64.  The intentions is to only
install and run what I really need.  I'm already only installing the base
and @core packages during a kickstart, so I might as well try and keep it
all clean from the get-go, but noticed that some packages do creep in that
are not needed seeing there is an x86_64 equivalent.  =)

The packages that are only available via i386 are the ones I'll have to keep
indeed.  So the approach I took in excluding those packages would
immediately break on a yum update where their dependencies also need
upgrading.  I came across this moving from 5.6->5.7.

If there are any best practices approach someone has or some tips and
tricks.  I'd much appreciate the advice.  Given security concerns all
around, the slimmer my installs are the less I need to worry about some i386
binary that I don't need or nor run.  I treat my services the same.  If you
don't need it, don't run it. =)

--
> If you have any questions, please do not hesitate to call me on +61 478
> 241 896.
>
> Regards,
> Christopher Hawker
>
> On Thu, Sep 15, 2011 at 12:52 AM, James Nguyen  wrote:
>
>> Can anybody give me a reason why this would be a bad idea.  So the premise
>> for this question is that I setup an exclude=*.i368,*.i686 in my yum.conf.
>>  While doing a yum update I come across missing package dependencies for
>> instance mkinitrd for the i386 package.  I noticed there is already one for
>> x86_64.  I realized during the kickstart install that some of these *.i386
>> got installed before I could enable the exclude in the yum.conf.
>>
>>
> So the questions I pose is... why are some of these *.i386 packages getting
>> installed on a 64bit distro? is there any harm is removing them all?
>>
>> I guess I could spin up a virtual and try, but wanted to see what the
>> census already knows about this matter as well.
>>
>> Thanks!
>> --
>>
>> james h nguyen | lead systems architect | www.callfire.com |
>> 1.949.625.4263
>>
>> ___
>> 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
>
>


-- 

james h nguyen | lead systems architect | www.callfire.com | 1.949.625.4263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TIP for broken ARIN whois

2011-09-14 Thread Michael H. Warfield
Just a point on the curve but...

ARIN has made a deliberate decision to move emphasis over to their
RESTful Web Interface, Whois-RWS.  Part of the reason is performance and
part of the reason is for granularity of the data available.  They
really REALLY want people to make that move although they will continue
to support the old whois for a lot of the basic stuff.

https://www.arin.net/resources/whoisrws/index.html

I believe one of the things I heard at last years NANOG / ARIN
conference here in Atlanta was that they would no longer be providing
certain information such as reverse DNS servers in the old whois because
that's now in a different database or some such.  On another closed
security forum on which I participate someone was having problems
getting at Abuse POC information.  There a parameter for that as well
but they prefer using the Whois-RWS interface and API instead.  I think
we'll be hearing more of that as time goes on.

Regards,
Mike

On Sat, 2011-09-10 at 15:26 +0100, Always Learning wrote: 
> This works for me on Centos 5.6. It may assist newcomers to the Linux
> world of Centos.
> 
>   whois 51.51.51.51 
> 
> produces a normal and conventional display of data.
> 
> However since ARIN, the North American registrar of IP addresses,
> "modernised" its WHOIS processing, a query to
> 
>   whois 64.64.64.64
> 
> will produce a one line summary of possible matches, which always
> includes ARIN, but omits the details we used to receive before ARIN
> implemented its much criticised "improved" service.
> 
> A one line script solves it for me (but only for ARIN network entries).
> 
>   #!/bin/bash
>   whois -h whois.arin.net n + $1
> 
> I call my script .arin
> 
>   .arin 64.64.64.64
> 
> produces a normal output.
> 
> 
> 
> Paul.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Edward Morbius
I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
network commands capability.

The problem:  we've got a colo in which hosts talk directly to the hosting
provider's router (through a bridging firewall) and hence our hosts MAC
addresses are cached by the router.

We should be able to solve this by pinging the router directly when bringing
up the interface, rather than waiting (a day) for the router's ARP cache to
expire.

Yes, this means we're switching which hosts respond to a specific IP
address, yes, we have to do this periodically.

An alternative would be to remap the MAC address, though pinging the router
seems cleaner, and the MAC remap would /still/ have to run when the
interface is brought up/down.

-- 
Dr. Ed Morbius
Chief Scientist / Philologist / Robot Wrangler / Powerplant Operator
Krell Power Systems Unlimited
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TIP for broken ARIN whois

2011-09-14 Thread Edward Morbius
Another alternative, if you're simply looking for ASN/CIDR information, is
to use the routeviews project.

host -t txt 51.51.51.51.asn.routeviews.org

... returns the ASN and CIDR block of the IP in question.

Note that as usual, this is reversed dotted quad, so if your original IP is
1.2.3.4, you're querying 4.3.2.1.asn.routeviews.org

More information on the routeviews project: http://www.routeviews.org/

If you want information on the ASN, you can still query WHOIS.   Or you can
hit the CIDR Report:

http://www.cidr-report.org

Example:

$ host www.cidr-report.org
www.cidr-report.org has address 203.133.248.2

$ host -t txt 2.248.133.203.asn.routeviews.org
2.248.133.203.asn.routeviews.org descriptive text "4608" "203.133.248.0"
"24"

karsten@zharben:~$ host -t txt 51.51.51.51.asn.routeviews.org
51.51.51.51.asn.routeviews.org descriptive text "4294967295" "0" "0"
karsten@zharben:~$ host www.cidr-report.org
www.cidr-report.org has address 203.133.248.2
karsten@zharben:~$ host -t text 2.248.133.103.asn.routeviews.org
host: invalid type: text

karsten@zharben:~$ host -t txt 2.248.133.103.asn.routeviews.org
Host 2.248.133.103.asn.routeviews.org not found: 3(NXDOMAIN)
karsten@zharben:~$ host -t txt 2.248.133.203.asn.routeviews.org
2.248.133.203.asn.routeviews.org descriptive text "4608" "203.133.248.0"
"24"
karsten@zharben:~$ whois n 4608
No whois server is known for this kind of object.
karsten@zharben:~$ whois n!4608
bash: !4608: event not found
karsten@zharben:~$ whois AS4608
% [whois.apnic.net node-5]
% Whois data copyright termshttp://www.apnic.net/db/dbcopyright.html

as-block: AS4608 - AS4864
descr:APNIC ASN block
remarks:  These AS numbers are further assigned by APNIC
remarks:  to APNIC members and end-users in the APNIC region
admin-c:  HM20-AP
tech-c:   HM20-AP
mnt-by:   APNIC-HM
mnt-lower:APNIC-HM
changed:  hm-chan...@apnic.net 20020926
changed:  hm-chan...@apnic.net 20030207
changed:  hm-chan...@apnic.net 20050309
source:   APNIC

aut-num:AS4608
as-name:APNIC-AP
descr:  Asia Pacific Network Information Centre
descr:  Regional Internet Registry for the Asia-Pacific Region
descr:  6 Cordelia Street
descr:  PO Box 3646
descr:  South Brisbane, QLD 4101
descr:  Australia
country:AU
admin-c:HM20-AP
tech-c: NO4-AP
notify: n...@apnic.net
mnt-by: MAINT-APNIC-AP
mnt-irt:IRT-APNIC-AP
changed:hm-chan...@apnic.net
changed:hm-chan...@apnic.net 20110309
changed:hm-chan...@apnic.net 20110815
source: APNIC

role:   APNIC Hostmaster
address:6 Cordelia Street
address:South Brisbane
address:QLD 4101
country:AU
phone:  +61 7 3858 3100
fax-no: +61 7 3858 3199
e-mail: helpd...@apnic.net
admin-c:AMS11-AP
tech-c: AH256-AP
nic-hdl:HM20-AP
remarks:Administrator for APNIC
notify: n...@apnic.net
mnt-by: MAINT-APNIC-AP
changed:hm-chan...@apnic.net 1998
changed:db...@apnic.net 19990702
changed:hm-chan...@apnic.net 20020211
changed:hm-chan...@apnic.net 20070612
changed:hm-chan...@apnic.net 20100217
changed:hm-chan...@apnic.net 20101217
changed:hm-chan...@apnic.net 20110815
source: APNIC

person: APNIC Network Operations
address:6 Cordelia Street
address:South Brisbane
address:QLD 4101
country:AU
phone:  +61 7 3858 3100
fax-no: +61 7 3858 3199
e-mail: net...@apnic.net
nic-hdl:NO4-AP
remarks:Administrator for APNIC Network Operations
notify: net...@apnic.net
mnt-by: MAINT-APNIC-AP
changed:net...@apnic.net 1998
changed:hostmas...@apnic.net 20020211
changed:hm-chan...@apnic.net 20081205
changed:hm-chan...@apnic.net 20101217
source: APNIC


$ whois AS4608
% [whois.apnic.net node-1]
% Whois data copyright termshttp://www.apnic.net/db/dbcopyright.html

as-block: AS4608 - AS4864
descr:APNIC ASN block
remarks:  These AS numbers are further assigned by APNIC
remarks:  to APNIC members and end-users in the APNIC region
admin-c:  HM20-AP
tech-c:   HM20-AP
mnt-by:   APNIC-HM
mnt-lower:APNIC-HM
changed:  hm-chan...@apnic.net 20020926
changed:  hm-chan...@apnic.net 20030207
changed:  hm-chan...@apnic.net 20050309
source:   APNIC
 

On Sat, Sep 10, 2011 at 7:26 AM, Always Learning  wrote:

> This works for me on Centos 5.6. It may assist newcomers to the Linux
> world of Centos.
>
>whois 51.51.51.51
>
> produces a normal and conventional display of data.
>
> However since ARIN, the North American registrar of IP addresses,
> "modernised" its WHOIS processing, a query to
>
>whois 64.64.64.64
>
> will produce a one line summary of possible matches, which always
> i

Re: [CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Warren Young
On 9/14/2011 1:26 PM, Edward Morbius wrote:
> I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
> network commands capability.

If you look in /etc/sysconfig/network-scripts/ifup, you'll see that it 
will call /sbin/ifup-pre-local if it exists, before bringing up the 
network interface.

That script also calls .../network-scripts/ifup-post after bringing up 
the network interface, which in turn will call /sbin/ifup-local, if it 
exists, as its last step.

Neither is interface-specific, but they get the interface name passed to 
them, so if you needed to do something different for different 
interfaces, you could.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Edward Morbius
OK.

The next question becomes: how do we ensure that this happens for each
defined IP, and that the ping is issued from a given IP address (routing/
etc.).

What we're hoping to accomplish is for the colo switch to get the correct
ARP address for each defined IP address on the host.  In some cases, we'll
have multiple NICs on the same subnet, in others, IP aliases on the same
NIC.

On Wed, Sep 14, 2011 at 2:14 PM, Warren Young  wrote:

> On 9/14/2011 1:26 PM, Edward Morbius wrote:
> > I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
> > network commands capability.
>
> If you look in /etc/sysconfig/network-scripts/ifup, you'll see that it
> will call /sbin/ifup-pre-local if it exists, before bringing up the
> network interface.
>
> That script also calls .../network-scripts/ifup-post after bringing up
> the network interface, which in turn will call /sbin/ifup-local, if it
> exists, as its last step.
>
> Neither is interface-specific, but they get the interface name passed to
> them, so if you needed to do something different for different
> interfaces, you could.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Dr. Ed Morbius
Chief Scientist / Philologist / Robot Wrangler / Powerplant Operator
Krell Power Systems Unlimited
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Frank Cox
On Wed, 14 Sep 2011 12:26:10 -0700
Edward Morbius wrote:

> I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
> network commands capability.

If you're using networkmanager you can create a script in
in /etc/NetworkManager/dispatcher.d/ to do pretty much anything you want it to
do.

-- 
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


[CentOS] 6.1 Update request

2011-09-14 Thread Digimer
Hi devs,

  If/when someone has a few minutes, could someone post an update on 6.1
on http://qaweb.dev.centos.org/qa/blog ?. I suspect the devs have been
busy with the just-released 5.7 version. :)

-- 
Digimer
E-Mail:  digi...@alteeve.com
Freenode handle: digimer
Papers and Projects: http://alteeve.com
Node Assassin:   http://nodeassassin.org
"At what point did we forget that the Space Shuttle was, essentially,
a program that strapped human beings to an explosion and tried to stab
through the sky with fire and math?"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Devin Reade
--On Wednesday, September 14, 2011 12:26:10 PM -0700 Edward Morbius
 wrote:

> I'm looking for a capability similar to Debian/Ubuntu's pre/post up/down
> network commands capability.
[...]
> We should be able to solve this by pinging the router directly when
> bringing up the interface, rather than waiting (a day) for the router's
> ARP cache to expire.

Have a look at arping(8) and it's -U flag in particular rather than ping.

Also read 'man ifup'.  That refers you to
 /usr/share/doc/initscripts*/sysconfig.txt
which talks about the ifup-post script.  Looking at the end of ifup-post,
we see the following:

   if [ -x /sbin/ifup-local ]; then
   /sbin/ifup-local ${DEVICE}
   fi

So it's probably the case that you could create a /sbin/ifup-local
that, based on the device name, may arping the gateway.

I was looking at my RHEL6 laptop when I was writing this, but C6 is almost
certainly the same.

Devin

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


Re: [CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Devin Reade
--On Wednesday, September 14, 2011 03:37:34 PM -0600 Devin Reade
 wrote:

> Have a look at arping(8) and it's -U flag in particular rather than ping.

Sorry, I should have said the -A flag.  FWIW, gratuitous ARP is the
mechanism used by Linux-HA when dealing with IPs moving between nodes.
For example:
arping -A -c3 -I eth0 YOUR_IP

Devin

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


[CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
I'm trying to update my CentOS 5.6 boxes to 5.7, and on every single one 
of them yum is failing with a segmentation fault: the error happens when 
yum is checking the 'base' repository.

[root@picard yum]# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Determining fastest mirrors
  * base: mirrors.ircam.fr
  * extras: mirrors.ircam.fr
  * updates: mirror.opendoc.net
base| 1.1 kB 00:00
base/primary| 961 kB 00:00
Segmentation fault

Running yum under strace produces lots of output, the last lines are:

access("/var/cache/yum/base/primary.xml.gz.sqlite-journal", F_OK) = -1 
ENOENT (No such file or directory)
fstat64(5, {st_mode=S_IFREG|0644, st_size=20480, ...}) = 0
_llseek(5, 0, [0], SEEK_SET)= 0
read(5, "SQLite format 3\0\4\0\1\1\0@  \0\0\0\21\0\0\0\0"..., 1024) = 1024
_llseek(5, 2048, [2048], SEEK_SET)  = 0
read(5, 
"\r\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1024) = 1024
fcntl64(5, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 
0xbf86a1c4) = 0
futex(0x7ba0918, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat64("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, 
st_size=983757, ...}) = 0
stat64("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, 
st_size=983757, ...}) = 0
stat64("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, 
st_size=983757, ...}) = 0
open("/var/cache/yum/base/primary.xml.gz", O_RDONLY|O_LARGEFILE) = 6
_llseek(6, 0, [0], SEEK_CUR)= 0
read(6, "\37\213\10\10\0\0\0\0\2\377/home/buildcentos/CENT"..., 8192) = 8192
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

It seems that the primary.xml.gz file is somehow corrupted, but I've 
already tried a "yum clean all" and a "rm -rf /var/cache/yum/*" without 
success.

Apart from being at CentOS 5.6 and all having this problem, the boxes 
have very few in common:

- 2 physical machine running 5.6 32-bit, one in my office, the other in 
a datacenter
- 1 physical machine running 5.6 64-bit in another datacenter
- 2 KVM VPS running 5.6 32-bit in a third datacenter
- 1 Xen VPS running 5.6 64-bit in a fourth datacenter

There was a thread on the forum some months ago which mentioned this 
same problem, but the original poster didn't find a solution (or if he 
did, he didn't share it with the forum). Any suggestion is appreciated, 
I cannot reinstall those boxes with 6.0 for at least 4/5 months.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Run commands automatically when bringing up/down network interfaces?

2011-09-14 Thread Edward Morbius
Thanks, that should do it.

On Wed, Sep 14, 2011 at 2:50 PM, Devin Reade  wrote:

> --On Wednesday, September 14, 2011 03:37:34 PM -0600 Devin Reade
>  wrote:
>
> > Have a look at arping(8) and it's -U flag in particular rather than ping.
>
> Sorry, I should have said the -A flag.  FWIW, gratuitous ARP is the
> mechanism used by Linux-HA when dealing with IPs moving between nodes.
> For example:
>arping -A -c3 -I eth0 YOUR_IP
>
> Devin
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Dr. Ed Morbius
Chief Scientist / Philologist / Robot Wrangler / Powerplant Operator
Krell Power Systems Unlimited
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 23:56 +0200, Sebastiano Pilla wrote:
> I'm trying to update my CentOS 5.6 boxes to 5.7, and on every single one 
> of them yum is failing with a segmentation fault: the error happens when 
> yum is checking the 'base' repository.

Have you tried

yum clean all


followed by

yum update 

?



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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Craig White

On Sep 14, 2011, at 2:56 PM, Sebastiano Pilla wrote:

> I'm trying to update my CentOS 5.6 boxes to 5.7, and on every single one 
> of them yum is failing with a segmentation fault: the error happens when 
> yum is checking the 'base' repository.
> 
> [root@picard yum]# yum update
> Loaded plugins: downloadonly, fastestmirror, priorities
> Determining fastest mirrors
>  * base: mirrors.ircam.fr
>  * extras: mirrors.ircam.fr
>  * updates: mirror.opendoc.net
> base| 1.1 kB 00:00
> base/primary| 961 kB 00:00
> Segmentation fault
> 
> Running yum under strace produces lots of output, the last lines are:
> 
> access("/var/cache/yum/base/primary.xml.gz.sqlite-journal", F_OK) = -1 
> ENOENT (No such file or directory)
> fstat64(5, {st_mode=S_IFREG|0644, st_size=20480, ...}) = 0
> _llseek(5, 0, [0], SEEK_SET)= 0
> read(5, "SQLite format 3\0\4\0\1\1\0@  \0\0\0\21\0\0\0\0"..., 1024) = 1024
> _llseek(5, 2048, [2048], SEEK_SET)  = 0
> read(5, 
> "\r\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
> 1024) = 1024
> fcntl64(5, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 
> 0xbf86a1c4) = 0
> futex(0x7ba0918, FUTEX_WAKE_PRIVATE, 2147483647) = 0
> stat64("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, 
> st_size=983757, ...}) = 0
> stat64("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, 
> st_size=983757, ...}) = 0
> stat64("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, 
> st_size=983757, ...}) = 0
> open("/var/cache/yum/base/primary.xml.gz", O_RDONLY|O_LARGEFILE) = 6
> _llseek(6, 0, [0], SEEK_CUR)= 0
> read(6, "\37\213\10\10\0\0\0\0\2\377/home/buildcentos/CENT"..., 8192) = 8192
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> 
> It seems that the primary.xml.gz file is somehow corrupted, but I've 
> already tried a "yum clean all" and a "rm -rf /var/cache/yum/*" without 
> success.
> 
> Apart from being at CentOS 5.6 and all having this problem, the boxes 
> have very few in common:
> 
> - 2 physical machine running 5.6 32-bit, one in my office, the other in 
> a datacenter
> - 1 physical machine running 5.6 64-bit in another datacenter
> - 2 KVM VPS running 5.6 32-bit in a third datacenter
> - 1 Xen VPS running 5.6 64-bit in a fourth datacenter
> 
> There was a thread on the forum some months ago which mentioned this 
> same problem, but the original poster didn't find a solution (or if he 
> did, he didn't share it with the forum). Any suggestion is appreciated, 
> I cannot reinstall those boxes with 6.0 for at least 4/5 months.

make sure that there isn't any yum/rpm processes running...
ps aux|grep yum
ps aux|grep rpm

Once you've determined they aren't running, try...

yum clean metadata
yum clean dbcache

(those should be executed when you execute 'yum clean all' but maybe it ain't 
gettin' done)

and then
yum update

Craig

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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
Always Learning wrote:
> On Wed, 2011-09-14 at 23:56 +0200, Sebastiano Pilla wrote:
>> I'm trying to update my CentOS 5.6 boxes to 5.7, and on every single one
>> of them yum is failing with a segmentation fault: the error happens when
>> yum is checking the 'base' repository.
>
> Have you tried
>
>   yum clean all
>
>
> followed by
>
>   yum update
>
> ?

Yes, I've tried it, with the exact same result:

[root@picard ~]# yum clean all
Loaded plugins: downloadonly, fastestmirror, priorities
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@picard ~]# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Determining fastest mirrors
  * base: mirror.opendoc.net
  * extras: mirror.opendoc.net
  * updates: mirror.opendoc.net
base| 1.1 kB 00:00
base/primary| 961 kB 00:00
Segmentation fault

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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Always Learning

On Thu, 2011-09-15 at 00:26 +0200, Sebastiano Pilla wrote:

> Always Learning wrote:
>>
> > Have you tried
> >
> > yum clean all
> >
> >
> > followed by
> >
> > yum update
> >
> > ?
> 
> Yes, I've tried it, with the exact same result:
> 
> [root@picard ~]# yum clean all
> Loaded plugins: downloadonly, fastestmirror, priorities
> Cleaning up Everything
> Cleaning up list of fastest mirrors
> [root@picard ~]# yum update
> Loaded plugins: downloadonly, fastestmirror, priorities
> Determining fastest mirrors
>   * base: mirror.opendoc.net
>   * extras: mirror.opendoc.net
>   * updates: mirror.opendoc.net
> base| 1.1 kB 00:00
> base/primary| 961 kB 00:00
> Segmentation fault

Can you list, one line for each, the names of the repos
in /etc/yum.repos.d

And list the entire file for your BASE repo in /etc/yum/repos.d - it is
probably named something like

CentOS-Base.repo

Also can you do a 

uname -a

and show us the result.

Curious!


-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
Always Learning wrote:
> On Thu, 2011-09-15 at 00:26 +0200, Sebastiano Pilla wrote:
>
> Can you list, one line for each, the names of the repos
> in /etc/yum.repos.d

[root@picard ~]# ll /etc/yum.repos.d/
total 20K
-rw-r--r-- 1 root root 1.9K Feb  8  2011 CentOS-Base.repo
-rw-r--r-- 1 root root  631 Feb  8  2011 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  626 Feb  8  2011 CentOS-Media.repo
-rw-r--r-- 1 root root 4.6K Feb  8  2011 CentOS-Vault.repo

>
> And list the entire file for your BASE repo in /etc/yum/repos.d - it is
> probably named something like
>
>   CentOS-Base.repo

(there may be some additional line wrapping inserted by my mail client)

[root@picard ~]# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS 
updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


> Also can you do a
>
>   uname -a
>
> and show us the result.

[root@picard ~]# uname -a
Linux picard.home.lan 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:32:29 EDT 
2011 i686 i686 i386 GNU/Linux

Thank you very much for your help.

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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Always Learning

On Thu, 2011-09-15 at 00:35 +0200, Sebastiano Pilla wrote:

> Thank you very much for your help.

Please do not forget I am a Learner, not an expert :-)

Please try one thing for me

yum install httpd

It does not matter whether or not you have this already installed. I am
curious to know what type of response you get. You do not have to
install this. It is the reaction from yum that interests me, so you can
reject the installation - if it works.



-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Keith Roberts
On Thu, 15 Sep 2011, Sebastiano Pilla wrote:

> -rw-r--r-- 1 root root 4.6K Feb  8  2011 CentOS-Vault.repo

Do you need CentOS-Vault, as it includes all the packages 
from Centos 5.x upwards IIRC?

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum update to 5.7 unexpected results

2011-09-14 Thread Karanbir Singh
On 09/14/2011 05:38 PM, b.j. mcclure wrote:
> I have a couple machines running 5.6 fully updated from cr repo.  When I
> did 'yum update' this morning it found 8 updates:
>centos-release-5-7.el5
>centos-release-notes-5.7-0
> ghostscript 8.70-6.el5_7.3
> nspr 4.8.8-1.el5_7
> nss 3.12.10-4.el5
> nss-tools 3.12.10-4.el5
>ntp-4.2.2p1-15.el5
>initscripts-8.45.38-2.el5

these are all updates released in the last 2 days, I suspect you were
just hitting a mirror machine that did not have the entire rpms/ content
in sync as yet.

If you continue to see this issue, please open an issue report at
bugs.centos.org and provide some details about what mirrors your machine
is hitting ( usually, the fastest-mirror's timedhosts file is a good
thing to check for this info )

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


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Karanbir Singh
Hi Alain,

On 09/14/2011 02:23 PM, Alain Péan wrote:
> I must say I wondered how the yum update will deal with the CR updates, 
> and if the error was related to this, but it seems that everything is OK 
> now.

unfortunately, you hit an issue that I did not think anyone would see (
but was aware of... ). The issue originates from the fact that the new
CR repo has no sqlite metadata store, its xml only. And your machine was
trying to get the sqlite files - hitting a valid 404, since those files
do not exist.

The actual issue is that rather than yum seeing a new repomd.xml in the
repodata/ dir, downloading that and knowing that there is no sqlite db
available, it retained the repomd.xml you already had ( from the prev
5.6/cr repo ). So I dont think the issue really is that you hit a 404,
but why was yum looking for a repo metadata file that does not exist,
the new repomd.xml clearly states that those files do not exist.

Do you have something interesting setup for caching, timeouts etc in yum
? or, are you perhaps behind a proxy that still served up an old ( stale
? ) repomd.xml for the same url ?

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


Re: [CentOS] Submitting patches from upstream fixes/bugs

2011-09-14 Thread Karanbir Singh
On 09/14/2011 01:59 PM, Trey Dockendorf wrote:
> Based on the bug report for the snapshot-create issue, it seems it's in
> libvirt 0.9.0 and that it's something that may be solved completely in
> Fedora 16.  Is there a good way to find if a specific patch/fix has been
> applied upstream by Red Hat?

grab the sources, look at the code. I hepe to have an easier way than
that soon, stay tuned :)

> What goes into the maintenance of a patch?  I'd be happy to do so, but I
> only know enough C to be able to work in patches / changes and track
> down compile errors, but not enough to have been the original person
> that finds these solutions.

essentially, when you request a package be locally ( ie, in CentOS )
patched, we would need to copy that rpm over from the base distro into
the CentOS Plus repo. Apply the patch, test it, release it. But that
process needs to be re-done everytime there is an update to the rpm, as
long as upstream does not fix the issue, change the expected behaviour
to what you are proposing or remove / change functionality in a way that
its no longer possible to support the patches. But while the patch is in
circulation, it would mean that everytime there is an update from
upstream, you would need to make sure the patch still applies, or adapt
it to apply cleanly.

does this clear up the requirements a bit ?

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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Always Learning

On Thu, 2011-09-15 at 00:35 +0200, Sebastiano Pilla wrote:

> [root@picard ~]# ll /etc/yum.repos.d/
> total 20K
> -rw-r--r-- 1 root root 1.9K Feb  8  2011 CentOS-Base.repo
> -rw-r--r-- 1 root root  631 Feb  8  2011 CentOS-Debuginfo.repo
> -rw-r--r-- 1 root root  626 Feb  8  2011 CentOS-Media.repo
> -rw-r--r-- 1 root root 4.6K Feb  8  2011 CentOS-Vault.repo

Please add an extra repo to the same directory

name: (your own choice) - something like this: centos-cr.repo

---contents-

# CentOS-CR.repo
#
# The continuous release  ( CR ) repository contains rpms from the
# next point release of CentOS, which isnt itself released as yet.
#
# Look at http://wiki.centos.org/AdditionalResources/Repositories/CR
# for more details about how this repository works and what users 
# should expect to see included / excluded

[cr]
name=CentOS-$releasever - CR
baseurl=http://mirror.centos.org/centos/$releasever/cr/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


---end-- (do not include this line)

and try again

yum clean all
yum install httpd

and see what happens.



-- 
With best regards,

Paul.
England,
EU.


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


[CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Thomas Dukes
SUCCESS!! Everything working, even the 'roll your own' apps!!

Thanks!!

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 19:05 -0400, Thomas Dukes wrote:

> SUCCESS!! Everything working, even the 'roll your own' apps!!

What did you expect ?  Its not Windoze ;-)




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


Re: [CentOS] 6.1 Update request

2011-09-14 Thread Karanbir Singh
On 09/14/2011 10:30 PM, Digimer wrote:
> Hi devs,
> 
>   If/when someone has a few minutes, could someone post an update on 6.1
> on http://qaweb.dev.centos.org/qa/blog ?. I suspect the devs have been
> busy with the just-released 5.7 version. :)
> 

unless someone else gets to it before me, I will get together a plan and
post it up there ( but not today and perhaps not tomorrow either ).

Step-1, get the major security stuff into 6.0/cr/.

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


Re: [CentOS] 6.1 Update request

2011-09-14 Thread Digimer
On 09/14/2011 07:32 PM, Karanbir Singh wrote:
> On 09/14/2011 10:30 PM, Digimer wrote:
>> Hi devs,
>>
>>   If/when someone has a few minutes, could someone post an update on 6.1
>> on http://qaweb.dev.centos.org/qa/blog ?. I suspect the devs have been
>> busy with the just-released 5.7 version. :)
>>
> 
> unless someone else gets to it before me, I will get together a plan and
> post it up there ( but not today and perhaps not tomorrow either ).
> 
> Step-1, get the major security stuff into 6.0/cr/.
> 
> - KB

No rush, and thanks for the update. :)

-- 
Digimer
E-Mail:  digi...@alteeve.com
Freenode handle: digimer
Papers and Projects: http://alteeve.com
Node Assassin:   http://nodeassassin.org
"At what point did we forget that the Space Shuttle was, essentially,
a program that strapped human beings to an explosion and tried to stab
through the sky with fire and math?"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum update to 5.7 unexpected results

2011-09-14 Thread b.j. mcclure
On Wed, 2011-09-14 at 21:02 +0100, Karanbir Singh wrote:

> On 09/14/2011 05:38 PM, b.j. mcclure wrote:
> > I have a couple machines running 5.6 fully updated from cr repo.  When I
> > did 'yum update' this morning it found 8 updates:
> >centos-release-5-7.el5
> >centos-release-notes-5.7-0
> > ghostscript 8.70-6.el5_7.3
> > nspr 4.8.8-1.el5_7
> > nss 3.12.10-4.el5
> > nss-tools 3.12.10-4.el5
> >ntp-4.2.2p1-15.el5
> >initscripts-8.45.38-2.el5
> 
> these are all updates released in the last 2 days, I suspect you were
> just hitting a mirror machine that did not have the entire rpms/ content
> in sync as yet.
> 
> If you continue to see this issue, please open an issue report at
> bugs.centos.org and provide some details about what mirrors your machine
> is hitting ( usually, the fastest-mirror's timedhosts file is a good
> thing to check for this info )
> 
> - KB

Many thanks.  That was indeed the situation.  Sorry I panicked
prematurely. ;-/

Cheers.

B.J.

CentOS Linux release 6.0 (Final)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Thomas Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Always Learning
> Sent: Wednesday, September 14, 2011 7:07 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Upgrade from 5.6 => 5.7
> 
> 
> On Wed, 2011-09-14 at 19:05 -0400, Thomas Dukes wrote:
> 
> > SUCCESS!! Everything working, even the 'roll your own' apps!!
> 
> What did you expect ?  Its not Windoze ;-)

You know, 'Always Learning' is the perfect username! I'm 56 yrs. old and I
learn something everyday on this list. Been doing the Linux thing since the
mid-90's. I had a two phone line, Wildcat BBS connected the internet pulling
newsgroups, running Frontdoor, etc. I can say without a doubt everything
CentOS/RHEL is doing is just UFR (probably can't say that on the list)!!

If we could just get a Linux based Quickbooks, I'd never run a windoze
system again!!

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


Re: [CentOS] 6.1 Update request

2011-09-14 Thread Thomas Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Karanbir Singh
> Sent: Wednesday, September 14, 2011 7:32 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] 6.1 Update request
> 
> On 09/14/2011 10:30 PM, Digimer wrote:
> > Hi devs,
> > 
> >   If/when someone has a few minutes, could someone post an 
> update on 
> > 6.1 on http://qaweb.dev.centos.org/qa/blog ?. I suspect the 
> devs have 
> > been busy with the just-released 5.7 version. :)
> > 
> 
> unless someone else gets to it before me, I will get together 
> a plan and post it up there ( but not today and perhaps not 
> tomorrow either ).
> 
> Step-1, get the major security stuff into 6.0/cr/.
> 
> - KB

Just ordered a Lenovo TS130. I think there are some issues with the Intel
graphics with 6.0 and I saw where they are resolved in 6.1. Hopefully 6.1
can be released soon. If not, I can install Scientific Linux temporarily.

Fingers crossed!!

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 20:12 -0400, Thomas Dukes wrote:

> You know, 'Always Learning' is the perfect username! I'm 56 yrs. old and I
> learn something everyday on this list. Been doing the Linux thing since the
> mid-90's.

Blush, blush, I'm older.Been on Linux, properly, since 1 June 2010 and
absolutely love it. Its so adult compared to Windoze.

>  I had a two phone line, Wildcat BBS connected the internet pulling
> newsgroups, running Frontdoor, etc. I can say without a doubt everything
> CentOS/RHEL is doing is just UFR (probably can't say that on the list)!!
> 
> If we could just get a Linux based Quickbooks, I'd never run a windoze
> system again!!

One day, if I have time, I want to programme a complete commercial
accounts systems using HTML, PHP and MySQL. Its a piece of cake to do
well (meaning easily) but a little time consuming. The only difficulty I
can think of is printing things locally.

-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Thomas Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Always Learning
> Sent: Wednesday, September 14, 2011 8:44 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Upgrade from 5.6 => 5.7
> 
> 
> On Wed, 2011-09-14 at 20:12 -0400, Thomas Dukes wrote:
> 
> > You know, 'Always Learning' is the perfect username! I'm 56 
> yrs. old 
> > and I learn something everyday on this list. Been doing the Linux 
> > thing since the mid-90's.
> 
> Blush, blush, I'm older.Been on Linux, properly, since 1 June 
> 2010 and absolutely love it. Its so adult compared to Windoze.
> 
> >  I had a two phone line, Wildcat BBS connected the internet pulling 
> > newsgroups, running Frontdoor, etc. I can say without a doubt 
> > everything CentOS/RHEL is doing is just UFR (probably can't 
> say that on the list)!!
> > 
> > If we could just get a Linux based Quickbooks, I'd never 
> run a windoze 
> > system again!!
> 
> One day, if I have time, I want to programme a complete 
> commercial accounts systems using HTML, PHP and MySQL. Its a 
> piece of cake to do well (meaning easily) but a little time 
> consuming. The only difficulty I can think of is printing 
> things locally.

I love the challenge. I'm a hacker from way back. While this sort of stuff
isn't humorous now days and since I've 'grown up', I understand why. Still,
I love it!!

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread John R Pierce
On 09/14/11 6:03 PM, Thomas Dukes wrote:
>> One day, if I have time, I want to programme a complete
>> >  commercial accounts systems using HTML, PHP and MySQL. Its a
>> >  piece of cake to do well (meaning easily) but a little time
>> >  consuming. The only difficulty I can think of is printing
>> >  things locally.
> I love the challenge. I'm a hacker from way back. While this sort of stuff
> isn't humorous now days and since I've 'grown up', I understand why. Still,
> I love it!!

an accounting system thats in plain HTML would be incredibly clunky to 
use.  you really want to do this in ajax/jquery or whatever so its more 
interactive

also, I'd suggest using postgresql for better data integrity, and 
anything-but-php (Python?) for better webside security.

-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 18:08 -0700, John R Pierce wrote:

> an accounting system thats in plain HTML would be incredibly clunky to 
> use.  you really want to do this in ajax/jquery or whatever so its more 
> interactive

No thank you. HTML, CSS, PHP and MySQL are my chosen tools for my
systems.

I have written 20+ complete systems using these and found them to be
fast and very effective. Everyone who has seen my HTML, CSS, PHP, MySQL
systems has been favourably impressed (me too!). MySQL is a fast
database system. Never ever used a SQL join or view, just well designed
databases with carefully planned tables - that is the art of good
programming.

Ajax/Jquery is someone else's parametrised programming language. It adds
complexity and overhead to what is fundamentally a very basic task. Ajax
etc. seem to appeal to people who are not good (or natural) programmers.
Ajax etc. is like programming with boxing gloves on and taking several
weeks to do it. If they want to use it, let them.

> also, I'd suggest using postgresql for better data integrity, and 
> anything-but-php (Python?) for better webside security.

I have been using MySQL on Linux for about 4 years and never had a
problem. What security issues has PHP ?


-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Nick
I also encountered a similar problem.

"yum clean all" did not resolve it, but *not* installing the CR prior to the
update repo did.

I think the problem is that my update script was still installing
centos-release-cr-5.6 (the URL was hardwired, as I couldn't think of a simple
way to get the correct one).  The script also installs the CR repo prior to the
update and uninstalls it afterwards, since I wasn't sure if the CR repo would
continue to exist when 5.7 was released (the CR wiki page [1] says "The
repository will go-away once the packages are released via the regular 
process").

However, it seems that the CR repo is still there, and a centos-release-5.7
upgrade is available through it.

Is it safe/advisable to leave the CR repo installed in-perpetuity?  Or do I need
to remove it after using it, if I want to prevent potential yum-upgrade errors
if it does go away?

N

1. http://wiki.centos.org/AdditionalResources/Repositories/CR
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Craig White
On Wed, 2011-09-14 at 18:08 -0700, John R Pierce wrote:
> On 09/14/11 6:03 PM, Thomas Dukes wrote:
> >> One day, if I have time, I want to programme a complete
> >> >  commercial accounts systems using HTML, PHP and MySQL. Its a
> >> >  piece of cake to do well (meaning easily) but a little time
> >> >  consuming. The only difficulty I can think of is printing
> >> >  things locally.
> > I love the challenge. I'm a hacker from way back. While this sort of stuff
> > isn't humorous now days and since I've 'grown up', I understand why. Still,
> > I love it!!
> 
> an accounting system thats in plain HTML would be incredibly clunky to 
> use.  you really want to do this in ajax/jquery or whatever so its more 
> interactive
> 
> also, I'd suggest using postgresql for better data integrity, and 
> anything-but-php (Python?) for better webside security.

to each his own...

I put my customer on WebERP (http://www.weberp.com)

He has used in the last 15 years...
Real World Accounting (since bought by Great Plains - bought by MS)
Peachtree Accounting
BusinessWorks
Cougar Mountain
Demand

I handled all of the data import/transitions from one to the next with
the exception of Cougar Mountain => Demand because the woman who sold
him on that was a previous technical support manager for Cougar
Mountain.

Anyway, the one he has liked the most is the one that he didn't pay for
- WebERP

Before anyone gets the idea that this is all wine and roses, there are
some shortcomings with WebERP, largely due to the fact that they seem to
do continual releases and never really have a 'stable' version
(regardless of what they say). That meant to me that I had to fix about
10-15 different things and needless to say I have no intentions of
upgrading at this point (now 2+ years down the road). I have more gripes
about WebERP but they are not entirely significant (with the exception
that to 'extend' the featureset of WebERP, I used Ruby on Rails instead
of PHP because I can do significantly better code in one quarter of the
time).

WebApps are clearly the future - it's hard to justify specialized
server/client applications (installation, limited choice of clients,
maintenance, licensing) and it seems that the future will offer 2
choices... SAAS or run your own.

My own take on it... 'plain html' accounting is just fine. This company
has 4 retail stores, each with a warehouse and relatively low skilled
computer users entering orders. Print jobs are downloaded (or e-mailed
PDF files). This is NOT a POS system (then again, neither is
Quickbooks). To keep the PHP reasonably secure, it requires HTTPS and
access authorization is done by LDAP authz so if you don't have a
username and password on his system, you can't get the login screen. Of
course the server is kept up to date.

Ajax/jquery definitely ups the quality of appearance, sometimes ups the
quality of the UI but definitely slows down the application and is just
another demonstration of all that glitters isn't necessarily gold.

As for Paul's expressed notions... It would take a fairly massive amount
of man hours to produce a fully functional dual entry accounting package
for widespread business use. Before you decide on an environment, you
would probably want to commit to test driven development and MVC which
almost invites the use of a framework (Cake/Django/RoR). Personally I am
biased towards RoR but starting a large scale project in ruby, php or
python without using one of the frameworks at this point would be a
really poor choice. There are a number of PHP based accounting systems
out there which you could probably fork but why? They all missed the
boat somewhere, somehow.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Thomas Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Always Learning
> Sent: Wednesday, September 14, 2011 9:40 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Upgrade from 5.6 => 5.7
> 
> 
> On Wed, 2011-09-14 at 18:08 -0700, John R Pierce wrote:
> 
> > an accounting system thats in plain HTML would be 
> incredibly clunky to 
> > use.  you really want to do this in ajax/jquery or whatever so its 
> > more interactive
> 
> No thank you. HTML, CSS, PHP and MySQL are my chosen tools 
> for my systems.
> 
> I have written 20+ complete systems using these and found 
> them to be fast and very effective. Everyone who has seen my 
> HTML, CSS, PHP, MySQL systems has been favourably impressed 
> (me too!). MySQL is a fast database system. Never ever used a 
> SQL join or view, just well designed databases with carefully 
> planned tables - that is the art of good programming.
> 
> Ajax/Jquery is someone else's parametrised programming 
> language. It adds complexity and overhead to what is 
> fundamentally a very basic task. Ajax etc. seem to appeal to 
> people who are not good (or natural) programmers.
> Ajax etc. is like programming with boxing gloves on and 
> taking several weeks to do it. If they want to use it, let them.
> 
> > also, I'd suggest using postgresql for better data integrity, and 
> > anything-but-php (Python?) for better webside security.
> 
> I have been using MySQL on Linux for about 4 years and never 
> had a problem. What security issues has PHP ?

I, like you have been using mysql/php for ecommerce since 2003. Never had
and issue except RHEL/CentOS is about a release behind everyone else.
Stability is one thing, holding back is another when Fedora is 3 or 4
release ahead. Again, not CentOS's fault.

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread John R Pierce
On 09/14/11 6:39 PM, Always Learning wrote:
> Ajax/Jquery is someone else's parametrised programming language. It adds
> complexity and overhead to what is fundamentally a very basic task. Ajax
> etc. seem to appeal to people who are not good (or natural) programmers.
> Ajax etc. is like programming with boxing gloves on and taking several
> weeks to do it. If they want to use it, let them.

Ajax is not a programming language, its a technique of implementing the 
client (browser) side of your applications in JavaScript, which is the 
programming language.

ever use gmail or google documents?   thats ajax.  its interactive 
within the USER BROWSER without requiring round trips to the web server 
for every little operation such as summing up the checks entered in a 
form as they are being entered.   An Ajax accounting program could be 
interactive like Quickbooks is, as opposed to fill in a static form and 
hit submit for every little action.

And, if you've never used a SQL join, you don't know the first thing 
about *relational* databases, you've been using SQL as though it was a 
simple flat table ISAM, DBase-style circa 1983.  Might as well use 
BerkeleyDB for that, its even faster and lighter weight.

but, whatever.  its your project, have at it.


-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 19:17 -0700, Craig White wrote:

... snip interesting posting 

> WebApps are clearly the future - it's hard to justify specialized
> server/client applications (installation, limited choice of clients,
> maintenance, licensing) and it seems that the future will offer 2
> choices... SAAS or run your own.

That is the way I see things. Web runs anywhere. Otherwise specific
application software (usually costing money), licensing involvement,
software dependency etc. Grab a reasonable browser and start using the
application!


> My own take on it... 'plain html' accounting is just fine.

Mine are a bit more than 'plain'. I use CSS. However accounting is
basically entering or capturing the data; then doing basic tasks like
orders, invoices, statements etc. Add some complicated things like
credit control and specific discount structures for individual
customers. Branch-out in to name, address and other contract details,
add the mailing list facility. Add stock control, automatic re-ordering
etc.

The best bits that make the directors happy is when they can sit in
front of the screen and see the sales figures and trends. Everything
summarised on a single page with more detailed analyse with a simple
click. Think Gmagic, or perhaps Imagic, may be able to plot on a HTML
screen.

Have headings in a language file, so international customisation becomes
easier. Add an access control system allowing users to access different
modules and menus.

OK one can't (yet?) plug-in a bar code reader to a web application but
an interface box can transmit the data using TCP.

> To keep the PHP reasonably secure, it requires HTTPS and
> access authorization is done by LDAP authz so if you don't have a
> username and password on his system, you can't get the login screen. Of
> course the server is kept up to date.

Agreed. Security with HTTPS and non-standard ports not 443, 8000, 8080
etc. Currently use static IPs to prevent unauthorised access.

> As for Paul's expressed notions... It would take a fairly massive amount
> of man hours to produce a fully functional dual entry accounting package
> for widespread business use.

I think the essential thing is sheer inspirational brain work carefully
thinking about everything before stating to code. Get the structure and
the objectives correct and the rest is a piece of cake.  And be prepared
to modify.

>  Before you decide on an environment, you
> would probably want to commit to test driven development and MVC which
> almost invites the use of a framework (Cake/Django/RoR). Personally I am
> biased towards RoR but starting a large scale project in ruby, php or
> python without using one of the frameworks at this point would be a
> really poor choice. There are a number of PHP based accounting systems
> out there which you could probably fork but why? They all missed the
> boat somewhere, somehow.

Unsure what you mean by 'framework'.

Simple to write, harder to ensure everything integrates well. Probably 3
to 4 months part-time. Easy and intuitive to use and delivering what the
users want plus scope for customisation.


-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Upgrade from 5.6 => 5.7

2011-09-14 Thread Always Learning

On Wed, 2011-09-14 at 19:32 -0700, John R Pierce wrote:
> On 09/14/11 6:39 PM, Always Learning wrote:
> > Ajax/Jquery is someone else's parametrised programming language. It adds
> > complexity and overhead to what is fundamentally a very basic task. Ajax
> > etc. seem to appeal to people who are not good (or natural) programmers.
> > Ajax etc. is like programming with boxing gloves on and taking several
> > weeks to do it. If they want to use it, let them.
> 
> Ajax is not a programming language, its a technique of implementing the 
> client (browser) side of your applications in JavaScript, which is the 
> programming language.

Its a programming language is my humble opinion. One has to 'code' in
it. It has a defined syntax and it has a rather large and complex
overhead.  By the way, I also think BASH is a programming language.

> ever use gmail or google documents?   thats ajax.  its interactive 
> within the USER BROWSER without requiring round trips to the web server 
> for every little operation such as summing up the checks entered in a 
> form as they are being entered.   An Ajax accounting program could be 
> interactive like Quickbooks is, as opposed to fill in a static form and 
> hit submit for every little action.

One never ever hits the button for every little action, does one ? My
latest data entry form takes 20 separate sets of entries before the user
clicks SAVE.

> And, if you've never used a SQL join, you don't know the first thing 
> about *relational* databases, you've been using SQL as though it was a 
> simple flat table ISAM, DBase-style circa 1983.  Might as well use 
> BerkeleyDB for that, its even faster and lighter weight.

Golly. I grew-up in real computers. Relational databases are simply
database structures, linking records. There is no reason to use joins
and views IF the database is carefully planned. Joins and views are
another overhead. Rule Number 01 in programming is Keep It Simple.

Index-sequential is another database access method that came along. Very
useful. Access random is another. Data is actually 'flat'. It can not be
anything else. However additional retrieval by non-primary key is
usually desirable. Traversing chains of linked records is another method
too.

I've done several domestic and international contracts writing
applications using relational databases. Are you more of a Sys.Op than a
computer programmer / systems analyst / systems programmer / database
designer / systems designer ?

When SQL first came out, I think it was an IBM thing, I never liked the
syntax. Years later I'm using it effectively and very productively.

> but, whatever.  its your project, have at it.

Thank you. Thank you too for your interesting comments.



-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Error in updating to 5.7

2011-09-14 Thread Nataraj
On 09/14/2011 07:15 PM, Nick wrote:
> I also encountered a similar problem.
>
> "yum clean all" did not resolve it, but *not* installing the CR prior to the
> update repo did.
>
> I think the problem is that my update script was still installing
> centos-release-cr-5.6 (the URL was hardwired, as I couldn't think of a simple
> way to get the correct one).  The script also installs the CR repo prior to 
> the
> update and uninstalls it afterwards, since I wasn't sure if the CR repo would
> continue to exist when 5.7 was released (the CR wiki page [1] says "The
> repository will go-away once the packages are released via the regular 
> process").
>
> However, it seems that the CR repo is still there, and a centos-release-5.7
> upgrade is available through it.
>
> Is it safe/advisable to leave the CR repo installed in-perpetuity?  Or do I 
> need
> to remove it after using it, if I want to prevent potential yum-upgrade errors
> if it does go away?
>
> N
>
> 1. http://wiki.centos.org/AdditionalResources/Repositories/CR
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Shouldn't some of these packages be mutually exclusive?  Note this
system was originally installed with Centos 5.  I'm not sure why I have
an epel-release-5-4 package installed.  I did not have any problems with
the upgrade.

aspen> rpm -qa | grep -i release
epel-release-5-4
centos-release-notes-5.7-0
centos-release-cr-5-6.el5.centos.1
centos-release-5-7.el5.centos

Nataraj


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


[CentOS] trouble booting install CD on old machine

2011-09-14 Thread Keith Keller
Hi all,

I'm having a bit of an issue booting the full 5.7 install CD on an older
machine.  I downloaded the ISOs earlier today, checked the sha1sums, and
burned the CDs with no reported errors.  But when I try to boot, the
isolinux banner comes up quickly, but then instead of the boot prompt, I
get a completely blank screen.  After 30-60 seconds, I get a message in
purple, the exact wording I don't recall, but something like "can't
boot, please restart".

Many years ago I put CentOS 4 on this machine, so I know it can boot CD
media, and earlier today I booted an older UBCD, so I know that it can
successfully boot from CD at the present time.  (I didn't have time to
test the CD I burned in another box; I will do that next time I have the
CD.)

What other options do I have for getting 5.7 on this box?  I have a few
ideas:

--do some troubleshooting with the 5.7 CD.  I don't really know how to
go about this, and there's no guarantee it'll end up with being able to
boot in the end.
--perhaps an older CentOS 5 ISO will work better?  Testing this will be
fairly quick but is not sure to work.
--remove the system disk, put it into another system that is known to
boot the 5.7 CD, install there, then put the disk back.  This could be
somewhat time consuming (the machine is in a rack, and the system drive
is buried in the chassis, not hot-swappable), but is pretty sure to work.
--try to boot from USB.  As I said, it's an old box, so I'm not sure it
supports booting over USB media.  There were no "boot from USB" options
in the BIOS; I could try to flash the firmware, but that seems excessive
for this sort of issue.

Other thoughts/suggestions?  Any ideas why I'd be seeing this particular
boot behavior?  It's not something I've seen before; either booting
fails before even reaching isolinux, or the kernel panics on finding some
exotic and/or broken piece of hardware.

--keith

-- 
kkel...@wombat.san-francisco.ca.us



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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
Always Learning wrote:
> Please try one thing for me
>
>   yum install httpd
>
> It does not matter whether or not you have this already installed. I am
> curious to know what type of response you get. You do not have to
> install this. It is the reaction from yum that interests me, so you can
> reject the installation - if it works.

Same result:

[root@picard ~]# yum install httpd
Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
  * base: mirror.opendoc.net
  * extras: mirror.opendoc.net
  * updates: mirror.opendoc.net
base | 1.1 kB 00:00
Segmentation fault

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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
Keith Roberts wrote:
> On Thu, 15 Sep 2011, Sebastiano Pilla wrote:
>
>> -rw-r--r-- 1 root root 4.6K Feb  8  2011 CentOS-Vault.repo
>
> Do you need CentOS-Vault, as it includes all the packages
> from Centos 5.x upwards IIRC?

It's in there by default, since the first install on the box. All the 
repositories listed inside this file have enabled=0 however.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Sebastiano Pilla
Craig White wrote:
> make sure that there isn't any yum/rpm processes running...
> ps aux|grep yum
> ps aux|grep rpm
>
> Once you've determined they aren't running, try...
>
> yum clean metadata
> yum clean dbcache
>
> (those should be executed when you execute 'yum clean all' but maybe it ain't 
> gettin' done)
>
> and then
> yum update

Segmentation fault again:

[root@picard yum.repos.d]# ps aux | grep yum
root 18050  0.0  0.0   4016   684 pts/1   S+   08:21   0:00 grep yum
[root@picard yum.repos.d]# ps aux | grep rpm 

root 18052  0.0  0.0   4016   684 pts/1   S+   08:21   0:00 grep rpm
[root@picard yum.repos.d]# yum clean metadata
Loaded plugins: downloadonly, fastestmirror, priorities
6 metadata files removed
1 sqlite files removed
0 metadata files removed
[root@picard yum.repos.d]# yum clean dbcache
Loaded plugins: downloadonly, fastestmirror, priorities
0 sqlite files removed
[root@picard yum.repos.d]# yum update 

Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
  * base: mirror.opendoc.net
  * extras: mirror.opendoc.net
  * updates: mirror.opendoc.net
base  | 1.1 kB 00:00
base/primary  | 961 kB 00:00
Segmentation fault
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Kahlil Hodgson
On 15/09/11 16:22, Sebastiano Pilla wrote:
> [root@picard yum.repos.d]# yum clean dbcache
> Loaded plugins: downloadonly, fastestmirror, priorities
> 0 sqlite files removed
> [root@picard yum.repos.d]# yum update 
> 
> Loaded plugins: downloadonly, fastestmirror, priorities
> Loading mirror speeds from cached hostfile
>   * base: mirror.opendoc.net
>   * extras: mirror.opendoc.net
>   * updates: mirror.opendoc.net
> base  | 1.1 kB 00:00
> base/primary  | 961 kB 00:00
> Segmentation fault

Perhaps your are downloading the same corrupted primary.xml.gz
from mirror.opendoc.net.  Maybe try another mirror?  Perhaps download
the file manually and compare?

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


Re: [CentOS] Yum segmentation fault updating from 5.6 to 5.7

2011-09-14 Thread Fajar Priyanto
On Thu, Sep 15, 2011 at 2:31 PM, Kahlil Hodgson
 wrote:
> Perhaps your are downloading the same corrupted primary.xml.gz
> from mirror.opendoc.net.  Maybe try another mirror?  Perhaps download
> the file manually and compare?

Yeah could be. And if your corporate network is behind a proxy, the
proxy may cache that corrupted files.

>> [root@picard yum.repos.d]# yum update
Maybe using Startrek name as server name is not a good idea.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 5.6 to 5.7 upgrade

2011-09-14 Thread Sorin Srbu
Hi all,

Almost wish I had something more exciting to say regarding the 5.6 to 5.7
upgrade, but it just worked flawlessly. Physical as well as virtual
machines.

Thanks CentOS-team for your good work!
-- 
BW,
Sorin
---
# Sorin Srbu[Sysadmin, Systems Engineer]
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 >3 rings> GSM
# Div of Org Pharm Chem,Mobile: +46 (0)701-718023
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b
#   Web: http://www.orgfarm.uu.se
---
# ()  ASCII ribbon campaign - Against html E-mail 
# /\  http://www.asciiribbon.org
#
# This message was not sent from an iProduct!
#
# MotD follows:
# "God, root, what is difference?" -Pitr from
http://www.userfriendly.org/cartoons/pitr/



smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos