[Glass] Ubuntu 14.04 ethernet static ip and GemTools login
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Tue Mar 24 16:37:15 PDT 2015
Dario,
Replace the line:
$GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10
with a direct call to the startnetldi as described in my last email:
$GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
$GEMSTONE_LOGDIR/${stoneName}_ldi.log \
${stoneName}_ldi
BUUUUUUT,
before we get to the point where we are trying to debug the startNetldi
script, let's verify that you can start a netldi that works with your
remote GemTools. So:
1. login in as the user that is running your stone processes
2. cd $GS_HOME/gemstone/stones/<stone-name>
3. execute the following bash script:
. defStone.env
4. then manually start the netldi:
$GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
$GEMSTONE_LOGDIR/${GEMSTONE_NAME}_ldi.log \
${GEMSTONE_NAME}_ldi
5. test your remote GemTools
When we get GemTools working with a manually started netldi, then you
can try changing the startNetldi script.
Dale
On 03/24/2015 04:02 PM, Dario Trussardi via Glass wrote:
> Dale, Martin,
>
>> On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:
>>>
>>> What do you intend with: did this fix it for you?
>>>
>>> For now i don't resolve the problem.
>>
>> OK, thanks. From your previous message I wasn't sure whether you were
>> still seeing the problem.
>>
>>>
>>> Considerations?
>>
>> The netldi is only listening on the IPv6 localhost address. If you want
>> to use GemTools from another machine, it must also listen on the
>> 192.168.1.10 address. I'm not sure why it isn't already listening on
>> that address, but you should be able to fix it by adding -A192.168.1.10
>> to your startnetldi command line (see the man page for startnetldi).
>>
>> Once you've started netldi with that option, netstat -ltpn should show
>> netldi listening on that address.
>
> First:my environment is based on tODE and i think to change the file
> startNetldi
>
> adding some parameter to the last line.
>
> #! /bin/bash
> #=========================================================================
> # Copyright (c) 2014 GemTalk Systems, LLC
> <dhenrich at gemtalksystems.com <mailto:dhenrich at gemtalksystems.com>>.
> #=========================================================================
>
> usage() {
> cat <<HELP
> USAGE: $(basename $0) [-h] <stone-name>
> Start the netldi process for the given stone.
>
> OPTIONS
> -h display help
>
> EXAMPLES
> $(basename $0) -h
> $(basename $0) kit
>
> HELP
> }
>
> set -e # exit on error
> if [ "${GS_HOME}x" = "x" ] ; then
> echo "the GS_HOME environment variable needs to be defined"; exit 1
> fi
> source ${GS_HOME}/bin/shFunctions
> getOpts_help $@
>
> if [ $# -ne 1 ]; then
> usage; exit 1
> fi
> stoneName=$1
>
> echo "starting netldi $stoneName"
>
> # set up stone environment
> stonePath=$GS_HOME/gemstone/stones/$stoneName
> pushd $stonePath >& /dev/null
> source $stonePath/stone.env
> popd >& /dev/null
>
> $GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10
>
> But with this information when i do the command : startNetlidi
> gestionale i don't solve the problem.
>
> The netstat -ltpn don't report netldi listening on that address.
>
>
> Second:in addition the service are started with Daemontools Gemstone
> service and i don't know where i need add the -A parameter.
>
> Anyone know informations about it ?
>
> Thanks,
>
> Dario
>
>
>
>> Regards,
>>
>> -Martin
>>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150324/ca012a64/attachment-0001.html>
More information about the Glass
mailing list