What happens when you browse to 'http://127.0.0.1:9000/apex'?

________________________________

From: piya mohamad rafi [mailto:[EMAIL PROTECTED]
Sent: Sat 9/20/2008 10:12 PM
To: Coe, Colin C. (Unix Engineer)
Cc: [email protected]
Subject: Re: [Spacewalk-list] rhn/Login.do - Blank page


 While configuring oracle-xe, I followed these below steps. 
 
 sudo/etc/init.d/oracle-xe configure

 HTTP port: 9000
Listener port: 1521
password:
password:
Have oracle start at boot: y



On Sat, Sep 20, 2008 at 7:24 PM, Coe, Colin C. (Unix Engineer) <[EMAIL 
PROTECTED]> wrote:


        When you ran 'sudo /etc/init.d/oracle-xe configure' exactly what did 
you put for each of the prompts?
        

        CC
        
        ________________________________
        
        From: piya mohamad rafi [mailto:[EMAIL PROTECTED]
        
        Sent: Sat 9/20/2008 8:21 PM
        
        To: Coe, Colin C. (Unix Engineer)
        Cc: [email protected]
        Subject: Re: [Spacewalk-list] rhn/Login.do - Blank page
        
        
        Hi,
        
        I uninstall and reinstall oracle-xe-client, oracle-xe-univ then also, 
I'm getting same error
        
        Tomcat failed to start properly or the installer ran out of tries.  
Please check /var/log/tomcat5/catalina.out for errors.
        
        
        On Sat, Sep 20, 2008 at 2:44 PM, Coe, Colin C. (Unix Engineer) <[EMAIL 
PROTECTED]> wrote:
        
        
        
               Server Setup ΒΆ 
<https://fedorahosted.org/spacewalk/wiki/OracleXeSetup#ServerSetup>
        
        
               Configure the Oracle XE database
        
               *       Ensure your hostname is in /etc/hosts prior to running 
"oracle-xe configure"
        
                sudo /etc/init.d/oracle-xe configure
        
        
               Here are some sane values:
        
                HTTP port: 9000 (8080 is tomcat)
                listener port: 1521
                password:<password> for SYS/SYSTEM
                have oracle start at boot: y
        
        
               NOTE: if you messed up these entries, you WILL have to uninstall 
and reinstall.
        
               *       rpm -e oracle-xe-client oracle-xe-univ
               *       OracleXeSetup#Installation 
<https://fedorahosted.org/spacewalk/wiki/OracleXeSetup#Installation>
        
        
        
               ________________________________
        
               From: piya mohamad rafi [mailto:[EMAIL PROTECTED]
        
               Sent: Sat 9/20/2008 3:02 PM
        
               To: Coe, Colin C. (Unix Engineer)
               Cc: [email protected]
               Subject: Re: [Spacewalk-list] rhn/Login.do - Blank page
        
        
               Hi,
                How can i give 8080 port to tomcat? please tell me.
        
        
               On Sat, Sep 20, 2008 at 12:21 PM, Coe, Colin C. (Unix Engineer) 
<[EMAIL PROTECTED]> wrote:
        
        
                      Given the output of netstat below, it doesn't look like 
it.  'tnslsnr' should be listening on port 9000 not 8080.  tomcat wants to be 
on port 8080.
        
                      CC
        
                      ________________________________
        
                      From: piya mohamad rafi [mailto:[EMAIL PROTECTED]
                      Sent: Sat 9/20/2008 11:41 AM
                      To: Coe, Colin C. (Unix Engineer)
                      Cc: [email protected]
                      Subject: Re: [Spacewalk-list] rhn/Login.do - Blank page
        
        
        
                       In server setup, I gave HTTP port: 9000, Listener 
port:1521
                      addresses to database configuration.
        
        
                      On Sat, Sep 20, 2008 at 3:37 AM, Coe, Colin C. (Unix 
Engineer) <[EMAIL PROTECTED]> wrote:
        
        
                             
https://fedorahosted.org/spacewalk/wiki/OracleXeSetup
        
                             Have a closer look at the 'Server Setup' section.
        
                             CC
        
                             ________________________________
        
                             From: [EMAIL PROTECTED] on behalf of piya mohamad 
rafi
                             Sent: Sat 9/20/2008 3:47 AM
                             To: [email protected]
                             Subject: [Spacewalk-list] rhn/Login.do - Blank page
        
        
        
        
                             Hi All,
        
                             Previously i sent mail  on this topic but could 
not  get reply to my mail id. But it is in spacewalk mailing list.
                             For that reasion i sent out a another mail.
        
                             I'm using 0.1 version spacewalk.
        
                             I  complete the spacewalk-setup --disconnected 
task successfully.
                             But I'm getting following error
        
                             [EMAIL PROTECTED] ~]# spacewalk-setup 
--disconnected
                             * Loading answer file: /usr/share/spacewalk/setup/
                             defaults.conf.
                             * Setting up environment and users.
                             ** GPG: Initializing GPG and importing RHN key.
                             * Setting up database.
                             ** Database: Setting up database connection.
                             DB User? spacewalk
                             DB Password?
                             DB SID? xe
        
        
        
        
                             DB hostname? turtle.linux.com 
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>
        



                             DB port [1521]?
                             DB protocol [TCP]?
                             ** Database: Testing database connection.
                             ** Database: Populating database.
                             The Database has schema.  Would you like to clear 
the database [Y]? y
                             ** Database: Clearing database.
                             ** Database: Shutting down services that may be 
using DB: [tomcat5, taskomatic, httpd, jabberd, osa-dispatcher, 
tsdb_local_queue].
                             ** Database: Services stopped.  Clearing DB.
                             ** Database: Re-populating database.
                             *** Progress: #sh: dbhome: command not found
                             
##################################################################
                             * Performing initial configuration.
                             * Activating Satellite.
                             ** Loading Satellite Certificate.
                             ** Verifying certificate locally.
                             ** Activating Satellite.
                             * Enabling Monitoring.
                             * Creating SSL certificates.
                             CA certificate password?
                             Re-enter CA certificate password?
        
        
        
        
                             Organization? turtlelinuxlabs.in 
<http://turtlelinuxlabs.in/>  <http://turtlelinuxlabs.in/>  
<http://turtlelinuxlabs.in/>  <http://turtlelinuxlabs.in/>  
<http://turtlelinuxlabs.in/>
                             Organization Unit [turtle.linux.com 
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/> ]?
        



                             Email Address [EMAIL PROTECTED]
                             City? banglore
                             State? karnataka
                             Country code (Examples: "US", "JP", "IN", or type 
"?" to see a list)? IN
                             ** SSL: Generating CA certificate.
                             ** SSL: Deploying CA certificate.
                             ** SSL: Generating server certificate.
                             ** SSL: Storing SSL certificates.
                             Use of uninitialized value in chown at 
/usr/bin/rhn-generate-pem.pl line 57.
                             Use of uninitialized value in chown at 
/usr/bin/rhn-generate-pem.pl line 57.
                             * Deploying configuration files.
                             * Update configuration in database.
                             * Restarting services.
                             Tomcat failed to start properly or the installer 
ran out of tries.  Please check /var/log/tomcat5/catalina.out for errors.
                             Installation complete.
        
        
        
        
                             Visit https://turtle.linux.com 
<https://turtle.linux.com/>  <https://turtle.linux.com/>  
<https://turtle.linux.com/>  <https://turtle.linux.com/>  
<https://turtle.linux.com/>  to create the satellite administrator account.
        






                             Output of the following command
        
                             [EMAIL PROTECTED] ~]# netstat -ntap |grep :8080
        
        
        
        
                             tcp        0      0 127.0.0.1:8080 
<http://127.0.0.1:8080/>  <http://127.0.0.1:8080/>  <http://127.0.0.1:8080/>  
<http://127.0.0.1:8080/>  <http://127.0.0.1:8080/>               0.0.0.0:*      
             LISTEN      10087/tnslsnr
        




                             I followed the below steps.Then also I'm getting  
same error.
        
                             1. Edit /etc/rhn/default/rhn_
                             taskomatic_daemon.conf
        
                             And change 'wrapper.java.classpath.14' as shown
        
                             
#wrapper.java.classpath.14=/usr/share/java/ojdbc14.jar
                             
wrapper.java.classpath.14=/usr/lib/oracle/10.2.0.4/client64/lib/ojdbc14.jar
        
                              2. [EMAIL PROTECTED] ~]# grep CN 
/etc/rhn/satellite-httpd/conf/ssl.crt/server.crt
        
        
        
        
                                    Issuer: C=IN, ST=karnataka, L=banglore, 
O=turtlelinuxlabs.in <http://turtlelinuxlabs.in/>  <http://turtlelinuxlabs.in/> 
 <http://turtlelinuxlabs.in/>  <http://turtlelinuxlabs.in/>  
<http://turtlelinuxlabs.in/> , OU=turtle.linux.com <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/> , CN=turtle.linux.com 
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>
                                    Subject: C=IN, ST=karnataka, 
O=turtlelinuxlabs.in <http://turtlelinuxlabs.in/>  <http://turtlelinuxlabs.in/> 
 <http://turtlelinuxlabs.in/>  <http://turtlelinuxlabs.in/>  
<http://turtlelinuxlabs.in/> , OU=turtle.linux.com <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/>  
<http://turtle.linux.com/>  <http://turtle.linux.com/> , 
CN=turtle.linux.com/[EMAIL PROTECTED]
        



                                     
DirName:/C=IN/ST=karnataka/L=banglore/O=turtlelinuxlabs.in/OU=turtle.linux.com/CN=turtle.linux.com
        
                             3. Restart the rhn-satellite
                             [EMAIL PROTECTED] ~]# service rhn-satellite restart
                             Shutting down rhn-satellite...
                             Stopping satellite-httpd:                          
        [  OK  ]
                             Stopping tomcat5:                                  
        [  OK  ]
                             Stopping RHN Taskomatic...
                             RHN Taskomatic was not running.
                             Shutting down rhn-database:                        
   [  OK  ]
                             Done.
                             Starting rhn-satellite...
                             Starting rhn-database:                             
       [  OK  ]
                             Starting RHN Taskomatic...
                             Starting tomcat5:                                  
         [  OK  ]
                             Starting satellite-httpd:                          
         [  OK  ]
                             Done.
        
                             4 . SElinux  status
                             [EMAIL PROTECTED] sestatus
                             SELinux  status:    disabled
        
                             5. The perms on /var/log/tomcat5 and friends.  
Should be owned by
                             tomcat not root.
                             [EMAIL PROTECTED] tomcat5]# ll
                             total 320
                             -rw-r--r-- 1 tomcat tomcat 316400 Sep 18 09:13 
catalina.out
                             -rw-r--r-- 1 tomcat tomcat   3226 Sep 15 15:13 
catalina.out.1.gz
        
        
                             Errors of /var/log/tomcat/catalina.out as follows
        
                             [EMAIL PROTECTED] logs]# tail -n 50 
/var/log/tomcat5/catalina.out
                                    ... 38 more
                             java.lang.reflect.InvocationTargetException
                                    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                    at 
java.lang.reflect.Method.invoke(Method.java:616)
                                    at 
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
                                    at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
                             Caused by: java.lang.NoClassDefFoundError: 
javax/servlet/http/HttpServletRequest
                                    at 
java.lang.ClassLoader.defineClass1(Native Method)
                                    at 
java.lang.ClassLoader.defineClass(ClassLoader.java:637)
                                    at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
                                    at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
                                    at 
java.net.URLClassLoader.access$000(URLClassLoader.java:73)
                                    at 
java.net.URLClassLoader$1.run(URLClassLoader.java:212)
                                    at 
java.security.AccessController.doPrivileged(Native Method)
                                    at 
java.net.URLClassLoader.findClass(URLClassLoader.java:205)
                                    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:323)
                                    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:268)
                                    at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
                                    at 
java.lang.Class.getDeclaredMethods0(Native Method)
                                    at 
java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
                                    at 
java.lang.Class.privateGetPublicMethods(Class.java:2564)
                                    at 
java.lang.Class.getMethods(Class.java:1427)
                                    at 
org.apache.tomcat.util.IntrospectionUtils.findMethods(IntrospectionUtils.java:812)
                                    at 
org.apache.tomcat.util.IntrospectionUtils.setProperty(IntrospectionUtils.java:268)
                                    at 
org.apache.catalina.startup.SetAllPropertiesRule.begin(SetAllPropertiesRule.java:59)
                                    at 
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
                                    at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
                                    at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
                                    at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown 
Source)
                                    at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
                                    at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
                                    at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                                    at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                                    at 
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                                    at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                                    at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
                                    at 
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
                                    at 
org.apache.catalina.startup.Catalina.load(Catalina.java:490)
                                    at 
org.apache.catalina.startup.Catalina.load(Catalina.java:524)
                                    ... 6 more
                             Caused by: java.lang.ClassNotFoundException: 
javax.servlet.http.HttpServletRequest
                                    at 
java.net.URLClassLoader$1.run(URLClassLoader.java:217)
                                    at 
java.security.AccessController.doPrivileged(Native Method)
                                    at 
java.net.URLClassLoader.findClass(URLClassLoader.java:205)
                                    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:323)
                                    at 
java.lang.ClassLoader.loadClass(ClassLoader.java:268)
                                    at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
                                    ... 38 more
        
                             Please guide me how can i solve this problem.
        
        
                             Thanks,
                             Rafi.
        
        
        
        
        
        
        
        
        
                             NOTICE: This email and any attachments are 
confidential.
                             They may contain legally privileged information or
                             copyright material. You must not read, copy, use or
                             disclose them without authorisation. If you are 
not an
                             intended recipient, please contact us at once by 
return
                             email and then delete both messages and all 
attachments.
        
        
        
        
        
                      NOTICE: This email and any attachments are confidential.
                      They may contain legally privileged information or
                      copyright material. You must not read, copy, use or
                      disclose them without authorisation. If you are not an
                      intended recipient, please contact us at once by return
                      email and then delete both messages and all attachments.
        
        
        
        
        
               NOTICE: This email and any attachments are confidential.
               They may contain legally privileged information or
               copyright material. You must not read, copy, use or
               disclose them without authorisation. If you are not an
               intended recipient, please contact us at once by return
               email and then delete both messages and all attachments.
        
        
        
        
        
        NOTICE: This email and any attachments are confidential.
        They may contain legally privileged information or
        copyright material. You must not read, copy, use or
        disclose them without authorisation. If you are not an
        intended recipient, please contact us at once by return
        email and then delete both messages and all attachments.
        
        



NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to