Multiple LV instances, web server cannot start, port already in use

Hi there,
I have a general question about webserving VIs in case either
a) multiple instances of the LV development environment are running (this is possible in windows XP for instance when "switch users" is allowed and each user launches LV)
b) multiple compiled LV executables are run by the same user
c) any mixture of the two above
I have an application case when either of the three above would be a very good solution, was not for the problem encountered. Say, b): the user is given two deployed executables, and can decide to run either or both concurrently. Moreover, I want these applications to be visible on the web, so they are compiled with the webserver turned on, default settings.
The problem I've seen (LV8.5.1, winXp for sure, but I think I've seen it as well in linux and other versions as well) is that each new instance of the LV engine tries to get hold of the tcp port (default 80), so that all instances beyond the first complain about "The Web Server cannot start. Is the Web Server port already in use?"
While I can understand the origin of the message, and found some posts on the forums somehow related to it, I don't like it too much. 
I could think only of two workarounds here: 1) set different web server ports for each LV instance, and instruct the remote users to direct their browsers to a webserverort link to access each VI; 2) run all the applications from the same instance of the LV dev system. The latter is not so convenient for me, due to conflicts in global VIs between all instances of the applications [compiling executables IS a way to privatize memory spaces in this case, AND global variables are imho well justified for the fairly complex application I have in mind here].
Is there a third, more elegant solution perhaps, which I'm missing?
Thanks, Enrico

NathanK wrote:
What is it in particular that you dislike about the message?
How would you like LabVIEW to behave in this case?
No problem with the message, but I'd just be very happy if a single
web server would serve all my instances of the executables on the same
port. I.e., if 2.exe is open and wants to start another server on the
same port used already by 1.exe, then 2.exe becomes served by the
server already opened. Am I demanding too much? Am I missing some
necessary logic?
At the moment, anyway, I'm stuck with the vi being served correctly,
but not the compiled application, and I can't figure out why. It's
LV8.5.1, and yes, I have in the .ini
WebServer.DirectoryIndex="index.htm"
WebServer.LogPath=C:\Program Files\National Instruments\LabVIEW 8.5\www.log
WebServer.MimeTypes="htm;text/html;gif;image/gif;j​pg;image/jpeg;png;image/png;txt;text/plain;html;te​xt/html;jpeg;image/jpeg;css;text/css;llb;applicati​on/x-labview-llb;vi;application/x-labview-vi;doc;a​pplication/msword;dot;application/msword;bin;appli​cation/octet-stream;exe;application/octet-stream;r​tf;application/rtf;pdf;application/pdf;ai;applicat​ion/postscript;eps;application/postscript;ps;appli​cation/postscript;csh;application/x-csh;gtar;appli​cation/x-gtar;gz;application/x-gz;sh;application/x​-sh;tar;application/x-tar;zip;application/zip;hqx;​application/mac-binhex40;ua;audio/basic;wav;audio/​wav;tif;image/tiff;tiff;image/tiff;xbm;image/x-xbi​tmap;rtx;text/richtext;qt;video/quicktime;mov;vide​o/quicktime;avi;video/x-msvideo;movie;video/x-sgi-​movie;aif;audio/aif;aifc;audio/aif;aiff;audio/aif;​aim;application/x-aim;dif;video/x-dv;div;video/x-d​v;js;application/x-javascript;pntg;image/x-macpain​t;xlb;application/vnd.ms-excel;xls;application/vnd​.ms-excel;ppa;application/vnd.ms-powerpoint;ppt;ap​plication/vnd.ms-powerpoint;pps;application/vnd.ms​-powerpoint;pot;application/vnd.ms-powerpoint;pwz;​application/vnd.ms-powerpoint;mid;audio/mid;midi;a​udio/mid;enc;video/mpeg;m1v;video/mpeg;mp2;video/m​peg;mpa;video/mpeg;mpe;video/mpeg;mpeg;video/mpeg;​mpg;video/mpeg;psd;image/x-photoshop;bmp;image/bmp​;pic;image/pic;ra;audio/vnd.rn-realaudio;rf;image/​vnd.rf-realflash;rm;application/vnd.rn-realmedia;r​p;image/vnd.rn-realpix;ram;audio/x-pn-realaudio;rm​m;audio/x-pn-realaudio;rnx;application/vnd.rn-real​player;rt;text/vnd.rn-realtext;rv;video/vnd.rn-rea​lvideo;smi;application/smil;ssm;application/stream​ingmedia;sithqx;application/mac-binhex40;sit;appli​cation/x-stuffit"
WebServer.Port=80  [### or 8000]
WebServer.Enabled=True
WebServer.RootPath=C:\Program Files\National Instruments\LabVIEW 8.5\www
WebServer.TcpAccess="c+*"
WebServer.ViAccess="+*"
 [hints welcome here]. That is, I'm at the moment unable to use even my workaround 1 above.
Enrico

Similar Messages

  • How can I make the web server work on port 80 and not 443. I can only access my website using https.

    On a Mac Mini server with OS X Lion 10.7.2, I am unalbe to get the web server working on port 80. It switches automatically to port 443 (https).
    This situation complicates the access to FileMaker Web publishing, as I don't want my clients having to use https.
    How can I change that? Does anyone know?
    Thanks for any reply

    in the server: I checked the SSL certificate. Tried several configuration.
    Well, that's a problem for a start.
    Your port 80 connection should NOT use SSL. Port 80 is the standard HTTP port, not HTTPS and most applications that connect to port 80 will not expect to use SSL
    If you want to run a site under both HTTP and HTTPS then you create two sites, one on port 80 without SSL and one on port 443 with SSL

  • Rmiregistry: Port already in use error

    Hi,
    I'm running the following comand to start a registry service listening on port 1099. I'll start and stop it several times with control-C and everything will work fine but if I do this a few times, it will get to the point that when I try to start it again I get a message
    saying the port is already in use(but I killed the service). Is there a way to start and stop the rmiregistry several times without it getting hung? I'm sure if you get into a production issue with this you need a way to get around it? Besides using the proper command, what can you do to free up a port? Note, I also noticed that netstat shows multiple entries listening on port 1099! Was this from re-trying the command when it failed or from the times that it was successful? Any help appreciated.
    Thanks,
    Peter
    C:\>rmiregistry -J-Djava.security.policy=C:\jdk1.3.0_02\jre\lib\security\pkjava2.policy
    java.rmi.server.ExportException: Port already in use: 1099; nested exception
    is:
    java.net.BindException: Address in use: JVM_Bind
    java.net.BindException: Address in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
    at java.net.ServerSocket.<init>(ServerSocket.java:173)
    at java.net.ServerSocket.<init>(ServerSocket.java:85)
    at
    sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:30)
    at
    sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:312)
    at
    sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:559)
    at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:200)
    at
    sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:172)
    at
    sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
    at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
    at
    sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:125)
    at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:95)
    at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:81)
    at sun.rmi.registry.RegistryImpl.main(RegistryImpl.java:320)
    C:\>netstat -a
    Active Connections
    Proto Local Address Foreign Address State
    TCP reminetopk:135 0.0.0.0:0 LISTENING
    TCP reminetopk:135 0.0.0.0:0 LISTENING
    TCP reminetopk:1028 0.0.0.0:0 LISTENING
    TCP reminetopk:1030 0.0.0.0:0 LISTENING
    TCP reminetopk:1032 0.0.0.0:0 LISTENING
    TCP reminetopk:1033 0.0.0.0:0 LISTENING
    TCP reminetopk:1099 0.0.0.0:0 LISTENING
    TCP reminetopk:1099 0.0.0.0:0 LISTENING
    TCP reminetopk:1099 0.0.0.0:0 LISTENING
    TCP reminetopk:1409 0.0.0.0:0 LISTENING
    TCP reminetopk:1893 0.0.0.0:0 LISTENING
    TCP reminetopk:1972 0.0.0.0:0 LISTENING
    TCP reminetopk:2026 0.0.0.0:0 LISTENING
    TCP reminetopk:2359 0.0.0.0:0 LISTENING
    TCP reminetopk:2367 0.0.0.0:0 LISTENING
    TCP reminetopk:2369 0.0.0.0:0 LISTENING
    TCP reminetopk:7318 0.0.0.0:0 LISTENING
    TCP reminetopk:8082 0.0.0.0:0 LISTENING

    I have exactly the same problem. At first it was happening with the use of the "rmiregistry" command, but now my code creates the registry using registry = LocateRegistry.createRegistry(port) and I end up with the same problem.
    I too end up with (typically) 3 listening sockets (as reported by netstat), that don't seem to be owned by any processes. So without a process to kill, the only way to get rid of them is to reboot.

  • Tomcat Servlet - TCP Port Already in Use?

    My problem is that tomcat/servlet is not releasing its TCP port after my servlet closes the port. Next time a servlet tries to use the port it gets an error "Port already in use". Using netstat I can see the port is still in use. If I stop tomcat and restart it, the port is released. I have not had this sort of problem writing C programs that use sockets.
    My setup is Fedora Core 6 with JDK1.5_14 and Tomcat 5.5.26. I know it's not the latest, but sockets and streams have been around for a long time.
    Actual implementation uses a trivial javaserver page to instantiate a class to create/accept connection from a client (JApplet). After connection, it starts a thread to receive data. I am using ServerSocket(), InputStreamReader(), and OutputStreamWriter(). On ServerSocket I set ReuseAddress to true.
    I have try/catch on all my I/O and use tomcat context log for error and OK messages. Data transfer is perfect. Detect close by client works. In the context log I see close of streams and ServerSocket occur with no exceptions. Then, I manually close the jsp window. No indication of any problems. If I use different port 2nd time (e.g. 50001) it all works perfect. If I use my default (50000) again, servlet gets an error during bind, "Port already in use".
    2.5 years with Java. 5 years with Linux and C.
    Please advise or refer

    rwengr wrote:
    My problem is that tomcat/servlet is not releasing its TCP port after my servlet closes the port. Next time a servlet tries to use the port it gets an error "Port already in use". Using netstat I can see the port is still in use. If I stop tomcat and restart it, the port is released. I have not had this sort of problem writing C programs that use sockets.Nice.... Not sure that matters though.
    >
    My setup is Fedora Core 6 with JDK1.5_14 and Tomcat 5.5.26. I know it's not the latest, but sockets and streams have been around for a long time.
    Actual implementation uses a trivial javaserver page to instantiate a class to create/accept connection from a client (JApplet). Bleah! Don't use a JSP for that. Use a servlet at worst. At best use a Servlet to start some other socket manager class which you can/have tested outside the Servlet Container environment.
    After connection, it starts a thread to receive data. I am using ServerSocket(), InputStreamReader(), and OutputStreamWriter(). On ServerSocket I set ReuseAddress to true.
    I have try/catch on all my I/O and use tomcat context log for error and OK messages. Data transfer is perfect. Detect close by client works. In the context log I see close of streams and ServerSocket occur with no exceptions. Then, I manually close the jsp window. Closing the browser window has no affect on the server.
    No indication of any problems. If I use different port 2nd time (e.g. 50001) it all works perfect. If I use my default (50000) again, servlet gets an error during bind, "Port already in use".
    2.5 years with Java. 5 years with Linux and C.
    Please advise or referShow some code. If you just want some generic advice it would be to close the port, as soon as you don't need it anymore. But you know that. Without any further code I think that is about all that can be said.
    P.S. Make the code as small as possible, compilable, but still demonstrating the problem. Also see: [this tutorial as an example...|http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html?page=1]

  • HTTP Server : Socet name is already in use ?

    Hi all,
    I am using workflow server 2.6.4
    While trying to start the instances workflow component container for work flow manager, it is showing the followin error
    "HTTP Server : Socet name is already in use "
    What might be reason?
    Thanks in advance.
    Thank you,
    Regards,
    Gowtham Sen.

    I�m sorry. I just realized that this is not the right place for this post.
    But if anyone has an answerer for it would be great.
    H-i-J

  • Soap port already in use (856B) GW 703

    Anyone run into this problem where if you have multiple POA's on single server and if you enable SOAP to use default port of 7191 on both POA's, one or other POA complains about "soap port already in use (856B)" and shuts down that POA.
    BES doesn't seem to have option for add'l port number assignments? Or is there a workaround to allow both POA's to listen on same port number?
    Any help is greatly appreciated!
    Thanks

    On Tue, 22 Sep 2009 13:36:02 +0000, josejimenez wrote:
    > Anyone run into this problem where if you have multiple POA's on single
    > server and if you enable SOAP to use default port of 7191 on both POA's,
    > one or other POA complains about "soap port already in use (856B)" and
    > shuts down that POA.
    Makes sense. You can't run multiple services on the same server using
    the same IP address and port.
    > Or
    > is there a workaround to allow both POA's to listen on same port number?
    Use multiple IP addresses and bind each POA to a specific IP.
    Joe Marton
    Novell Knowledge Partner
    SUSE Linux Enterprise 11 is ready for action.

  • Web cahce cannot start

    I failed to start web cache on solaris.
    Some info in log:
    04/Sep/2001:17:54:41 -0500 -- Error: Could not increase number of file/socket descriptors to 1050.
    04/Sep/2001:17:54:41 -0500 -- Error: Failed to start the server.
    Does anyone give a suggestion?
    Thanks
    Eric

    See section 5 of the v2.0.0.0 or v2.0.0.1 readme. It says:
    5.0 Connection Limitations
    5.1 Unix
    On most UNIX platforms there is a hard limit to how many file descriptors a process can open. This number is normally 1024 but is configurable. To be able to
    change this default to a higher one, you have to be root or run the process as root. The other way is to set the setuid bit for the process to root. The procedure for
    doing this is the same as listed below in section 10.0 "How to Configure Oracle Web Cache to Listen on Port <1024".
    In this release, Oracle Web Cache calculates the maximum number of file descriptors to be used by using the following simple formula:
    Max number of file descriptors to be used = Current Maximum Incoming Connections (specified in the webcache.xml through the Web Cache Manager
    interface) + sum of Capacity for all the configured origin Web Server instances + 20 (reserved for internal use).
    Based on the above formula the Web Cache server tries to reserve this many file descriptors at startup time. In case it fails to do so, it doesn't default to a lower
    value but logs an error message and fails to start. In case the Web Cache server fails to start because the number of file descriptors required is more that 1024,
    either run it as root or setuid the execuable to root.
    Also, always set the "Current Maximum Incoming Connections" in Web Cache Manager to reflect correctly the maximum number of clients you intend to serve
    concurrently at any given time. The value should not be set to an arbitrary high value, as Web Cache sets aside some resources for each and the performance
    would be adversely affected.
    5.2 Windows
    On Windows NT Server and Windows 2000, the number of file handles as well as socket handles is limited only by available kernel resources, more precisely, by
    the size of paged and non-paged pools. But the number of active TCP/IP connections is limited. In Windows NT the system starts to reuse TCP Control Blocks in
    TIME-WAIT when the number of active connections goes over 1000. Windows NT 4.0 Service Pack 3 increased this threshold to 2000.
    Windows NT Workstation is limited to 5 concurrent connections. Oracle Web Cache is not designed to run on Windows NT Workstation.

  • Problem while starting Apache Tomcat Server (Ports already in use)...

    Hi,
    I am using an Eclipse IDE for web service Client creation.. Also I have used Apache Tomcat5.5 Server inorder to run the application*...*
    While starting Tomcat Server, I am getting an error that the port numbers are already in use.
    So, I have changed the port numbers in the Server.xml file.
    But, still it is throwing the same error , even though the port numbers are not in use.
    Can any one please provide some suitable solution for this ASAP....
    I need very urgent and so please provide some solution..
    Thanks in Advance,
    roopa

    Hey...
    Did u start restarting your machine after you changed the ports..
    Is your tomcat server running perfectly after you changed the port number...
    I had a similar prob.. But i jus reinstalled both and gave different port numbers while re-installling.
    Jus give it it a try.. The ports need to be refreshed.. So try rebooting yr machine first !
    All the best !

  • Configured Oracle Web Tier, cannot start opmn

    Hi,I am new to server technologies.
    I have installed WebCenter Suite. Now I want to config OAM to use SSO. Refering to Administrator's Guide for Oracle WebCenter I should install Oracle Web Tier first.
    But when I Configured Oracle Web Tier ( address ), I cannot start opmn.
    Appreciate your help
    Best Regards,
    Sunny.Zhang
    Edited by: Sunny.Zhang on 2009-9-21 上午11:46

    Hi Sunny
    Hope you had successfully installed the WebTier. I tried 2,3 times to install it on WINDOWS SERVER 2003 but it is throwing following exception during "Create and Start OHS Component) at configuration stage. Did you get similar type of exception?
    Not sure it was due to any conflicts with any of already installed Database 11g, Web Logic, SOA Suite.
    Help is appreciated.
    Trying to Reload OPMN **************
    [2009-09-23T21:06:39.828-04:00] [as] [NOTIFICATION] [] [oracle.as.install.config] [tid: 17] [ecid: 0000IFd_KuTDwWWFLzqIOA1AigEL000008,0] *************** Executing Command **************
    [2009-09-23T21:06:39.828-04:00] [as] [NOTIFICATION] [] [oracle.as.install.config] [tid: 17] [ecid: 0000IFd_KuTDwWWFLzqIOA1AigEL000008,0] cmd /c D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\reloadOpmn1253754399828.bat
    [2009-09-23T21:06:39.828-04:00] [as] [NOTIFICATION] [] [oracle.as.install.config] [tid: 17] [ecid: 0000IFd_KuTDwWWFLzqIOA1AigEL000008,0] ***************************************************
    [2009-09-23T21:06:48.031-04:00] [as] [WARNING] [] [oracle.as.config] [tid: 17] [ecid: 0000IFd_KuTDwWWFLzqIOA1AigEL000008,0] Failed to start component WTohs1[[
    oracle.as.config.ProvisionException: HTTP status code = 204 : 0 of 1 processes started.
         at oracle.as.config.impl.OracleASComponentBaseImpl.manageProcess(OracleASComponentBaseImpl.java:892)
         at oracle.as.config.impl.OracleASComponentBaseImpl.start(OracleASComponentBaseImpl.java:1011)
         at oracle.as.install.webtiercd.webtierconfig.util.CreateComponent.createOHSComponentWrapper(CreateComponent.java:153)
         at oracle.as.install.webtiercd.webtierconfig.util.CreateComponent.createStandaloneOHSComponent(CreateComponent.java:82)
         at oracle.as.install.webtiercd.webtierconfig.actions.WebtierConfigurationAction.configureOHSStandalone(WebtierConfigurationAction.java:550)
         at oracle.as.install.webtiercd.webtierconfig.actions.WebtierConfigurationAction.configureStandalone(WebtierConfigurationAction.java:448)
         at oracle.as.install.webtiercd.webtierconfig.actions.WebtierConfigurationAction.doExecute(WebtierConfigurationAction.java:179)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:82)
         at java.lang.Thread.run(Thread.java:619)

  • Application Server cannot start after restart

    Dear all,
    I have a database cluster with SAP CI running on 2 servers(on SAN), plus 4 applications.
    Today we have restarted all the servers, and found that only 1 server with database server and application server (w/CI) can start.  All other applications servers cannot start, and in SAP Management Console, it does not show the SAP Instance.
    Another problem is that the database cluster cannot move to another server, with error:
    "initerrlog: Could not open error log file 'M:\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating system error = 3(The system cannot find the path specified.)."
    Can anyone provide any assistant?  Many thanks!
    Regards,
    Daniel

    Hi Yaroslav,
    In Application Server, Not started.
    Log(1):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: SAP Service SAP???_?? has been stopped successfully..
    Log(2):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Initialization failed. Service not started. [ntservmain.cpp 1269].
    Log(3):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Cannot open Profile
    sapgrp\sapmnt\PRD\SYS\profile\START_D21_sapapp1. (Error 53 ERROR_BAD_NETPATH: The network path was not found. ) [ntservstart.cpp 902].
    For SQL Server(The one which Cluster cannot move group to):
    Log(1):
    The description for Event ID ( 35712 ) in Source ( SAPPRD_01 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:  ,  ,  ,  ,  ,  ,  ,  ,  ,  , r, e, c, v, 1, 0, 0, 5, 4,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  , N, i, I, R, e, a, d, r, e, c, v,  ,  ,  , n, i, x, x, i, ., c, p, 4, 2, 4, 5, , , , , , , , , , , , , , , , , , , , , , , , , , ,           recv10054                   NiIReadrecv   nixxi.cp4245.
    Log(2):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: SAP Service SAP???_?? has been stopped successfully..
    Log(3):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Initialization failed. Service not started. [ntservmain.cpp 1269].
    Log(4):
    The description for Event ID ( 0 ) in Source ( SAP???_?? ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Cannot open Profile
    sapgrp\sapmnt\PRD\SYS\profile\START_D20_sapdb2. (Error 53 ERROR_BAD_NETPATH: The network path was not found. ) [ntservstart.cpp 902].
    Regards,
    Daniel

  • Web Cache cannot start

    Hi!
    Tried to start my Web Cache using opmnctl I get the following error on $ORACLE_HOME/webcache/logs/evets.log
    [10/Jun/2008:13:33:17 +0200] [notification 13002] [ecid: -] Maximum allowed incoming connections are 700
    [10/Jun/2008:13:33:17 +0200] [alert 13305] [ecid: -] Failed to assign port 443: Address already in use
    [10/Jun/2008:13:33:17 +0200] [alert 9707] [ecid: -] Failed to start the server.
    [10/Jun/2008:13:33:17 +0200] [alert 9609] [ecid: -] The server process could not initialize.
    [10/Jun/2008:13:33:17 +0200] [notification 9610] [ecid: -] The server is exiting.
    It seems as there is no traffic hitting my web cache coz there no entries on $ORACLE_HOME/webcache/access_log
    Any suggestions are welcomed.
    Thanx
    Mr Mo

    Check what is running on port 443 - as root: lsof |grep 443

  • Reports server: cannot start stand-alone servers

    I have 9iAS 9.0.2.0.1 on RedHat Linux AS. When I try to create/start a new reports server (using rwserver.sh), I get "REP-50001: Server is initializing", but it never starts. My in-process server works, but I can't create any additional servers.
    I've made the changes suggested in MetaLink Doc ID 214310.1. But, I still cannot start a stand-alone server.
    Any help is greatly appreciated.

    The problem was with vncserver. Once I started it with
    "vncserver :15 -nolisten local -httpd ${VNC}/classes -cc 3", it started up.

  • Re Post: Http server cannot start after running the following JSP

    Hi,
    I have 9iAS 1.0.2.2 and it has been working fine.
    My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
    I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
    I also check the oci.dll files, and I have the oci.dll file in the following directories:
    c:\oracle\ora81\BIN 87KB
    c:\oracle\806\BIN 38KB
    c:\oracle\iSuites\BIN 87KB
    I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
    806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
    The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
    Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
    OR
    the OCI.DLL file is corrupted in one of the above directory.
    Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
    I really appreciate if someone could give me some pointers about this.
    I also suspect that when the HTTP server was brought down for some reasons and it was not a clean shutdown.
    So how can I shutdown the http server cleanly before restarting that?
    Thanks;
    Kelly.
    <%@ page language="sqlj"
    import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
    e" %>
    <HTML>
    <HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
    <BODY BGCOLOR="white">
    <% String empno = request.getParameter("empno");
    if (empno != null) { %>
    <H3> Employee # <%=empno %> Details: </H3>
    <%= runQuery(empno) %>
    <HR><BR>
    <% } %>
    <B>Enter an employee number:</B>
    <FORM METHOD="get">
    <INPUT TYPE="text" NAME="empno" SIZE=10>
    <INPUT TYPE="submit" VALUE="Ask Oracle");
    </FORM>
    </BODY>
    </HTML>
    <%!
    private String runQuery(String empno) throws
    java.sql.SQLException {
    DefaultContext dctx = null;
    String ename = null; double sal = 0.0; String hireDate = null;
    StringBuffer sb = new StringBuffer();
    try {
    dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
    "tiger");
    #sql [dctx] {
    select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
    INTO :ename, :sal, :hireDate
    FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
    sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
    sb.append("Name : " + ename + "\n");
    sb.append("Salary : " + sal + "\n");
    sb.append("Date hired : " + hireDate);
    sb.append("</PRE></B></BIG></BLOCKQUOTE>");
    } catch (java.sql.SQLException e) {
    sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
    } finally {
    if (dctx!= null) dctx.close();
    return sb.toString();
    %>

    I had this problem and the pkgchk mentioned above helped to get the admin server going (thanks!) but I could not run the admin console. I saw:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/GNOME/Accessibility/JavaBridge (Unsupported major.minor version 49.0)
    It turned out that something (I suspect the patch) had replaced my java1.5.0_06 binary with a java1.4.2_03 binary - but left the java1.5 directory structure alone! i.e. looking in /usr/jdk would have indicated that java1.5 was installed, but when I ran jdk1.5.0_06/bin/java -version , it reported java version "1.4.2_03". I was unimpressed.
    I ended up removing all the SUNWj5* packages and reinstalling them and then I could start the admin console.
    Now to find out what other damage this patch might have caused.....

  • Http server cannot start after running the following JSP

    Hi,
    I have 9iAS 1.0.2.2 and it has been working fine.
    My http server was running fine until I ran the following Jsp. Now I cannot start the Http server at all.
    I check the Oracle home and the path and make sure they match (i.e. if my Oracle Home is iSuites, I have the PATH variable: c:\oracle\isuites\bin as the 1st one. And I reboot the system after I changed the Oracle Home, check the PATH variable etc.)
    I also check the oci.dll files, and I have the oci.dll file in the following directories:
    c:\oracle\ora81\BIN 87KB
    c:\oracle\806\BIN 38KB
    c:\oracle\iSuites\BIN 87KB
    I check the Registry (regedit) and found that I have ORACLE_HOME_KEY for ora81 home, iSuites home, but not
    806 home. And there are oracle.key files in c:\oracle\ora81\bin, c:\oracle\806\bin, c:\oracle\isuites\bin .
    The contents of oracle.key in c:\oracle\ora81\bin and c:\oracle\isuites\bin are correct (i.e. "Software\ORACLE\HOME0" "Software\ORACLE\HOME2" respectively.) However, the content in c:\oracle\806\bin is "Software\ORACLE" .
    Will this be a problem because there is no corresponding ORACLE_HOME_KEY for 806 in regedit?
    OR
    the OCI.DLL file is corrupted in one of the above directory.
    Below is the JSP code that I ran. Before that, my HTTP server is started correctly.
    I really appreciate if someone could give me some pointers about this.
    Thanks;
    Kelly.
    <%@ page language="sqlj"
    import="sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracl
    e" %>
    <HTML>
    <HEAD> <TITLE> The SQLJQuery JSP </TITLE> </HEAD>
    <BODY BGCOLOR="white">
    <% String empno = request.getParameter("empno");
    if (empno != null) { %>
    <H3> Employee # <%=empno %> Details: </H3>
    <%= runQuery(empno) %>
    <HR><BR>
    <% } %>
    <B>Enter an employee number:</B>
    <FORM METHOD="get">
    <INPUT TYPE="text" NAME="empno" SIZE=10>
    <INPUT TYPE="submit" VALUE="Ask Oracle");
    </FORM>
    </BODY>
    </HTML>
    <%!
    private String runQuery(String empno) throws
    java.sql.SQLException {
    DefaultContext dctx = null;
    String ename = null; double sal = 0.0; String hireDate = null;
    StringBuffer sb = new StringBuffer();
    try {
    dctx = Oracle.getConnection("jdbc:oracle:oci8:@", "scott",
    "tiger");
    #sql [dctx] {
    select ename, sal, TO_CHAR(hiredate,'DD-MON-YYYY')
    INTO :ename, :sal, :hireDate
    FROM scott.emp WHERE UPPER(empno) = UPPER(:empno)
    sb.append("<BLOCKQUOTE><BIG><B><PRE>\n");
    sb.append("Name : " + ename + "\n");
    sb.append("Salary : " + sal + "\n");
    sb.append("Date hired : " + hireDate);
    sb.append("</PRE></B></BIG></BLOCKQUOTE>");
    } catch (java.sql.SQLException e) {
    sb.append("<P> SQL error: <PRE> " + e + " </PRE> </P>\n");
    } finally {
    if (dctx!= null) dctx.close();
    return sb.toString();
    %>

    Hi Jim,
    I have the same environment with almost similar problem, no IIS services being started, but HTTP_Server still failed to start. Below log:
    +10/09/28 23:35:04 Start process+
    +[Tue Sep 28 23:35:06 2010] [warn] pid file c:/oracle/frhome_1/apache/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous+
    Apache run?
    ap_spawn_child: Bad file descriptor
    Couldn't fork child for piped log process
    Regards,
    Chai
    Edited by: user13350226 on Sep 28, 2010 9:14 AM

  • CNR 7.01 DHCP server cannot start

    Hi,
    I have problem with my CNR installation. DHCP server cannot be started.
    Bad id or server not loaded is reported error. Also when I try to make some changes that require reload i get this error message:
    Error code 0x8000c003 was returned while executing task ReloadDhcpServer_admin_684405.
    Does anyone get an idea on what happen, or what i made wrong ?
    Regards,
    Srdjan

    all the four machines are four containers in a solaris server.
    The problem was with the hosts file, there were not entries matching the ipaddress and the hotname.
    After i fixed it now i have a stable BI servers and cluster controllers.
    Now i configured the presentation services to connect to the BI servers but i am getting the following exception.
    Type: Error
    Severity: 42
    Time: Thu Aug 6 13:04:02 2009
    File: project/webcomm/socket.cpp Line: 892
    Properties: ThreadID-6
    Location:
    saw.rpc.client.impl.verify
    saw.rpc.client.impl.initFixedRPC
    saw.rpc.client.cluster
    saw.threads
    An error occurred during execution of "connect". Connection refused [Socket:15]
    Any idea?
    thanks

Maybe you are looking for