Solved

HP OMW 8.10 client on CentOS 5.0 installation Problem

Posted on 2011-02-16
4
1,097 Views
Last Modified: 2012-05-11

I am running HP OMW 8.10 server on Windows  Server 2003 Enterprise Edition. Now my requirement i to monitor Linux based server using OM agent. I have copied the agent in CentOS for 2.6 kernel.

below is the ls output of Agent for 2.6 kernel

# ls

comm_pkg.Z  opc_pkg.Z       ovoreqcheckagt.awk  perf_pkg.Z
opc_inst    ovoreqcheckagt  ovoreqcheck.cfg     svcdisc_pkg.Z


Now i am running below command to install the agent but following error comes.

#./opc_inst

-bash: ./opc_inst: /bin/sh^M: bad interpreter: No such file or directory


can anyone help ?
0
Comment
Question by:oppofwar
4 Comments
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 34989800
Your problem is that opc_inst is a Windows text file with lines ending CrLf.You can remove the Cr characters either with an editor or with a little utility called dos2unix which you can get from sourceforge.
However the fact that it is a Windows text file is a little disconcerting. Either it's a mistake in the original distribution or the files have been transferred to a Windows system using ASCII ftp at some stage, which will likely have corrupted the .Z files.
Be sure you have files exactly as per the original source.
0
 
LVL 3

Author Closing Comment

by:oppofwar
ID: 35007595
You are a genius. dos2unix worked. thanks
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now