Hello, I have a new install on F14 x86_64 of spacewalk 1.3.9. I'm stuck at a 404 error in the web interface.
/rhn/Login.do 404 Error - File Not Found I'm a newb, and I'm not really sure how RHN factors into Satellite on Linux. I assume an actually RHN subscription is not required. This is a minimal install of Fedora 14 with selinux disabled. I followed the instructions at https://fedorahosted.org/spacewalk/wiki/HowToInstall Installation goes mostly fine. I'm not sure the cert error below is a problem: [root@spacewalk ~]# spacewalk-setup --disconnected --answer-file=spacewalk.cfg * Loading answer file: spacewalk.cfg. ** Database: Setting up database connection for PostgreSQL backend. ** Database: Populating database. *** Progress: #### * Setting up users and groups. ** GPG: Initializing GPG and importing key. ** GPG: Creating /root/.gnupg directory * Performing initial configuration. * Activating Spacewalk. ** Loading Spacewalk Certificate. ** Verifying certificate locally. ** Activating Spacewalk. There was a problem validating the satellite certificate: 1 Startup also complains about an SSL cert, however: [root@spacewalk ~]# /usr/sbin/spacewalk-service start Starting spacewalk services... Initializing jabberd processes ... Starting router: [ OK ] Starting sm: [ OK ] Starting c2s: [ OK ] Starting s2s: [ OK ] Starting osa-dispatcher: RHN 3024 2011/03/25 12:56:57 -07:00: ('Invalid SSL certificate:', Unable to read file /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT) [ OK ] Starting tomcat6: [ OK ] Waiting for tomcat to be ready ... Starting httpd: [ OK ] Starting Monitoring ... [ OK ] Starting MonitoringScout ... [ OK ] Starting rhn-search... Starting cobbler daemon: [ OK ] Starting RHN Taskomatic... Done. Accessing the web interface results in a redirect to a 404: [root@spacewalk ~]# HEAD -U -S http://localhost/ HEAD https://localhost/rhn/Login.do User-Agent: lwp-request/5.834 libwww-perl/5.837 HEAD http://localhost/ --> 302 Found HEAD http://localhost/rhn/Login.do --> 302 Moved Temporarily HEAD https://localhost/rhn/Login.do --> 404 Not Found In /var/log/tomcat6/catalina.out I find: Mar 25, 2011 1:16:23 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Mar 25, 2011 1:16:24 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Mar 25, 2011 1:16:24 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: A web application registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Mar 25, 2011 1:16:24 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@72766b42]) and a value of type [com.redhat.rhn.frontend.context.Context] (value [com.redhat.rhn.frontend.context.Context@3c7bf4c3]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Mar 25, 2011 1:16:24 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap SEVERE: A web application created a ThreadLocal with key of type [null] (value [com.redhat.rhn.frontend.xmlrpc.LoggingInvocationProcessor$1@591c5342]) and a value of type [org.apache.commons.lang.time.StopWatch] (value [0:00:00.002]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed. Mar 25, 2011 1:16:25 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 Mar 25, 2011 1:16:45 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Mar 25, 2011 1:16:45 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Mar 25, 2011 1:16:45 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 549 ms Mar 25, 2011 1:16:45 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Mar 25, 2011 1:16:45 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.26 Mar 25, 2011 1:16:45 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor rhn.xml Mar 25, 2011 1:16:45 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /var/lib/tomcat6/webapps/rhn inside the host appBase has been specified, and will be ignored Mar 25, 2011 1:16:49 PM com.mchange.v2.log.MLog <clinit> INFO: MLog clients using java 1.4+ standard logging. Mar 25, 2011 1:16:49 PM com.mchange.v2.c3p0.C3P0Registry banner INFO: Initializing c3p0-0.9.1.2 [built 06-August-2008 15:35:00; debug? false; trace: 5] Mar 25, 2011 1:16:49 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@ed9a9dc8 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@e4861ada [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 12d9td28e1u7xgi44f0ziy|7dc8f91e, idleConnectionTestPeriod -> 300, initialPoolSize -> 5, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@71654a6c [ desc! ription -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 12d9td28e1u7xgi44f0ziy|13ced821, jdbcUrl -> jdbc:postgresql:spaceschema, properties -> {user=******, password=******, driver_proto=jdbc:postgresql} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 12d9td28e1u7xgi44f0ziy|706ee404, numHelperThreads -> 3 ] 2011-03-25 13:16:53,173 [main] WARN org.apache.struts.config.impl.ModuleConfigImpl - Overriding ActionConfig of path /systems/details/probes/ProbeDetails Mar 25, 2011 1:16:53 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Mar 25, 2011 1:16:53 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Mar 25, 2011 1:16:53 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/14 config=null Mar 25, 2011 1:16:53 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 7803 ms Only 2 things stand out to me in that: 1. INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found... 2. WARNING: A docBase /var/lib/tomcat6/webapps/rhn inside the host appBase has been specified, and will be ignored Any tips? Thanks _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
