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.  Server startup failed

    Posted 07/02/12 05:16 AM
    Hi All,

    i have installed WAS  on AIX server with root ID(sudo ./install). After installation i am able to start WAS with root access.

    Now i have stopped all WAS services, then i have changed owner ship to wasadmin:wasadmn. Before  it was root:system. After changing owner ship(wasadmin:wasadmn), i am unble to start  with the user wasadmin.

    i am able to start with sudo ./startServer server1, when i am trying start with out sudo, i mean with the wasadmin user, i am getting the below error.

    after executing the command there is no messages, only below error i am getting.

    How can i start with WAS  with wasadmin user, i have changed ownership for all files.

    Error :   The java class is not found: com.ibm.wsspi.bootstrap.WSPreLauncher


    Please suggest.

    Thanks,
    Chinna.


  • 2.  Server startup failed

    Posted 07/02/12 06:07 AM
    Hi chinna,

      What version of WAS and AIX?

     regards,



  • 3.  Server startup failed

    Posted 07/02/12 09:41 AM

    Hi,

    WAS 6.1.0.43 and AIX 6.1.


    Thanks,

    Chinna.


  • 4.  Server startup failed

    Posted 07/02/12 12:34 PM
    Please attach te startserver.log file to check!


  • 5.  Server startup failed

    Posted 07/03/12 05:57 AM
    hi,
    I m not sure about AIX....
    But, did u check the environment variables configured in both sudo as well as in wasadmin are same..
    can you check the .profile file for the class loader details.
    just have a comparitive check and make sure u give full access to wasadmin for the class loader path and WAS repo.

    Thanks
    Ashraf



  • 6.  Server startup failed

    Posted 07/04/12 04:38 AM
    Hi All,

    There is no messages in logs, when we execute command. I am getting below error after executing command, there is no messages like, server startup  failed please check startServer.log.

    I have checked startServer.log, logs are not writting while executing this command.

    I think this command is not executing.

    Error :   The java class is not found: com.ibm.wsspi.bootstrap.WSPreLauncher

    Ansar) Environment variables for WAS  or sudoers file in AIX

    Please  suggest.

    Thanks,
    Chinna.


  • 7.  Server startup failed

    Posted 07/04/12 04:55 AM
    hi chinna,

    In which file do you get that class not loading error? Does the entire log writing directory have permission for wasadmin id to write logs. Try giving chmod 777 to the entire directory and try to start using wasadmin.

    Regards
    Ashraf



  • 8.  Server startup failed

    Posted 07/04/12 08:12 AM
    Hi chinna,

      when you check environment variables (env) with wasadmin and with sudo are you getting the same?

     if you have changed the owner of the directories to wasadmin, wasadmin must be able to write logs.  Sure that the owner has 7 (rwx).

    regards,


  • 9.  Server startup failed

    Posted 07/06/12 02:07 PM
    Don`t forget to set the "run as User" & "Run as Group" for server1 to wasadmin as well or the process will still start with the root userid & group.


  • 10.  Server startup failed

    Posted 07/06/12 03:03 PM
    Good Dswinnerton!!!!

    Process execution settings
    pic.dhe.ibm.com/infocenter/wasinfo/v6r1/...


  • 11.  Server startup failed

    Posted 07/09/12 09:40 AM
    True Ralph.

      In the past I have done the next procedure (AIX 5.3 WAS ND 5.1), is for version 5.1 but i think that it might work in actual releases.

     
      Running the deployment manager with a non-root user ID
      publib.boulder.ibm.com/infocenter/wasinf...

    regards,