Patch Name: PHSS_31006 Patch Description: s700_800 11.X OV ITO7.1X Msg/Act Linux Agent A.07.25 Creation Date: 04/08/23 Post Date: 04/08/26 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: OpenView Operations 7.1 Filesets: OVOPC-CLT.OVOPC-LIN-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64,v=HP OVOPC-CLT.OVOPC-LIN-CLT,fr=A.07.10,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_31006: HANG ABORT PHSS_30548: OTHER JAGaf01100 Kickstart installation is not supported. PHSS_30204: HANG ABORT CORRUPTION MEMORY_LEAK PHSS_29643: HANG ABORT CORRUPTION MEMORY_LEAK PHSS_29626: HANG ABORT CORRUPTION MEMORY_LEAK PHSS_28951: HANG ABORT CORRUPTION MEMORY_LEAK PHSS_28646: HANG ABORT CORRUPTION MEMORY_LEAK Category Tags: defect_repair general_release critical halts_system corruption memory_leak Path Name: /hp-ux_patches/s700_800/11.X/PHSS_31006 Symptoms: PHSS_31006: Change Request: 8606353730 opcmsga may log OpC20-184 warning in opcerror while starting the agent at anytime (even if there was no message removed): 03/03/04 17:36:47 WARNING opcmsga (Message Agent)(2592) [genmsga.c:789]: Removing messages with lower severity from buffer file successful. (OpC20-184) Change Request: H555013346 Agent installation via GUI fails on linux with kernel version 2.6 Change Request: H555012193 Logging to opcerror file may fail if a process has more than 256 file descriptors open due to a bug in operating system. Change Request: 8606346413 The manual agent installation with opc_inst does not update the component version numbers in the agents opcinfo file and does not set the management server name automatically. Change Request: H555010197 After manual agent installation/activation on a linux node the deinstallation process from the server GUI fails Change Request: H555011117, H555013386 OVO8 HTTPS based agent are overwritten by OVO7 agent installation. Change Request: H555011875 opcctla core dumps during agent registration (opcagtreg -add regfile.reg) if AGENT ID is the same as the one of already registered agent. Change Request: H555011802 After rebooting, the OVOA can not start automatically. The command "opcagt -start" displays "Error opcctla (Control Agent)(13988) : Cannot read contents of file /var/lpp/OV/tmp/OpC/pids. (OpC20-64)". File: /var/lpp/OV/tmp/OpC/pids has ZERO size. Change Request: 8606347268 OVO does not offer Java APIs for opcmsg and opcmon similiar to the ones that are available for C. Change Request: 8606359803 Running opc commands on RedHat Linux nodes with LANG set to UTF-8 value like en_US.UTF-8, opctemplate and opcagt results in the following errors: "Enviroment variables for NLS are probablly set incorrect. Correct ones are LC_ALL=C LANG=C" Change Request: B555032445 Usually, all sub-agents are terminated if the node type is changed from 'controlled' to 'unmanaged'. All the sub-agents are not restarted if the "unmanaged" node is changed back to "controlled". Change Request: H555011331 Red Hat Enterprise Linux 3.0 is not supported on Itanium ia64 architecture. Change Request: QXCR1000189710 SuSe 9.1 is not supported Change Request: B552001603 opcactivate/opcdeactivate usage text did not reflect current state of supported features by these tools. Change Request: B555029983 There is a typo within error message OpC30-1139 (operaition instead operation). Change Request: 8606355743 opctemplate exits with this error on nodes using the RPC_DCE_UDP communication type: Can't convert location: Protocol sequence not supported (dce / rpc). (OpC20-122) Change Request: B555022224 State-Based Advanced Monitoring of CODA values does not send Msgs to reflect the current state. Change Request: H555012289 When installing agent on TLES8 installation fails with message similar to: "This is not one of supported distributions...". Change Request: B555031796, 8606182742 Temporarily unavailable logfiles (e.g. NFS umounted) are treated as empty and you get the OpC30-108 error: Logfile ... doesn't exist. Treating as empty. Once they are available again they are read from the beginning. Change Request: B555023880 Some Coda Policies generate an operator initiated action to show the Fileystem graph. This action sometimes fails, and displays: Error in generating report No data found in the selected date range Change Request: 8606351529 Problem with message forwarding between OVO/W 7.x and OVO/U 6.x. Change Request: 8606327444 Processes started by the agent inherit environment variables from the parent processes. There is no way to specify which variables are allowed and which should be unset. Change Request: H555012990 In case of monitor messages with reset message generation, the value of MSG_TIME_CREATED for the reset-message gets the same value as the message generated after exceeding the threshold value. The value of "Time First Created on Managed Node" in message details is the same for both messages. Change Request: H555012682 Since UnitedLinux distributions TLES and SLES are similar to SuSE 8 linux (location of log files), another group of templates is needed to support this on Japanese and English servers. Change Request: H555012991 Messages of monitor templates are still arriving to management server, although templates have been disabled by opctemplate -d command. Change Request: B555028060 opcmona places the OVO paths at end of $PATH instead of in front which causes a delay in application starts if the PATH contains NFS mounted directories. Change Request: QXCR1000189690 Mandrake 9.2 is not supported Change Request: H555013555 opcmona may hang because of kernel bug on Linux. Change Request: H555011688 Messages are sent with wrong ip address from agent to mgmt_sv. Messages are forwarded with the ip address specified in /etc/hosts instead of using the value in OPC_IP_ADDRESS. Change Request: 8606358227 The cpu_mon.sh script does not return an error even if the data collection fails. PHSS_30548: Change Request: H555012470 OVO agent startup script does not support chkconfig utility. Change Request: 8606340180 Kickstart installation of OVO agent on Linux does not work. PHSS_30204: Change Request: R555026193 An Advanced Monitor only sends one message per threshold the first time the threshold is reached in a monitor template with multiple conditions. Change Request: 8606321177, R555001351, 1653244319 The size of the buffer file msgagtdf is not set to zero, nor is msgagtdf deleted, after connection to the management server is re-established and agents are stopped and restarted. Change Request: 8606310908 If a logfile size is increasing rapidly, faster than opcle can process it, duplicate messages may not be suppressed. Change Request: 8606336164, 8606345727, 8606333639, 8606340158, 8606338440, 8606360024, 8606345591 Red Hat Enterprise Linux 3.0 is not supported on Intel x86 architecture. Change Request: B555026668 <$MSG_OBJECT> is never replaced with the Object set in the template condition that is producing the message. Change Request: 8606322495 opctemplate returns always exit code zero, even if it fails or a template does not exist. Change Request: B555017581 The monitor agent may produce very large error messages each time policies are redeployed. Change Request: H555011985, 8606344630 osspi logins policy creates a file in /tmp every minute if the destination file for opcfwtmp binary is not on the same file-system. Change Request: B555023264 <$MSG_OBJECT> is never replaced with the Object set in the template condition that is producing the message. Change Request: H555007999 On Turbo Linux 7.0J, cron messages do not appear in the message browser, because the 'Cron' logfile template in the group TurboLinux is reading from file /var/log/cron which does not exist - cron messages are written to /var/log/messages. Change Request: B555018506 Want a command to return the communication type of agent. Change Request: H555008553 itochecker was only able to collect information from the management server. There was no possibility to collect information from the managed nodes. Checking the kernel parameters did not return the correct values. No information about opcerror was gathered by itochecker. Change Request: H555012129, 8606314911 SuSE LINUX Enterprise Server 8 (Intel x86) is not supported. Change Request: H555011428 Red Hat Advanced Server 2.1 is not supported. Change Request: R555026123 The monitor agent may not do threshold checking on multiple source policies in case there are no instance names that match and the policy is configured to process all instances separately. Change Request: B555020612 Duplicate suppressing is inconsistent, when using a mix of counter/timer or when default settings are set and more settings are added in the conditions. Change Request: H555011873, H555012130 SuSE 9.0 is not supported. Change Request: H555011381 The Message Agent may occasionally abort on a fast multiprocessor system. Change Request: B555022945 Distribution of monitors fails with OpC20-65/66 if system resources are low and memory allocation fails for the monitor file. Change Request: H555011662 A forked process might abort if tracing is enabled although OPC_TRACE_CHILD is NOT set in the opcinfo file. Change Request: 8606323486 opcswitchuser.sh only works if the specified group is the primary group of the specified user. All other groups are rejected: "ERROR: Group ... does not exist". Change Request: 8606325445, B555021772 opctemplate help information is incorrect. opctemplate - enable is shown in the help, but the correct command is opctemplate -e. Change Request: B555018987 opcagt -status and opctemplate may erroneously report: Error opctemplate(24470) : opcctla not running on node . (OpC30-3002) Cannot connect to RPC service at system 'ncacn_ip_tcp:[]'. Local port configuration has been consulted - rpcd/llbd on remote system not queried. (OpC20-186) Change Request: B555017592 An application that uses the opcmsg() or opcmon() API calls and that is linked with the -Bimmidate flag will abort, reporting that there is an unresolved symbol GetLastError(). Change Request: H555010482, B552004604 Agent upgrade to higher version is not possible without removing it first. Change Request: 8606333207, 8606355920 The Logfile Encapsulator may lose messages when monitoring files that periodically get renamed. Change Request: H555012001, H555012329 When dce package is being removed, during agent deinstallation, warning messages like: Stopping DCE RPC portmapper: start-stop-daemon: warning: failed to kill 24705: No such process might appear in /var/opt/OV/log/OpC/mgmt_sv/install.log file. Change Request: 8606323492 The man-page of opcswitchuser states: To always start the agents under the new user account after a system reboot, modify the agent startup scripts, for example /sbin/init.d/opcagt on HP-UX and /etc/init.d/opcagt on Solaris. Add the same user you have specified with opcswitchuser.sh to the line "USER=". Checking /sbin/init.d/opcagt on HP-UX you can properly find this "USER=" line and a respective if-clause for the startup of the agent. However on Solaris in /etc/init.d/opcagt this ariable does not exist at all and there is also no built-in possibility to start the agent as different than root-user at boot-time. Change Request: H555010925 The following error message appears in opcerror file: >> Cannot retrieve value of type 'MDT_UINT32' in column '4' of interval '0'(OpC30-762) << Change Request: H555012125 RedHat 9.0 is not supported. Change Request: 8606334713 When the OVO agent package is installed on the managed node and a group with id 77 already exists then the opc_op user gets created with the wrong primary group. Change Request: B555023808, B555027712 opcmona does not replace <$MSG_OBJECT> properly. Change Request: B555025523 Enhance opcagt for coexistence with future versions of components. Change Request: B555019025 opcswitchuser.sh allows for a non existent group to be assigned. Change Request: R555025398 The logfile encapsulator loses one file handle per configured interval, if all of the following conditions are met: - the logfile name is dynamically evaluated via a script - the script returns file names that cannot be opened - the logfile template defines a 'file to be read' Under these conditions the 'file to be read' will be opened over and over. Change Request: H555011234 opcacta often reports a mutex error (OpC20-1055) and a wait(2) error (OpC20-413). After the error, opcacta is running and can execute the request. But it cannot return the action result to the requester. Therefore OVO operators cannot receive the action result. Change Request: H555009905 If the agent is manually installed on the node, opc_inst does not cleanup after itself once the installation is completed. The installation packages remain in the installation directory as does the opc_inst script. Change Request: 8606342477 Agent installation fails on nodes where /opt is automounted. PHSS_29643: Change Request: H555010571 The Message agent could die when sending messages in a NAT environment. Change Request: B555017068 A.07.12 changed the behavior of opcle: Newly created logfiles that are discovered by the dynamic logfile discovery functionality are now read from the beginning. But often this is not what is desired, for example if using DBSPI with new instances that need to be monitored. Change Request: H555008582 LANG value in start-up script is not set correctly for Tru64, AIX, Solaris and Linux agent Change Request: B555017407 The process opcmona has a memory leaks in different areas: 1. When using WMI sources in the Measurement Threshold Policies; 2. When monitoring of CODA sources fails and needs a reinitialization; 3. When either using the Policy.SourceEx method of scripting or upgrading policies very often. Change Request: H555010422 opcmsga binds to the NAT translated IP address causing long delays before messages are sent. Change Request: 8606310161, 8606328784 OVO agent for Linux doesn't run on Redhat 8 with glibc 2.3.x. Change Request: B555016456 After using opcswitchuser to change identity under which the OVO agent runs the coda process does not start anymore and writes the following error to the logfile. CODA database access denied, check permissions Change Request: B555015967 The control agent may restart the service discovery or llbserver sub-agent endless in case they abort. Change Request: 8606304320, 8606356454 The <$LOGFILE> variable is not expanded if used in the message key field. The correlation will not work as expected. Change Request: H555008014 Sometimes agent fails to start on Linux nodes. This situation only occurs if stale pids file is left on the system before the agent starts. Change Request: B555014691 In case the node attribute in automatic and operator initiated actions in msgi templates are empty, the value of <$MSG_NODE_NAME> is used, which is misleading. <$MSG_GEN_NODE_NAME> is used instead. Change Request: 8606301574 Text defined for the default message is not expanded for logfile, opcmsg and monitor policies. Change Request: B555015592 Child processes of opcmona may hang indefinitely. The message OpC30-610 "Can't start monitor script for object ... Script still running." is generated. Change Request: 8606313801, B555017924 If all the server entries in mgrconf are not resolvable then the agent restart will fail during initialization. Change Request: 8606298307 If large amounts of messages that have a long original message text are forwarded to OVOW (for example messages from WMI: WINOSSPI-ADS_DomainChange), then the OVOW Console memory usage grows. Change Request: R555022489 opcle may generate garbled messages in Japanese environments. Change Request: 8606300991 opcdcode of Logfile Encapsulator policy shows version number is not updated after a new policy has been deployed, even though the policy is working using the latest version. Change Request: B555018498, R555026201, B555019473 A measurement threshold policy with a single external source that is deployed from an OVO Windows Management Server may miss the first value sent by an opcmon call. Change Request: R555022806, R555021214 The Monitor Agent may abort when using Visual Basic or Perl scripts to write data into CODA. Change Request: B555016324 Coda does not restart after using opcswitchuser. Change Request: H555010468 opc(r)agt does not have an option to remove queue and temporary files. Change Request: H555010496 The control agent may abort when doing changing agent registration files and loading them with opcagtreg -add. Change Request: 8606286301, H555009186 Debian 3.0 is required to be supported. Change Request: H555010464 OVO agent is looking for Japanese message catalog in /opt/OV/locale/ja_JP.EUC-JP/LC_MESSAGES directory if LANG is set to ja_JP.eucJP. This directory does not exist and English catalog is chosen for messages as default one. Change Request: B555006064 Enhancement to opc(r)agt to allow a removal of all agent's temporary files before a restart. Change Request: 8606300119 The logfile encapsulator does not return the last line of a logfile immediately, if there is no carriage return in this line. Change Request: H555010561 On multiple processor linux machines opclxcputil shows incorrect values: user + system + nice + idle does not sum to approximately 100. PHSS_29626: Change Request: H555010800 DCE daemon stops or hangs on the system when it gets invalid data. PHSS_28951: Change Request: H555009399 opcmona cores if an invalid string tries to be converted. Change Request: H555008815 itochecker does not detect Suse linux distribution. Change Request: B555015479 When executing opcagt -kill there sometimes still remains an entry for the Control Agent (opcctla) in the pids file. This should not happen because the opcctla isn't running anymore. Change Request: B555015626 opcif_read() doesn't return data if the signal pipe is empty, but there is still more data in the queue file. This can for example happen if the maximum pipe size of 8192 bytes was reached and therefore no more signal bytes could be written into the signal pipe. Change Request: B555015496 Queue file handling was inefficient for larger queue files. Change Request: 8606290675, B555015230 Agent should report 'agent start' into the opcerror file. Change Request: R555018185 If the agent is started in Simplified Chinese codeset, monitor agent, logfile encapsulator and message interceptor processes will fail. Change Request: B555015449 Monitor agent may abort while receiving templates/policies. Change Request: B555015155 Errors in the opcerror file are not written to the trace file. This makes it difficult to find the place in the trace file where the error occurred. Change Request: B555014715 The Control Agent slowly grows in memory usage. Change Request: R555018044 The monitor scheduled command policy will be executed only once. Change Request: B555015199 If OPC_IP_ADDRESS (nodeinfo) and OPC_NAMESRV_LOCAL_NAME (opcinfo) were used in combination the entry in OPC_IP_ADDRESS was not used in the right way. Change Request: B555015557 The current implementation of the control agent does not allow to restart aborted sub agent processes automatically. Change Request: 8606282247, 8606284806, 8606310913, 8606286654 Logfile Encapsulator does not perform variable replacement for all Message Defaults fields. Change Request: B555015331 The monitor agent, opcmona, may report wrong results of executed monitor scripts or programs when using many 'advanced monitors' such as OVPERF. In some of these cases opcmona might even abort. Change Request: B555015712 The trap/event interceptor forwards traps with the source address 127.0.0.1 unchanged, therefore they are discarded by the management server due to the unknown source address. Change Request: B555015758 opcmsgi aborts if one of the set attributes has an unmatched '<'. Change Request: B555015349 The monitor agent might abort while using templates/policies that have an external source specified. Change Request: B555014781 opcwbemi doesn't react on opcagt -trace Change Request: B555015325 opcmsga wrongly generates a message OpC30-3002 'opcctla not running on node localhost.' when receiving a reconfigure signal, or at exit time. PHSS_28646: Change Request: B555008674 The opcagt and the opcragt commands have a new option '-version'. In both man pages, this was not documented. The new option was not part of the usage strings of opcagt and opcragt. Change Request: H555008602 If setting OPC_RPC_ONLY to TRUE in opcinfo, after a while the message agent core dumps. Change Request: R555019153 When deploying policies from a Windows management server and using the "StoreCollection" method within the Perl or VBScript, the monitor agent might show the Policy name instead of the given metric name or may abort. Change Request: B555014591 When the OPC_INT_MSG_FLT is set to TRUE then the filtered message is received corrupted on the server in a Japanese environment. Change Request: B555014942 The opcle process loops if a logfile is removed while it is read. Change Request: B553003927, 8606290146 opcmsgi and message APIs (agent + server) leak memory when handling messages with custom message attributes. Change Request: H555009704 uuidgen is deleted after installation of Linux agent. Change Request: H555006719, 8606247907, B555009183 If the agent is running as a non-root user and the management server processes are restarted, the agent does not resume sending messages but continues to buffer the messages. Change Request: B555014851 opcmsga sends the same message operation (e.g. an acknowledge request created by opcmack(1) ) again and again if the related message is not in the cache and one of the target managers can not be reached. Change Request: B555013891 In MoM environments, opcmsga does not return action responses to SECONDARY managers, if their name is not resolvable. Change Request: 8606272184, 8606279044 If /sbin/init.d link is created and points to /etc/rc.d/init.d redhat is assumed to be suse and rc script links are not created at correct directories. Change Request: H555008631 Customer receives a lot of OpC20-61 and OpC20-63 messages in the error logfile when using NCS agents. Change Request: B555014574 opcagt -start/-stop/-status doesn't work correctly, if the currently running agent can't be reached over RPC. Change Request: B555014093 opcmona may crash (UNIX) or doesn't process all SCHEDULE templates (Windows) when using SCHEDULE templates. Change Request: 8606262299, B555014014, B555014189 The logfile encapsulator reports that the File to be executed for preprocessing of a logfile template failed. This error occurs randomly and only from time to time. You will get an error message similar to the following: Command 'opcfwtmp /tmp/wtmp.stat /var/adm/wtmp /tmp/wtmp.out' configured in source 'Logins (10.x/11.x HP-UX)' returns 1. Ignoring this logfile. (OpC30-107) Change Request: R555017956 The monitor agent is terminated if you use a session variable within the message text of a template followed by any other variable (for example $INSTANCE). Change Request: 8606208755, B553000527, B555012196 Agent installation fails if NIS or NIS+ is running. You get the error message: Couldn't create /etc/group entry for group opcgrp. Change Request: R555018043, R555018267, R555018227 Japanese characters in Perl scripts within templates don't get converted correctly into the server code set. If the Japanese characters are used as message text for example these characters are corrupted. Change Request: B555013719 Message agent doesn't stop message buffering when the management server is available again after a network outage, fixed DNS problem or similar. This can happen when the agent restarts/the machine reboots during the network problem occurred. Change Request: 8606187183 After deploy/undeploy of opcmsg policies/templates the suppressing times are lost. Messages that should be suppressed after a deploy/undeploy of policies/templates are shown. Change Request: H555008275 Message Agent can hang for no apparent reason and stop sending all messages to the Management Server regardless of its state. Change Request: 8606232431 VPO tries to resolve node names that only contain blanks because of typo in template definition or variable assignment. This leads to a lot of unnecessary DNS traffic. Change Request: B555014667 The first lines of a logfile are not forwarded to the message browser when using a command to discover logfiles and the logfile was created after the first polling interval. Change Request: B555014132 During a distribution the agent may report an error like: ITO responsible manager configuration. (OpC30-1203) Cannot open file \usr\OV\tmp\OpC\cfgchg. System Error Number: 13 (d) - The data is invalid. (OpC20-63) Change Request: B555013548 The manual agent installation script opc_inst expects compressed packages. So if you run it a second time nothing happens because the packages are already uncompressed. Change Request: B555009284 The authorization verification for remote start and stop requests of the agent was sometimes unreliable. Possibly this allowed more OVO servers to start or stop the agent, than specified in the MoM configuration. Change Request: 8606242614, 8606277183 Messages are incorrectly suppressed by the logfile encapsulator if "suppress identical output messages" is specified and the messages differ only in the values of <$LOGFILE> and/or <$LOGPATH>. Change Request: B555014759 When enabling/disabling policies you might discover a memory leak in the agent processes. Change Request: H555008529, H555008546 If a process dies immediately after being started by the Control Agent, it is possible that OpC30-1094 messages start appearing in the error logfile. Defect Description: PHSS_31006: Change Request: 8606353730 The agent may report OpC20-184 during startup or after a management server reboot. This message can be safely ignored. This message indicates, that the opcmsga performed a cleanup of the msgagtdf file to remove empty entries, but it doesn't remove any messages. Change Request: H555013346 Support for 2.6.X linux kernel version is needed. SOLUTION: New platform was introduced to support linux kernel 2.6.X. Change Request: H555012193 A workaround has been added to the code by using regular write calls instead of streams related ones if fdopen() fails. Change Request: 8606346413 The agent component versions have to be updated in the opcinfo file and the user has to get a note that the agent has to be activated with opcactivate(1m) to set the name of the management server. Change Request: H555010197 After manual agent installation/activation on a linux node the deinstallation process from the server GUI fails. This is due to incorrect platform name writen to cfg.clients file. Modified the opcactivate,opcdeactivate scripts to write the correct platform name to cfg.clients file. For Linux kernel 2.4 that is linux/intel/linux24, for Linux kernel 2.2 that is linux/intel/linux22 for other that is linux/intel/linux Change Request: H555011117, H555013386 Agent installation will fail if OVO8 HTTPS based agent is already installed on the managed node. Change Request: H555011875 A NULL pointer is present in string comparison when executing opcagtreg -add reg, AGENT_ID is the same as already registered agent and certain fields in reg file are missing. SOLUTION: Added check for NULL pointer and set problematic string to "". Change Request: H555011802 Agent was changed not to mishandle zero sized pids file. Change Request: 8606347268 The OVO agent now includes Java OVO API wrapper classes. To use the Java OVO API wrapper classes, your classpath variable must include the jopcagtbase.jar and jopcagtmsg.jar files and your java.library.path system variable must include the directory where the shared library files reside. See /opt/OV/www/htdocs/jdoc_agent/index.html for a javadoc style class documentation. Change Request: 8606359803 The OVO agent will now allow UTF-8 $LANG settings, if the agent character set in the node bank is set to ASCII. Change Request: B555032445 opcctla only attempts to restart subagents with the id of 1. Now it attempts to restart all subagents whenever a configuration is distributed to the agents. If the user does not want the additional subagents to be restarted, then they should deregister the subagent using opcagtreg. Change Request: H555011331 OVO Linux agent supports RedHat Enterprise Linux 3 (Itanium ia64). Support includes the following: - RedHat Enterprise Linux 3 AS (English and Japanese) - RedHat Enterprise Linux 3 ES (English and Japanese) - RedHat Enterprise Linux 3 WS (English and Japanese) A RedHat EL 3 Update 2 is required. Follow this link for more information. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1117 16 Change Request: QXCR1000189710 Added support for SuSe 9.1 Change Request: B552001603 Correct manpage and usage of tools Change Request: B555029983 Typo was removed. Change Request: 8606355743 opctempalte only attempted to connect to opcctla via TCP. Now it checks nodeinfo in order to decided which protocol to use. Change Request: B555022224 Advanced Monitoring only sends a msg the first time a state is entered. Currently if a template has three thresholds of 75,50, and 25 and the values of 33, 55, 88, 60, 30, and 10 are given, msgs are only sent for 33, 55, and 88. A reset msg is sent for 10 which attempts to acknowledge the 25 threshold which is no longer in the browser. Now, messages are sent for 33, 55, 88, 60, and 30. The reset message then acknowledges the correct message. OPC_MONA_MSG_PER_STATE has been added to reflect this behaviour. TRUE (default) reflects the correct behaviour. FALSE has opcmona return to it's previous behaviour of only sending one message per state. Change Request: H555012289 Install scripts for linux agent do not regard TLES8 distribution specifics, which are similar to SuSE linux distribution. SOLUTION: When checking for distribution, option UnitedLinux-release was added to handle TLES8 specifics properly. Change Request: B555031796, 8606182742 There was a new opcinfo varibale introduced: OPC_LE_IGN_TEMP_UNAVAIL If it is set to TRUE within opcinfo: OPC_LE_IGN_TEMP_UNAVAIL TRUE then temporarly unavailable logfiles will not be treated as recreated/truncated logfiles when they have been unmounted and mounted again. The information about the file position will be saved during the file is unavailable. Change Request: B555023880 Some unsigned integers are printed as signed. Change Request: 8606351529 Certain attributes of the message are modified by the 7.x opcmsga and therefore, can not be read on a ITO 6.x server. Now, when OPC_MSGA_ITO6_COMPAT_MODE TRUE is set in opcinfo, opcmsga does not modify these attributes. Therefore, they can be read by an ITO6 message reciever. Change Request: 8606327444 Processes started by the agent inherit environment variables from the parent processes. There is no way to specify which variables are allowed and which should be unset. New setting has been added to opcinfo file to specify a list of environment variables that are allowed : OPC_ALLOW_ENV_VARS VAR1,VAR2,... If this option is configured, all variables that don't match any variable from the list (case is string sensitive), is unset. This means that variables are still visible by child processes, however they have empty value. The following variables are used internally and can not be unset : DMS_FORCEOFF, RPC_RESTRICTED_PORTS, HPDCE_CLIENT_DISC_TIME, PATH, LANG, LC_ALL, LC_MESSAGES, LC_CTYPE, NLSPATH, OPCLANG, DISPLAY, TZ, READFILE, OPCCTLA_IS_DAEMON, OPCCTLA_START_AGENTS_PARAM, OPCCTLA_DAEMON_STOP, OPCCTLA_DAEMON_RESTART, OPCCTLA_DAEMON_CONFIRM, OPCCTLA_DAEMON_REMOVE_QUEUE, RPC_DISABLE_LOCAL, CSMMGRCONFIG, CSMNODECONFIG, OPCICONIFY, OPCSESSION, OPCUID, OPCGID, OPCGRPGID, OV_BIN, OPCLOGIN, ITO_SYNC_ONLY, ITO_OVW_CACHE, HPUSER, HPACCOUNT, HPSYSNAME, HPRELVERSION, HPVERSION, SYSTEMROOT, WINDIR, INIT_STATE, ECEVTTRC, ORACLE_HOME, ORACLE_SID, OPC_OP_PASSWD, OPC_HOME, HOME, SHELL, XFILESEARCHPATH, OvAgentDir, OvInstallDir, OvDataDir, OVwRegDir, OPCCTRL_FIFO, OVwSessionID, OPC_TRACE_SHOW, REQUEST_METHOD, CONTENT_LENGTH, QUERY_STRING, SystemRoot, SystemDrive, OPCSETUPDRIVE Change Request: H555012990 Variable MSG_TIME_CREATED gets copied in case of monitor messages with reset message generation. The reset-message gets the same value of MSG_TIME_CREATED as original message generated by exceeding threshold. SOLUTION: MSG_TIME_CREATED property of the reset-message now gets newly set instead of just copied. Change Request: H555012682 Japanese server currently does not have SuSE templates therefore English version of logfile templates: "Kernel Messages (SuSE)" and "Messages (SuSE)" was used. The rest of the templates are the same for all linux distributions. On English server only new template group: UnitedLinux was created, which contains same templates as SuSE linux. In order to upload new TLES (UnitedLinux) group please use the following command: opccfgupld -add tles Change Request: H555012991 Another reconfig request arrives when previous one is still in progress, which causes the new request to be ignored. SOLUTION: Another flag was introduced, which triggers additional reconfig, after the first one finishes. Change Request: B555028060 opcmona places the OVO paths at end of $PATH instead of in front which causes a delay in application starts if the PATH contains NFS mounted directories. Change Request: QXCR1000189690 Added support for Mandrake 9.2 Change Request: H555013555 Since it is uncertain if this OS bug will ever get fixed, workaround for this OS problem was added to the agent. Change Request: H555011688 When local IP address is specified in /etc/hosts file and OPC_IP_ADDRESS is resolvable by dns but not specified in /etc/hosts, wrong IP address (from /etc/hosts instead from OPC_IP_ADDRESS)is appended to sent messages. SOLUTION: Added check for node name change after user variable replacement. If node name didn't change, there is no need for IP reset. Change Request: 8606358227 The cpu_mon.sh script gathers the CPU usage then feeds it into awk but only awk errors are checked and not errors during the gathering. PHSS_30548: Change Request: H555012470 OVO agent startup script opcagt was not chkconfig compliant. Startup script is now updated, so that it can be managed with chkconfig utility. Change Request: 8606340180 Installation via kickstart fails for Linux packages due to missing dependencies for the OPC/dce packages in question. Fixed by modifying .spec files of the packages to include the dependencies and enforce the order by which they must be installed by kickstart. PHSS_30204: Change Request: R555026193 An Advanced Monitor only sent a message the first time a threshold is reached. For example, if a template has three thresholds of 75, 50, and 25 and the values of 33, 55, 88, 60, 30, and 10 were given, messages were only sent for 33, 55, and 88. A reset msg is sent for 10 which attempts to acknowledge the 25 threshold which is no longer in the browser. Now, messages are sent for 33, 55, 88, 60, and 30. The reset message then acknowledges the correct message. The opcinfo variable OPC_MONA_MSG_PER_STATE has been added to reflect this behaviour: TRUE (default) reflects the new and correct behavior. FALSE has opcmona return to it's previous behaviour of only sending one message per state. Change Request: 8606321177, R555001351, 1653244319 The message agent does remove the free entries from the double buffer file (msgagtdf) regularly. Change Request: 8606310908 Added OPC_LE_MAX_LINES_READ variable for opcinfo. If it is not set, then the default of 50 lines are read with each interval. If it is set, then the number of lines that is specified will be read. If it is set to 0, then an unlimited number of lines will be read. Change Request: 8606336164, 8606345727, 8606333639, 8606340158, 8606338440, 8606360024, 8606345591 OVO Linux agent supports RedHat Enterprise Linux 3 (Intel x86). Support includes the following: - RedHat Enterprise Linux 3 AS (English and Japanese) - RedHat Enterprise Linux 3 ES (English and Japanese) - RedHat Enterprise Linux 3 WS (English and Japanese) An updated RPM package that address possible RPM database corruption issues has to be installed. The package name is rpm-4.2.1-4.4.i386.rpm. As well as that, RPM_FORCE_NPTL environment variable has to be set for the root user. For more information read: https://rhn.redhat.com/errata/RHEA-2004-010.html. Change Request: B555026668 <$MSG_OBJECT> is now replaced with the Object set in the template condition if it is set and OPC_MON_MSGOBJ_COND_FIRST is set to TRUE in opcinfo. Change Request: 8606322495 opctemplate returns always exit code zero, even if it fails or a template does not exist. Change Request: B555017581 The monitor agent may produce very large error messages each time policies are redeployed. Change Request: H555011985, 8606344630 libc routine rename() cannot move a file across two file-systems so it fails with EXDEV errno and leaves the source file untouched. Now, in case rename() fails with errno=EXDEV, opcfwtmp will move the file across two file-systems (it will do a copy and unlink of the source). Change Request: B555023264 <$MSG_OBJECT> is now replaced with the Object set in the template condition for threshold monitors if it is set and the opcinfo variable OPC_MON_MSGOBJ_COND_FIRST is set to TRUE. Change Request: H555007999 TECHNICAL PROBLEM DESCRIPTION: Cron messages have been moved in Turbolinux 7.0J from /var/log/cron to /var/log/messages. Current templates disregard this behavior. SOLUTION: Create a new template group for Turbolinux 7.0J, which will read cron messages from /var/log/messages file. In order to upload new Turbolinux 7.0J group please use the following command: opccfgupld -add Turbolinux7 Change Request: B555018506 opcagt -type will now return the communication type. Change Request: H555008553 itochecker_agt and its configuration file itochecker_agt.conf were introduced. Checking the kernel parameters now returns the correct values. An additional option (8) was added which gets the opcerror file on the management server. Change Request: H555012129, 8606314911 SuSE LINUX Enterprise Server 8 (Intel x86) is now supported in English and Japanese environment. Change Request: H555011428 RedHat Enterprise Linux 2.1 is now supported with OVO Linux agent for both Intel x86 and Itanium platforms. On Intel x86 platform English and Japanese versions are supported. Special note for Itanium platform: The prerequisite for OVO agents on Itanium platform is x86-compat-libs package, which could be found on the OS media. This package is required if you want to run ix86 binaries on an ia64 system, but it doesn't include iconv support. That means you have to configure the agent using ascii as a node and as a server charset to avoid codeset conversion. Change Request: R555026123 The monitor agent had a problem that it does thresholding against multiple source policies even when they are configured to process each instance separately. This threshold checking was done for the first set of instances found, but not for all. This behavior has been corrected, but the result is that policies that rely on this behavior will no longer work. In order to prevent this, the old behavior has been reintroduced. Two opcinfo variables exist to configure the monitor agent behavior. If no instance is available in all sources the script is called once. By setting the nodeinfo variable POLICY_NO_INST_CALL_SCRIPT to FALSE it is possible to define that the script is not called if no matching instances are available. If the nodeinfo variable POLICY_NO_INST_SEND_MSG is set to TRUE a warning message is created if no matching instances are available. The message contains also the available instances for all sources. The default is that no message is created. Change Request: B555020612 Default suppressing setting is now used, if the setting is not made in the condition itself. The mix of counter/timer works like it was described before: First the timer is checked - all messages that go through this go into the counter check afterwards. Change Request: H555011873, H555012130 Added support for SuSE 9.0 in English and Japanese environment. Change Request: H555011381 Nonreentrant library calls were used. The potential for problems is often not caught until the code is placed under heavy load on a multiprocessor machine. Calls such as ctime, gmtime, readdir, localtime... can corrupt the process' heap and cause crashes in unrelated areas. Change Request: B555022945 Distribution of monitors fails with OpC20-65/66 if system resources are low and memory allocation fails for the monitor file. Change Request: H555011662 The trace file mutex shouldn't be reinitialized if tracing of child process is not enabled. Change Request: 8606323486 The check was modified to collect all groups, not just the primary group. Change Request: 8606325445, B555021772 The help text for opctemplate has been corrected. Change Request: B555018987 When a port range is specified for the control agent, and the first port of that range is occupied during startup, opcctla registers on a different port within the range. Clients connecting to opcctla however, expected opcctla to always be on the first port of the range, and failed to connect in this case. Change Request: B555017592 An application that uses the opcmsg() or opcmon() API calls and that is linked with the -Bimmidate flag will abort, reporting that there is an unresolved symbol GetLastError(). Change Request: H555010482, B552004604 Agent installation package was changed and now agent upgrade is possible without prior deinstallation. This fix requires new opc_pkg.Z, comm_pkg.Z, perf_pkg.Z and svcdisc_pkg.Z (supported with OVO/W only) packages. Change Request: 8606333207, 8606355920 opcle has been modified to check to see if the file name is still the same, if the file was not modified for a few intervals. If the file name has changed, opcle attempts to reopen the logfile, reading it from begin. This only works reliably if the 'close after read' option is switched off. Change Request: H555012001, H555012329 start-stop-daemon on SuSE kills all rpcd processes when only parent process should be killed. When parent is killed, child processes are also killed and warning messages are produced since start-stop-daemon tries to kill missing child processes. SOLUTION: Use killproc instead of start-stop-daemon. Change Request: 8606323492 Agent does not start with a proper user id even if explicitly directed to do so. The init scripts does not utilize switch user (su) system command for execution of the agent binaries. Fixed by adding the 'su -c' option, if alternative user is requested to be the process owner, in init script. Change Request: H555010925 FS metrics were retrieved from coda for some filesystems, for which coda values were not yet valid. Solution: Check whether the data for a specific instance is valid, before further processing the instance. Change Request: H555012125 RedHat 9.0 (English and Japanese) is supported with A.07.23 Linux agent. Please note that default glibc version 2.3.2-11.9 is not supported. Required glibc version is 2.3.2-27.9.7 or higher. Change Request: 8606334713 If group with gid=77 already exists then opc_op user is added with this group as his primary group, because default opcgrp gid=77. Check if actual opcgrp gid is different than the default one. Change Request: B555023808, B555027712 <$MSG_OBJECT> in threshold monitor templates is now replaced consistently according to this priority: 1. Set Condition, if OPC_MON_MSGOBJ_COND_FIRST is TRUE 2. object from opcmon 3. Template Default 4. Empty String Change Request: B555025523 Enhance opcagt for coexistence with future versions of components. Change Request: B555019025 The opcswitchuser.sh utility checked whether the group exists, but did not detect if the group was only a substring of an existing group. Change Request: R555025398 opcle now checks if the file was already opened, and closes it if necessary before reopening it. Change Request: H555011234 The "Process table mutex" was initialized too late. Change Request: H555009905 A query whether to remove the installation packages was added to the opc_inst script. Change Request: 8606342477 Added support for automounted /opt, with some exceptions: - Mount point can not be shared among different nodes (every node must have it's dedicated mount point) - Direct maps are not supported (only indirect mapping is supported) PHSS_29643: Change Request: H555010571 When a message is sent and the agent is configured for a NAT environment, a NULL pointer could be used in strlen() causing a crash of the message agent. An extra check has been added to the code to prevent this. Change Request: B555017068 The default behavior is now again the behavior of A.07.10: If a new logfile is returned by the logfile discovery program, only new lines of the new logfile are processed. If it is required that all lines of newly added logfiles are processed, add following line to the opcinfo file: OPC_NEW_LOGFILE_FROM_BEGIN TRUE Change Request: H555008582 Agent has used system value for LANG setting in start-up script and problem was when this setting was not the same as LANG setting in database. Now installation always checks node settings in database. Change Request: B555017407 The process opcmona has a memory leaks in different areas: 1. When using WMI sources in the Measurement Threshold Policies; 2. When monitoring of CODA sources fails and needs a reinitialization; 3. When either using the Policy.SourceEx method of scripting or upgrading policies very often. Change Request: H555010422 opcmsga used the address specified via the OPC_IP_ADDRESS option instead of a local IP address. Only local RPC calls were affected. Change Request: 8606310161, 8606328784 OVO Linux agent now works on RedHat 8.0 with glibc 2.3.x. Change Request: B555016456 After using opcswitchuser to change identity under which the OVO agent runs the coda process does not start anymore and writes the following error to the logfile. CODA database access denied, check permissions Change Request: B555015967 The control agent may restart the service discovery or llbserver sub-agent endless in case they abort very quickly after being started. Change Request: 8606304320, 8606356454 The <$LOGFILE> variable is not expanded if used in the message key field. The correlation will not work as expected. Change Request: H555008014 When agent is starting up, it properly handles the pid it reads from stale pids file. Change Request: B555014691 In case the node attribute in automatic and operator initiated actions in msgi templates are empty, the value of <$MSG_NODE_NAME> is used, which is misleading. <$MSG_GEN_NODE_NAME> is used instead. Change Request: 8606301574 Text defined for the default message is not expanded for logfile, opcmsg and monitor policies. Change Request: B555015592 Child processes of opcmona may hang indefinitely. The message OpC30-610 "Can't start monitor script for object ... Script still running." is generated. Change Request: 8606313801, B555017924 If all the server entries in mgrconf are not resolvable then the agent restart will fail during initialization. Change Request: 8606298307 An opcinfo variable was introduced to truncate the original message text to a maximum length: OPC_TRUNCATE_ORIG_TEXT -1: no truncation done (Default) 0: no original message sent at all : truncation done after the n'th character. This can be configured per managed node. Change Request: R555022489 This defect was caused by freeing memory twice. Change Request: 8606300991 opcdcode of Logfile Encapsulator policy shows version number is not updated after a new policy has been deployed, even though the policy is working using the latest version. Change Request: B555018498, R555026201, B555019473 A measurement threshold policy with a single external source that is deployed from an OVO Windows Management Server may miss the first value sent by an opcmon call. Change Request: R555022806, R555021214 The Monitor Agent abort is caused by the usage of a static buffer to split the CODA data path into the pieces. When two or more threads split path names at the same time, one could overwrite the other's data. Change Request: B555016324 Coda does not restart after using opcswitchuser because the /var/opt/OV/log/coda.log permissions were not changed and the new user could not write into the logfile. Change Request: H555010468 A new option (-cleanstart) has been added to the opc(r)agt command. It stops the agent, removes all files in the agent's temporary directory and restarts the agent. Trace and pids files are not removed. Change Request: H555010496 When changing subagent registration data, opcagtreg informs the Control Agent of the change (if it is running). The Control Agent then reads the new registration file and stops/starts the processes based on the new data. During comparison of old and new data, a NULL pointer could be used in a strcmp() call which caused crashes. Change Request: 8606286301, H555009186 st_syslogd.sh has been changed to meet all requirements. Change Request: H555010464 Agent installation was changed to create /opt/OV/locale/ja_JP.EUC-JP/LC_MESSAGES directory and create a link to the message catalog in /opt/OV/locale/ja_JP/LC_MESSAGES directory. Change Request: B555006064 A new option (-cleanstart) has been added to the opc(r)agt commands. It stops the agent, removes all files in the agent's temporary directory and restarts the agent. The trace and pids files are not removed. Change Request: 8606300119 The logfile encapsulator does not return the last line of a logfile immediately, if there is no carriage return in this line. Change Request: H555010561 There was a mistake in the calculation of CPU utilization on multiprocessor machines. cpu_util was divided by numcpus which was wrong since we collect total cpu_util of all cpus. PHSS_29626: Change Request: H555010800 DCE daemon fails when it receives invalid data. The code has been fixed to ignore such packets PHSS_28951: Change Request: H555009399 opcmona cores if an invalid string tries to be converted. Change Request: H555008815 Add absolute file path. Change Request: B555015479 When executing opcagt -kill there sometimes still remains an entry for the Control Agent (opcctla) in the pids file. This should not happen because the opcctla isn't running anymore. Change Request: B555015626 opcif_read() doesn't return data if the signal pipe is empty, but there is still more data in the queue file. This can for example happen if the maximum pipe size of 8192 bytes was reached and therefore no more signal bytes could be written into the signal pipe. Change Request: B555015496 So far a queue file garbage collection was done, if more than 256 Kbyte were unused. Now the unused space has to be more than 256 Kbyte and more than a quarter of the queue file size. This drastically reduces file I/O when handling large queue files. Change Request: 8606290675, B555015230 Agent should report 'agent start' into the opcerror file. Change Request: R555018185 Simplified Chinese codeset is now mapped as a valid codeset. Change Request: B555015449 Monitor agent may abort while receiving templates/policies. Change Request: B555015155 Whenever an error is added to the internal error list, a trace line with the DEBUG area ERRLIST is written to the trace file. When the error list is written to opcerror, another trace line with the DEBUG area ERROR is written. ERROR and ERRLIST are distinguished, since some errors are added to the error list, but then later ignored and therefore never appear in the opcerror file. Change Request: B555014715 The Control Agent slowly grows in memory usage. Change Request: R555018044 Internal flag is restored after monitor schedule policy execution. Change Request: B555015199 If OPC_IP_ADDRESS (nodeinfo) and OPC_NAMESRV_LOCAL_NAME (opcinfo) were used in combination the entry in OPC_IP_ADDRESS was not used in the right way. Change Request: B555015557 The control agent has been changed in order to make the restart of an aborted sub agent process configurable. The control agent can be configured to restart aborted sub agent processes. Furthermore it can be defined how often a process should be restarted in a certain time interval. To configure this, you can use the following variables in the opcinfo file: OPC_RESTART_SUBAGENT If set to TRUE, the control agent tries to restart aborted sub agent processes. The restart is done a defined number of times (OPC_RESTART_COUNT) in a specified period of time (OPC_RESTART_MINIMUM_RUN_TIME). In case the process aborts more often, it wont be restarted again. Type/Unit : TRUE|FALSE Default : TRUE OPC_RESTART_COUNT Defines how often an aborted sub agent process should be restarted within the specified minimum runtime. In case a process stops more often it wont be restarted. (See OPC_RESTART_SUBAGENT) Type/Unit : integer Default : 5 OPC_RESTART_DELAY Defines the time the control agent waits before it restarts an aborted sub agent process. The time is specified in seconds. Type/Unit : integer Default : 10 OPC_RESTART_MINIMUM_RUN_TIME Defines the time frame a sub agent process should run without being restarted more than specified by OPC_RESTART_COUNT. The time is specified in minutes. Type/Unit : integer (minutes) Default : 60 Change Request: 8606282247, 8606284806, 8606310913, 8606286654 Variable replacement is now performed for all Message Defaults fields. Change Request: B555015331 opcmona holds a central table for all subprocess related information. Advanced monitors are executed in separate threads and could access this table in parallel, thus overwriting each other's data. The table accesses are now serialized by a mutex. Change Request: B555015712 In order to be able to correctly handle traps that have a source address 127.0.0.1 the trap/event interceptor is now able to replace the localhost address (127.0.0.1) with the IP address of the node processing the trap. In order to enable this, you need to add the following line to the opcinfo file on your managed node: OPC_RESOLVE_TRAP_LOCALHOST TRUE Change Request: B555015758 opcmsgi aborts if one of the set attributes has an unmatched '<'. Change Request: B555015349 The monitor agent aborts when using templates/policies with external sources as soon as it receives a value from the external source during checking for the threshold with a previously received value. In this case the received value is stored temporary and as soon as the monitor agent tries to process this value it aborts. The root cause is that the monitor agent tries to free up already freed memory. Change Request: B555014781 The signal for tracing init was not send from the opcctla and the start of tracing inside of opcwbemi was not done in the right way. Change Request: B555015325 During startup a timing issue prevented a connection from opcmsga to opcctla, which generated the message. This message was not immediately reported, but only after receiving a signal. Retries will now prevent the connection failure. If it still fails because opcctla is really not running, the error will be reported immediately. PHSS_28646: Change Request: B555008674 The man pages for opcagt and opcragt now document the new option '-version'. The message catalog was updated to show the '-version' option in the usage string of the opcagt and opcragt commands. Change Request: H555008602 When using OPC_RPC_ONLY, ICMP handling is not initialized, but the message agent will call opc_pb_ping_reset() after a successful server checkalive cycle. This causes an invalid (NULL) pointer to be dereferenced and causes a core dump. opc_pb_ping_reset() now has a check to see if ICMP handling has been initialized and if not, immediately returns from the function. Change Request: R555019153 When deploying policies from a Windows management server and using the "StoreCollection" method within the Perl or VBScript, the monitor agent might show the Policy name instead of the given metric name or may abort. Change Request: B555014591 The defect was caused by the double conversion from the server code set to the internal code set, once on the agents side when it sent the internal message to opcmsga and once by opcmsgi when it forwarded the message again. Now, the message is converted back from the internal code set to the server code set in opcmsga before sending the message to the opcmsgi queue. The management server will get the message through opcmsga in the internal code set, and it will convert it into the server code set. The conversion is made only if the internal code set is different from the server code set. Change Request: B555014942 The opcle process loops if a logfile is removed while it is read. Change Request: B553003927, 8606290146 opcmsgi and message APIs (agent + server) leak memory when handling messages with custom message attributes. Change Request: H555009704 Symbolic links are made after installation: /usr/bin/uuidgen -> /opt/dcc-1.1/bin/uuidgen /usr/bin/uuid -> /opt/dce-1.1/bin/uuid But the file uuidgen and uuid are not under /opt/dcc-1.1/bin . uuidgen and uuid files are not part of OVO DCE distribution. post part of dce-0.1-6.spec is changed. Change Request: H555006719, 8606247907, B555009183 When a communication to a message receiver fails, the message agent starts buffering messages. It periodically checks if a server is alive by sending it ICMP packets. If the server cannot be reached with ICMP packets, no RPC communication is attempted. Sending ICMP packets is not possible when the agent is running as a non-root user, so the sending function cannot actually send anything. Therefore we also never receive any replies and the message agent will buffer messages forever. To fix this, the internal state of the message agent is updated after we tried to send an ICMP packet if the agent is running as a non-root user. Change Request: B555014851 opcmsga maintains an internal cache to find out the target managers per message ID. The cache expires after 1 hour (can be changed with the opcsvinfo variable OPC_STORE_TIME_FOR_MGR_INFO) and then it runs into a problem in its algorithm so that a message operation on a non-cached message is sent again and again until the last target manager in an internal list can be reached. Change Request: B555013891 Even if the IP address of the management server was specified in the mgrconf file, it was not used except for the primary manager. This behavior was changed to give the mgrconf file precedence over name resolution. Change Request: 8606272184, 8606279044 Linux distribution detection is reimplemented and it is now based on os version files. Change Request: H555008631 NCS agent open() and stat() calls did not handle EINTR, so a check/loop was implemented to handle it. Change Request: B555014574 With this changes the opcctla is now able to deal with a running opcctla that is not reachable via RPC: opcagt -status will display a warning if the currently running opcctla is not reachable over RPC, but then it will display the status according to the pids file. opcagt -stop will also kill the unresponsive opcctla and try to start a new one. If opcctla is not reachable over RPC, opcagt -start will kill all running agent processes and then start a new opcctla which starts the agent processes. But of course, the agent won't be able to start if RPC is still not available at that time. Change Request: B555014093 opcmona may crash (UNIX) or doesn't process all SCHEDULE templates (Windows) when using SCHEDULE templates. This can occur when there are only spaces in one of the schedule fields (Minute, Hour, Day of the Month, Month, Year, Day of the Week). You can verify this by going to the conf/OpC directory on the node and doing an opcdcode monitor. When there are entries like WEEKDAY " " the problem can occur. Now the monitor agent treats sequences of spaces like an empty string that is a wildcard and uses all valid values in the possible range. For WEEKDAY this is 0-6. Change Request: 8606262299, B555014014, B555014189 The logfile encapsulator reports that the File to be executed for preprocessing of a logfile template failed. This error occurs randomly and only from time to time. You will get an error message similar to the following: Command 'opcfwtmp /tmp/wtmp.stat /var/adm/wtmp /tmp/wtmp.out' configured in source 'Logins (10.x/11.x HP-UX)' returns 1. Ignoring this logfile. (OpC30-107) Change Request: R555017956 The monitor agent is terminated if you use a session variable within the message text of a template followed by any other variable (for example $INSTANCE). Change Request: 8606208755, B553000527, B555012196 There was no detection implemented whether there is NIS or NIS+ control over /etc/passwd or /etc/group files. This detection is now introduced for Linux agent. Change Request: R555018043, R555018267, R555018227 Japanese characters in Perl scripts within templates don't get converted correctly into the server code set. If the Japanese characters are used as message text for example these characters are corrupted. Change Request: B555013719 Message agent remains in buffering mode even when the management server is available again. The reason is that the agent wasn't able to resolve the management server name to an IP address at startup and the agent doesn't try again during runtime. This has been fixed by checking for a resolvable name every time a message should be buffered till the name can be resolved, after this the normal checkalive mechanism which handles buffered message takes place. Change Request: 8606187183 The opcmsg interceptor restarts after a deploy/undeploy of policies/templates. During this process all the policy/template information is cleaned and read again from a temporary file. Because suppressing times are not stored in this temporary file, this times are lost. Now the suppressing times are taken over to the new data. Change Request: H555008275 Signal handler for SIGIO was installed before the socket on which we receive ICMP replies was set to non-blocking mode. An unsolicited SIGIO would trigger the signal handler which would wait indefinitely on the socket for data, which would never arrive. Since NCS agent is single-threaded, all communication would stop. The fix is in setting the non-blocking mode before installing the signal handler, so it would not wait forever. Change Request: 8606232431 VPO now ignores node names that contain only white space characters without contacting the name service. Change Request: B555014667 The first lines of a logfile are not forwarded to the message browser when using a command to discover logfiles and the logfile was created after the first polling interval. Change Request: B555014132 During a distribution the agent may report error number OPC30-1203/OPC20-63 when trying to access the cfgchg file. The cause for this problem is that there are several processes trying to get exclusive access to this file at the same time. The problem has been fixed by doing a retry for 10 times in case the error should occur with a delay of one second. Change Request: B555013548 The manual agent installation script opc_inst expects compressed packages. So if you run it a second time nothing happens because the packages are already uncompressed. Change Request: B555009284 There were two different authorization algorithms which interfered with each other. This has been consolidated and is now checked more strictly. Change Request: 8606242614, 8606277183 The variables <$LOGFILE> and <$LOGPATH> were replaced after the suppression rules were evaluated. Therefore the comparison did not use the actual logfile name or path, but compared the string "<$LOGFILE>" or "<$LOGPATH>". Change Request: B555014759 When enabling/disabling policies you might discover a memory leak in the agent processes. Change Request: H555008529, H555008546 This is a timing issue, where internal structures are not updated by the signal handler in time for proper values to be written in the PIDS file. An additional check for process presence has been implemented before writing the PIDS file. Enhancement: No SR: 1653244319 8606182742 8606187183 8606208755 8606232431 8606242614 8606247907 8606262299 8606272184 8606277183 8606279044 8606282247 8606284806 8606286301 8606286654 8606290146 8606290675 8606298307 8606300119 8606300991 8606301574 8606304320 8606310161 8606310908 8606310913 8606313801 8606314911 8606321177 8606322495 8606323486 8606323492 8606325445 8606327444 8606328784 8606333207 8606333639 8606334713 8606336164 8606338440 8606340158 8606340180 8606342477 8606344630 8606345591 8606345727 8606346413 8606347268 8606351529 8606353730 8606355743 8606355920 8606356454 8606358227 8606359803 8606360024 B552001603 B552004604 B553000527 B553003927 B555006064 B555008674 B555009183 B555009284 B555012196 B555013548 B555013719 B555013891 B555014014 B555014093 B555014132 B555014189 B555014574 B555014591 B555014667 B555014691 B555014715 B555014759 B555014781 B555014851 B555014942 B555015155 B555015199 B555015230 B555015325 B555015331 B555015349 B555015449 B555015479 B555015496 B555015557 B555015592 B555015626 B555015712 B555015758 B555015967 B555016324 B555016456 B555017068 B555017407 B555017581 B555017592 B555017924 B555018498 B555018506 B555018987 B555019025 B555019473 B555020612 B555021772 B555022224 B555022945 B555023264 B555023808 B555023880 B555025523 B555026668 B555027712 B555028060 B555029983 B555031796 B555032445 H555006719 H555007999 H555008014 H555008275 H555008529 H555008546 H555008553 H555008582 H555008602 H555008631 H555008815 H555009186 H555009399 H555009704 H555009905 H555010197 H555010422 H555010464 H555010468 H555010482 H555010496 H555010561 H555010571 H555010800 H555010925 H555011117 H555011234 H555011331 H555011381 H555011428 H555011662 H555011688 H555011802 H555011873 H555011875 H555011985 H555012001 H555012125 H555012129 H555012130 H555012193 H555012289 H555012329 H555012470 H555012682 H555012990 H555012991 H555013346 H555013386 H555013555 R555001351 R555017956 R555018043 R555018044 R555018185 R555018227 R555018267 R555019153 R555021214 R555022489 R555022806 R555025398 R555026123 R555026193 R555026201 Patch Files: OVOPC-CLT.OVOPC-LIN-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64, v=HP: OVOPC-CLT.OVOPC-LIN-CLT,fr=A.07.10,fa=HP-UX_B.11.11_32/64, v=HP: /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/opc_pkg.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/opc_version /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/opc_inst /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrclchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrdschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrinst /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrndchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcroschk /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrverchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/actions/st_syslogd.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/monitor/opcfwtmp.Z /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/download.dsf /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ja_JP.SJIS/ Turbolin.idx /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ja_JP.SJIS/ TEMPLATES/LOGFILE/logfile.dat /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ja_JP.SJIS/ TEMPLATES/TEMPLGROUP/templgroup.dat /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/monitor/cpu_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/monitor/disk_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux26/AgentPlatform /var/opt/OV/share/tmp/OpC_appl/tles/C/TEMPLATES/LOGFILE/ logfile.dat /var/opt/OV/share/tmp/OpC_appl/tles/C/TEMPLATES/TEMPLGROUP/ templgroup.dat /var/opt/OV/share/tmp/OpC_appl/tles/ja_JP.SJIS/TEMPLATES/ LOGFILE/logfile.dat /var/opt/OV/share/tmp/OpC_appl/tles/ja_JP.SJIS/TEMPLATES/ TEMPLGROUP/templgroup.dat /var/opt/OV/share/tmp/OpC_appl/tles/ja_JP.SJIS/tles.idx /var/opt/OV/share/tmp/OpC_appl/tles/C/tles.idx what(1) Output: OVOPC-CLT.OVOPC-LIN-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64, v=HP: /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/opc_pkg.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/opc_version: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/opc_inst: HP OpenView Operations A.07.25 (08/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrclchk: HP OpenView Operations A.07.25 (07/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrdschk: HP OpenView Operations A.07.25 (07/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrinst: HP OpenView Operations A.07.25 (07/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrndchk: HP OpenView Operations A.07.25 (07/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcroschk: HP OpenView Operations A.07.25 (07/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/install/opcrverchk: HP OpenView Operations A.07.25 (07/20/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/actions/st_syslogd.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/monitor/opcfwtmp.Z: None /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/download.dsf: None /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ja_JP.SJIS/ Turbolin.idx: None /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ja_JP.SJIS/ TEMPLATES/LOGFILE/logfile.dat: None /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ja_JP.SJIS/ TEMPLATES/TEMPLGROUP/templgroup.dat: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/monitor/cpu_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux22/A.07.10/RPC_DCE_TCP/monitor/disk_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/linux/intel/ linux26/AgentPlatform: None /var/opt/OV/share/tmp/OpC_appl/tles/C/TEMPLATES/LOGFILE/ logfile.dat: None /var/opt/OV/share/tmp/OpC_appl/tles/C/TEMPLATES/TEMPLGROUP/ templgroup.dat: None /var/opt/OV/share/tmp/OpC_appl/tles/ja_JP.SJIS/TEMPLATES/ LOGFILE/logfile.dat: None /var/opt/OV/share/tmp/OpC_appl/tles/ja_JP.SJIS/TEMPLATES/ TEMPLGROUP/templgroup.dat: None /var/opt/OV/share/tmp/OpC_appl/tles/ja_JP.SJIS/tles.idx: None /var/opt/OV/share/tmp/OpC_appl/tles/C/tles.idx: None cksum(1) Output: OVOPC-CLT.OVOPC-LIN-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64, v=HP: 2517358231 4249600 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ opc_pkg.Z 4136466889 8 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ opc_version 1891602872 8156 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ opc_inst 1130583195 28928 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ install/opcrclchk 176458868 30734 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ install/opcrdschk 3045942757 139091 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ install/opcrinst 1848041531 28960 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ install/opcrndchk 2781497965 8062 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ install/opcroschk 3915986109 29528 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ install/opcrverchk 1251844317 2693 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ actions/st_syslogd.sh.Z 339614925 4882 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ monitor/opcfwtmp.Z 2749137351 118 /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ download.dsf 1596082861 671 /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ ja_JP.SJIS/Turbolin.idx 4085857479 3549 /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ ja_JP.SJIS/TEMPLATES/LOGFILE/logfile.dat 1268004519 443 /var/opt/OV/share/tmp/OpC_appl/Turbolinux7/ ja_JP.SJIS/TEMPLATES/TEMPLGROUP/templgroup.dat 2416403923 5917 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ monitor/cpu_mon.sh.Z 2988468049 6139 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux22/A.07.10/RPC_DCE_TCP/ monitor/disk_mon.sh.Z 1417488924 4576 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/linux/intel/linux26/AgentPlatform 802119915 3389 /var/opt/OV/share/tmp/OpC_appl/tles/C/ TEMPLATES/LOGFILE/logfile.dat 3946767842 485 /var/opt/OV/share/tmp/OpC_appl/tles/C/ TEMPLATES/TEMPLGROUP/templgroup.dat 2918952478 3369 /var/opt/OV/share/tmp/OpC_appl/tles/ ja_JP.SJIS/TEMPLATES/LOGFILE/logfile.dat 1287256825 488 /var/opt/OV/share/tmp/OpC_appl/tles/ ja_JP.SJIS/TEMPLATES/TEMPLGROUP/templgroup.dat 998714741 736 /var/opt/OV/share/tmp/OpC_appl/tles/ ja_JP.SJIS/tles.idx 2067786959 691 /var/opt/OV/share/tmp/OpC_appl/tles/C/ tles.idx Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_30548 PHSS_30204 PHSS_29643 PHSS_29626 PHSS_28951 PHSS_28646 Equivalent Patches: ITOSOL_00325: sparcSOL: 2.7 2.8 2.9 Patch Package Size: 4330 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_31006 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_31006.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_31006. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_31006.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_31006.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_31006.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: BEFORE LOADING THIS PATCH... (A) Patch Installation Instructions ------------------------------- (A1) Install the patch, following the standard installation instructions. For backing up the system before installing a patch, you may use opc_backup(1m) NOTE: MAKE SURE THAT NO AGENT OF THE PLATFORM ADDRESSED BY THIS PATCH IS DISTRIBUTED (either from the VPO Administrator's GUI or from command line using inst.sh) WHILE RUNNING SWINSTALL. NOTE: This patch must be installed on the VPO Management Server system, NOT on an VPO Managed Node directly. Changes will take effect on managed nodes by means of VPO Software Distribution (using 'Force Update' if there is already an agent installed on the managed node). See chapter 2 of the VPO Administrator's Reference manual for more information. NOTE: The VPO Agent consists of several components that are patched individually. This patch updates only the Event/Action component. Therefore the software distribution will tell, that the agent software is updated to A.07.10, not to A.07.12. Also the version of the ITOAgent bundle will still be A.07.10. You can verify the installed version of the components on the agent system using opcragt -agent_version. For example: opcragt -agent_version hpbbln8 Node hpbbln8.bbn.hp.com: OPC_INSTALLED_VERSION = A.07.12 PERF_INSTALLED_VERSION = A.07.10 COMM_INSTALLED_VERSION = 2.5.3.9 Done. (B) Patch Deinstallation Instructions --------------------------------- (B1) To deinstall the patch PHSS_31006 run swremove: NOTE: MAKE SURE THAT NO AGENT OF THE PLATFORM ADDRESSED BY THIS PATCH IS DISTRIBUTED (either from the ITO Administrator's GUI or from command line using inst.sh) WHILE RUNNING SWREMOVE. # swremove PHSS_31006 =========================================================== =========================================================== OVO Linux agent installation on RedHat Linux using KickStart utility =========================================================== Introduction ============ PHSS_31006 provides support for OVO Linux agent installation using KickStart utility. Supported Platforms =================== - RedHat 6.2 - RedHat 7.0 - RedHat 7.1 - RedHat 7.2 - RedHat 7.3 - RedHat 8.0 - RedHat 9.0 - RedHat Enterprise Linux 2.1 - RedHat Enterprise Linux 3 Installation ============ In order to automatically resolve OVO Linux agent dependencies, you should specify OVO Linux agent packages in %packages section of your KickStart configuration file. If so, you will receive a warning about possible dependencies failure. If you want to install OVO Linux agent packages from the %post section of the KickStart configuration file, you must resolve all dependencies manually or install them prior to the agent installation. OVO Linux agent dependencies are the following: sed = /bin/sed awk = /bin/awk cat = /bin/cat chown = /bin/chown cp = /bin/cp domainname = /bin/domainname echo = /bin/echo grep = /bin/grep ln = /bin/ln mkdir = /bin/mkdir mv = /bin/mv ps = /bin/ps rm = /bin/rm rmdir = /bin/rmdir rpm = /bin/rpm sort = /bin/sort tar = /bin/tar touch = /bin/touch true = /bin/true uname = /bin/uname ldconfig = /sbin/ldconfig dirname = /usr/bin/dirname expr = /usr/bin/expr find = /usr/bin/find groupadd = /usr/sbin/groupadd groupdel = /usr/sbin/groupdel useradd = /usr/sbin/useradd userdel = /usr/sbin/userdel