Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

HP OMW 8.10 client on CentOS 5.0 installation Problem

Posted on 2011-02-16
4
1,099 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Are client relationship the only driver of a successful MSP? While important, client relationships are only one component. Learn how else MSPs can broaden their horizon and differentiate themselves.
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

861 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