Hi, Marc
The Directory you are looking for is the one defined in the SMF
manifest. Or the default working directory of SMF services.
It looks like the parent directories of that directory need to be
accessible to the Corosync user aswell.
Greetings
Till
On 21.02.22 09:33, Marc Lobelle wrote:
Hello all,
I'm trying to user the openindiana pacemaker package, using as
documentation the "Clusters from scratch release 2.1.2", wich assumes
CENT-OS(LINUX) as underlying OS and a 2014 document called "Use
pacemaker and corosync on Illumos (OmniOS) to run a Ha active/passive
cluster.", starting from the section "Corosync configuration". The user
is hacluster and he has the right to su and sudo, to ssh to the other
node without password nor passphrase. I attached the corosync
configuration file, the smf manifest and the smf startup script.
When I start the corosync service and look at what happened, I get this:
root@mosquito:~# cat `svcs -L corosync`
...
...
[ févr. 21 13:05:12 Leaving maintenance because disable requested. ]
[ févr. 21 13:05:12 Disabled. ]
[ févr. 21 13:05:23 Rereading configuration. ]
[ févr. 21 13:05:31 Enabled. ]
[ févr. 21 13:05:31 Executing start method ("/etc/smf/corosyncd start"). ]
*shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied*
Feb 21 13:05:32 notice [MAIN ] main.c:main:1352 Corosync Cluster
Engine ('2.4.5'): started and ready to provide service.
Feb 21 13:05:32 info [MAIN ] main.c:main:1353 Corosync built-in
features: testagents monitoring augeas xmlconf qdevices snmp bindnow
Feb 21 13:05:33 warning [MAIN ] main.c:corosync_set_rr_scheduler*:884
Could not set SCHED_RR at priority 59: Not owner (1)*
Feb 21 13:05:33 warning [MAIN ] main.c:main:1438 *Could not set
priority -2147483648: Permission denied (13)*
[ févr. 21 13:05:38 Method "start" exited with status 0. ]
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
cmap connection setup failed: CS_ERR_NOT_EXIST . Retrying in 1s
cmap connection setup failed: CS_ERR_NOT_EXIST . Retrying in 2s
cmap connection setup failed: CS_ERR_NOT_EXIST . Retrying in 3s
cmap connection setup failed: CS_ERR_NOT_EXIST . Retrying in 4s
cmap connection setup failed: CS_ERR_NOT_EXIST . Retrying in 5s
Could not connect to Cluster Configuration Database API, error 12
[ févr. 21 13:05:53 Stopping because all processes in service exited. ]
[ févr. 21 13:05:53 Executing stop method ("/etc/smf/corosyncd stop"). ]
[ févr. 21 13:05:54 Method "stop" exited with status 0. ]
[ févr. 21 13:05:54 Executing start method ("/etc/smf/corosyncd start"). ]
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
Feb 21 13:05:56 notice [MAIN ] main.c:main:1352 Corosync Cluster
Engine ('2.4.5'): started and ready to provide service.
Feb 21 13:05:56 info [MAIN ] main.c:main:1353 Corosync built-in
features: testagents monitoring augeas xmlconf qdevices snmp bindnow
Feb 21 13:05:56 warning [MAIN ] main.c:corosync_set_rr_scheduler:884
Could not set SCHED_RR at priority 59: Not owner (1)
Feb 21 13:05:56 warning [MAIN ] main.c:main:1438 Could not set priority
-2147483648: Permission denied (13)
[ févr. 21 13:06:01 Method "start" exited with status 0. ]
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
...
root@mosquito:~#
I do not understand which parent directory cannot be accessed nor why
priorities cannot be set.
Can anybody help me ?
Thanks
Marc
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss