9 Replies Latest reply on Jan 12, 2016 4:42 AM by SanthoshSreshta

    Error::Start Agent

    3151720

      [oracle@odi bin]$ cd /home/oracle/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin

      [oracle@odi bin]$ ./agent.sh –NAME=OracleDIAgent1  -PORT=20910  -PROTOCOL=http &

      [1] 39843

      [oracle@odi bin]$ Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed

      oracle.core.ojdl.logging.LoggingConfigurationException: ODL-52051: unable to process file '/home/oracle/Oracle/Middleware/Oracle_Home/odi/agent/../common/bin/ODI-logging-config.xml'; exception: java.io.FileNotFoundException: /home/oracle/Oracle/Middleware/Oracle_Home/odi/agent/../common/bin/ODI-logging-config.xml (No such file or directory)

      Jan 08, 2016 5:05:45 PM oracle.odi.param.CliParameterReader <init>

      SEVERE: org.apache.commons.cli.ParseException: ODI-1626: "Neither parameter INSTANCE nor NAME is specified"  args( –NAME OracleDIAgent1 ) pArgs( –NAME=OracleDIAgent1 -PORT=20910 -PROTOCOL=http ) props(

        ODI_WORK_DIR=/home/oracle/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/system_components/ODI//work

      )

      org.apache.commons.cli.ParseException: ODI-1626: "Neither parameter INSTANCE nor NAME is specified"

              at oracle.odi.param.CliParameterReader.<init>(CliParameterReader.java:88)

              at oracle.odi.param.AgentWarClassPathFileReader.<init>(AgentWarClassPathFileReader.java:18)

              at oracle.odi.param.ParameterHelper.init(ParameterHelper.java:101)

              at oracle.odi.Agent.main(Agent.java:706)

       

       

      Jan 08, 2016 5:05:45 PM oracle.odi.agent

      SEVERE: ODI-1626: "Neither parameter INSTANCE nor NAME is specified"

      org.apache.commons.cli.ParseException: ODI-1626: "Neither parameter INSTANCE nor NAME is specified"

              at oracle.odi.param.CliParameterReader.<init>(CliParameterReader.java:88)

              at oracle.odi.param.AgentWarClassPathFileReader.<init>(AgentWarClassPathFileReader.java:18)

              at oracle.odi.param.ParameterHelper.init(ParameterHelper.java:101)

              at oracle.odi.Agent.main(Agent.java:706)

       

       

       

       

              DESCRIPTION

                      Starts an agent. See Oracle Data Integrator documentation for the

                      detailed syntax.

       

       

              SYNTAX

                      agent.(cmd|sh) -NAME=<agent name> [-PORT=<port>] [-PROTOCOL=<protocol>] [-JMXPORT=<jmxport>]

                              [-ODI_CONNECTION_RETRY_COUNT=<nn>] [-ODI_CONNECTION_RETRY_DELAY=<nn>]

                      PORT     represents the listening port. It should match the port value

                              specified against the physical agent defined in Topology.

                      PROTOCOL represents the listening protocol, HTTP or HTTPS.

                              Its default value is HTTP.

                      NAME     represents the name of this physical agent. It should

                              match the name of a physical agent defined in Topology.

                              User must have created an agent with this name using

                              configuration wizard.

                      JMXPORT  represents the JMX port used for JMX notifications etc.

                              Its default value is calculated as PORT + 1000,

                              or 20810 if the calculated value is greater than 65535

                      ODI_CONNECTION_RETRY_COUNT   represents the number of times a connection

                              to the ODI Repository will be retried. Its default value is 10

                      ODI_CONNECTION_RETRY_DELAY   represents the number of milliseconds between

                              connection retries to the ODI Repository. Its default value is 7000

        • 1. Re: Error::Start Agent
          rpc1

          Do you use copy past for your command

          Look at hyphen symbols '-'  before name it differ  then before PORT and PROTOCOL

          agent.sh NAME=OracleDIAgent1  -PORT=20910 -PROTOCOL=http

          I look at it in hex editor and you can see it have different codes

          You have to change command and use right hyphen

           

          agent.sh -NAME=OracleDIAgent1  -PORT=20910  -PROTOCOL=http

          • 2. Re: Error::Start Agent
            3151720

            Hi rpc1

             

            ./agent.sh -NAME=OracleDIAgent1  -PORT=20910  -PROTOCOL=http &

            Error is the same

             

            • 3. Re: Error::Start Agent
              rpc1

              This error menas that it  agent starter doesn't see "-NAME" parameter,

              try to manually start only with one parameter -NAME

              • 4. Re: Error::Start Agent
                SanthoshSreshta

                try to use just name and port, remove protocol,. as

                ./agent.sh -NAME=OracleDIAgent1 -PORT=20910

                and please check the path where you are trying to start the agent.

                <ODI-HOME>\oracledi\agent\bin

                here we need to start the agent.

                • 5. Re: Error::Start Agent
                  SanthoshSreshta

                  have you changed the agent file in <ODI-HOME>\oracledi\agent\bin

                  here we need to give all the MasterRepository details , then we need to start the agent in the same location.

                  Hope you are following the same.

                  • 6. Re: Error::Start Agent
                    3151720

                    The agent.sh is being /home/oracle/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin

                    • 7. Re: Error::Start Agent
                      3151720

                      Now

                       

                      [oracle@odi bin]$ ./agent.sh -NAME=OracleDIAgent1 -PORT=20910

                      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0

                      2016-01-11 15:09:28.732 NOTIFICATION New data source: [DEV_ODI_REPO/*******@jdbc:oracle:thin:@//odi.vodafone.com:1521/ORCL]

                      2016-01-11 15:09:31.892 NOTIFICATION ODI-1128 Agent OracleDIAgent1 is starting. Container: STANDALONE. Agent Version: 12.1.3 - 17/06/2014. Port:                         20910. JMX Port: 21910.

                      Allowing : 127.0.0.1,192.168.139.147,127.0.0.1

                      Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/jna2960138911211597559.tmp which might have disabled stack guard. The VM                         will try to fix the stack guard now.

                      It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

                      2016-01-11 15:09:37.492 ERROR ODI-1131 Agent OracleDIAgent1 encountered an error: ODI-1405: Agent OracleDIAgent1 start failure: the agent is not                         defined in the topology for master repository.

                      2016-01-11 15:09:37.495 WARNING ODI-1405: Agent OracleDIAgent1 start failure: the agent is not defined in the topology for master repository.

                      2016-01-11 15:09:37.499 WARNING unavailable

                      2016-01-11 15:09:37.513 ERROR ODI-1443 Error while starting agent : ODI-1405: Agent OracleDIAgent1 start failure: the agent is not defined in th                        e topology for master repository.

                      • 8. Re: Error::Start Agent
                        rpc1

                        Did you configure agent according oracle documents?

                        Did you add you agent in topology?

                        https://docs.oracle.com/middleware/1212/core/ODING/configure_sa.htm#ODING848

                        • 9. Re: Error::Start Agent
                          SanthoshSreshta

                          pls make sure that you have configured the agent in topology-> physical and logical.. and change the agent file in the path where you are starting the agent.

                          and then start the agent..