Solved

HP OMW 8.10 client on CentOS 5.0 installation Problem

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
what do I need to host my own web sites? 13 67
When trying to install php-fpm on CentOS 7 - GPG error 2 102
File Screening 1 37
CentOS Backup Options 3 19
Fine Tune your automatic Updates for Ubuntu / Debian
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

730 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