Cannot initialize CGI exec subsystem - Sun ONE Web Server 6.1
Hello,
I have a problem connecting to a running admin server on Solaris 9. Startup is as follows:
(error log)
[12/Mar/2004:11:06:43] info ( 2579): CORE1116: Sun ONE Web Server 6.1 B08/22/2003 12:37
[12/Mar/2004:11:06:43] info ( 2580): CORE3016: daemon is running as super-user
[12/Mar/2004:11:06:47] info ( 2580): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1_03] from
[Sun Microsystems Inc.]
[12/Mar/2004:11:06:49] info ( 2580): WEB0100: Loading web module in virtual server [vs-admin] at [/admin-
app]
[12/Mar/2004:11:06:56] info ( 2580): HTTP3072: [LS ls1] http://lab1:84 ready to accept requests
[12/Mar/2004:11:06:56] info ( 2580): CORE3274: successful server startup
Then, when I try to connect to it with the browser it results with an error:
[12/Mar/2004:11:09:31] failure ( 2580): cgi_init reports: HTTP4047: could not initialize CGI subsystem (Cgistub path ../../bin/https/bin/Cgistub), err fork() failure [Not enough space]
[12/Mar/2004:11:09:31] failure ( 2580): for host 10.101.12.146 trying to GET /https-admserv/bin/index, cgi_start_exec reports: HTTP4066: cannot initialize CGI exec subsystem
What is the meaning of '...not enough space' ?
The port itself is still listening:
*.84 *.* 0 0 49152 0 LISTEN
I must add that the server itself has been already successfully installed, ealier tests with the admserv were fine. But all of a sudden I can't get rid of this error, I made no changes except several reboots.
Regards Nick
Hello trejo.cj,
space in /tmp seems not to be the problem:
! root@lab1:/tmp# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 479872 99067 332818 23% /
/dev/dsk/c0t0d0s6 4031059 986895 3003854 25% /usr
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t0d0s4 1984564 1250344 674684 65% /var
swap 43168 16 43152 1% /var/run
swap 59064 15912 43152 27% /tmp
/dev/dsk/c0t0d0s5 8063580 4078907 3904038 52% /opt
/dev/dsk/c0t0d0s7 15119586 3999501 10968890 27% /export/home
ls -la /tmp
prw-r----- 1 cics cics 0 Mar 16 12:00 .LAB1REG.fifo
drwxrwxr-x 2 root root 104 Mar 16 11:28 .X11-pipe
drwxrwxr-x 2 root root 104 Mar 16 11:28 .X11-unix
drwx--x--x 2 cics cics 106 Mar 16 12:10 EFC1385
drwx--x--x 2 Slab1 cics 106 Mar 16 12:00 EFS945
drwx------ 2 netlife netlife 264 Mar 16 11:56 https-admintool-9d93b4d6
drwx------ 2 root other 207 Mar 16 11:54 https-admserv-9d93b4d6
drwx------ 2 netlife netlife 162 Mar 16 11:54 https-btv-9d93b4d6
-r--r--r-- 1 root root 0 Mar 16 11:28 llbdbase.dat
-rw-r--r-- 1 root other 0 Mar 16 11:52 lock.https-admintool.84
-rw-r--r-- 1 root other 0 Mar 16 11:52 lock.https-admserv.84
-rw-r--r-- 1 root other 0 Mar 16 11:52 lock.https-btv.84
! root@lab1:/tmp# cd https-admintool-9d93b4d6
! root@lab1:/tmp/https-admintool-9d93b4d6# ls -la
srwxrwxrwx 1 netlife netlife 0 Mar 16 11:56 .cgistub_676
srwxrwxrwx 1 root other 0 Mar 16 11:54 iwsadmin.675
-rw-r--r-- 1 root other 720896 Mar 16 12:05 iwsstats.https-admintool
srwxr-xr-x 1 root other 0 Mar 16 11:54 iwswatchdog.674
The file iwsstats.https-admintool is a binary. Are there any hints inside why the server gives this error? If yes, can it be displayed?
I my case I have installed a virtual server named admintool, this is owned by user netlife.
Now I changed in the Server Manager in the CGI settings > Listen Sockets the info about CGI user and CGI group according to the netlife user.
Right now it works, so I will watch out for further occurences.
Nick
Similar Messages
-
"Cannot find FacesContext" deploying to Sun ONE Web Server 6.1
I got this when trying to
deploy to Sun ONE Web Server 6.1:
[29/Sep/2004:15:16:15] failure ( 1512): for host 127.0.0.1 trying to GET /test/Page1.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
javax.servlet.ServletException: Cannot find FacesContext
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
at jsps.Page1_jsp._jspService(_Page1_jsp.java:1131)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:667)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
----- Root Cause -----
javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:399)
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
at jsps.Page1_jsp._jspService(_Page1_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:667)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:447)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
I already deploy successfully to Tomcat 5 and (of course) PE 8. The common denominator with the same problem on OC4J is that both servers are j2ee 1.3 (even if Sun One runs with JVM 1.4).
I copy the jstl 1.0 jars to some directory and enter such directory in the classpath suffix of JVM.
Do Im missing something?
TIAHello,
Try the following:
After deploying the WAR file, by hand, add a sun-web.xml file to
the deployed path in WEB-INF and make sure classloader delegate is set to false.
<class-loader delegate="false"/>
Now the bundled libs will be considered first.
(After building the project, see a sample sun-web.xml
in the build/WEB-INF folder - change Project view to Filesystem
view, by right-click on the Project top-level node in the Project
Navigator)
You may need to include JSF jars in the WAR file by
modifying the JSF Support library reference (mounted
by default in the Project Navigator) by enabling all
libraries for deployment)
John
JSC QA -
Error when starting Sun ONE Web Server 6.1SP4 after successful installation
I have installed Sun ONE Web Server 6.1SP4 on my Solaris computer and I receive the following error when I try to start the Admin server:
Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
failure: CORE3170: Configuration initialization failed: Error running init funct
ion load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed
(ld.so.1: webservd: fatal: relocation error: file /opt/SUNWwbsvr/bin/https/lib/
libares3.so: symbol __res_state: referenced symbol not found)
I am running Solaris 8 and I have installed Patch 108993-22 as stated in chapter 2 of the installation and migration guide. I have also installed patches 116602-01, 115827-01, 113648-03, 112396-02, 111317-05, 111310-01, 111111-04, 111023-03, 110386-03, 108987-15, and 108528-24 since they are necessary for patch 108993-22.
I have been stumped by this error. I have tried several different ways to install this software but I always get the same error. I believe that I have the latest version of the Sun One Web Server and I received no error notifications when I installed it! Any help would be apeciated!
Thanks!!!!!I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date. -
How do you get Sun One Web Server to read white spacing in a url
Hi guys,
I am currently using Sun One Web Server and this is the problem that i am currently facing.
The url which is i am trying to read from the Sun One Web Server is http://test:8000/test/Testing%20A%20B
The error which i am getting is java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path
The reason why this is happening is because the original url is http://test:8000/test/Testing A B It has spacing in between the url. I cannot get rid of the spacing thru the code where its bound to a Content Management System. So the only way is to get the Sun One Web Server to be able to read this kind of url. There are about 300 to 400 of this types of url as they are dynamically generated.
I was looking at the obj.conf and magnum.conf file to see whether i can manipulate this url to work for this situation. But with no luck.
Can anyone please let me know if they have came across this problem.
Thanks.Hi,
This is the stack Trace:
Error 500--Internal Server Error
java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:329)
at au.com.holden.web.mvc.ViewUtil.getInputModelAndView(ViewUtil.java:29)
at au.com.holden.web.mvc.navigation.ModelNavigationController.handleNoSuchRequestHandlingMethod(ModelNavigationController.java:17)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:375)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parseHierarchical(URI.java:3066)
at java.net.URI$Parser.parse(URI.java:3024)
at java.net.URI.(URI.java:578)
at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:326)
... 26 more
This is the path which was access by me using Sun One Web Server: http://poll:8006/models/Sportwagon/Sportwagon%20SS%20V-Series
As you can see that Sun One Web Server dont like spacing between url.
Does anyone know how to fix this problem thru configuration in Sun One Web Server? -
Problems with Sun One Web Server 6.1 with SP1
I get errors while compiling my JSP files on SUN one Web Server which is deployed on Solaris 9. it states that cannot compile JSP pages. here is the stack trace that i get.
[03/Feb/2007:19:11:17] warning ( 354): CORE3283: stderr: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
[03/Feb/2007:19:11:17] warning ( 354): CORE3283: stderr: at org.apache.jasper.compiler.SunJava14Compiler$JavacTask.run(SunJava14Compiler.java:207)
[03/Feb/2007:19:11:17] failure ( 354): for host 192.168.123.2 trying to GET /reports1/jsp/common/ClientInstall.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)Please help. The Java version i am using is j2sdk1.4.2_08.It looks like the Web Server has somehow been configured to use a JRE. Web Server requires a JDK. The following message in particular indicates that a JRE, not a JDK, is being used:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainAre you using the JDK that shipped with Web Server, or did you attempt to configure Web Server to use a different JDK?
-
Deploying servlets in the Sun One Web Server 6.1
Friends, Please let me know how to deploy servlets in the Sun One Web Server 6.1.
Thanks in advance,
Madan.You cannot get that behavior.
When an SSL client and server negotiate the connection, the client sends a list of all the cipher suites it supports. From that list the server will pick the most secure cipher suite which it also supports (if the server doesn't support any of the cipher suites proposed by the client, the connection establishment will fail).
RC4 (128bit) is more secure than 3DES (112 bit). Thus, a server will never pick 3DES above RC4_128 if both are valid options (i.e. when both client and server support both). If you really wanted to force use of 3DES you need to disable RC4_128 in the server (or all the clients; or both). -
Sun one web server 6.0 admin instance
Hi,
After installing Sun one web server 6.0 sp6 on HP-UX, the admin server instance seems to work fine (i.e. I can bring up the admin web page). However, I cannot bring up web page from other web server instance. it gives me this error "the page cannot be displayed". Am I supposed to get a default webpage from this web server? How can I tell if this web server is working properly? Please help.
thanks,
PaulHi,
thanks for your prompt reply Joe. No, I don't get anything in the access log but I got some error messages in error log. It looks like the error indicates the web server crashed. Please help. I've been struggling to get this web server running and it's going nowhere.
"[24/Dec/2003:08:40:19] catastrophe ( 8291): Server crash detected (signal SIGBUS)
[24/Dec/2003:08:40:19] info ( 8291): Crash occurred in NSAPI SAF NSServletNameTrans
[24/Dec/2003:08:40:26] failure ( 8290): Child process admin thread is shutting down
[24/Dec/2003:08:40:26] info ( 8326): Installing a new configuration
[24/Dec/2003:08:40:26] info ( 8326): [LS ls1] http://hpusam20, port 1040 ready to accept requests
[24/Dec/2003:08:40:26] info ( 8326): A new configuration was successfully installed
[24/Dec/2003:08:40:26] warning ( 8326): Port directive ignored
[24/Dec/2003:08:40:26] warning ( 8326): The server configuration may require more file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system hard file descriptor limit from 1024 to 5763 (see your operating system documentation) or decrease one or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf." -
How do I configure a Sun One Web Server 6.1 to run JSP pages
I have a Sun One Web server version 6.1 running on Solaris 10.
The web server is not configured to run JSP pages. When I try and run a JSP page, I get an HTTP 405 error.
Can somebody please point me to the configuration directions, including changes to the obj.conf, magnus,.conf, etc.
ThanksWeb Container is enabled by default.
Here are my config files
$tail -1 magnus.conf
Init fn="load-modules" shlib="/export2/ws6.1sp11/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"$cat obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/export2/ws6.1sp11/ns-icons" name="es-internal"
NameTrans fn="document-root" root="$docroot"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
Service method="TRACE" fn="service-trace"
Error fn="error-j2ee"
AddLog fn="flex-log" name="access"
</Object>
<Object name="j2ee">
Service fn="service-j2ee" method="*"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi" user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>JAVA settings in server.xml:
<JAVA classpathsuffix="" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1" envclasspathignored="true" javahome="/export2/ws6.1sp11/bin/https/jdk" nativelibrarypathprefix="" serverclasspath="/export2/ws6.1sp11/bin/https/jar/webserv-rt.jar:${java.home}/lib/tools.jar:/export2/ws6.1sp11/bin/https/jar/webserv-ext.jar:/export2/ws6.1sp11/bin/https/jar/webserv-jstl.jar:/export2/ws6.1sp11/bin/https/jar/ktsearch.jar">
<JVMOPTIONS>-Djava.security.manager</JVMOPTIONS>
<JVMOPTIONS>-Djava.security.policy=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/server.policy</JVMOPTIONS>
<JVMOPTIONS>-Djava.security.auth.login.config=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/login.conf</JVMOPTIONS>
<JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
<JVMOPTIONS>-Xmx256m</JVMOPTIONS>
<SECURITY anonymousrole="ANYONE" audit="false" defaultrealm="native">
<AUTHREALM classname="com.iplanet.ias.security.auth.realm.file.FileRealm" name="file">
<PROPERTY name="file" value="/export2/ws6.1sp11/https-alamanac.india.sun.com/config/keyfile"/>
<PROPERTY name="jaas-context" value="fileRealm"/>
</AUTHREALM>
<AUTHREALM classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm" name="native">
<PROPERTY name="jaas-context" value="nativeRealm"/>
</AUTHREALM>
<AUTHREALM classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm" name="ldap">
<PROPERTY name="directory" value="ldap://localhost:389"/>
<PROPERTY name="base-dn" value="o=isp"/>
<PROPERTY name="jaas-context" value="ldapRealm"/>
</AUTHREALM>
<AUTHREALM name="solaris" classname="com.iplanet.ias.security.auth.realm.solaris.SolarisRealm">
<PROPERTY name="jaas-context" value="solarisRealm"/>
</AUTHREALM>
</SECURITY>
<RESOURCES>
</RESOURCES>
</JAVA> -
How to enable fastcgi on sun one web server 6.1 SP6
Hi, all
I fail to install fastcgi on sun one web server 6.1 SP6. When i access php page, the following errors are displayed in error log.
[18/Oct/2006:14:08:45] failure (21781): for host x.x.x.x trying to GET /chkwww.php, responder-fastcgi reports: FCGI1062: Stat failure
[18/Oct/2006:14:08:45] failure (21781): for host x.x.x.x trying to GET /chkwww.php, responder-fastcgi reports: FCGI1073: Unable to service the request even after trying 0 times
The following is the environment:
Web Server path: /i03_01/SUNWebSP6
PHP 4.4.2 installation path: /i03_01/php-fcgi
PHP library path: /i03_01/php-lib
PHP configuration: ./configure prefix=/i03_01/php-fcgi enable-fastcgi with-mysql=/i03_01/tmp/mysql-standard-4.1.12-sun-solaris2.8-sparc enable-mbstring=all enable-mbregex enable-exif with-gd with-png-dir=/i03_01/php-lib with-zlib-dir=/i03_01/php-lib with-jpeg-dir=/i03_01/php-lib with-t1lib=/i03_01/php-lib with-freetype-dir=/i03_01/php-lib
libfastcgi.so path: /i03_01/SUNWebSP6/bin
The following is my configuration:
In mime.types, add this line at the bottom:
type=magnus-internal/fastcgi exts=php,php3,php4
In magnus.conf, add this line at the bottom:
Init fn=load-modules shlib="/i03_01/SUNWebSP6/bin/libfastcgi.so"
In obj.conf, add these lines at the top.
<Object name="default">
Service type="magnus-internal/fastcgi"
fn="responder-fastcgi"
app-path="/i03_01/php-fcgi/bin/php"
min-procs="1"
app-env="PHP_FCGI_CHILDREN=1"
app-env="PHP_FCGI_MAX_REQUEST=200"
app-env="PHPRC=/i03_01/SUNWebSP6/https-www/config"
</Object>
Anyone can help me? Thanks.
Message was edited by:
polyuitjerryStat failure is caused when either Fastcgistub or app-path is not accessible.
Is "Fastcgistub" executable too in /i03_01/SUNWebSP6/bin directory ? If not, then copy it to that directory. Make sure it has exec permission.
Do you see Fastcgistub process ? If yes, then check the app-path (/i03_01/php-fcgi/bin/php). Is it accessible ?
And also, check "Fastcgistub.log" file under <webserver-temp-dir> directory for any error msgs. -
IPlanet migration failure for Sun One Web server 6.1SP6
Recently we downloaded the Sun One Web server 6.1SP6 and we are having problem trying to upgrade our current version. We have been able to install the package and get the admin console running but we can not migrate the current instances across to the new version. We can successfully choose an instance to migrate however once we click the migrate button, absolutely nothing happens in the browser and nothing can be seen in any error logs and truss indicates a read of a pipe going nowhere, after which the cgi stub terminates.
We are migrating from
iPlanet-WebServer-Enterprise/6.0SP5 B10/31/2002 16:22
to
CORE1116: Sun ONE Web Server 6.1SP6 B05/07/2006 12:33well, it is good that you have considered to upgrade considering 6.0 Sp5 has been EOL'ed for some time now.
here is the url that describes migrating to 6.1 from 6.0
http://docs.sfbay/app/docs/doc/819-6514/6n8h9dr61?a=view
now, if you are still having issues with migration using GUI, you can provide us the admin server error logs or call Sun tech support (if you have support contract) to help you with this. -
Cant start Sun ONE Web Server 6.1SP10
Hi,
Running SP8 have no issues. But when I upgrade to SP10, my webserver wont start. Here are the details.
Sun ONE Web Server 6.1SP10 B09/04/2008 10:26
failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed (A file or directory in the path name does not exist.)
Launching browser....
The file mention is even there.
# ls -lt /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so
-rwxr-xr-x 1 root system 306414 Jun 14 2007 /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so
Appreciate all your inputs. Thanks.I just now installed Web Server 6.1 sp10 on AIX 5.2 machine works fine both with JDK 1.5 and 1.6 :
First I ran with JDK 1.5 (version shown below)
#java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3
AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
J9VM - 20080314_17962_bHdSMr
JIT - 20080130_0718ifx2_r8
GC - 200802_08)
JCL - 20080314and then changed in https-<instance>/config/server.xml, "javahome" to point to JDK 1.6 :
<JAVA javahome="/comps/jdk/16/aix/" serverclasspath=...>The exact version of JDK 6 I used is shown below :
#/comps/jdk/16/aix/jre/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4
AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_bHdSMr
JIT - r9_20080721_1330ifx2
GC - 20080724_AA)
JCL - 20080808_02h4. oslevels
# oslevel -q;
Known Maintenance Levels
5.2.0.0
# oslevel -r
5200-02
# oslevel -r -q
Known Recommended Maintenance Levels
5200-10
5200-09
5200-08
5200-07
5200-06
5200-05
5200-04
5200-03
5200-02
5200-01
5200-00h4. How I built JDK
* Go to [http://www.ibm.com/developerworks/java/jdk/aix/service.html|http://www.ibm.com/developerworks/java/jdk/aix/service.html]
* Click on "Fix Info" link from Java 5.0 32 bit [http://www.ibm.com/developerworks/java/jdk/aix/j532/fixinfo.html|http://www.ibm.com/developerworks/java/jdk/aix/j532/fixinfo.html]
* Click on SR7 link [http://www-912.ibm.com/eserver/support/fixes/fixcentral/pseriespkgoptions/apar?fixes=IZ18002|http://www-912.ibm.com/eserver/support/fixes/fixcentral/pseriespkgoptions/apar?fixes=IZ18002] and download the JDK.
* You may have to create a soft links for sh (most probably only for Web Server 7 onwards)
# cd java-home
# ln -s bin sh
# cd jre
# ln -s bin sh* You may have to fix soft links in your JDK (especially links which point to /usr/java5/jre/bin) if your JDK is not installed on your local machine and you have copied that directory to another machine : for instance <JAVA-HOME>/bin/java should point to ../jre/bin/java rather than /usr/java5/jre/bin
* Due to [http://www.ibm.com/developerworks/forums/thread.jspa?threadID=179363&tstart=30|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=179363&tstart=30], you may have to download security policies (jre/lib/security/US_export_policy.jar and jre/lib/security/local_policy.jar)
o Go to [http://www.ibm.com/developerworks/java/jdk/security/50/#sdkpol|http://www.ibm.com/developerworks/java/jdk/security/50/#sdkpol]
o Click on "IBM SDK Policy files" link i.e. [https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk|https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk]
o Downloaded "Unrestricted JCE Policy files for SDK 1.4" from that location (after login) [http://www6.software.ibm.com/.../unrestrict142.zip|http://www6.software.ibm.com/.../unrestrict142.zip]
o Unzip unrestrict142.zip file and replace the two jars (US_export_policy.jar and local_policy.jar) in appropriate places in JDK.
Same steps for JDK 6. -
Sun ONE Web Server 6.1SP5 and Communications Express Error
I post this to the wrong forum i think i am getting this error after running the config-uwc.
Sun ONE Web Server 6.1SP5 B06/23/2005 22:22
info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
config: for host 0.0.0.0 trying to GET /, name-trans-passthrough reports: init-passthrough has not been called
info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [da]
info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [uwc]
info: WEB0110: Ignoring invalid property [allowLinking] = [true]
info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [search]
warning: CORE3283: stderr: Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/mozilla/jss/crypto/KeyGenAlgorithm
warning: CORE3283: stderr: at java.lang.Class.forName0(Native Method)
warning: CORE3283: stderr: at java.lang.Class.forName(Class.java:164)
warning: CORE3283: stderr: at com.iplanet.services.util.Crypt.createInstance(Crypt.java:133)
warning: CORE3283: stderr: at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103)
warning: CORE3283: stderr: at com.iplanet.services.ldap.LDAPUser.getPasswd(LDAPUser.java:117)
warning: CORE3283: stderr: at com.iplanet.services.ldap.ServerInstance.getPasswd(ServerInstance.java:128)
warning: CORE3283: stderr: at com.sun.identity.security.ServerInstanceAction.run(ServerInstanceAction.java:92)
warning: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
warning: CORE3283: stderr: at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:82)
warning: CORE3283: stderr: at com.sun.identity.security.AdminDNAction.run(AdminDNAction.java:86)
warning: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
warning: CORE3283: stderr: at com.sun.identity.authentication.internal.server.SMSAuthModule.initialize(SMSAuthModule.java:129)
warning: CORE3283: stderr: at com.sun.identity.authentication.internal.LoginContext.login(LoginContext.java:122)
warning: CORE3283: stderr: at com.sun.identity.authentication.internal.AuthLoginThread.run(AuthLoginThread.java:82)I reran the access manager configuration and deployed it to the web server and now the webserver starts up successfully. I think my problem was that the file I was using initially wasn't properly setup for my enviroment.
Carinus -
Unable to start Sun One Web Server 6.1 SP5 64bits on Solaris 10
Hello,
I installed the Sun One Web Server 6.1 SP5 64bits successfully on a Solaris 10 machine, but was unable to started up the web server application:
The error message is below,
# pwd
/app/SUNWwbsvr61sp5/https-admserv
# ls
ClassCache config restart SessionData stop
conf_bk logs rotate start webapps
# ./start
Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /app/SUNWwbsvr61sp5/bin/https/lib/libj2eeplugin.so failed (ld.so.1: webservd: fatal: libjvm.so: open failed: No such file or directory)
I have searched the forum and found some what similar case but it was for SP4.
Please if anyone had experienced with this please advise how to resolve this issue.
I greatly appreciated,
Thank you
Edited by: n2sun on Jun 12, 2008 10:15 AMjust check the env file for the user who is starting or running that.
say if it is cshell, you can see the following variables in the .cshrc which will be under the user's home directory
setenv JAVAHOME WS_Root/jdk
setenv LD_LIBRARY_PATH WS_Root/lib: /libnow source that file
source .cshrcthen start the webserver. -
Sun ONE Web Server 6.1SP5
Hi,
I had a absolutely working copy of sam (inherited) and for some reason today it was not authenticating (prompting for incorrect password although I was using correct uid/pwd on browser console), so I restarted the server and now I cant even go to the browser console page...
looking at the start logs following error spits off during start time:
=======================================
++ ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-dev.companyname/config -n https-dev.companyname
Sun ONE Web Server 6.1SP5 B06/23/2005 17:36
info: CORE3016: daemon is running as super-user
info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amserver]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [ampassword]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amcommon]
info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amconsole]
warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [search]
failure: WebModule[amserver]: WEB2783: Servlet /amserver threw load() exception
javax.servlet.ServletException: WEB2778: Servlet.init() for servlet LoginLogoutMapping threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
----- Root Cause -----
java.lang.NullPointerException
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
info: HTTP3072: [LS ls1] http://dev.companyname:80 ready to accept requests
startup: server started successfully
++ test 0 -ne 0
++ exit 0
=======================================
Thanks
SatOoops! it's an initialization error. There are many possible causes given the log you posted. It could be convenient if you enable message debugging so you can have a better idea of what's happening.
Some common reasons for such error:
- The dsameuser/puser password changed
- A configuration file is damaged
- Operative System permissions changed for configuration files/directories
- a File system corruption
- Something weird happened to your DS instance
I'm supposing you are ABSOLUTELY sure nobody configured wrongly the product.
Regards -
SunOne 6.1 HTTP4044 error with sun one web server cluster
use sun one web server 6.1 sp4 makeup cluster,transfer configure file have HTTP 4044 error.the /opt/SUNWwbsvr/https-admin/logs/error file message are:
failure ( 4646): for host x.x.x.x trying to POST /https-x.x.x.x/admin/clxfer, cgi_scan_headers reports: HTTP4044: the CGI program /opt/SUNWwbsvr/bin/https/admin/bin/clxfer did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
Anyone have experience with this?Hi, I am also getting the same error, can someone please help me on this.
[13/Jul/2009:05:23:21] failure ( 9574): for host X.X.X.X trying to GET /https-derivmatch/admin/security, cgi_scan_headers reports: HTTP4044: the CGI program /usr2/netscape/server61/bin/https/admin/bin/security did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
[13/Jul/2009:05:24:13] failure ( 9574): for host X.X.X.X trying to GET /https-derivmatch/admin/security, cgi_scan_headers reports: HTTP4044: the CGI program /usr2/netscape/server61/bin/https/admin/bin/security did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
Thanks a lot.
Regards,
Mallik
Maybe you are looking for
-
Photo Quality Issues with Pixma MG6220
I am frustrated. The first photo printed from this printer was of poor quality. It was very 'grainy' and 'noisey'. I printed from the printer itself (put camera card into printer). I then printed from Picasa, same problem, very poor quality. It
-
Stichwörter in Bridge CS3 im/exportieren
Guten Tag zusammen ich habe ein Problem. Wenn ich im Register "Stichwörter" das Menü aufmache, habe ich nur folgende Einträge: "Neues Stichwort - Neues Stichwortset - Umbenennen - Löschen - Suchen ...". Die Einträge "Importieren... - Leeren und Impor
-
Hw to change layout form 'X_PAPER' to 'X_65_132', Plz urgent.
Hello Friends, In Fun.Module 'GET_PRINT_PARAMETERS', i am not passing layout value, and it's taking layout = 'x_paper' but i want 'x_65_132' , where to change . i don't want to change program, i thing we can do this, default layout setting for print
-
Desktop Administrator - VoIP Monitor Error in UCCX 4.5(2) Server
When i run the desktop administrator and then select the VoIP Monitor under the Enterprise Data Configuration, i got this pop up message "Could not get devices from Sync Service". Then, i click "OK" and the "Default VoIP Monitor Server" filed got dim
-
Error while compiling View.
.