[email protected] wrote: > First, I tried joining this last last week from my work email account, but it > seemed as though the only email I got from the list was from > spacewalk-list-bounces. No clue. I also have no idea if my emailed > tale-o'-woe ever made it to the list. > > So, right now, I'm uninstalling the 64-bit version of spacewalk .4, and I'll > be installing the 32-bit version, which I assume actually *works*. The 64 bit > *does* *not* *work* on a fairly basic installed CentOS 5.2. > > I followed the directions. And I could *never* get to channels->manage. 100% > of the time, I got a 500 error.
Are you sure you ran "Additional oracle configuration" listed here: https://fedorahosted.org/spacewalk/wiki/OracleXeSetup We saw the same issue internally until you run those sql commands. -Justin > > If anyone actually has the 64-bit version running on a plain vanilla system, > with NO "oh, yeah, I installed this too, and that, and changed this > other...", I'd like to hear about it. > > mark > > Here's all that I did. I gave up after spending a couple hours trying to > debug the perl code.... > ********************* > This a) gets rid of wrapper not starting, and failing. > b) fixes selinux to let it all run. > c) your doc says that rhn-satellite is in /sbin, no, it's in /usr/sbin. > > And after all that, I run it as the admin, and try to add my first channel. > > Nope. The relevant lines are: > [Fri Jan 30 13:48:55 2009] [error] Execution of > /var/www/html/network/software/channels/manage/index.pxt failed at Fri Jan 30 > 13:48:55 2009: user_role_acl_test called with no $pxt->user > > It looks to me as though someone is failing to pass in a parameter, and the > sucker's out of scope. > > So, do you have any recommendations, or do I have to uninstall *EVERYTHING*, > and reinstall the 32-bit version? > > mark > >>From /var/log/http/error_log: > [Fri Jan 30 13:47:55 2009] (15381) Apache2::SizeLimit httpd process too big, > exiting at SIZE=408156 KB SHARE=8716 KB REQUESTS=2 LIFETIME=0 seconds [Fri > Jan 30 13:48:55 2009] [error] Execution of > /var/www/html/network/software/channels/manage/index.pxt failed at Fri Jan 30 > 13:48:55 2009: user_role_acl_test called with no $pxt->user authenticated at > /usr/lib/perl5/site_perl/5.8.8/RHN/Access.pm line 60. > [Fri Jan 30 13:48:55 2009] [error] config web.disallowed_mail_domains not in > master config list in PXT::Config at > /usr/lib/perl5/site_perl/5.8.8/PXT/Config.pm line 163. > [Fri Jan 30 13:48:56 2009] [error] Traceback sent to r...@localhost at > /usr/lib/perl5/site_perl/5.8.8/PXT/ApacheHandler.pm line 729. > [Fri Jan 30 13:48:56 2009] [error] Exception raised in navi dynamic child, > continuing on... at /usr/lib/perl5/site_perl/5.8.8/Sniglets/Navi/Node.pm line > 115. > [Fri Jan 30 13:48:56 2009] [error] Exception raised in navi dynamic child, > continuing on... at /usr/lib/perl5/site_perl/5.8.8/Sniglets/Navi/Node.pm line > 115. > [Fri Jan 30 13:48:56 2009] [error] Exception raised in navi dynamic child, > continuing on... at /usr/lib/perl5/site_perl/5.8.8/Sniglets/Navi/Node.pm line > 115. > [Fri Jan 30 13:48:56 2009] (15383) Apache2::SizeLimit httpd process too big, > exiting at SIZE=507924 KB SHARE=12804 KB REQUESTS=16 LIFETIME=17 seconds > [Fri Jan 30 13:51:41 2009] [notice] caught SIGTERM, shutting down > > ######################################################### > Changes made to configurations: > Shut down selinux > http and oracle need policies added: > > #============= httpd_t ============== > allow httpd_t auditd_log_t:dir search; > allow httpd_t file_t:dir search; > allow httpd_t user_home_t:dir search; > #============= oracle_sqlplus_t ============== allow oracle_sqlplus_t > file_t:dir search; > > To install the policies: > cd /etc/selinux/targeted/policy/ > cat /var/log/audit/audit.log | audit2allow -m local > local.te checkmodule -M > -m -o local.mod local.te semodule_package -i local.pp > > Tomcat: > > chown .R tomcat:tomcat ~tomcat > chmod g+w /etc/tomcat5/context.xml > chgrp tomcat /etc/tomcat5/context.xml > In /etc/tomcat5/tomcat5.conf > Change JAVA_HOME: > JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre > Change LD_LIBRARY_PATH in /etc/tomcat 5.conf for Oracle XE 10g: > export LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib > > cp /usr/share/doc/tanukiwrapper-3.2.1/ /etc/tomcat/wrapper.conf Edit > wrapper.conf > Add: > wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar > wrapper.java.classpath.3=/usr/share/tomcat5/bin/bootstrap.jar > wrapper.java.classpath.4=/usr/share/tomcat5/bin/commons-logging-api.jar > wrapper.java.library.path.1=/usr/lib64/gcj/tomcat5:/usr/lib64 > (next two lines are one) > wrapper.java.additional.1=-Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed > :/var/lib/tomcat5/common/lib > wrapper.java.additional.2=-Dcatalina.base=/usr/share/tomcat5 > wrapper.java.additional.3=-Dcatalina.home=/usr/share/tomcat5 > wrapper.java.additional.4=-Djava.io.tmpdir=/usr/share/tomcat5/temp > wrapper.java.additional.5=-d64 > wrapper.java.additional.6=-server > wrapper.java.additional.7=-Xincgc > wrapper.java.additional.8=-Xms128m > wrapper.java.additional.9=-Xmx512m > wrapper.java.additional.10=-Xss256m > wrapper.java.additional.11=-XX:MaxPermSize=256m > wrapper.app.parameter.1=org.apache.catalina.startup.Bootstrap > wrapper.app.parameter.2=1 > wrapper.app.parameter.3=start > wrapper.app.parameter.4=org.apache.catalina.startup.Bootstrap > wrapper.app.parameter.5=true > wrapper.app.parameter.6=1 > wrapper.app.parameter.7=stop > wrapper.logfile=/var/log/tomcat5/wrapper.log > > After this, edit /etc/init.d/tomcat to add the following lines after the > tomcat config is obtained: > WRAPPER_CMD="/usr/sbin/tanukiwrapper" > WRAPPER_CONF="/etc/tomcat5/wrapper.conf" > > > Oracle XE 10g: > If the default http management port needs to be changed, that can be done as > follows: > SQL> -- set http port and ftp port > SQL> begin > 2 dbms_xdb.sethttpport('80'); > 3 dbms_xdb.setftpport('2100'); > 4 end; > 5 / > SQL> -- get current status > SQL> select dbms_xdb.gethttpport as "HTTP-Port" > , dbms_xdb.getftpport as "FTP-Port" from dual; > >>From <http://daust.blogspot.com/2006/01/xe-changing-default-http-port.html > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list -- Justin Sherrill, RHCA 1801 Varisty Drive. Software Engineer Raleigh, NC 27603 Red Hat, Inc. _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
