Hello. Unfortunately, serveradmin is indeed one of those paths/tools that are no longer present in the new version of OS X Server. Either that, or it is renamed to something new that I am not aware of. However, doing a ps -A | grep -i postgres, I get the below. I am not sure if this really means postgres is running or not. Looking in system.log file, I am noticing a weird error (attached). Any thoughts on this would be most appreciated. Many thanks!
--------- ps -A | grep -i postgres -------
3709 ?? 0:01.67 /Applications/Server.app/Contents/ServerRoot/usr/bin/postgres_real -D /Library/Server/PostgreSQL/Data -c listen_addresses= -c log_connections=on -c log_directory=/Library/Logs/PostgreSQL -c log_filename=PostgreSQL.log -c log_lock_waits=on -c log_statement=ddl -c log_line_prefix=%t -c logging_collector=on -c unix_socket_directory=/var/pgsql_socket -c unix_socket_group=_postgres -c unix_socket_permissions=0770
3724 ?? 0:00.79 postgres: logger process
3726 ?? 0:02.08 postgres: writer process
3727 ?? 0:01.45 postgres: wal writer process
3728 ?? 0:02.25 postgres: autovacuum launcher process
3729 ?? 0:05.38 postgres: stats collector process
6591 ?? 0:00.01 postgres: caldav caldav [local] idle
20614 ttys000 0:00.00 grep -i postgres
---------- system.log postgres error? --------------
Jul 25 21:33:32 toshiro-k-ohsumis-macbook-pro.local wikiadmin[20810]: [main.m:81 73290180 +0ms] PID 2655 in /tmp/wikiadmin-is-running.pid is stale, removing
Jul 25 21:33:32 toshiro-k-ohsumis-macbook-pro.local wikiadmin[20810]: [main.m:86 73290180 +0ms] Failed to remove /tmp/wikiadmin-is-running.pid: Permission deniedJul 25 21:33:32 toshiro-k-ohsumis-macbook-pro.local wikiadmin[20810]: [main.m:99 73290180 +0ms] wikiadmin is already running (pid=2655), check /tmp/wikiadmin-is-running.pidJul 25 21:33:32 toshiro-k-ohsumis-macbook-pro.local collabd[8654]: [CSConnectionPool:141 9be8000 +162ms] Schema is STILL out of date (0 < 69) after launching wikiadmin, update failed! collabd will refuse to run until this is fixed.Jul 25 21:33:32 toshiro-k-ohsumis-macbook-pro.local collabd[8654]: [CSConnectionPool:152 9be8000 +0ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.Jul 25 21:33:32 toshiro-k-ohsumis-macbook-pro.local collabd[8654]: [PGCConnection:148 9be8000 +4ms] Error in TXN: Error executing query [INSERT INTO entity_attrs (entity_uid_fk, attrs_bin) VALUES ($1, $2)]: ERROR: bind message supplies 0 parameters, but prepared statement "" requires 2 ( 0 CoreFoundation 0x00007fff8d8ca716 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff8e824470 objc_exception_throw + 43
2 PostgreSQLClient 0x00000001099929ae -[PGC
Connection checkResultOK:forSQL:] + 360
3 PostgreSQLClient 0x00000001099935bd -[PGC
Connection executeUpdate:withParams:] + 879
4 CSService 0x00000001098e9298 -[CSContentService insertEntityAttributesRow:inTable:withGUID:] + 275
5 CSService 0x00000001098ea1fc __57-[CSContentService _internalCreateEntity:asUser:withACL:]_block_invoke_0 + 586
6 PostgreSQLClient 0x00000001099925a2 -[PGCConnection transactionInBlock:onError:] + 62
7 CSService 0x00000001098e9f3f -[CSContentService _internalCreateEntity:asUser:withACL:] + 771
8 CSService 0x000000010990b3e5 __88-[CSContentService createEntitiesFromTemplate:withData:andVariables:andACL:andLanguage:]_block_inv oke_0 + 898
9 PostgreSQLClient 0x00000001099925a2 -[PGCConnection transactionInBlock:onError:] + 62
10 CSService 0x000000010990b004 -[CSContentService createEntitiesFromTemplate:withData:andVariables:andACL:andLanguage:] + 237
11 CSService 0x000000010990b5f1 -[CSContentService createEntitiesFromTemplate:withData:andVariables:andACL:] + 126
12 CSService 0x000000010990ba6b -[CSContentService createEntitiesFromTemplate:] + 124
13 CSService 0x000000010990cd84 __24-[CSContentService init]_block_invoke_02420 + 225
14 PostgreSQLClient 0x00000001099925f7 -[PGCConnection transactionInBlock:onError:] + 147
15 CSService 0x000000010990c4f4 -[CSContentService init] + 789
16 CSService 0x00000001098bb11b -[CSLocalServiceLocator allocateService:] + 191
17 CSService 0x00000001098bb1c7 -[CSLocalServiceLocator locateService:] + 108
18 CSService 0x00000001098c1cf7 -[CSServiceBase locateService:] + 70
19 CSService 0x00000001098d3f55 __42-[CSSessionService unauthenticatedSession]_block_invoke_0 + 35
20 CSService 0x00000001098c26d7 -[CSServiceBase disableRefObjsInBlock:] + 279
21 CSService 0x00000001098d3e13 -[CSSessionService unauthenticatedSession] + 200
22 CSService 0x00000001098d452f -[CSSessionService currentOrNewSession] + 59
23 CSService 0x00000001098d58a5 -[CSSessionService enterMagicalAuthRealm] + 51
24 CoreFoundation 0x00007fff8d8bdcac __invoking___ + 140
25 CoreFoundation 0x00007fff8d8bdb47 -[NSInvocation invoke] + 263
26 CSService 0x00000001098bc50f -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 1507
27 CSService 0x00000001098bc9be -[CSServiceDispatcher executeRequest:] + 114
28 collabd 0x0000000109851393 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 705
29 collabd 0x000000010984fe37 __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke_0 + 73
30 collabd 0x000000010985286c __56-[CSHTTPBackgroundResponse initWithConnection:andBlock:]_block_invoke_0 + 185
31 libdispatch.dylib 0x00007fff82b49f3d _dispatch_call_block_and_release + 15
32 libdispatch.dylib 0x00007fff82b460fa _dispatch_client_callout + 8
33 libdispatch.dylib 0x00007fff82b4723e _dispatch_worker_thread2 + 304
34 libsystem_c.dylib 0x00007fff8cc0cceb _pthread_wqthread + 404
35 libsystem_c.dylib 0x00007fff8cbf71b1 start_wqthread + 13
)