[Spacewalk-list] Startup error on new install
Franz Skale
franz.skale at cubit.at
Sat Oct 24 08:21:30 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
First check the oracle http port:
select dbms_xdb.gethttpport as "HTTP-Port" from dual;
If it is 8080 do this:
begin
dbms_xdb.sethttpport('9000);
end;
/
restart tomcat again.
Franz
Kirill Morozov schrieb:
> I have the same error on the fresh install of CentOS 5.3 (today
> upgraded to 5.4):
> (root at sw6)-(12:22 AM Sat Oct 24)-(~)
> # tail /var/log/httpd/error_log
> [Sat Oct 24 00:22:58 2009] [error] (111)Connection refused: proxy:
> AJP: attempt to connect to 127.0.0.1:8009 <http://127.0.0.1:8009>
> (*) failed
> [Sat Oct 24 00:22:58 2009] [error] proxy: AJP: failed to make
> connection to backend: localhost
> [Sat Oct 24 00:23:01 2009] [error] (111)Connection refused: proxy:
> AJP: attempt to connect to 127.0.0.1:8009 <http://127.0.0.1:8009>
> (*) failed
> [Sat Oct 24 00:23:01 2009] [error] proxy: AJP: failed to make
> connection to backend: localhost
> [Sat Oct 24 00:23:02 2009] [error] (111)Connection refused: proxy:
> AJP: attempt to connect to 127.0.0.1:8009 <http://127.0.0.1:8009>
> (*) failed
> [Sat Oct 24 00:23:02 2009] [error] proxy: AJP: failed to make
> connection to backend: localhost
> [Sat Oct 24 00:23:06 2009] [error] (111)Connection refused: proxy:
> AJP: attempt to connect to 127.0.0.1:8009 <http://127.0.0.1:8009>
> (*) failed
> [Sat Oct 24 00:23:06 2009] [error] proxy: AJP: failed to make
> connection to backend: localhost
> [Sat Oct 24 00:23:10 2009] [error] (111)Connection refused: proxy:
> AJP: attempt to connect to 127.0.0.1:8009 <http://127.0.0.1:8009>
> (*) failed
> [Sat Oct 24 00:23:10 2009] [error] proxy: AJP: failed to make
> connection to backend: localhost
> (root at sw6)-(12:23 AM Sat Oct 24)-(~)
> # grep 8009 /etc/tomcat5/*
> /etc/tomcat5/server-minimal.xml: <Connector port="8009"
> protocol="AJP/1.3" />
> /etc/tomcat5/server.xml: <!-- Define an AJP 1.3 Connector on port
> 8009 -->
> /etc/tomcat5/server.xml: <Connector port="8009"
> /etc/tomcat5/workers2.properties:[channel.socket:localhost:8009]
> /etc/tomcat5/workers2.properties:tomcatId=localhost:8009
> /etc/tomcat5/workers2.properties.minimal:[channel.socket:localhost:8009]
> /etc/tomcat5/workers2.properties.minimal:tomcatId=localhost:8009
> /etc/tomcat5/workers.properties:# - An ajp13 worker that connects to
> localhost:8009
> /etc/tomcat5/workers.properties:worker.ajp13.port=8009
> /etc/tomcat5/workers.properties.minimal:worker.ajp13w.port=8009
>
> # netstat -anp|grep LISTEN|grep java
> tcp 0 0 127.0.0.1:32000 <http://127.0.0.1:32000>
> 0.0.0.0:* LISTEN 4498/java
> tcp 0 0 ::ffff:127.0.0.1:8005 <http://127.0.0.1:8005>
> :::* LISTEN 4429/java
> tcp 0 0 :::8009 :::*
> LISTEN 4429/java
> tcp 0 0 ::ffff:127.0.0.1:2828 <http://127.0.0.1:2828>
> :::* LISTEN 4498/java
> tcp 0 0 :::8080 :::*
> LISTEN 4429/java
>
>
>
> On Thu, Oct 1, 2009 at 6:18 PM, Justin Sherrill <jsherril at redhat.com
> <mailto:jsherril at redhat.com>> wrote:
>
> Daniel Wittenberg wrote:
> > It appears something might be wrong with the tomcat install,
> at least
> > that's what I can figure at this point since ajp isn't
> listening on
> > 8009, and I see these errors in the logs. I see a few others
> having
> > posted about this, but no real answers to what fixes it:
> >
> > Sep 30, 2009 8:44:46 PM org.apache.catalina.startup.HostConfig
> > deployDescriptor
> > WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the
> host appBase
> > has been specified, and will be ignored
> > Sep 30, 2009 8:44:46 PM
> org.apache.catalina.loader.WebappClassLoader
> > validateJarFile
> > INFO:
> >
> validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar)
> -
> > jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class:
> > javax/servlet/jsp/JspPage.class
> >
> > Any more ideas? I guess if not I'll wipe the machine and
> start over,
> > though I think I followed the instructions and all seemed to
> go well.
> >
> > Thanks,
> > Dan
> >
> > On Mon, 2009-09-28 at 21:00 +0200, Michael Mraka wrote:
> >> Daniel Wittenberg wrote:
> >> % Ok, I reset the password to spacewalk, and updated the
> /etc/rhn/rhn.conf
> >> % file anywhere the password was referenced, and now doing
> the "sqlplus
> >> % spacewalk/spaceawalk at xe" seems to work fine, but still
> getting same
> >> % errors about the JVM startup failure.
> >> %
> >> % I also see this in /var/log/httpd/error_log:
> >> %
> >> % [Mon Sep 28 14:22:37 2009] [error] (111)Connection refused:
> proxy: AJP:
> >> % attempt to connect to 127.0.0.1:8009
> <http://127.0.0.1:8009> (*) failed
> >>
> >> What is supposed to run on port 8009?
> >>
> >> AFAIK spacewalk expects tomcat on port 8080.
> >>
> >> % [Mon Sep 28 14:22:37 2009] [error] proxy: AJP: failed to
> make connection
> >> % to backend: localhost
> >> %
> >> % That appears to be trying to connect to tomcat on
> localhost, but I do
> >> % see it listening on all IP's.
> >> %
> >> % Sep 28, 2009 2:33:13 PM
> com.mchange.v2.resourcepool.BasicResourcePool
> >> % $AcquireTask run
> >> % WARNING: com.mchange.v2.resourcepool.BasicResourcePool
> >> % $AcquireTask at 78faa02 -- Acquisition Attempt Failed!!!
> Clearing pending
> >> % acquires. While trying to acquire a needed new resource, we
> failed to
> >> % succeed more than the maximum number of allowed acquisition
> attempts
> >> % (30).
> >> %
> >> % Anything else to check?
> >> %
> >> % Dan
> >>
> >> --
> >> Michael Mráka
> >> Satellite Engineering, Red Hat
> >>
> >> _______________________________________________
> >> Spacewalk-list mailing list
> >> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> >> https://www.redhat.com/mailman/listinfo/spacewalk-list
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> Can you post your entire /var/log/tomcat5/catalina.out file ?
>
> Are you sure that it's not listening on 8009? You said before
> you could
> telnet to the port (and then it would disconnect).
>
> Can you run:
>
> grep 8009 /etc/tomcat5/*
>
> -Justin
>
> --
> Justin Sherrill, RHCA 1801 Varsity Drive.
> Software Engineer Raleigh, NC 27603
> Red Hat, Inc.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
>
> --
> Kirill Morozov
> Fedora-Hosting.com
>
> ----------------------------------------------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
- --
kind regards, +43-664-8468643
Franz Skale +43-1-7189880-0
Senior Systems Engineer www.cubit.at
PGP KeyID 0xB294D39A
Key Fingerprint B508 8896 B83C B374 770D 80EF 3AD9 4A66 B294 D39A
Neuer Standort: 1070 Wien, Zieglergasse 67/3/1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkriuQoACgkQOtlKZrKU05rDoQCeKPs2mMnfh2LSKXI5OrAytg0T
+IgAoJBdW5pHHOJnofpEbFnGkLu6g7NZ
=yt+y
-----END PGP SIGNATURE-----
More information about the Spacewalk-list
mailing list