Symptoms

RAM and CPU performance statistics are flat ( still ) and do not change ( linear ) in OACI VE.

Cause

snmpd failed to connect to dispatcher on server start. The following messages can be seen in logs of the PCS node:

/var/log/paciagent.log:

2015-02-24 18:24:20,662 DBG rule sent: ve [1025462.ppd2] rule [enabled] [cpu down] 919/900 seconds, 40 threshold, 800/2300 minmax, 6 version]  @[agent.c][143][send_rules_report][20032])
2015-02-24 18:24:20,662 DBG rule sent: ve [1034952.Terminal] rule [enabled] [cpu down] 306/300 seconds, 20 threshold, 800/9200 minmax, 2 version]  @[agent.c][143][send_rules_report][20032])
2015-02-24 18:52:46,098 INF
started paci agent @[agent_main.c][104][init][5683])
2015-02-24 18:52:46,116 INF server_addr: 192.168.139.2 @[agent_main.c][112][init][5683])
2015-02-24 18:52:46,519 ERR PrlSrv_LoginLocalEx:(, 0xface): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER @[common/common_lib.c][407][login_fill_session_uuid][5683])
2015-02-24 18:52:46,540 ERR login_fill_session_uuid(): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER @[common/common_lib.c][580][establish_connection_ex][5683])
2015-02-24 18:52:46,547 WRN PrlSrv_Logoff: failure PRL_ERR_NOT_CONNECTED_TO_DISPATCHER @[common/common_lib.c][323][__drop_connection][5683])
2015-02-24 18:52:46,547 INF dropped connection: "", session uuid: "", session handle 0xface @[common/common_lib.c][326][__drop_connection][5683])
2015-02-24 18:52:46,554 ERR __establish_connection(192.168.139.2): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER
 @[agent_main.c][129][init][5683])
2015-02-24 18:54:16,820 ERR PrlSrv_LoginLocalEx:(, 0xfad1): failure PRL_ERR_TIMEOUT @[common/common_lib.c][407][login_fill_session_uuid][5683])
2015-02-24 18:54:16,820 ERR login_fill_session_uuid(): failure PRL_ERR_TIMEOUT @[common/common_lib.c][580][establish_connection_ex][5683])
2015-02-24 18:55:05,249 WRN PrlSrv_Logoff: failure PRL_ERR_USER_OPERATION_NOT_AUTHORISED @[common/common_lib.c][323][__drop_connection][5683])
2015-02-24 18:55:05,249 INF dropped connection: "", session uuid: "", session handle 0xfad1 @[common/common_lib.c][326][__drop_connection][5683])
2015-02-24 18:55:05,249 ERR __establish_connection(192.168.139.2): failure PRL_ERR_TIMEOUT
 @[agent_main.c][129][init][5683])

/var/log/parallels.log:

02-24 18:24:08.385 F /CAuth:6618:10209/ stat64() has returned error: No such file or directory,
/pcs/1046674.Support.pvm/config.pvs
02-24 18:24:08.385 F /disp:6618:10209/ Access denied for user 'root@.' to VM with UUID '{912ce92b-8d8a-401f-a5bb-bfad8b32c744}' required 00000001 actual 00000000 command is 'DspCmdVmGetStatistics'
02-24 18:24:08.390 F /sdk:10176:10176/ PrEvtPrm_ToHandle(): unsupported event parameter with name 'vm_message_param_0'
02-24 18:24:08.391 F /sdk:10176:10176/ PrEvtPrm_ToHandle(): unsupported event parameter with name 'vm_message_param_1'
02-24 18:24:08.392 D /disp:6618:10209/ Processing command 'DspCmdVmGetStatistics' 2079 (PJOC_VM_GET_STATISTICS)
02-24 18:31:41.842 F /disp:6618:6618/ Synchronizing VMs uptime values
02-24 18:31:41.842 F /disp:6618:6618/ Resetting uptime of VM process old value=1532791561
02-24 18:31:41.842 F /disp:6618:6618/ Updating VM '1052298.ru-front-6' uptime with new delta 899.
02-24 18:52:46.116 F /cmn_utils:5683:5683/ ParallelsDirs::Init( ) was called. Current app mode = 0 ( SERVER ) initOpts = 0   build version: 6.8.23717.1100559 Sat, 17 Jan 2015 05:25:59
02-24 18:52:46.518 F /IOCommunication:5683:5854/ IO client ctx [read thr] (sender 3): Can't connect to socket:
02-24 18:52:46.519 F /IOCommunication:5683:5854/ IO client ctx [read thr] (sender 3): ERRORS BEGIN
02-24 18:52:46.519 F /IOCommunication:5683:5854/ IO client ctx [read thr] (sender 3): Error for socket ai_family = 1, ai_socktype = 1, ai_protocol = 0 in code line #1989, native error: No such file or directory [errno: 2]
02-24 18:52:46.519 F /IOCommunication:5683:5854/ IO client ctx [read thr] (sender 3): ERRORS END
02-24 18:52:46.519 F /sdk:5683:5698/ Can't connect to dispatcher!
02-24 18:52:52.546 I /ComputerDataNoSDK:6286:6286/ TR00005.03:  0
02-24 18:52:55.249 F /CAuth:6286:6286/ Auth failed: Authentication failure [7]
02-24 18:52:57.038 F /CAuth:6286:6286/ Auth failed: Authentication failure [7]
02-24 18:52:57.038 F /AgentCoreNoSDK:6286:6286/ Initializing DA_API.
02-24 18:52:57.038 F /AgentCoreNoSDK:6286:6286/ DA_API was initialized successfully.
02-24 18:52:57.590 F /cmn_utils:6548:6548/ ParallelsDirs::Init( ) was called. Current app mode = 0 ( SERVER ) initOpts = 0   build version: 6.8.23717.1100559 Sat, 17 Jan 2015 05:25:59
02-24 18:52:57.592 F /prl_net_start:6548:6548/ Starting Parallels networking.
02-24 18:52:57.778 F /virtuozzo:6548:6548/ Initialize libvznet_ct.so.3
02-24 18:52:58.567 F /cmn_utils:6559:6559/ ParallelsDirs::Init( ) was called. Current app mode = 0 ( SERVER ) initOpts = 0   build version: 6.8.23717.1100559 Sat, 17 Jan 2015 05:25:59
02-24 18:52:58.837 F /virtuozzo:6559:6559/ Initialize libvznet_ct.so.3
02-24 18:52:58.838 F /prl_naptd:6559:6559/ No interfaces configured for DHCP
02-24 18:52:58.838 F /prl_naptd:6559:6559/ [prl_naptd] Failed to (re)start. Going to sleep till configuration updated.
02-24 18:52:59.371 F /CAuth:6286:6286/ Auth failed: Authentication failure [7]
02-24 18:52:59.371 I /AgentCoreNoSDK:6286:6286/ Created Server object to listen IP =  Port = 1622
02-24 18:53:00.796 I /ptioch:6286:6576/ Network server obj state changed to 1
02-24 18:53:00.797 F /AgentCoreNoSDK:6286:6286/ Server side : Listen started, IOChannel mode 0, res 0x8000000
02-24 18:53:00.921 I /ptudp:6286:6286/ Starting UDP service on 0.0.0.0:1621
02-24 18:53:05.814 F /cmn_utils:6561:6561/ ParallelsDirs::Init( ) was called. Current app mode = 0 ( SERVER ) initOpts = 0   build version: 6.8.23717.1100559 Sat, 17 Jan 2015 05:25:59
02-24 18:53:05       watchdog: starting
02-24 18:53:05       'rndc' is missing. DNS server won't bind vnic interfaces.
02-24 18:53:06.082 F /prl_mounterd:6614:6614/ 215:118 unable to setsid(). error 'Operation not permitted'
02-24 18:53:06.083 F /cmn_utils:6614:6614/ ParallelsDirs::Init( ) was called. Current app mode = 0 ( SERVER ) initOpts = 0   build version: 6.8.23717.1100559 Sat, 17 Jan 2015 05:25:59
02-24 18:53:07.055 F /virtuozzo:6600:6600/ Initialize libvzctl
02-24 18:53:07.107 F /virtuozzo:6600:6600/ Initialize libvztt
02-24 18:53:07.145 F /virtuozzo:6600:6600/ Initialize libvznet_ct.so.3
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Parallels Virtualization System Log File
*
* Product information Parallels Server
* Build information 6.8.23717.1100559 Sat, 17 Jan 2015 05:25:59
*
02-24 18:53:07.185
*
* Operating System Linux
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

02-24 18:53:07.185 F /disp:6600:6600/ Execute mode is SERVER.
02-24 18:53:08.566 F /disp:6600:6600/ DAYLY TIMESTAMP: 2015-02-24 18:53:08  ( version = 6.8.23717.1100559 )
02-24 18:53:08.595 F /disp:6600:6600/ RLIMIT_NOFILE changed to maximum: 102400

Resolution

Restart snmpd on the node using the command:

# /etc/init.d/snmpd restart

Internal content