Re: [cas-user] Re: cas-management error creating service

2022-11-10 Thread Ray Bon
lanf, Apologies, that is the the location of the local git repo; and the 6.6.x property is: mgmt.version-control.services-repo If you are using json service registry: cas.serviceRegistry.json.location=file:/etc/cas/services Had to go through the source docs to find it. https://github.com/apereo

Re: [cas-user] Re: cas-management error creating service

2022-11-09 Thread lanf detroy
it does not work. the application no longer launches. Here is the error: [2022-11-10 07:55:15] [info] 2022-11-10 07:55:15,391 WARN [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext] - [2022-11-10 07:55:15] [info] 2022-11-10 07:55:15,456 ERROR [o

Re: [cas-user] Re: cas-management error creating service

2022-11-09 Thread lanf detroy
I changed the permissions but it didn't change anything. Is there anything else to do? Le lundi 7 novembre 2022 à 19:09:52 UTC+1, Ray Bon a écrit : > lanf, > > You can change the group for the services directory and give it write > permissions. > > sudo chgrp --recursive tomcat /etc/cas/servi

Re: [cas-user] Re: cas-management error creating service

2022-11-09 Thread Ray Bon
lanf, This looks to be the default directory # mgmt.services-repo=/etc/cas/services-repo https://apereo.github.io/cas-management/6.3.x/installation/Configuration-Properties.html#properties Have you changed it in your management.properties? Ray On Wed, 2022-11-09 at 02:28 -0800, lanf detroy wr

Re: [cas-user] Re: cas-management error creating service

2022-11-07 Thread Ray Bon
lanf, You can change the group for the services directory and give it write permissions. sudo chgrp --recursive tomcat /etc/cas/services sudo chmod g+w --recursive /etc/cas/services/ Ray On Sun, 2022-11-06 at 22:46 -0800, lanf detroy wrote: Notice: This message was sent from outside the Univer

Re: [cas-user] Re: cas-management error creating service

2022-11-06 Thread lanf detroy
hello, the directory user is root and the CAS user is tomcat. Do you have to give CAS directory rights to tomcat? ls -l /etc/cas/ drwxr-xr-x 2 root root 4096 27 oct. 16:07 config drwxr-xr-x 2 root root 4096 28 oct. 09:56 services ps aux | grep tomcat tomcat 35266 1.8 16.3 5092560 128

Re: [cas-user] Re: cas-management error creating service

2022-10-28 Thread Ray Bon
lanf, If you are on linux you can use this command to see access and ownership of the services directory (on my laptop): ls -l /etc/cas/ total 4 drwxrwxr-x 3 rbon rbon 4096 Jun 16 18:36 services To see the process owner for the container running cas (this is for tomcat running, substitute your

Re: [cas-user] Re: cas-management error creating service

2022-10-27 Thread lanf detroy
I don't know where to look for this? What parameter to put? Le jeudi 27 octobre 2022 à 18:37:46 UTC+2, Ray Bon a écrit : > lanf, > > Check that the process that is running cas management has write access to > the directory in the config. > > Ray > > On Thu, 2022-10-27 at 07:42 -0700, lanf detr

Re: [cas-user] Re: cas-management error creating service

2022-10-27 Thread Ray Bon
lanf, Check that the process that is running cas management has write access to the directory in the config. Ray On Thu, 2022-10-27 at 07:42 -0700, lanf detroy wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive

[cas-user] Re: cas-management error creating service

2022-10-27 Thread lanf detroy
[2022-10-27 16:40:14] [info] = [2022-10-27 16:40:14] [info] WHO: me [2022-10-27 16:40:14] [info] WHAT: IO error opening file stream. [2022-10-27 16:40:14] [info] ACTION: SAVE_SERVICE_FAILED [2022-10-27 16:40:14] [info] APPLICATION: CAS_Ma