[Spacewalk-list] Spacewalk Startup Problems after yum update

Jan Hutař jhutar at redhat.com
Tue Oct 2 09:41:50 UTC 2012


On Mon, 24 Sep 2012 12:53:41 -0400 "Boyd, Robert"
<Robert.Boyd at peoplefluent.com> wrote:

> I looked for the listed postgresql-jdbc.jar file and see that
> there is a failed link:
> 
> lrwxrwxrwx. 1 tomcat tomcat 35 Aug  3
> 19:02 /var/lib/tomcat6/webapps/rhn/WEB-INF/lib/postgresql-jdbc.jar
> -> /usr/share/java/postgresql-jdbc.jar
> 
> In /usr/share/java there are these 2 files:
> 
> -rwxr-xr-x. 1 root root 502118 Nov 18  2010
> postgresql-8.4-702.jdbc3.jar -rwxr-xr-x. 1 root root 539510
> Nov 18  2010 postgresql-8.4-702.jdbc4.jar
> 
> There is no plain vanilla versionless postgresql-jdbc.jar
> 
> So I linked the missing name to the
> postgresql-8.4-702.jdbc4.jar to see what will happen.
> 
> I restarted the server and now the spacewalk web service
> appears to be fully operational again.
> 
> 
> My question is:  why would this link have been trashed?  Is
> there anything I can do preemptively to prevent getting caught
> like this again?

Hello,
could you check which package owns these files?

# rpm -qf /usr/share/java/postgresql*.jar

Looks like the update brought in some package
missing /usr/share/java/postgresql-jdbc.jar file which broke the
link.

I suggest to file a bug either against that package that it do
not have that file present now, of against Spacewalk to deal
with this.

Regards,
Jan



-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121002/d59710e9/attachment.sig>


More information about the Spacewalk-list mailing list