?
Solved

HP OMW 8.10 client on CentOS 5.0 installation Problem

Posted on 2011-02-16
4
Medium Priority
?
1,105 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
[X]
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
4 Comments
 
LVL 35

Accepted Solution

by:
Duncan Roe earned 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

777 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