On 10/31/06, Aparajita Fishman <[EMAIL PROTECTED]> wrote:
>> > When 4D is started, it finds the license file and registers
>> correctly.
>> >
>> > When the machine is started and launches 4D Server as a service,
>> A4D
>> > cannot find the license file.
>>
>> Try putting the key file in a globally known place instead of inside
>> the plugin bundle. See the documentation for valid places to put the
>> key file.
>
> Placing the file in the Get 4D Folder location (/Library/Application
> Support/4D/ for OSX) solved the issue.  I removed the key file from
> the Plugin bundle because, as it says in the docs, A4D will use the
> first one it finds.  I wanted to make sure it could find only one.
>
> Restarting the machine, with 4D server as a service on startup,
> correctly registers the A4D license.

Hooray! For future reference, how does one register 4D server as a
service, or is it just a matter of making it a startup item?

4D Server has a menu item that says Register Current Database as a
Service.  On the Mac, a startupitem is exactly what it creates.  But
here's the rub (and a workaround).  4D is too dumb to ask you to
authenticate when needed because  the default install of OSX, even for
Admins, gives /Library/Startupitems/ permissions of 755 with an owner
of root:wheel.  So unless something has modified the folder
permissions, 4D will allow you to select the menu item, but not do
anything, no response, no nothing.  Ugh.  The solution is to
temporarily make the directory world writeable:
sudo chmod 777 /Library/StartupItems
Then when the item is created, return it to the previous state
sudo chmod 755 /Library/StartupItems
YMMV.

Perhaps you could report the problem and the solution in the
issuetracker so I can document this.

Sure, no prob.

Thanks,

Michael Check
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to