Emmanuel,

Are you running two servers; CAS and tomcat? Or did you deploy CAS to tomcat?
You could edit tomcat's server.xml and change port 8443 to something else.

Ray

On Wed, 2019-01-02 at 18:02 +0100, Emmanuel Chukwu wrote:
Hi Ramakrishna,

Thanks for you recommendation. I configured CAS to run on the standard https 
port (443) and Tomcat to run on port 8443.
I have tried option (1) and this is the process running on port 8443.
tcp6       0      0 :::8443                 :::*                    LISTEN      
6869/jsvc.exec

Each time I kill the process and restart Tomcat, the process still shows up. It 
is the Apache Commons Daemon we installed as part of the Tomcat setup steps.
Can the jsvc.execconflict with Tomcat?

Also I ran systemctl status tomcat and noticed that Tomcat is Active (running) 
and the following messages:
Jan 02 15:07:08 ip-172-31 systemd[1]: Starting Apache Tomcat Web Application 
Container...
Jan 02 15:07:08 ip-172-31 systemd[1]: tomcat.service: Supervising process 4039 
which is not our child. We'll most likely not... exits.
Jan 02 15:07:08 ip-172-31 systemd[1]: Started Apache Tomcat Web Application 
Container.

Does the second line of this message (" Supervising process 4039 which is not 
our child. We'll most likely not... exits. ") indicate that something is not 
right?

Please I still cannot figure out why log files are not being created in  the 
/var/log/cas folder

ls -l /var/log/:
drwxr-x---. 2 tomcat tomcat       6 Dec 28 14:14 cas
.
.
.
drwxr-x---. 2 tomcat tomcat    4096 Jan  2 09:07 tomcat

ls -l /var/log/cas/
total 0

Any help in this regard?

Thanks


On Wed, Jan 2, 2019 at 9:34 AM Ramakrishna G 
<ramakris...@teligenz.in<mailto:ramakris...@teligenz.in>> wrote:
Possible solutions.

1. Kill the process running on 8443 and start cas.

or

2. Change the port of cas in properties file and try restarting.

or

3. Build, Package cas.war file and manually deploy in tomcat and restart.

Also check if log folder has appropriated permission to create / write log file.

Thanks
Ramakrishna G



On Wed, Jan 2, 2019 at 1:22 PM Emmanuel Chukwu 
<emmanuel.chu...@gmail.com<mailto:emmanuel.chu...@gmail.com>> wrote:
Happy New Year. Welcome to 2019 everyone. I am wishing all a happy and 
successful year ahead.

Please I still need help with this issue.

On Fri, Dec 28, 2018 at 8:25 PM Emmanuel Chukwu 
<emmanuel.chu...@gmail.com<mailto:emmanuel.chu...@gmail.com>> wrote:
Dear all,
I just finished installing and configuring CAS 5.3 on CentOS 7 using David's 
notes  
https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html.

Before CAS installation, I was able to access Tomcat at 
https://<my-server>:8443. But after CAS installation, I can't access CAS at 
https://<my-server>:8443/cas/login and can no longer access the Tomcat page.
I checked catalina.log and everything seems ok. And I noticed cas.log was not 
created in /var/log/cas as configured in etc/cas/config/log4j2.xml. No log file 
exists in /var/log/cas.
Please what could be the issue.

Below is the output of catalina.log

******************************************************************************************

28-Dec-2018 19:55:45.071 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.35
28-Dec-2018 19:55:45.100 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [/var/lib/tomcat/ROOT]
28-Dec-2018 19:55:45.723 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory [/var/lib/tomcat/ROOT] has finished in [6$
28-Dec-2018 19:55:45.724 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [/var/lib/tomcat/cas]
28-Dec-2018 19:56:53.362 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version:        
Apache Tomcat/8.5.35
28-Dec-2018 19:56:53.398 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:          
Nov 3 2018 17:39:20 UTC
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server number:         
8.5.35.0
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:               
Linux
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:            
3.10.0-957.1.3.el7.x86_64
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:          
amd64
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home:             
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64/jre
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           
1.8.0_191-b12
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            
Oracle Corporation
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         
/opt/tomcat/apache-tomcat-8.5.35
28-Dec-2018 19:56:53.399 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         
/opt/tomcat/apache-tomcat-8.5.35
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.home=/opt/tomcat/latest
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.base=/opt/tomcat/latest
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.awt.headless=true
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Xms512M
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Xmx4096M
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-XX:+UseParallelGC
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.process.id<http://Dcommons.daemon.process.id>=8755
28-Dec-2018 19:56:53.400 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.process.parent=8334
28-Dec-2018 19:56:53.401 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.version=1.1.0
28-Dec-2018 19:56:53.401 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
abort
28-Dec-2018 19:56:53.401 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based 
Apache Tomcat Native library [1.2.18] using APR version [1.6.5].
28-Dec-2018 19:56:53.401 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: 
IPv6 [true], sendfile [true], accept filters [false], random [true].
28-Dec-2018 19:56:53.401 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL 
configuration: useAprConnector [false], useOpenSSL [true]
28-Dec-2018 19:56:53.407 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL 
successfully initialized [OpenSSL 1.1.0g  2 Nov 2017]
28-Dec-2018 19:56:53.539 INFO [main] 
org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The 
["https-openssl-nio-8443"] connector has been configured to support negotiat$
28-Dec-2018 19:56:53.540 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["https-openssl-nio-8443"]
28-Dec-2018 19:56:53.601 WARNING [main] 
org.apache.tomcat.util.net.SSLHostConfig.setConfigType The property 
[disableSessionTickets] was set on the SSLHostConfig named [_default_] and is 
for $
28-Dec-2018 19:56:53.951 INFO [main] 
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared 
selector for servlet write/read
28-Dec-2018 19:56:53.955 INFO [main] org.apache.catalina.startup.Catalina.load 
Initialization processed in 1483 ms
28-Dec-2018 19:56:53.984 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
[Catalina]
28-Dec-2018 19:56:53.984 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: 
Apache Tomcat/8.5.35
28-Dec-2018 19:56:54.027 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [/var/lib/tomcat/ROOT]
28-Dec-2018 19:56:54.634 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory [/var/lib/tomcat/ROOT] has finished in [6$
28-Dec-2018 19:56:54.634 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory [/var/lib/tomcat/cas]

--
- 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<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/538008b9-dc21-45a6-ac66-03971a2b0f5c%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/538008b9-dc21-45a6-ac66-03971a2b0f5c%40apereo.org?utm_medium=email&utm_source=footer>.


--
- 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<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP-uZg4fMmeKJ9FOH%2BVyv2YKqTjE38YwGXyY2kk2d5ghH416DQ%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP-uZg4fMmeKJ9FOH%2BVyv2YKqTjE38YwGXyY2kk2d5ghH416DQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
- 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<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGST5P_XKPHTcwbx1yFEt665WnwjB3COgfi%3Dc98pyV_Yimrfzw%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGST5P_XKPHTcwbx1yFEt665WnwjB3COgfi%3Dc98pyV_Yimrfzw%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca

-- 
- 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/1546466113.8353.8.camel%40uvic.ca.

Reply via email to