Solved

HP OMW 8.10 client on CentOS 5.0 installation Problem

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Transparency shows that a company is the kind of business that it wants people to think it is.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 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

18 Experts available now in Live!

Get 1:1 Help Now