1 2 Previous Next 18 Replies Latest reply on Mar 11, 2016 2:51 PM by Muhammad Faisal Syed

    Ctrl-M/EM root_menu cannot be run

      After installing the ctrl-m/em on AIX5.2 with oracle database, I ran root_menu:
      %ctem> root_menu
      Server is not running. Contact your SA.
      %ctem>

      What's the meaning of "Server"?
      I could run the orbconfigure successfully, and the Naming Service was running.

      Thanks in advance

        • 1. Re: Ctrl-M/EM root_menu cannot be run

          Oh, I figured it out!

          • 2. Re: Ctrl-M/EM root_menu cannot be run
            yotam Wimmer

            Hi

            how did you fix this issue?

            • 3. Ctrl-M/EM root_menu cannot be run
              Stephan Delhaye

              Hi Yotam,

               

              Not sure, if you got an answer to your question from princeXY.

               

              The message "Server is not running. Contact your SA." would be an indicator that the Control-M/EM Database was not started or did not run at the time root_menu was executed.

               

              Hope it helps.

               

              Regards,

               

              Stephan

              • 4. Ctrl-M/EM root_menu cannot be run
                yotam Wimmer

                Hi Stephan,

                Thanks i worked it out in the end .

                have a good one,

                Yotam

                • 5. Ctrl-M/EM root_menu cannot be run
                  Satyanarayan Pati

                  Dear Prince,

                   

                  The EM componet is having two main sub components Like "Server Components" and "Client Components".

                  So as per your query your server has some issue.

                   

                  So please let it resolve with your control-M Administrator who has full access.

                  • 6. Re: Ctrl-M/EM root_menu cannot be run
                    Muhammad Faisal Syed

                    I've the same issue, please let me know how to start with PostgreSql default user. I have full component installation on a single CentOS Linux machine.

                    • 7. Re: Ctrl-M/EM root_menu cannot be run
                      Kavi K

                      Hi Muhammed,

                       

                      Navigate to <EM Home>ctm_em/bin directory

                      execute the below command to start the posgres database

                      ./start_server

                      Then execute root_menu to login to the menu.

                      • 8. Re: Ctrl-M/EM root_menu cannot be run
                        Muhammad Faisal Syed

                        thanks, i changed user....then executed start_server from the ctm_em folder

                         

                        su - bmc

                        emserver.bmctest.com% start_server

                         

                        Cannot start server - Not Owner.

                        • 9. Re: Ctrl-M/EM root_menu cannot be run
                          Kavi K

                          could you share output of

                          ls -l<Emhome>/ctm_em/bin/start_server

                           

                          cat <EMHOME/installed-versions.txt

                           

                          cat <EMhOME>ctm_em/etc/em_env.csh

                          • 10. Re: Ctrl-M/EM root_menu cannot be run
                            Muhammad Faisal Syed

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

                            [root@emserver Desktop]# ls -l /home/bmc/ctm_em/bin/start_server

                            -rwxr-xr-x. 1 bmc bmc 1733 Oct 17  2012 /home/bmc/ctm_em/bin/start_server

                            [root@emserver Desktop]#

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

                            • 11. Re: Ctrl-M/EM root_menu cannot be run
                              Kavi K

                              Share the rest as well

                              cat <EMHOME/installed-versions.txt

                               

                              cat <EMhOME>ctm_em/etc/em_env.csh

                              • 12. Re: Ctrl-M/EM root_menu cannot be run
                                Muhammad Faisal Syed

                                [root@emserver bin]# cat <EMHOME/installed-versions.txt

                                bash: EMHOME/installed-versions.txt: No such file or directory

                                [root@emserver bin]# ls -l /home/bmc/ctm_em/bin/start_server

                                -rwxr-xr-x. 1 bmc bmc 1733 Oct 17  2012 /home/bmc/ctm_em/bin/start_server

                                [root@emserver bin]# cat /home/bmc/installed-versions.txt

                                PIM                      PLATFORM       PACKAGE-DATE   INSTALL-DATE   VERSION        INSTALL-TYPE   COMMENTS      

                                ___________________________________________________________________________________________________________________

                                DRCTV.8.0.00             Linux-x86_64   Oct-17-2012    Mar-09-2016    8.0.00.000     INSTALLATION   Server        

                                DRKAI.8.0.00             Linux-x86_64   Oct-17-2012    Mar-09-2016    8.0.00.000     INSTALLATION   Agent 32-bit  

                                DRNFT.8.0.00             Linux-x86_64   Oct-17-2012    Mar-09-2016    8.0.00.000     INSTALLATION   EM            

                                DRRMC.7.0.00             Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.000     INSTALLATION   Control-M Control Module for SAP

                                PARMC.7.0.00.001         Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.001     INSTALLATION   Control-M Control Module for SAP patch

                                DRPMC.8.0.00             Linux-x86_64   Aug-15-2012    Mar-09-2016    8.0.00.000     INSTALLATION   Control-M for PeopleSoft

                                DRINF.7.0.00             Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.000     INSTALLATION   Control-M for Informatica

                                PAINF.7.0.00.004         Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.004     INSTALLATION   Control-M for Informatica patch

                                DRMQL.7.0.00             Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.000     INSTALLATION   Control-M for Databases

                                PAMQL.7.0.00.006         Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.006     INSTALLATION   Control-M for Databases patch

                                DRCBO.7.0.00             Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.000     INSTALLATION   Control-M for SAP Business Objects

                                PACBO.7.0.00.003         Linux-x86_64   Apr-16-2012    Mar-09-2016    7.0.00.003     INSTALLATION   Control-M for SAP Business Objects patch

                                [root@emserver bin]#

                                [root@emserver bin]# cat /home/bmc/cat <EMhOME>ctm_em/etc/em_env

                                bash: EMhOME: No such file or directory

                                [root@emserver bin]# cat /home/bmc/ctm_em/etc/em_env.csh

                                #!/bin/csh -f

                                #

                                if ( $?EM_HOME == 0 ) setenv EM_HOME $HOME/ctm_em

                                 

                                setenv ECS_OWNER  "bmc"

                                setenv IS_DB_OWNER  "n"

                                 

                                setenv LOAD_DEMO  """"

                                 

                                setenv ECS_SA   postgres

                                 

                                setenv GC_LANG .UTF-8

                                setenv LC_ALL ""

                                setenv LANG C

                                setenv LC_COLLATE C

                                setenv LC_MESSAGES C

                                 

                                    setenv INSTALL_PARAMS $EM_HOME/etc/site/defaults/install_defaults

                                setenv USER_PARAMS      $EM_HOME/.definitions.1.0

                                 

                                if ( -e $EM_HOME/bin/get_arch ) then

                                   set ARCH = `$EM_HOME/bin/get_arch`

                                   setenv ARCH `$EM_HOME/bin/get_arch`

                                endif

                                 

                                # Build path

                                set path = ( $EM_HOME/bin $path)

                                 

                                ############  A D D I T I O N  ####################################################

                                 

                                setenv DBTYPE POSTGRESQL

                                 

                                if ( -f $EM_HOME/.PGenv.csh ) then

                                   source $EM_HOME/.PGenv.csh

                                endif

                                setenv ECS_USER emuser

                                setenv ECS_DATABASE em800

                                 

                                 

                                # for sparc

                                if ( $?LD_LIBRARY_PATH == 0 ) then

                                    setenv LD_LIBRARY_PATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/local/lib:/usr/lib:/usr/ucblib/sparcv9"

                                else

                                    setenv LD_LIBRARY_PATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/local/lib:/usr/lib:/usr/ucblib/sparcv9:${LD_LIBRARY_PATH}"

                                endif

                                 

                                # for ibm4

                                if ( $?LIBPATH == 0 ) then

                                    setenv LIBPATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/lib"

                                else

                                    setenv LIBPATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/lib:${LIBPATH}"

                                endif

                                 

                                # for hp10

                                if ( $?SHLIB_PATH == 0 ) then

                                    setenv SHLIB_PATH "./:$EM_HOME/lib:/usr/lib"

                                else

                                    setenv SHLIB_PATH "./:$EM_HOME/lib:/usr/lib:${SHLIB_PATH}"

                                endif  

                                 

                                setenv ECS_HIDE_PASS release

                                 

                                setenv ECS_INI_PATH     $EM_HOME/ini

                                setenv DBU_BIN          $EM_HOME/bin

                                 

                                ##Integration with TAO

                                setenv EM_DOMAIN_NAME   config

                                 

                                setenv ECS_LOG_PATH     $EM_HOME/log

                                setenv ECS_MESSAGES_PATH     $EM_HOME/data

                                setenv SSL_RAND_FILE    $EM_HOME/ini/ssl/rnd.bin

                                setenv LDAPCONF        $EM_HOME/etc/ldap.conf

                                 

                                if ( $?LD_LIBRARY_PATH_64 != 0 ) then

                                  setenv LD_LIBRARY_PATH_64 ${LD_LIBRARY_PATH}:${LD_LIBRARY_PATH_64}

                                else

                                  setenv LD_LIBRARY_PATH_64 ${LD_LIBRARY_PATH}

                                endif

                                 

                                ###################################################################################

                                setenv LC_TYPE iso_8859_1

                                 

                                if ( "${os_old_type}" != "ibm4" && "${os_old_type}" != "hp10" ) then

                                   unlimit descriptors

                                endif

                                 

                                 

                                #!/bin/csh -f

                                #

                                if ( $?EM_HOME == 0 ) setenv EM_HOME $HOME/ctm_em

                                 

                                setenv ECS_OWNER  "bmc"

                                setenv IS_DB_OWNER  "n"

                                 

                                setenv LOAD_DEMO  """"

                                 

                                setenv ECS_SA   postgres

                                 

                                setenv GC_LANG .UTF-8

                                setenv LC_ALL ""

                                setenv LANG C

                                setenv LC_COLLATE C

                                setenv LC_MESSAGES C

                                 

                                    setenv INSTALL_PARAMS $EM_HOME/etc/site/defaults/install_defaults

                                setenv USER_PARAMS      $EM_HOME/.definitions.1.0

                                 

                                if ( -e $EM_HOME/bin/get_arch ) then

                                   set ARCH = `$EM_HOME/bin/get_arch`

                                   setenv ARCH `$EM_HOME/bin/get_arch`

                                endif

                                 

                                # Build path

                                set path = ( $EM_HOME/bin $path)

                                 

                                ############  A D D I T I O N  ####################################################

                                 

                                setenv DBTYPE POSTGRESQL

                                 

                                if ( -f $EM_HOME/.PGenv.csh ) then

                                   source $EM_HOME/.PGenv.csh

                                endif

                                setenv ECS_USER emuser

                                setenv ECS_DATABASE em800

                                 

                                 

                                # for sparc

                                if ( $?LD_LIBRARY_PATH == 0 ) then

                                    setenv LD_LIBRARY_PATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/local/lib:/usr/lib:/usr/ucblib/sparcv9"

                                else

                                    setenv LD_LIBRARY_PATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/local/lib:/usr/lib:/usr/ucblib/sparcv9:${LD_LIBRARY_PATH}"

                                endif

                                 

                                # for ibm4

                                if ( $?LIBPATH == 0 ) then

                                    setenv LIBPATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/lib"

                                else

                                    setenv LIBPATH "./:/usr/openwin/lib:$EM_HOME/lib:/usr/lib:${LIBPATH}"

                                endif

                                 

                                # for hp10

                                if ( $?SHLIB_PATH == 0 ) then

                                    setenv SHLIB_PATH "./:$EM_HOME/lib:/usr/lib"

                                else

                                    setenv SHLIB_PATH "./:$EM_HOME/lib:/usr/lib:${SHLIB_PATH}"

                                endif  

                                 

                                setenv ECS_HIDE_PASS release

                                 

                                setenv ECS_INI_PATH     $EM_HOME/ini

                                setenv DBU_BIN          $EM_HOME/bin

                                 

                                ##Integration with TAO

                                setenv EM_DOMAIN_NAME   config

                                 

                                setenv ECS_LOG_PATH     $EM_HOME/log

                                setenv ECS_MESSAGES_PATH     $EM_HOME/data

                                setenv SSL_RAND_FILE    $EM_HOME/ini/ssl/rnd.bin

                                setenv LDAPCONF        $EM_HOME/etc/ldap.conf

                                 

                                if ( $?LD_LIBRARY_PATH_64 != 0 ) then

                                  setenv LD_LIBRARY_PATH_64 ${LD_LIBRARY_PATH}:${LD_LIBRARY_PATH_64}

                                else

                                  setenv LD_LIBRARY_PATH_64 ${LD_LIBRARY_PATH}

                                endif

                                 

                                ###################################################################################

                                setenv LC_TYPE iso_8859_1

                                 

                                if ( "${os_old_type}" != "ibm4" && "${os_old_type}" != "hp10" ) then

                                   unlimit descriptors

                                endif

                                 

                                [root@emserver bin]#

                                • 13. Re: Ctrl-M/EM root_menu cannot be run
                                  Holger Schidlowski

                                  Hi,

                                   

                                  it looks like, that you have done a full installation. So you must start the DB-Server with "startdb" and stopping it with "shutdb".
                                  During FULL INSTALLATION, the DB-Server was build with the credentials of CONTROL-M SERVER DB-user and not with the EM-user!

                                   

                                  Regards,
                                  hschidl

                                  1 of 1 people found this helpful
                                  • 14. Re: Ctrl-M/EM root_menu cannot be run
                                    Muhammad Faisal Syed

                                    Thanks Hrshidl,

                                     

                                    From what location and user should this command "startdb" we can run.?

                                     

                                     

                                    oh ,,it worked from:

                                     

                                    Thanks.Posgresql started..

                                     

                                    /home/bmc/ctm_server/scripts/startdb with non-root user, in this case "bmc"

                                     

                                    Regards,

                                    Faisal

                                    1 2 Previous Next