Change gemstone default directory and startup error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Change gemstone default directory and startup error

dario trussardi
 HI,

i download the last version of GemStone/S 3.1.0 Web Edition for Mac OS X

Because i have some Gemstone version on my MAC i renamed the default opt directory to opt310

After i update this file to point at the new directory:

/opt310/gemstone/product/seaside/defseaside
      "  "  /seaside/etc/gemstone.conf

and the soft link of product -> /opt310/gemstone/GemStone64Bit3.1.0-i386.Darwin
Now when i start the Gemstone with:

source /opt310/gemstone/product/seaside/defSeaside export GEMSTONE_NAME=development $GEMSTONE/seaside/bin/startnet $GEMSTONE/seaside/bin/startGemstone

the system report :

startnetldi[Info]: GemStone version '3.1.0'
startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
startnetldi[Info]: GEMSTONE is: '/opt310/gemstone/product'.
startnetldi[Info]: GEMSTONE_NRS_ALL is: '#dir:$GEMSTONE_DATADIR#log:/$GEMSTONE_LOGDIR/%N%P.log'.
failure after 5 retries, open(/opt/gemstone/locks/gemstone.hostid, O_CREAT | O_EXCL) failed with errno=13,EACCES, Authorization failure (permission denied)

startnetldi[Error]:  could not start server


I need to change some other files?

The error point to  /opt/gemstone/locks/gemstone.hostid

Thanks for any considerations.

Dario
Reply | Threaded
Open this post in threaded view
|

Re: Change gemstone default directory and startup error

Dale Henrichs
I'm checking into this ... I don't recall the details about /opt/gemstone/locks ... it might be required that that particular directory exist ...

Dale

----- Original Message -----
| From: "Dario Trussardi" <[hidden email]>
| To: "beta discussion Gemstone Seaside" <[hidden email]>
| Sent: Saturday, July 21, 2012 5:10:49 AM
| Subject: [GS/SS Beta] Change gemstone default directory and startup error
|
|
| HI,
|
|
| i download the last version of GemStone/S 3.1.0 Web Edition for Mac
| OS X
|
|
| Because i have some Gemstone version on my MAC i renamed the default
| opt directory to opt310
|
|
| After i update this file to point at the new directory:
|
|
| /opt310/gemstone/product/seaside/defseaside
| " " /seaside/etc/gemstone.conf
|
|
| and the soft link of product ->
| /opt310/gemstone/GemStone64Bit3.1.0-i386.Darwin
|
| Now when i start the Gemstone with:
|
|
| source /opt 310 /gemstone/product/seaside/defSeaside export
| GEMSTONE_NAME=development $GEMSTONE/seaside/bin/startnet
| $GEMSTONE/seaside/bin/startGemstone
|
|
| the system report :
|
|
| startnetldi[Info]: GemStone version '3.1.0'
| startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
| startnetldi[Info]: GEMSTONE is: '/opt310/gemstone/product'.
| startnetldi[Info]: GEMSTONE_NRS_ALL is:
| '#dir:$GEMSTONE_DATADIR#log:/$GEMSTONE_LOGDIR/%N%P.log'.
| failure after 5 retries, open(/opt/gemstone/locks/gemstone.hostid,
| O_CREAT | O_EXCL) failed with errno=13,EACCES, Authorization failure
| (permission denied)
|
|
| startnetldi[Error]: could not start server
|
|
|
|
| I need to change some other files?
|
|
| The error point to /opt/gemstone/locks/gemstone.hostid
|
|
| Thanks for any considerations.
|
|
| Dario
Reply | Threaded
Open this post in threaded view
|

Re: Change gemstone default directory and startup error

Dale Henrichs
In reply to this post by dario trussardi
Dario,

Setting the env var GEMSTONE_GLOBAL_DIR allows you to specify the locks
dir wherever it may be.

Thanks Lisa!

Dale

----- Original Message -----
| From: "Dario Trussardi" <[hidden email]>
| To: "beta discussion Gemstone Seaside" <[hidden email]>
| Sent: Saturday, July 21, 2012 5:10:49 AM
| Subject: [GS/SS Beta] Change gemstone default directory and startup error
|
|
| HI,
|
|
| i download the last version of GemStone/S 3.1.0 Web Edition for Mac
| OS X
|
|
| Because i have some Gemstone version on my MAC i renamed the default
| opt directory to opt310
|
|
| After i update this file to point at the new directory:
|
|
| /opt310/gemstone/product/seaside/defseaside
| " " /seaside/etc/gemstone.conf
|
|
| and the soft link of product ->
| /opt310/gemstone/GemStone64Bit3.1.0-i386.Darwin
|
| Now when i start the Gemstone with:
|
|
| source /opt 310 /gemstone/product/seaside/defSeaside export
| GEMSTONE_NAME=development $GEMSTONE/seaside/bin/startnet
| $GEMSTONE/seaside/bin/startGemstone
|
|
| the system report :
|
|
| startnetldi[Info]: GemStone version '3.1.0'
| startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
| startnetldi[Info]: GEMSTONE is: '/opt310/gemstone/product'.
| startnetldi[Info]: GEMSTONE_NRS_ALL is:
| '#dir:$GEMSTONE_DATADIR#log:/$GEMSTONE_LOGDIR/%N%P.log'.
| failure after 5 retries, open(/opt/gemstone/locks/gemstone.hostid,
| O_CREAT | O_EXCL) failed with errno=13,EACCES, Authorization failure
| (permission denied)
|
|
| startnetldi[Error]: could not start server
|
|
|
|
| I need to change some other files?
|
|
| The error point to /opt/gemstone/locks/gemstone.hostid
|
|
| Thanks for any considerations.
|
|
| Dario