Operating System - Linux
1827807 Members
2673 Online
109969 Solutions
New Discussion

Re: Red Hat 7.1 Omniback client problem

 
Miguel_6
New Member

Red Hat 7.1 Omniback client problem

When install omni software throw the GUI , I recive the next error :

Critical [110:101] Host import failed!
[12:1625] Import host failed
System Error:[239] Conection refused.

1.- I create the /etc/xinetd.d/omni with
make a file /etc/xinetd.d/omni with following

service omni
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/omni/bin/inet
log_type = FILE /usr/omni/log/inet.log
port = 5555
}

2.- telnet localhost 5555
Unable ti connect to remote host: Connection refused.

3.- netstat -putan don't show the 5555 port.

4.- When I run /usr/omni/bin/inet inet -log /var/log/omni.log I can see for one second :
"HP OpenView OmniBack II A.03.50: INET, internal build PHSS_22914/PHSS_22915,
built on Tue Jan 9 12:18:35 2001"

And after the proces stop.

Somebody can help me , please?




9 REPLIES 9
wyan lowe
Frequent Advisor

Re: Red Hat 7.1 Omniback client problem

i had the same problem on 7.1 redhat, but i thought it was maybe something in 7.1 vs 7.0 so I reinstall to 7.0

had read the earlier posts on success with 7.0 and did have success with 7.0 but didn't take good notes on what i did

retried this time with 7.0 and it didn't work - got same behavior - telnet localhost 5555 returned with error - didn't hang like it was supposed to...

tried applying errata from redhat's 7.0 site, but still nothing...

finally, noticed on redhat 7 box where it was working, i actually had 2 installs - one in /opt/omni and the other in /usr/omni.....ahhh

so on this new box: ln -s /var/opt/omni /usr/omni
where /var/opt/omni is where I installed the 2 packet.z files from off the Omniback CD. Made /var a filesystem per redhat's docs

now telnet localhost 5555 hangs! like its waiting for data!

last thing was to make sure to create 2 files (not well documented):
1) /var/opt/omni/config/cell/cell_server - put in the name of the cell server
2) /var/opt/omni/bin/install/omni_info - put in 2 lines:
CORE_VERSION A.03.50
DISK_AGENT_VERSION A.03.50

The cell server is Omniback v3.50 running on NT

Now the Import works fine.

so the only thing that was causing the thing to fail mysteriously was the stupid stupid path. /usr/omni -

don't think that its defined in /etc/xinetd.d/omni file - mine clearly says "server= /var/opt/omni/bin/inet"

Talk about frustrating - did I miss something in the release notes? or did somebody else?
wyan lowe
Frequent Advisor

Re: Red Hat 7.1 Omniback client problem

uh, it looks like you're using /usr/omni - so above does not apply ;)

1) check /etc/services for "omni 5555/tcp"

2) restart xinetd via "/etc/rc.d/init.d/xinetd restart"

3) try "chkconfig --list" to see if "omni" is "on"

4) telnet localhost 5555
I think you should get a connection, and it should hang - expecting data...otherwise:

5) ipchains --list to see if your have firewall rules to block stuff - mine says "Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):" which I guess means there are no custom rules, everything is acceptable

6) make sure telnet is enabled in /etc/xinetd.d/telnet, check that "disable = no" - change it to no and restart xinetd - verify telnet works via "telnet localhost" and login...

7) if you get the telnet localhost 5555 to work, then check my previous post above about the 2 files you need to create

8) then on cell manager import the linux client - hopefully it'll work
Miguel_6
New Member

Re: Red Hat 7.1 Omniback client problem

Hi.

First , thanks to all.

1.- I make a link of /usr/omni to /var/opt/omni.
2.- There are a line in service file for omni.
3.- Telnet localhost 5555 return :
Unnable to connect ...
4.- Ipchains is disable.
5.- chkconfig :
omni: on

Another interesting solution , please.


Thanks .

wyan lowe
Frequent Advisor

Re: Red Hat 7.1 Omniback client problem

Hi Miguel,

I was able to get redhat 7.1 to work with Omniback 3.5 NT Cell Server - so it should work...

try this:
1) telnet localhost

does it work or fail?
if fail:
a) vi /etc/xinetd.d/telnet
change "disable = yes" to "disable = no"
b) recycle xinetd via "/etc/rc.d/init.d/xinetd restart"
c) verify that "telnet localhost" works, or that at least you get a login prompt

i think the problem is that you're not even getting the login...usually because redhat turns off services by default for security

2) check to make sure "telnet localhost 5555" works...
it should display some info then hang...as if expecting data

3) make sure you have 2 files:
1) /usr/omni/config/cell/cell_server - which should contain the fully qualified domain name of the cell manager
2) /usr/omni/bin/install/omni_info - which should contain 2 lines:
CORE_VERSION A.03.50
DISK_AGENT_VERSION A.03.50
again - my version is 3.5

now try to import the client...
wyan lowe
Frequent Advisor

Re: Red Hat 7.1 Omniback client problem

one more thing -

the symbolic link probably isn't needed in your case...

in my case, i created the /var/opt/omni directory
then untar'd the tar files into there...

the directions say to use /usr/omni, but I chose to use another directory thinking it would be okay....

and it is ok, as long as you create a symbolic link /usr/omni to point to whereever you untar'd the files to.

but in your case, since you untar'd to /usr/omni, I don't think you want that link to /var/opt/omni....
wyan lowe
Frequent Advisor

Re: Red Hat 7.1 Omniback client problem

one more thing -

ipchains --flush

I think will remove any custom firewall rules in effect

ipchains --list

should show 3 lines with ACCEPT now...

maybe telnet isn't working because:
1) xinetd has it disabled
2) ipchains is blocking ports

once you get "telnet localhost" to work, then try "telnet localhost 5555"
Miguel_5
New Member

Re: Red Hat 7.1 Omniback client problem

I have telnet in the server.
I don't have any chains in the firewall. (3 x ACCEPT)

Can you show me the result of "netstat -putan" ?
You can see a port 5555 ?

wyan lowe
Frequent Advisor

Re: Red Hat 7.1 Omniback client problem

Hi Miguel,

# netstat -putan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN 557/rpc.statd
tcp 0 0 0.0.0.0:513 0.0.0.0:* LISTEN 17246/xinetd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 542/portmap
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 7062/X
tcp 0 0 0.0.0.0:5555 0.0.0.0:* LISTEN 17246/xinetd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 17246/xinetd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 721/sshd
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 17246/xinetd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 781/sendmail: accep
udp 0 0 0.0.0.0:32768 0.0.0.0:* 557/rpc.statd
udp 0 0 127.0.0.1:25375 0.0.0.0:* 6706/snmpd
udp 0 0 127.0.0.1:25376 0.0.0.0:* 6606/cmasvrpeerd
udp 0 0 0.0.0.0:161 0.0.0.0:* 6706/snmpd
udp 0 0 127.0.0.1:25378 0.0.0.0:* 6731/cmastorpeerd
udp 0 0 127.0.0.1:25385 0.0.0.0:* 6359/cmafdtnpeerd
udp 0 0 0.0.0.0:44718 0.0.0.0:* 21716/Maelstrom
udp 0 0 127.0.0.1:25393 0.0.0.0:* 6508/cmanicd
udp 0 0 0.0.0.0:733 0.0.0.0:* 557/rpc.statd
udp 0 0 0.0.0.0:111 0.0.0.0:* 542/portmap

-----------------------------------------------------
here is /etc/xinetd.d/omni file

# omni
#
#
service omni
{
socket_type = stream
wait = no
user = root
server = /var/opt/omni/bin/inet
server_args = inet -log /var/opt/omni/log/inet.log
log_on_failure += USERID
}

--------------------------------------------------
what happens if you do as root:

chkconfig --list

do you see omni=on?

"telnet localhost 5555" = does this work?
Miguel_5
New Member

Re: Red Hat 7.1 Omniback client problem

Finaly , it's work.... :))))

I copy your xinetd.d/omni and make a copy of /usr/omni to /var/opt/omni , no simbolic link , and I can see the port 5555 on localhost

Thanks, monay I report it to HP.