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 app server) ps aux | grep tomcat rbon 336911 338 7.0 11769108 2314612 pts/10 SNl 11:12 1:17 /usr/bin/java -Djava.util.logging.config.file=/home/rbon/Applications/mgmt/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Djava.awt.headless=true -XX:+UseG1GC -Xms1024m -Xmx2048m -Dcas.standalone.configurationDirectory=/home/uvtomcat/cas-management_config -Dignore.endorsed.dirs= -classpath /home/rbon/Applications/mgmt/bin/bootstrap.jar:/home/rbon/Applications/mgmt/bin/tomcat-juli.jar -Dcatalina.base=/home/rbon/Applications/mgmt -Dcatalina.home=/home/rbon/Applications/mgmt -Djava.io.tmpdir=/home/rbon/Applications/mgmt/temp org.apache.catalina.startup.Bootstrap start If you need more info, provide more details about your configuration. Ray On Thu, 2022-10-27 at 22:46 -0700, lanf detroy wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. 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 detroy wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. [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_Management [2022-10-27 16:40:14] [info] WHEN: Thu Oct 27 16:40:14 CEST 2022 [2022-10-27 16:40:14] [info] CLIENT IP ADDRESS: 192.168.1.254 [2022-10-27 16:40:14] [info] SERVER IP ADDRESS: 192.168.1.14 [2022-10-27 16:40:14] [info] ============================================================= [2022-10-27 16:40:14] [info] > [2022-10-27 16:40:14] [info] 2022-10-27 16:40:14,159 ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] - <Forwarding to error page from request [/api/services/] due to exception [org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: IO error opening file stream.]> [2022-10-27 16:40:14] [info] java.lang.RuntimeException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: IO error opening file stream Le jeudi 27 octobre 2022 à 15:45:52 UTC+2, lanf detroy a écrit : Hello, I installed cas-management in version 6.6.0, and when I create a service and I want to register it I have the following error: An error has occurred while attempting to save the service. Please try again later. I see the services that I created by hand in the directory /etc/cas/services Can you help me? -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/56c885094d1507ff4f989971e887390cb7da4737.camel%40uvic.ca.