AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  U00022028 Unable to open file './uc4.smc', error code: '2'

    Posted Jun 29, 2019 10:22 AM
    Hi All,

    we installed an AIX agent on a server and while starting the service manager this error popped up.
    U00022028 Unable to open file './uc4.smc', error code: '2'

    as far as i understand the uc4.smc file, creates automatically when we start the services, but it did not.
    could someone please suggest what is the cause.
    below are the logs.

    20190628/111438.409 - U00022000 Automic Service Manager, Version '12.0.1+build.784' (changelist '1482141744') started.
    20190628/111438.409 - U00022045 Build Date: '2017-01-19', '11:15:09'
    20190628/111438.409 - U00022024 The Service Manager was started with INI-file './ucybsmgr.ini'
    20190628/111438.409 - -------------------------------------------------------------------------------------
    20190628/111438.409 - [GLOBAL]
    20190628/111438.409 - language=(E,D)
    20190628/111438.409 - logging=../temp/SMgr_log_##.txt
    20190628/111438.409 - logcount=5
    20190628/111438.409 - helplib=./uc.msl
    20190628/111438.409 - helpcache=all
    20190628/111438.409 - port=8871
    20190628/111438.409 - ; reuseaddr=1
    20190628/111438.409 - restart_limit=(60,3)
    20190628/111438.409 -
    20190628/111438.409 - [TRACE]
    20190628/111438.409 - file=../temp/SMgr_trace.txt
    20190628/111438.409 - cmd=0
    20190628/111438.409 -
    20190628/111438.409 - [Destination UC4]
    20190628/111438.409 - deffile=./uc4.smd
    20190628/111438.409 - cmdfile=./uc4.smc
    20190628/111438.409 -
    20190628/111438.409 -
    20190628/111438.409 - [Destination AUTODEV]
    20190628/111438.409 -
    20190628/111438.409 - deffile=./uc4.smd
    20190628/111438.409 - cmdfile=./uc4.smc
    20190628/111438.409 - -------------------------------------------------------------------------------------
    20190628/111438.410 - U00022046 Service Manager has been started on Host 'emsrib02' ('172.16.76.19') with process ID '35913752'.
    20190628/111438.410 - U00022044 Real user '0' and effective user '0'.
    20190628/111438.410 - U00022025 The file './uc4.smd' containing the definitions will be opened and interpreted.
    20190628/111438.410 - U00022027 The sub-service 'Aix Agent' was installed.
    20190628/111438.410 - U00022026 The command file './uc4.smc' containing the statements will be opened and interpreted.
    20190628/111438.410 - U00022028 Unable to open file './uc4.smc', error code: '2'
    20190628/111438.410 - No such file or directory
    20190628/111438.410 - U00022032 'TCP' socket with port '8871' successfully created.
    20190628/111438.410 - U00022032 'UDP' socket with port '8871' successfully created.
    20190628/111438.410 - U00022017 Automic Service Manager Version '12.0.1+build.784' ready.


  • 2.  RE: U00022028 Unable to open file './uc4.smc', error code: '2'
    Best Answer

    Posted Jul 01, 2019 10:51 AM
    Possibly a permission issue? Have you tried supplying it with an empty file with the correct permissions (e.g. using "touch uc4.smc" as the user smgr runs with)? Not sure it creates it on its own ...

    Hth,