[Spacewalk-list] Unable to login to spacewalk after installation
Justin Sherrill
jsherril at redhat.com
Wed Sep 10 13:22:16 UTC 2008
Hi Willem,
To see what FQDN your spacewalk's SSL cert was generated with, simply run:
# grep CN /etc/rhn/satellite-httpd/conf/ssl.crt/server.crt
Whatever FQDN is listed there is the one you should use to access your
spacewalk server.
-Justin
Willem Bos wrote:
> Hi Adrián,
>
> I do log in via the correct domain name (in my case
> https://satellite/). However, your message did make me check the IP
> config and I discovered that I forgot to correct /etc/hosts, it still
> contained a "127.0.0.1 <http://127.0.0.1> satellite localhost
> localhost.localdomain" record. Changing it did not resolve my problem
> tough...
>
> Thanks,
> Willem.
>
> On Tue, Sep 9, 2008 at 10:39 PM, Adrián Márques
> <amarques at geocom.com.uy <mailto:amarques at geocom.com.uy>> wrote:
>
> I came across the exact same symptom, though I don't know about
> the log messages.
> My problem was that I was logging into spacewalk like this:
> 'http://localhost' instead of using the FQDN of the server
> 'http://my.spacewalk.whatever'. I could log in once I tried the
> latter.
>
> Hope it helps.
>
> Regards.
>
> Adrián.
>
>
> Willem Bos escribió:
>
> Hi all,
>
> After installing Spacewalk on CentOS 5.2 I'm unable to login
> to the web interface. Pressing the "Sign In" button on the
> Login.do page redirects me to YourRhn.do. Pressing the "Sign
> In" button on this page does nothing. In catalina.out the
> following messages are written (complete log at the end of
> this message) :
>
> INFO:
> validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
> <http://9.7.2.> <http://9.7.2.> Offending class:
> javax/servlet/jsp/JspPage.class
>
>
>
> And also (a line is written everytime I press a "Sign In"
> button) :
>
> 2008-09-09 17:51:17,450 [TP-Processor3] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
>
> My timezone is (cat /etc/sysconfig/clock) :
> ZONE="Europe/Amsterdam"
> UTC=false
> ARC=false
>
> Any ideas?
>
> Thanks,
> Willem.
>
>
> Using CATALINA_BASE: /usr/share/tomcat5
> Using CATALINA_HOME: /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JRE_HOME: Sep 9, 2008 5:49:52 PM
> org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The 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/jre/lib/i386/client:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/opt/oracle/lib:/usr/lib:/usr/java/packages/lib/i386:/lib:/usr/lib
> Sep 9, 2008 5:49:52 PM
> org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Sep 9, 2008 5:49:52 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 548 ms
> Sep 9, 2008 5:49:52 PM
> org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Sep 9, 2008 5:49:52 PM org.apache.catalina.core.StandardEngine
> start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
> Sep 9, 2008 5:49:52 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Sep 9, 2008 5:49:52 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 9, 2008 5:49:52 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.
> <http://9.7.2.> <http://9.7.2.> Offending class:
> javax/servlet/jsp/JspPage.class
>
> Sep 9, 2008 5:49:54 PM com.mchange.v2.log.MLog <clinit>
> INFO: MLog clients using java 1.4+ standard logging.
> Sep 9, 2008 5:49:54 PM com.mchange.v2.c3p0.C3P0Registry banner
> INFO: Initializing c3p0-0.9.0 [built 13-July-2007 10:11:26
> -0400; debug? false; trace: 5]
> Sep 9, 2008 5:49:54 PM
> com.mchange.v2.c3p0.PoolBackedDataSource getPoolManager
> INFO: Initializing c3p0 pool...
> com.mchange.v2.c3p0.PoolBackedDataSource at 1de8aa8 [
> connectionPoolDataSource ->
> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource at 58e2a1 [
> acquireIncrement -> 3, acquireRetryAttempts -> 30,
> acquireRetryDelay -> 1000, autoCommitOnClose -> false,
> automaticTestTable -> null, breakAfterAcquireFailure -> false,
> checkoutTimeout -> 0, connectionTesterClassName ->
> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
> factoryClassLocation -> null,
> forceIgnoreUnresolvedTransactions -> false, identityToken ->
> 58e2a1, idleConnectionTestPeriod -> 300, initialPoolSize -> 5,
> maxIdleTime -> 300, maxPoolSize -> 20, maxStatements -> 0,
> maxStatementsPerConnection -> 0, minPoolSize -> 5,
> nestedDataSource ->
> com.mchange.v2.c3p0.DriverManagerDataSource at 83020 [
> description -> null, driverClass -> null, factoryClassLocation
> -> null, identityToken -> 83020, jdbcUrl ->
> jdbc:oracle:thin:@database:1521:TSAT, properties ->
> {user=******, password=******} ], preferredTestQuery -> null,
> propertyCycle -> 300, testConnectionOnCheckin -> false,
> testConnectionOnCheckout -> false,
> usesTraditionalReflectiveProxies -> false ],
> factoryClassLocation -> null, identityToken -> 1de8aa8,
> numHelperThreads -> 3 ]
> Sep 9, 2008 5:49:58 PM
> org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Sep 9, 2008 5:49:58 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> <http://0.0.0.0:8009> <http://0.0.0.0:8009>
>
> Sep 9, 2008 5:49:58 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/10 config=null
> Sep 9, 2008 5:49:58 PM
> org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Sep 9, 2008 5:49:58 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 5869 ms
> 2008-09-09 17:51:07,859 [TP-Processor3] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 17:51:15,667 [TP-Processor2] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 17:51:15,825 [TP-Processor1] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 17:51:17,450 [TP-Processor3] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 17:51:17,503 [TP-Processor8] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 18:00:06,062 [TP-Processor7] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 18:00:30,999 [TP-Processor6] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
> 2008-09-09 18:00:31,029 [TP-Processor6] WARN
> com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter -
> timezone still null
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list