LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2007, 02:05 PM   #1
totaljj
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
adding host on pvm


pvm> add pc196s
add pc196s
msc501@pc196s's password:
8msc501@pc196s's password:
msc501@pc196s's password:
0 successful
HOST DTID
pc196s Can't start pvmd

Checking $PVM_ROOT on Host "pc196s"...
msc501@pc196s's password:

The value of the $PVM_ROOT environment
variable on pc196s is invalid ("").
Use the absolute path to the pvm3/ directory.



I've got following explanation but I can't work out what to do.




"
All the Linux computers have a ssh server running, so PVM can use ssh when

adding computers to the cluster. Unfortunately, by default PVM tries to execute the command

$PVM_ROOT/lib/pvmd without launching a shell. This requires sshd to know the

value for $PVM_ROOT which is normally only set by bash when you log into

a shell.



So to get everything to work, I used a wrapper script around ssh to set replace

PVM_ROOT with the correct path before calling ssh. This will only work if PVM

is installed in a fixed location on all machines, e.g. your user area. The

script I used is listed below. djh123 needs to be replaced with your username



#!/bin/sh

# Execute remote ssh pvmd with correct linux path

computer=$1

args=`echo $2 | sed s/"\\$PVM_ROOT"/"\/usr\/djh123\/pvm3"/g`

exec /usr/bin/ssh $computer "$args"


"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cacti adding XP as host noir911 General 1 10-17-2006 06:51 AM
Adding virtual host bestofmed Linux - Networking 2 09-28-2005 04:01 PM
adding host to djbdns dreamz_jaleel Linux - Networking 2 09-21-2004 02:02 AM
adding host to djbdns dreamz_jaleel Linux - Networking 2 09-20-2004 02:04 PM
Adding a host to /etc/hosts kzazula Linux - Newbie 1 10-25-2003 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration