Sun Java System Web Server 7.0 Troubleshooting Guide

My Server Fails to Start

When your server fails to start, consider the following cases:

  1. If you have configured Web Server to run on port 80, then you will need to start the server as 'root' user on Unix/Linux. However in Solaris 10, you don't need to run the Server as root to bind to port 80 (or < 1024). Execute the following commands:

    # su
    # /usr/sbin/usermod -K defaultpriv=basic,net_privaddr webservd
  2. When you encounter server startup issue, Server's error log or console output (on UNIX/Linux platforms) should most likely contain the reason for the startup failure.

  3. If the Web Server is configured to run in 64-bit and any of the plug-ins mentioned in the magnus.conf is of 32-bit, then Web Server 7.0 would fail to startup , throwing out error message like wrong ELF class: ELFCLASS32. Similarly, if you see an error message like wrong ELF class: ELFCLASS64 it means that 32-bit Web Server is trying to load a 64 bit NSAPI plugin or vice-versa.

  4. While starting up the Web Server, if you do not see the message info: CORE3274: successful server startup on UNIX/Linux platforms, then it is most likely that the server has startup issues.

  5. If you see the error message catastrophe ( 908): Server crash detected (signal SIGSEGV) in the server's error log file, this means that Web Server's daemon has detected a crash. Web Server crash during startup can happen because of various reasons including:

    • Any of the configured 3rd party NSAPI plug-ins is either not following NSAPI specification.

    • Improper Server Configuration.

  6. Web Server requires at least 512 MB of memory to operate optimally. If your system is running low on swap space then you might get error shown below:

    warning: CORE3283: stderr: Error occurred during initialization of VM
    warning: CORE3283: stderr: Could not reserve enough space for object heap
    catastrophe: CORE4005: Internal error: unable to create JVM
    failure: server initialization failed

    You will have to increase the swap space on your system. If you are running Web Server 7 under Solaris 10 zones, then you will need to increase the swap space within the global zone.

    Note –

    Refer to your operating system document on how to add/increase swap space.