Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help - can't start pvmd

115 views
Skip to first unread message

Curtis Cooley

unread,
Dec 23, 1996, 3:00:00 AM12/23/96
to CCO...@ewu.edu

I've got pvm to run at school, but on my home machine, whenver I try to
start the console it goes a lot like this:

libpvm [pid1315]: mksocs() read addr file: wrong length read
pvmd already running.
libpvm [pid1315]: mksocs() read addr file: wrong length read
libpvm [pid1315]: mksocs() read addr file: wrong length read
libpvm [pid1315]: mksocs() read addr file: wrong length read
libpvm [pid1315]: pvm_mytid(): Can't contact local daemon

Then if I try to just start the daemon, I get:

[pvmd pid1332] master_config() galifray.org: can't gethostbyname
[pvmd pid1332] pvmbailout(0)

where 'galifray.org' is the name I've given my 'host.'

I'm running Redhat Linux and pvm version 3.3. Everything went so smoothly
at school, that I'm really baffled here. The only difference is that at
school they have Debian Linux. Shouldn't make any difference!

I've set PVM_ROOT and PVM_DPATH (obviously since it compiled) and checked
the man pages and README's for clues, but, alas, I am clueless.
*************************************************************************
* *
* Curtis R. Cooley cco...@ewu.edu *
* Eastern Washington University Cheney Washington *
* *
* Does a slinky on an escalator violate the first and third laws *
* of thermodynamics? Why or why not? *
* *
*************************************************************************
.-)

Simon Knee

unread,
Dec 31, 1996, 3:00:00 AM12/31/96
to

Curtis Cooley wrote:
>
> I've got pvm to run at school, but on my home machine, whenver I try to
> start the console it goes a lot like this:
>
> libpvm [pid1315]: mksocs() read addr file: wrong length read
> pvmd already running.
> [snip]

>
> Then if I try to just start the daemon, I get:
>
> [pvmd pid1332] master_config() galifray.org: can't gethostbyname
> [pvmd pid1332] pvmbailout(0)
>
> where 'galifray.org' is the name I've given my 'host.'
>
> I'm running Redhat Linux and pvm version 3.3. .[snip]

The problem is with your linux inet setup, not pvm. I am not sure how
your linux distribution works, but in slackware you need to have:

1) You host name in /etc/HOSTNAME
2) An entry for you host in /etc/hosts such as:

192.168.0.1 galifray.org galifray

The above IP address should match the one you used when ifconfig
was called (in /etc/rc.inet1).

If you do not have the above then pvm cannot look up your hostname.

I tested this by renaming my host in just /etc/HOSTNAME, and when
I tried to run pvm I got exactly the same "master_config () ..." error.

Hope that helps.

Simon Knee,
Keble College,
Oxford University.

0 new messages