The install instructions explicitly state that the hostname command must
match your machine name.

Becky


> I can confirm that I had the same 'bug' last week.
> I had to fool around with hostnames ( I think I changed localhost to
> the output of 'hostname' to get it to work in the conf file, but I
> dont remember if that was all)
>
> ~Kyle
>
>
> Kyle Schochenmaier
>
>
>
> On Tue, Feb 24, 2009 at 10:20 AM, Sam Lang <[email protected]> wrote:
>>
>> Hi Walt,
>>
>> With the single config file in place now, the server has to be told
>> (with
>> the -a command line option) or guess which server it is.  It guesses by
>> simply using the hostname, and you may have run into a bug.  I'll play
>> with
>> it and see if I can make it more robust.  In the meantime, you can use:
>>   -a
>> 172-22-9-126.lwapp.clemson.edu
>>
>> -sam
>>
>> On Feb 24, 2009, at 10:06 AM, Walter Ligon wrote:
>>
>>> I probably did something wrong, but I got this error:
>>>
>>> sh-3.2# sbin/pvfs2-server /etc/pvfs2-fs.conf -f
>>> [S 02/24 10:58] PVFS2 Server on node 172-22-9-126 version
>>> 2.7.1pre1-2009-01-27-183824 starting...
>>> [E 10:58:18.292013] Configuration file error. No host ID specified for
>>> alias 172-22-9-126.
>>> [E 02/24 10:58] Could not find handle range for host (null)
>>> [E 02/24 10:58] Please make sure that the host names in
>>> /etc/pvfs2-fs.conf
>>> are consistent
>>> [D 02/24 10:58] PVFS2 Server: storage space created. Exiting.
>>>
>>> here is my config file:
>>>
>>> <Defaults>
>>>       UnexpectedRequests 50
>>>       EventLogging none
>>>       LogStamp datetime
>>>       BMIModules bmi_tcp
>>>       FlowModules flowproto_multiqueue
>>>       PerfUpdateInterval 1000
>>>       ServerJobBMITimeoutSecs 30
>>>       ServerJobFlowTimeoutSecs 30
>>>       ClientJobBMITimeoutSecs 300
>>>       ClientJobFlowTimeoutSecs 300
>>>       ClientRetryLimit 5
>>>       ClientRetryDelayMilliSecs 2000
>>>
>>>       StorageSpace /pvfs2-storage-space
>>>       LogFile /tmp/pvfs2-server.log
>>> </Defaults>
>>>
>>> <Aliases>
>>>       Alias 172-22-9-126.lwapp.clemson.edu
>>> tcp://172-22-9-126.lwapp.clemson.edu:3334
>>> </Aliases>
>>>
>>> <Filesystem>
>>>       Name pvfs2-fs
>>>       ID 43450330
>>>       RootHandle 1048576
>>>       <MetaHandleRanges>
>>>               Range 172-22-9-126.lwapp.clemson.edu
>>> 3-4611686018427387904
>>>       </MetaHandleRanges>
>>>       <DataHandleRanges>
>>>               Range 172-22-9-126.lwapp.clemson.edu
>>> 4611686018427387905-9223372036854775806
>>>       </DataHandleRanges>
>>>       <StorageHints>
>>>               TroveSyncMeta yes
>>>               TroveSyncData no
>>>       </StorageHints>
>>> </Filesystem>
>>>
>>> and for reference:
>>>
>>> sh-3.2# hostname
>>> 172-22-9-126.lwapp.clemson.edu
>>>
>>>
>>> Should I have dropped the domain name when I created the config file?
>>> The
>>> install instructions don't say anything about that.
>>>
>>> Walt
>>> _______________________________________________
>>> Pvfs2-developers mailing list
>>> [email protected]
>>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> [email protected]
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>
> _______________________________________________
> Pvfs2-developers mailing list
> [email protected]
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>


-- 
Becky Ligon
PVFS Developer
Clemson University
864-656-3865
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to