четверг, 28 августа 2014 г.

HP Data Protector A.06.11 on Oracle Linux Server release 6.4: System error: [10061] Connection refused

Устанавливаю DP Client на сервер dl2 (Oracle Linux 6.4).

1) Вначале возникли такие же проблемы как на dl1 (Oracle Linux 5.7).
Скопировал с DP CD инсталлянт для Linux и запросило CD HP-UX: с DP CD для HP-UX докопировал каталог hpux_ia.

2) ./omnisetup.sh -server monitor1 -install da,ma

После этого, в своё время, на dl1 всё заработало, но на dl2 такая ошибка:

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

3) Начинаю искать в чем причина.

3.1) Нашел:

# 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

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
}

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

omni 5555/tcp # DATA-PROTECTOR

restart the xinetd service

Then you should be able to connect to DP agent locally.

Однако, так и не работает.

3.2) Нашел:

Problem solved. Looks like on redhat the install procedure does not create all the files.
I had to manualy create the /var/opt/omni and /etc/opt/omni files and directories.
Then I restarted xinetd and everything started to work. Client imported and backup working.
Thank you for the help.

Однако, так и не работает.

3.3) Нашел:

Hi,
The main problem comes from /etc/services file. There is already an entry for port 5555 in Red Hat 6. For this reason OB2-CORE rpm installation script fails with this message:
"ERROR: Data Protector socket number 5555 is already occupied". You couldn't see this error mesage because omnisetup.sh suppresses RPM installation output.

REAL SOLUTION:
Open /ect/services file and place "#" before these lines:
personal-agent 5555/tcp # Personal Agent
personal-agent 5555/udp # Personal Agent

After that re-install Data Protector as usual.

Заработало!!!
Хотя на dl1, эти строки не заремлены и всё установилось нормально...

4) Как удалить DP:
./omnisetup.sh -Uninstall
./omnisetup.sh -Delete

1 комментарий:

  1. 1) Info.
    HP Data Protector Manager
    Data Protector Cell - Clients
    Nane: dl2.ms
    Plantform: gpl x86_64 linux-2.6.39-400.17.1.el6uek.x86_64
    Disk Agent A.06.11
    Disk Agent A.06.11

    2) I try to add new backup.
    HP Data Protector Manager
    Backup - Backup - Backup Specifications - Filesystems - Add Backup... (contextual) - Blank Filesystem Backup
    Select the items that you want to back up.
    And dl2.ms don't show any items for ((

    3) I do so.
    Review summaries of the backup specification and make last-minute chages - Manual add... - UNIX filesystem etc.
    As result manually added directories are backuped successfully.

    ОтветитьУдалить