HP DP 6.11 Instalation on Redhat / Centos / Sangoma Freepbx

Data Protector software package successfully installed
  Importing client to monitor1…
[12:1625] Import host failed.
        System error: [10061] Connection refused

# telnet localhost 5555
Trying ::1…
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1…
telnet: connect to address 127.0.0.1: Connection refused

# cat /etc/services|grep 5555
#personal-agent  5555/tcp                # Personal Agent
#personal-agent  5555/udp                # Personal Agent

Comment these out and add

Verfiy, that following line in /etc/services exists (and no other line with 5555/tcp is in there!):

omni 5555/tcp # DATA-PROTECTOR

Verify, that xinetd package is installed and running.

yum install xinetd
service xinetd start

Create, if not already existing, the file /etc/xinetd.d/omni with following content:

service omni
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /opt/omni/lbin/inet
server_args = inet -log /var/opt/omni/log/inet.log
disable = no

flags = IPv4
}

restart the xinetd service

Manualy create the /var/opt/omni and /etc/opt/omni files and directories.

Copy files from any other linux installation

This issue is not happening on Debian

Hyper-V Windows 2016 Live Migration

I won’t be explaining how to setup it up as MS have got the page about it here.

https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/live-migration-overview

For it work you need to log in as user from the same domain where the machine is and this user need to be in a Domain Admin Group

How to update management server in Kaspersky Endpoint Security 10

Navigate to:
cd C:\Program Files (x86)\Kaspersky Lab\NetworkAgent
then run the following command

klmover.exe -address your_new_server

This will fix the problem where endpoint is not visable after you have installed the Kaspersky Agent.

The root of this issue is that you have moved your Kaspersky Security Centre to new server and you have not updated configuration for your installation packages under Remote Installation-> Installation Packages -> Configure installation Package

You should correct your management ip there.

How to install ASP.NET state session on Windows 2016

Go to Add Remove/Feature then Install ASP.NET 4.6 from .Net Framework 4.6 Features.

Once installed configure remote access

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection to 1.

Then set a service to autostart in services.msc

Once completed restart the service to enable remote connections.

Reboot is not required if you don’t change the Windows Registry settings.

How to disable specific repo from using apt proxy service

if you see the following error then you may need to exclude it from apt proxy

W: Failed to fetch https://packages.microsoft.com/debian/8/prod/dists/jessie/main/binary-amd64/Packages  Received HTTP code 403 from proxy after CONNECT

The easiest way to fix it is removing that repo from using proxy

Directly on the affected machine navigate to

vim /etc/apt/apt.conf.d/02proxy

then added affected repos to be direct

Acquire::https { Proxy "packages.microsoft.com DIRECT";}

You can now run apt-get update and it should be fine

How to recover password from 3CX IP PBX phone system

  1. Fist you need to have a root access to the server where 3CX is hosted.

Once logged it issue the following command to do a manually backup. The administrator password is in the .xml file in root of backup. So basically open up .zip files and there will only be 1 .xml file in it.

Run backup command ‘phonesystem” user otherwise it will not work.

sudo -u phonesystem 3CXBackupCmd –file=backuptest.zip –options=ALL

Then navigate to

/var/lib/3cxpbx/Instance1/Data/Backups

Once you open the file use serach to find “The admin ID” and the The admin pass

the value will be inside

<Value>youpassoword</Value> above the “The admin pass”