11 Replies Latest reply: Oct 9, 2013 2:16 PM by user8860348 RSS

    Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server

    user8860348


      Folks,

      Hello. I am installing PeopleTools 8.53 with Oracle Database Server 11gR1 and OS Oracle Linux 5. Data Mover Bootstrap and Application Designer can log into Database instance successfully. Regarding PIA, Oracle Database Server and Application Server Tuxedo11gR1 run correctly. But when start WebLogic Server in the directory /opt/PT8.53/webserv/PT853/bin, I get an error message as below:

       

      [user@userlinux bin]$ ./startPIA.sh

       

      Attempting to start WebLogic Server PIA
      No activity will be logged to this window.
      Server activity will be logged to /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_*
      PID for WebLogic Server PIA is: 5462

       

      According to Nicolas' website http://gasparotto.blogspot.com/2010/02/web-server-weblogic-11gR1.html, I have done 2 things as below:


      First, in the file setenv.sh, I changed MAX_FILE_DESCRIPTORS from 4096 to 1024.


      Second, I added the last 4 lines in the file /etc/security/limits.conf as below:

       

      #        - nice - max nice priority allowed to raise to
      #        - rtprio - max realtime priority
      #
      #<domain>      <type>  <item>         <value>
      #

      #*               soft    core            0
      #*               hard    rss             10000
      #@student        hard    nproc           20
      #@faculty        soft    nproc           20
      #@faculty        hard    nproc           50
      #ftp             hard    nproc           0
      #@student        -       maxlogins       4

       

      # The lines below are added by me

      weblogic - nofile 65536
      weblogic - nproc  65536
      weblogic - core   unlimited
      weblogic - memlock 50000000

      # End of file


      I run startPIA.sh again and get the same error message:

       

      Attempting to start WebLogic Server PIA
      No activity will be logged to this window.
      Server activity will be logged to /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_*
      PID for WebLogic Server PIA is: 5462


      My question is: can any folk solve the above error to start WebLogic server for PIA ?

       

      Thanks.

        • 1. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
          Nicolas.Gasparotto

          Hmmm, what error message are you talking about ? I don't see any error here.

          It is informing you by saying:

          "No activity will be logged to this window.

          Server activity will be logged to /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_*"

          That's not an error.

          Check out the file /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_stdout for more info, you see the different status of your server such as STARTING, STARTED and RUNNING.
          But as far as I can see in your post, no error.

           

          Nicolas.

          • 2. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
            user8860348

            Folks,

             

            Hello. Thanks a lot for replying. The last screen of the file PIA_stdout.log is below:

             

            [user@mylinux logs]$ pwd
            /opt/PT8.53/webserv/PT853/servers/PIA/logs

            [user@mylinux logs]$ vi PIA_stdout.log


            <Oct 5, 2013 11:48:28 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
            <Oct 5, 2013 11:48:28 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
            <Oct 5, 2013 11:48:28 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
            <Oct 5, 2013 11:48:28 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
            <Oct 5, 2013 11:48:28 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G2,OU=(c) 2007 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.10045.4.3.3.>
            <Oct 5, 2013 11:48:29 AM EDT> <Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure[4]". The address 127.0.0.1 might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.>
            <Oct 5, 2013 11:48:29 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[2]". The address fe80:0:0:0:fcff:ffff:feff:ffff might be incorrect or another process is using port 80: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure[1]". The address fe80:0:0:0:20c:29ff:fe8f:405a might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[5]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 80: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure[2]". The address fe80:0:0:0:fcff:ffff:feff:ffff might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 192.168.196.102 might be incorrect or another process is using port 80: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[1]". The address fe80:0:0:0:20c:29ff:fe8f:405a might be incorrect or another process is using port 80: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure[5]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure". The address 192.168.196.102 might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>
            <Oct 5, 2013 11:48:29 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
            <Oct 5, 2013 11:48:29 AM EDT> <Notice> <Server> <BEA-002607> <Channel "Default[4]" listening on 127.0.0.1:80 was shutdown.>
                                                                                                                                                  

            I use Windows XP to load data into PeopleTools 8.53 Database Instance in Linux, I configured Windows XP IP as 192.168.196.101 and Linux IP as 192.168.196.102.  The content of the file /etc/hosts is below:

             

            # Do not remove the following line, or various programs
            # that require network functionality will fail.

            127.0.0.1       localhost.localdomain   localhost
            ::1     localhost6.localdomain6 localhost6


            # The line below is added by me
            192.168.196.102 mylinux.mydomain  mylinux


            In the file PIA_stdout , it seems there is a network connection problem. My procedure to run the Web Server is below:

             

            Step 1: start Oracle Database Server and LISTENR is listening.

            Step 2: start Application Server ./psadmin and 8 processes are started.

            Step 3: start WebLogic Server /opt/PT8.53/webserv/PT853/bin/startPIA.sh and get the same message: "Attempting to start WebLogic Server PIA. No activity will be logged to this window. Server activity will be logged to /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_*. PID for WebLogic Server PIA is: 6042"

             

            My question is:

            Can any folk help to solve the above issue so that startPIA.sh can run WebLogic Server ?

             

            Thanks.

            • 3. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
              Nicolas.Gasparotto

              Can you not read the error by yourself ?

              <Oct 5, 2013 11:48:29 AM EDT> <Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>

              <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure[4]". The address 127.0.0.1 might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>

              <Oct 5, 2013 11:48:29 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.>


              NIcolas.

              • 4. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                user8860348

                Folks,

                 

                Hello. Thanks a lot for replying. I read the error message in the file PIA_stdout.log but don't know how to solve it.

                 

                I run only one VM Linux with 3 steps to start PIA as below:

                Step 1: start Oracle Database Server and LISTENR is listening.

                Step 2: start Application Server ./psadmin and 8 processes are started.

                Step 3: start WebLogic Server /opt/PT8.53/webserv/PT853/bin/startPIA.sh and get the same message: "Attempting to start WebLogic Server PIA. No activity will be logged to this window. Server activity will be logged to /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_*. PID for WebLogic Server PIA is: 6042"


                When configure Application Server, I configure WSL Port 7000, JSL Port 9000, JRAD Port 9100 and DB Server name (empty).
                When configure Weblogic Server, I configure JSL Port 9000, HTTP Port 80, HTTPS Port 443 and Application Server Name "mylinux" that is OS name.


                I configured Windows XP IP as 192.168.196.101 and Linux IP as 192.168.196.102 as indicated in the file /etc/hosts. It should come up 192.168.196.102 and not 127.0.0.1.

                 

                My question is:

                Can any folk help to solve the above error so that startPIA.sh can run WebLogic Server ?


                Thanks.

                • 5. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                  kumar15

                  Hi, As Nicolas already mentioned above the error is straight forward.

                   

                  <Oct 5, 2013 11:48:29 AM EDT> <Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>

                  <Oct 5, 2013 11:48:29 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure[4]". The address 127.0.0.1 might be incorrect or another process is using port 443: java.net.BindException: Permission denied.>


                  You should check for the existing process which is using port 443 or use some other port for webserver.


                  Thanks

                  • 6. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                    user8860348

                    Folks,

                     

                    Hello. Thanks a lot for replying. I run only one VM Linux with 3 steps in 2 terminals as below:

                     

                    Step 1: start Oracle Database Server and LISTENR is listening.

                    Step 2: start Application Server ./psadmin and 8 processes are started.

                    Step 3: start WebLogic Server /opt/PT8.53/webserv/PT853/bin/startPIA.sh


                    Step 1 and Step 2 are in the first terminal, Step 3 is in the second terminal. There is no other terminal is running.

                    WebLogic Server's JSL Port is 9000, HTTP Port is 80, HTTPS Port is 443.

                     

                    My questions are:

                    First, how to check the existing process using port 443 or other port for Webserver ?
                    Second, how to solve the issue so that startPIA.sh can run WebLogic Server ?


                    Thanks.

                    • 7. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                      Nicolas.Gasparotto

                      >Step 1 and Step 2 are in the first terminal, Step 3 is in the second terminal. There is no other terminal is running.

                      We are not talking about terminal but processes listening on ports 80 and 443, check with

                      netstat -an|grep 443

                      and

                      netstat -an|grep 80

                      Also, I don't know which user you  are trying to start the PIA with, but the ports 80 and 443 required to be root (as opposed to regular users).

                       

                      Nicolas.

                      • 8. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                        HakanBiroglu

                        As Nicolas said you cannot start PIA on ports lower then 1024 on Linux with a non-root users.

                        Recreate your PIA and assign others like 8000 and 4443.

                        • 9. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                          user8860348

                          Folks,

                           

                          Hello. This thread is long. Let's end it and start a new discussion.

                          • 10. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server

                            user8860348 wrote:

                             

                            Folks,

                             

                            Hello. This thread is long. Let's end it and start a new discussion.


                            Moderator Comment and Action:

                            No.

                            Continue here.

                            If you start a new post, all the information that is already here will be soon lost and forgotten as the forum proceeds into the future.

                             

                            Your new post is locked.

                            • 11. Re: Install PT8.53 with Linux Issue: startPIA.sh cannot run WebLogic Server
                              user8860348

                              Folks,

                               

                              Hello. Thanks a lot for replying.  I delete the PIA installed folder /opt/PT8.53/webserv. I recreate PIA in the directory /opt/PT8.53/setup/PsMpPIAInstall/ as below:

                               

                              [user@userlinux PsMpPIAInstall]$ ./setup.sh

                              Application Server Name is changed from "mylinux" to IP Address "192.168.196.102". HTTP Port is 8000 and HTTPS Port is 4443.

                              The new PIA is successfully installed to /opt/PT8.53/webserv. In he file setEnv.sh, MAX_FILE_DESCRIPTORS is changed from 4096 to 1024. Then I run startPIA.sh as below:

                               

                              [user@userlinux bin]$ ./startPIA.sh

                              Its output:

                              Attempting to start WebLogic Server PIA
                              No activity will be logged to this window.
                              Server activity will be logged to /opt/PT8.53/webserv/PT853/servers/PIA/logs/PIA_*
                              PID for WebLogic Server PIA is: 14859

                               

                              [user@userlinux logs]$ vi PIA_stdout.log


                              The last screen is:


                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure" is now listening on 192.168.196.102:4443 for protocols iiops, t3s, ldaps, https.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:fcff:ffff:feff:ffff:8000 for protocols iiop, iiop, t3, t3, ldap, ldap, snmp, snmp, http, http.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 0:0:0:0:0:0:0:1:8000 for protocols iiop, t3, ldap, snmp, http.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.196.102:8000 for protocols iiop, t3, ldap, snmp, http.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[1]" is now listening on fe80:0:0:0:20c:29ff:fe8f:405a:4443 for protocols iiops, t3s, ldaps, https.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "DefaultSecure[5]" is now listening on 0:0:0:0:0:0:0:1:4443 for protocols iiops, t3s, ldaps, https.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 127.0.0.1:8000 for protocols iiop, t3, ldap, snmp, http.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:20c:29ff:fe8f:405a:8000 for protocols iiop, t3, ldap, snmp, http.>
                              <Oct 9, 2013 2:32:22 PM EDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "PIA" for domain "PT853" running in Production Mode>
                              <Oct 9, 2013 2:32:24 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
                              <Oct 9, 2013 2:32:25 PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
                              Java home=/usr/java/jdk1.7.0_09
                              Java command line=java -server -Xms512m -Xmx512m -XX:MaxPermSize=256m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dweblogic.Chunksize=65536 -Djava.util.logging.config.file=/opt/PT8.53/webserv/PT853/piaconfig/properties/logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=PIA -Dps_vault=/opt/PT8.53/webserv/PT853/piaconfig/properties/psvault -Djavax.net.ssl.trustStore=/opt/PT8.53/webserv/PT853/piaconfig/keystore/pskey -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=/home/lucy/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dssl.debug=false -Dps_home=/opt/PT8.53     weblogic.Server
                              Java options=-server -Xms512m -Xmx512m -XX:MaxPermSize=256m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Dweblogic.Chunksize=65536
                              <Oct 9, 2013 2:45:48 PM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
                              <Oct 9, 2013 2:45:50 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
                              <Oct 9, 2013 2:45:58 PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
                              /opt/PT8.53/webserv/PT853/lib/pluto-1.0.1.jar:/opt/PT8.53/webserv/PT853/lib/portlet-api-1.0.jar:/opt/PT8.53/webserv/PT853/lib/ps_patch.jar>
                              <Oct 9, 2013 2:46:02 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 23.5-b02 from Oracle Corporation>
                              <Oct 9, 2013 2:46:24 PM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
                              <Oct 9, 2013 2:46:34 PM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
                              <Oct 9, 2013 2:46:44 PM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
                              <Oct 9, 2013 2:46:54 PM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
                              <Oct 9, 2013 2:47:04 PM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>
                              <Oct 9, 2013 2:47:14 PM EDT> <Info> <Management> <BEA-141281> <unable to get file lock, will retry ...>

                               

                              In Browser,  http://192.168.196.102:8000/ps/signon.html comes up successfully. The issue is solved. Thanks.