[CentOS] yum screwup

2010-05-13 Thread rray_1
I have several machine running CentOS
I upgraded all of them from 5.3 to 5.4
One machine has a yum problem after upgrading

# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
  * addons: mirror.trouble-free.net
  * base: mirror.team-cymru.org
  * extras: mirror.team-cymru.org
  * updates: mirror.raystedman.net
addons   |  951 B 
00:00
addons/primary   |  201 B 
00:00
Traceback (most recent call last):
   File /usr/bin/yum, line 29, in ?
 yummain.user_main(sys.argv[1:], exit_code=True)
   File /usr/share/yum-cli/yummain.py, line 309, in user_main
 errcode = main(args)
   File /usr/share/yum-cli/yummain.py, line 178, in main
 result, resultmsgs = base.doCommands()
   File /usr/share/yum-cli/cli.py, line 345, in doCommands
 self._getTs(needTsRemove)
   File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 101, in 
_getTs
 self._getTsInfo(remove_only)
   File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 112, in 
_getTsInfo
 pkgSack = self.pkgSack
   File /usr/lib/python2.4/site-packages/yum/__init__.py, line 661, in 
lambda
 pkgSack = property(fget=lambda self: self._getSacks(),
   File /usr/lib/python2.4/site-packages/yum/__init__.py, line 501, in 
_getSacks
 self.repos.populateSack(which=repos)
   File /usr/lib/python2.4/site-packages/yum/repos.py, line 260, in 
populateSack
 sack.populate(repo, mdtype, callback, cacheonly)
   File /usr/lib/python2.4/site-packages/yum/yumRepo.py, line 190, in 
populate
 dobj = repo_cache_function(xml, csum)
   File /usr/lib/python2.4/site-packages/sqlitecachec.py, line 42, in 
getPrimary
 self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '' not found



I have tried 'yum clean all', 'yum --noplugins', 'rm -r /var/cache/yum/*',
deleting all yum packages and reinstalling, and nothing helps
If I copy /var/cache/yum/* from a working machine all is well
I have used md5sum to check the downloaded files and they match the files 
on a working machine
If I disable the addons repo the other repos load ok
Also rpmforge repo breaks yum
What else might I try

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


Re: [CentOS] yum screwup

2010-05-13 Thread rray_1
On Thu, 13 May 2010, Karanbir Singh wrote:

 On 05/13/2010 02:27 PM, rra...@comcast.net wrote:
   self.repoid))
 TypeError: Parsing primary.xml error: Start tag expected, '' not found


 one of the mirrors you are hitting has bad repodata, or you have
 misconfigured a baseurl / mirrorlist line. I wont be surprised if one of
 the machines is actually returning a 404 for the primary.xml in one of
 the repos.

 run yum with -d7 and you should be able to work out which one that is
 and against what repo.

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


I am a bit lost
The addons repo is the first one failing
If I run 'yum clean all' and then 'yum update' I get
'* addons: mirror.trouble-free.net' and yum fails
If I run 'yum clean all' again and 'yum update' I get
'* addons: ftp.usf.edu' and yum fails
Both times I ran 'md5sum md5sum /var/cache/yum/addons/primary.xml.gz'
for the machine that failed and a machine that works and they match
It does not seem to matter which server the repo file comes from
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 5.4 and tomcat5

2010-03-09 Thread rray_1
I set up a 5.4 server with tomcat5
All standard packages from CentOS repo
I can not seem to access the tomcat manager from a remote host
I can access the tomcat admin remotely
I have a manager role and user defined in tomcat-users.xml
Attempting to access the manager gets me

HTTP Status 403 - Access to the requested resource has been denied

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested 
resource has been denied) has been forbidden.

How do I enable remote access

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


Re: [CentOS] 5.4 and tomcat5

2010-03-09 Thread rray_1
On Tue, 9 Mar 2010, m.r...@5-cent.us wrote:

 I set up a 5.4 server with tomcat5
 All standard packages from CentOS repo
 I can not seem to access the tomcat manager from a remote host
 I can access the tomcat admin remotely
 I have a manager role and user defined in tomcat-users.xml
 Attempting to access the manager gets me

 HTTP Status 403 - Access to the requested resource has been denied
 snip
 Sounds like a firewall issue to me, but I'd check the logfiles.

   mark


No firewall running

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

The are no errors in catalina.out
Also I have a CentOS 5.4 runnig tomcat6 downloaded from apache
I have no problem remotely accessing manager
We also have other Linux runnig tomcat from packages and they have no 
problem accessing the manager remotely
It appears to be particular to the CentOS package
I do not know enough about tomcat to fix this package

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


Re: [CentOS] 5.4 and tomcat5

2010-03-09 Thread rray_1
On Tue, 9 Mar 2010, Les Mikesell wrote:

 On 3/9/2010 9:08 AM, rra...@comcast.net wrote:
 On Tue, 9 Mar 2010, m.r...@5-cent.us wrote:

 I set up a 5.4 server with tomcat5
 All standard packages from CentOS repo
 I can not seem to access the tomcat manager from a remote host
 I can access the tomcat admin remotely
 I have a manager role and user defined in tomcat-users.xml
 Attempting to access the manager gets me

 HTTP Status 403 - Access to the requested resource has been denied
 snip
 Sounds like a firewall issue to me, but I'd check the logfiles.

mark


 No firewall running

 # iptables -L
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination

 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination

 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination

 The are no errors in catalina.out
 Also I have a CentOS 5.4 runnig tomcat6 downloaded from apache
 I have no problem remotely accessing manager
 We also have other Linux runnig tomcat from packages and they have no
 problem accessing the manager remotely
 It appears to be particular to the CentOS package
 I do not know enough about tomcat to fix this package

 A 403 response means you reached the web server network-wise but the
 server is denying access because it is configured to restrict clients
 and you haven't authenticated correctly.



How do I find what is denying access since there are not error messages in 
the log files: httpd/error_log, httpd/access_log, tomcat5/catalina.out, 
messages, and secure
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] (no subject)

2009-07-31 Thread rray_1
I have 2 video devices LML33 and PV155

$ lspci
06:00.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video 
cutting chipset (rev 02)
07:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 11)
07:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 11)
07:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 11)
07:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 11)
07:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 11)
07:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 11)
07:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 11)
07:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 11)

$ udevinfo -q path -n /dev/video0
/class/video4linux/video0
$ udevinfo -a -p /class/video4linux/video0

Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

   looking at device '/class/video4linux/video0':
 KERNEL==video0
 SUBSYSTEM==video4linux
 SYSFS{name}==LML33_0_
 SYSFS{dev}==81:0

$ udevinfo -q path -n /dev/video1
no record for 'video1' in database
$ udevinfo -q path -n /dev/video2
no record for 'video2' in database
$ udevinfo -q path -n /dev/video3
no record for 'video3' in database
$ udevinfo -q path -n /dev/video4
no record for 'video4' in database

The problem is sometimes when I boot the LML33 is /dev/video0 and 
sometimes /dev/video4
I tried a udev rule
SUBSYSTEM==video4linux, SYSFS{name}==LML33_0_,SYMLINK=lml33
but it doesn't work
What do I need to do to get consistant device naming?

I am using CentOS 5.3, kernel 2.6.18-92.1.22.el5.centos.plus, and
udev-095-14.20.el5_3 package

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


[CentOS] upgrade/no upgrade

2009-04-02 Thread rray_1
What is the downside of sticking with 5.2
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] upgrade/no upgrade

2009-04-02 Thread rray_1
On Thu, 2 Apr 2009, Robert Moskowitz wrote:

 Ralph Angenendt wrote:
 rra...@comcast.net wrote:

 What is the downside of sticking with 5.2


 No security fixes. And the cool kids on the block will laugh at you.

 Look at today's announcement.  Now I don't know if the security bugs
 fixed where in the old 5.2 kernel or only in the newer 5.3 kernel, but
 it makes that point about staying current with a distro.


All of my servers use C5.2 as OpenVZ HN
I use vmlinuz-2.6.18-92.1.18.el5.028stab060.2 kernel
All containers are C5.2
Upgrading may not be possible/feasible
Suggestions
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpmforge

2009-02-07 Thread rray_1
On Sat, 7 Feb 2009, William L. Maltby wrote:


 On Sat, 2009-02-07 at 08:00 -0500, William L. Maltby wrote:
 On Fri, 2009-02-06 at 17:39 -0800, John R Pierce wrote:
 William L. Maltby wrote:
 You'll probably get a better response, as well as a fix if there is a
 problem, by posting to that list rather than here.


 you mean the list you can't find since the rpmforge website is
 apparently down?

 See my other reply.

 I see that _your_ post to rpmforge's list got through ok and the web
 site was apparently not fixed at that time, based on Dag's subsequent
 post.

 Now, since this is a CentOS list and the mailing lists for rpmforge were
 apparently working, what is wrong with suggesting that the user post
 there?

 You and Brian both seem to have the same problem with my short reply to
 the OP. What specifically is your beef with my suggestion, which was not
 critical, combative or offensive in any way that I can see.

 snip



I didn't mean to stir up a ruckus
Thanks for the help
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rpmforge

2009-02-07 Thread rray_1
On Sat, 7 Feb 2009, John R Pierce wrote:

 rra...@comcast.net wrote:
 I have not been able to connect to rpmforge for a couple of days
 Is it me or is there a problem with the repository


 fyi, its back online per a email reply to my query on the
 users/at/lists.rpmforge.net list...


confirmed
thanks




 ___
 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] rpmforge

2009-02-06 Thread rray_1
I have not been able to connect to rpmforge for a couple of days
Is it me or is there a problem with the repository

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


[CentOS] help with udev rules needed

2009-01-21 Thread rray_1
I am migrating from Fedora 8 to CentOS 5.2
I have usb dvd

On F8 I have /etc/udev/rules/00-my-custom.rules
BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N 
,SYMLINK=dvd,OWNER=rray
When I plug in dvd I get
$ ll /dev/scd1
lrwxrwxrwx 1 root root 3 Aug 25 08:17 /dev/scd1 - sr1
  ll /dev/sr1
brw-r- 1 rray disk 11, 1 2009-01-21 12:29 /dev/sr1
Everything is ok

On C5.2 I have /etc/udev/rules/00-my-custom.rules
BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N
,SYMLINK=dvd,OWNER=rray
When I plug in dvd I get
# ll /dev/scd0
brw-rw 1 root disk 11, 0 Jan 21 12:30 /dev/scd0
I have also tried MODE=0666 and it also has no affect

I have checked udevinfo -a -p $(udevinfo -q path -n /dev/scd0/1) on both 
machines and they are the same

Any suggestions

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


Re: [CentOS] help with udev rules needed

2009-01-21 Thread rray_1
On Wed, 21 Jan 2009, Farkas Levente wrote:

 rra...@comcast.net wrote:
 I am migrating from Fedora 8 to CentOS 5.2
 I have usb dvd

 On F8 I have /etc/udev/rules/00-my-custom.rules
 BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N
 ,SYMLINK=dvd,OWNER=rray
 When I plug in dvd I get
 $ ll /dev/scd1
 lrwxrwxrwx 1 root root 3 Aug 25 08:17 /dev/scd1 - sr1
   ll /dev/sr1
 brw-r- 1 rray disk 11, 1 2009-01-21 12:29 /dev/sr1
 Everything is ok

 On C5.2 I have /etc/udev/rules/00-my-custom.rules
 BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N
 ,SYMLINK=dvd,OWNER=rray
 When I plug in dvd I get
 # ll /dev/scd0
 brw-rw 1 root disk 11, 0 Jan 21 12:30 /dev/scd0
 I have also tried MODE=0666 and it also has no affect

 I have checked udevinfo -a -p $(udevinfo -q path -n /dev/scd0/1) on both
 machines and they are the same

 what's the problem?
 the above rule has nothing to do with sdcX it's just create dvd symlink,
 the device itself created by system udev rules.



On C5.2 the device has root:disk ownership and 660 perms
The OWNER=rray part of the udev rule appears to be ignored
How can I change the owner to rray or perms to 0666

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


Re: [CentOS] help with udev rules needed

2009-01-21 Thread rray_1
On Wed, 21 Jan 2009, Farkas Levente wrote:

 rra...@comcast.net wrote:
 On Wed, 21 Jan 2009, Farkas Levente wrote:

 rra...@comcast.net wrote:
 I am migrating from Fedora 8 to CentOS 5.2
 I have usb dvd

 On F8 I have /etc/udev/rules/00-my-custom.rules
 BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N
 ,SYMLINK=dvd,OWNER=rray
 When I plug in dvd I get
 $ ll /dev/scd1
 lrwxrwxrwx 1 root root 3 Aug 25 08:17 /dev/scd1 - sr1
   ll /dev/sr1
 brw-r- 1 rray disk 11, 1 2009-01-21 12:29 /dev/sr1
 Everything is ok

 On C5.2 I have /etc/udev/rules/00-my-custom.rules
 BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N
 ,SYMLINK=dvd,OWNER=rray
 When I plug in dvd I get
 # ll /dev/scd0
 brw-rw 1 root disk 11, 0 Jan 21 12:30 /dev/scd0
 I have also tried MODE=0666 and it also has no affect

 I have checked udevinfo -a -p $(udevinfo -q path -n /dev/scd0/1) on both
 machines and they are the same
 what's the problem?
 the above rule has nothing to do with sdcX it's just create dvd symlink,
 the device itself created by system udev rules.



 On C5.2 the device has root:disk ownership and 660 perms
 The OWNER=rray part of the udev rule appears to be ignored
 How can I change the owner to rray or perms to 0666

 _which_ device? scd1 or dvd!!!?
 your rule is about dvd it has nothing to with scd1!



I believe I am very confused
Please ignore everything above
If I wanted to write a udev rules such that when I plugged in my usb dvd 
drive, the owner of the device file is rray what might that rule look 
like given udevinfo tells me these characteristics describe my dvd drive
BUS==scsi, SYSFS{vendor}==TSSTcorp, SYSFS{model}==CDDVDW SH-S203N

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