WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WLP - Error in server start

    Posted 08/16/22 08:50 AM
    Hi all.

    I'm new in Websphere Liberty Profile and a have a problem in the start a new server. Please see below output of the command server start:

    ******************
    hwi340289:/opt/IBM/wlp-javaee8-22.0.0.8/wlp/usr/servers/defaultServer/logs # /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server start

    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 834: sed: command not found
    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 198: cat: command not found
    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 834: sed: command not found
    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 198: cat: command not found
    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 660: grep: command not found
    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 384: mkdir: command not found
    Starting server defaultServer.
    Server defaultServer started with process ID 3389.
    /opt/IBM/wlp-javaee8-22.0.0.8/wlp/bin/server: line 1253: /opt/IBM/wlp-javaee8-22.0.0.8/wlp/usr/servers/.pid/defaultServer.pid: No such file or directory

    ********************

    Regardless errors occurred in start (too many "command not found" messages), server launches ok. Please see netstat output which shows server http port availability after start:

    *********************
    hwi340289:/opt/IBM/wlp-javaee8-22.0.0.8/wlp/usr/servers/defaultServer/logs # netstat -an | grep 9080
    tcp 0 0 :::9080 :::* LISTEN
    *********************

    Details of the my environment:
    • SUSE Linux Enterprise Server 12 SP5
    • java version "1.8.0_331"
      Java(TM) SE Runtime Environment (build 8.0.7.11 - pxa6480sr7fp11-20220601_01(SR7 FP11))
      IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20220511_28614 (JIT enabled, AOT enabled)
      OpenJ9 - 844d750
      OMR - d297a72
      IBM - 7175f82)
      JCL - 20220531_01 based on Oracle jdk8u331-b09
    • WebSphere Application Server 22.0.0.8/wlp-1.0.67.cl220820220719-1056


    Please help us about "command not found" messages in server starting.

    Thanks.

    José Ricardo.



    ------------------------------
    José Ricardo Bezerra Gomes
    ------------------------------


  • 2.  RE: WLP - Error in server start

    Posted 08/17/22 01:06 PM
    Edited by Divya Koppolu 08/17/22 05:11 PM
    Hi José, I moved your question to the WebSphere Liberty topic group so we can notify the right SMEs for a response. You should hear from our team soon. Thanks for reaching out in the community.

    ------------------------------
    Divya Koppolu
    ------------------------------



  • 3.  RE: WLP - Error in server start

    Posted 08/17/22 04:58 PM
    Hi José, what's your $PATH environment variable before running the server script?

    It seems like very basic executables commonly found in /usr/bin/ are not available from the shell you use to run the server script.


    ------------------------------
    Eric Covener
    ------------------------------