Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Starting InDesign server as root via "sudo" fails

$
0
0

Hi all,

 

(I previously posted this in the InDesign forum)

 

When I try to start InDesign CC Server 2015 as root via sudo, it fails to start with the following error message in the console:

The application with bundle ID com.adobe.InDesignServer is running setugid(), which is not allowed.

 

I tried using "InDesignServer.command" instead and with one or two parameters ("-port 8090", "-previews") without any success.

It works fine if I'm starting it as the logged in user (named admin) or if I log in as root and then start it.

The reason for me wanting it to be started as root via sudo is that we have encountered file permission problems in the past (users giving wrong permissions to documents that later shall be processed by the server). And you do not normally want to be logged in as root.


We have a lot of workflows with InDesign Server CS6 running as root. The users where able to set permissions in many different ways and when the workflows where designed the only way we found at the time to get rid of all problems where to run the InDesign server CS6 as root.

 

I'm running it on a Mac with OS X 10.10.5 (currently in a Fusion VM). I do not think the fact that it's running in a Fusion VM differs since it works when I log in as root.

 

Failing sudo start

Terminal output

INDD-server-CC-2015-test-10:~ admin$ sudo su -

Password:

INDD-server-CC-2015-test-10:~ root# cd /Applications/Adobe\ InDesign\ CC\ Server\ 2015/

INDD-server-CC-2015-test-10:Adobe InDesign CC Server 2015 root# ./InDesignServer

2015-10-22 08:24:12.028 adobe_licutil[1032:16521] The application with bundle ID com.adobe.adobe_licutil is running setugid(), which is not allowed.

================================================================================

.  InDesign CC Server Version 11.0

.  Copyright 1999-2015 Adobe Systems Incorporated and its licensors.

.  All rights reserved. See the other legal notices in the ReadMe.

================================================================================

Thu Oct 22 08:24:12 2015 INFO [server] Initializing

Thu Oct 22 08:24:12 2015 INFO [server] Loading the application

Thu Oct 22 08:24:12 2015 INFO [server] Scanning for plug-ins

Thu Oct 22 08:24:12 2015 INFO [server] Registering 116 plug-ins

Thu Oct 22 08:24:14 2015 INFO [server] Completing Object Model

Thu Oct 22 08:24:14 2015 INFO [server] Saving Object Model

Thu Oct 22 08:24:14 2015 INFO [server] Initializing plug-ins

Thu Oct 22 08:24:14 2015 INFO [server] Calling Early Initializers

Thu Oct 22 08:24:14 2015 INFO [server] Starting up Service Registry

2015-10-22 08:24:14.845 InDesignServer[1031:16520] __agent_connection_block_invoke_2: Connection error - Connection invalid

Thu Oct 22 08:24:15 2015 INFO [server] Executing startup services

Thu Oct 22 08:24:15 2015 INFO [server] Using configuration configuration_noport

Thu Oct 22 08:24:15 2015 INFO [server] Initializing Application

2015-10-22 08:24:15.708 InDesignServer[1031:16516] The application with bundle ID com.adobe.InDesignServer is running setugid(), which is not allowed.

INDD-server-CC-2015-test-10:Adobe InDesign CC Server 2015 root#

 

Messages in system.log

Oct 22 08:24:48 INDD-server-CC-2015-test-10.local adobe_licutil[1042]: The application with bundle ID com.adobe.adobe_licutil is running setugid(), which is not allowed.

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

  Call location:

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 0  CarbonCore                          0x00007fff93d442b7 ___Gestalt_SystemVersion_block_invoke + 113

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 1  libdispatch.dylib                  0x00007fff9ad42e73 _dispatch_client_callout + 8

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 2  libdispatch.dylib                  0x00007fff9ad42d86 dispatch_once_f + 117

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 3  CarbonCore                          0x00007fff93ccd456 _Gestalt_SystemVersion + 987

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 4  CarbonCore                          0x00007fff93ccc6e3 Gestalt + 144

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 5  AdobeAGM                            0x000000010f5b3872 AGMTerminate + 1027540

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 6  AdobeAGM                            0x000000010f7f1a3a AGMTerminate + 3379100

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: __agent_connection_block_invoke_2: Connection error - Connection invalid

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local InDesignServer[1041]: The application with bundle ID com.adobe.InDesignServer is running setugid(), which is not allowed.

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: realpath() returned NULL for /var/root/Library/Caches/com.adobe.InDesignServer

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: The read-connection to the DB=/var/root/Library/Caches/com.adobe.InDesignServer/Cache.db is NOT valid.  Unable to determine schema version.

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: realpath() returned NULL for /var/root/Library/Caches/com.adobe.InDesignServer

Oct 22 08:24:52 --- last message repeated 1 time ---

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: ERROR: unable to determine file-system usage for FS-backed cache at /var/root/Library/Caches/com.adobe.InDesignServer/fsCachedData. Errno=13

 

Successful start (as admin, it looks the same when I'm logged in as root)

Terminal output

INDD-server-CC-2015-test-10:Adobe InDesign CC Server 2015 admin$ ./InDesignServer

================================================================================

.  InDesign CC Server Version 11.0

.  Copyright 1999-2015 Adobe Systems Incorporated and its licensors.

.  All rights reserved. See the other legal notices in the ReadMe.

================================================================================

Thu Oct 22 08:26:30 2015 INFO [server] Initializing

Thu Oct 22 08:26:30 2015 INFO [server] Loading the application

Thu Oct 22 08:26:30 2015 INFO [server] Scanning for plug-ins

Thu Oct 22 08:26:30 2015 INFO [server] Registering 116 plug-ins

Thu Oct 22 08:26:32 2015 INFO [server] Completing Object Model

Thu Oct 22 08:26:32 2015 INFO [server] Saving Object Model

Thu Oct 22 08:26:32 2015 INFO [server] Initializing plug-ins

Thu Oct 22 08:26:32 2015 INFO [server] Calling Early Initializers

Thu Oct 22 08:26:33 2015 INFO [server] Starting up Service Registry

Thu Oct 22 08:26:34 2015 INFO [server] Executing startup services

Thu Oct 22 08:26:34 2015 INFO [server] Using configuration configuration_noport

Thu Oct 22 08:26:35 2015 INFO [server] Initializing Application

Thu Oct 22 08:26:35 2015 INFO [server] Completing Initialization

Thu Oct 22 08:26:35 2015 INFO [server] Calling Late Initializers

Thu Oct 22 08:26:37 2015 INFO [server] Image previews are off

Thu Oct 22 08:26:37 2015 INFO [server] Server Running

Thu Oct 22 08:26:37 2015 INFO [javascript] Executing File: /Applications/Adobe InDesign CC Server 2015/Scripts/startup scripts/ConnectInstancesToESTK.js

Thu Oct 22 08:26:37 2015 INFO [javascript] Executing File: /Applications/Adobe InDesign CC Server 2015/Scripts/converturltohyperlink/startup scripts/ConvertURLToHyperlinkMenuItemLoader.jsx

Thu Oct 22 08:26:37 2015 INFO [javascript] Executing File: /Applications/Adobe InDesign CC Server 2015/Scripts/converturltohyperlink/ConvertURLToHyperlinkMenuItem.jsxbin

 

Messages in system.log

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

  Call location:

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 0   CarbonCore                          0x00007fff93d442b7 ___Gestalt_SystemVersion_block_invoke + 113

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 1   libdispatch.dylib                   0x00007fff9ad42e73 _dispatch_client_callout + 8

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 2   libdispatch.dylib                   0x00007fff9ad42d86 dispatch_once_f + 117

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 3   CarbonCore                          0x00007fff93ccd456 _Gestalt_SystemVersion + 987

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 4   CarbonCore                          0x00007fff93ccc6e3 Gestalt + 144

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 5   AdobeAGM                            0x000000010cba3872 AGMTerminate + 1027540

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 6   AdobeAGM                            0x000000010cde1a3a AGMTerminate + 3379100

 

Can anyone help we with this?

 

Regards

Åke


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>