-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mahmoud,

On 3/20/17 6:36 AM, Mahmoud Ramadan wrote:
> Thanks for the reply , i solved my issue by disabling the Centos
> firewall

Don't do that!

Instead, open the single port that you need (port 8080) and leave the
firewall running.

> now i can browse the server remotely , thanks

And all your services are exposed to the rest of the network. Enjoy
all of the SSH login attempts.

- -chris

> On Sun, Mar 19, 2017 at 6:45 PM, Felix Schumacher < 
> felix.schumac...@internetallee.de> wrote:
> 
>> Am 19.03.2017 um 14:09 schrieb Mahmoud Ramadan:
>> 
>>> But whenever i use the command [root@localhost ~]# service
>>> tomcat status tomcat dead but subsys locked
>>> 
>>> I see the service dead , i tried to remove the
>>> /var/lock/subsys/tomcat and restarting the service again or
>>> rebooting the system but still get " tomcat dead but subsys
>>> locked " and can not get anything when browsing 
>>> http://10.1.1.25:8080
>>> 
>> You showed us, that you were running tomcat as a normal console
>> app (which seemed to work, as Andre pointed out). Now you are
>> expecting it to have been somehow magically transformed into a
>> unix service?
>> 
>> That will probably not work.
>> 
>> What happens, when you stop the console app (the catalina.sh run)
>> and start tomcat as a service alone (with service tomcat start)?
>> 
>> Note, that I haven't used CentOS before and don't know, what init
>> system it uses. I always found it easier, to download an
>> unmodified version of tomcat from the apache tomcat homepage and
>> start from there.
>> 
>> Felix
>> 
>>> 
>>> Best Regards,
>>> 
>>> Mahmoud Ramadan Ali
>>> 
>>> Network and VOIP Specialist.
>>> 
>>> Mobil: (+2) 01276877112
>>> 
>>> Blog <http://hotciscolabs.blogspot.com/>| Website 
>>> <http://telecomandsecurity.com/>| LinkedIn 
>>> <http://ch.linkedin.com/pub/mahmoud-ali/99/923/421/en>
>>> 
>>> On Sun, Mar 19, 2017 at 3:30 PM, André Warnier (tomcat)
>>> <a...@ice-sa.com> wrote:
>>> 
>>> On 19.03.2017 12:59, Mahmoud Ramadan wrote:
>>>> 
>>>> Hi all,
>>>>> I've installed Tomcat on Centos 6.2 and when i try to start
>>>>> the service it hangs up at " INFO: Server startup in 6935
>>>>> ms " and stays forever , below the debugs , thanks
>>>>> 
>>>>> What do you expect it to "do" after starting up ?
>>>> It's a HTTP server, so when it's done with starting up, it
>>>> waits for HTTP requests, to process them. The logfile (or the
>>>> console, if that is where you are running it) won't show
>>>> anything else, unless there are errors processing requests
>>>> (or until you stop tomcat).
>>>> 
>>>> In other words : there is nothing abnormal in the log which
>>>> you show below. To me, it looks like a perfectly healthy
>>>> tomcat, just waiting for something to do.
>>>> 
>>>> 
>>>> [root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
>>>>> Using CATALINA_BASE:   /opt/tomcat7 Using CATALINA_HOME:
>>>>> /opt/tomcat7 Using CATALINA_TMPDIR: /opt/tomcat7/temp Using
>>>>> JRE_HOME:        /opt/java/jre1.7.0_04 Using CLASSPATH: 
>>>>> /opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
>>>>>
>>>>> 
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.AprLifecycleListener
>>>>> init INFO: The APR based Apache Tomcat Native library which
>>>>> allows optimal performance in production environments was
>>>>> not found on the java.library.path: 
>>>>> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
>>>>>
>>>>> 
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
>>>>> INFO: Initializing ProtocolHandler ["http-bio-8080"] Mar
>>>>> 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol
>>>>> init INFO: Initializing ProtocolHandler ["http-bio-8443"] 
>>>>> Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol
>>>>> init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 
>>>>> Mar 19, 2017 11:22:15 AM
>>>>> org.apache.catalina.startup.Catalina load INFO:
>>>>> Initialization processed in 1234 ms Mar 19, 2017 11:22:15
>>>>> AM org.apache.catalina.core.StandardService startInternal 
>>>>> INFO: Starting service Catalina Mar 19, 2017 11:22:15 AM
>>>>> org.apache.catalina.core.StandardEngine startInternal INFO:
>>>>> Starting Servlet Engine: Apache Tomcat/7.0.23 Mar 19, 2017
>>>>> 11:22:19 AM org.apache.catalina.startup.HostConfig 
>>>>> deployDirectory INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/examples Mar 19, 2017 11:22:19 AM
>>>>> org.apache.catalina.startup.HostConfig deployDirectory 
>>>>> INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/orktrack 0 [pool-2-thread-1] INFO
>>>>> context  - OrkTrack ContextInitialized() log4jConfigFile is
>>>>> logging.properties 0 [pool-2-thread-1] INFO context  -
>>>>> OrkTrack ContextInitialized() configFile is
>>>>> orktrack.config.xml 1 [pool-2-thread-1] INFO context  -
>>>>> OrkTrack ContextInitialized() HibernateConfigFile is
>>>>> database.hbm.xml 2 [pool-2-thread-1] INFO context  -
>>>>> OrkTrack ContextInitialized(): TomcatHome is set to
>>>>> /opt/tomcat7 2017-03-19 11:22:19,440
>>>>> net.sf.oreka.orktrack.OrkTrack  INFO - 
>>>>> ======================================== 2017-03-19
>>>>> 11:22:19,453 net.sf.oreka.orktrack.OrkTrack  INFO -
>>>>> OrkTrack starting ... 2017-03-19 11:22:19,472 config  WARN
>>>>> - ConfigManager.load: config file 
>>>>> /etc/orkweb//orktrack.config.xml is empty or does not
>>>>> exist. 2017-03-19 11:22:20,956
>>>>> net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack started
>>>>> successfully. 2017-03-19 11:22:20,956
>>>>> net.sf.oreka.orktrack.OrkTrack  INFO - 
>>>>> ---------------------------------------- Mar 19, 2017
>>>>> 11:22:20 AM org.apache.catalina.startup.HostConfig 
>>>>> deployDirectory INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/manager Mar 19, 2017 11:22:21 AM
>>>>> org.apache.catalina.startup.HostConfig deployDirectory 
>>>>> INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/host-mana ger Mar 19, 2017 11:22:21 AM
>>>>> org.apache.catalina.startup.HostConfig deployDirectory 
>>>>> INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/orkweb 2017-03-19 11:22:21,201 root
>>>>> INFO - OrkWeb ContextInitialized(): log4jConfigFile is
>>>>> /etc/orkweb//logging.properties 2017-03-19 11:22:21,201
>>>>> root  INFO - ======================================== 
>>>>> 2017-03-19 11:22:21,201 root  INFO - OrkWeb starting ... 
>>>>> 2017-03-19 11:22:21,201 root  INFO - OrkWeb
>>>>> ContextInitialized(): HibernateConfigFile is
>>>>> database.hbm.xml 2017-03-19 11:22:21,652 root  INFO -
>>>>> OrkWeb ContextInitialized(): TomcatHome is set to
>>>>> /opt/tomcat7 2017-03-19 11:22:21,663 root  INFO - OrkWeb
>>>>> started successfully. 2017-03-19 11:22:21,663 root  INFO - 
>>>>> ---------------------------------------- 2017-03-19
>>>>> 11:22:22,736 org.apache.tapestry.ApplicationServlet  INFO
>>>>> - Initialized application servlet 'orkweb': 457 millis to
>>>>> create HiveMind Registry, 1,060 millis overall. Mar 19,
>>>>> 2017 11:22:22 AM org.apache.catalina.startup.HostConfig 
>>>>> deployDirectory INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/ROOT Mar 19, 2017 11:22:22 AM
>>>>> org.apache.catalina.startup.HostConfig deployDirectory 
>>>>> INFO: Deploying web application directory
>>>>> /opt/tomcat7/webapps/docs Mar 19, 2017 11:22:22 AM
>>>>> org.apache.coyote.AbstractProtocol start INFO: Starting
>>>>> ProtocolHandler ["http-bio-8080"] Mar 19, 2017 11:22:22 AM
>>>>> org.apache.coyote.AbstractProtocol start INFO: Starting
>>>>> ProtocolHandler ["http-bio-8443"] Mar 19, 2017 11:22:22 AM
>>>>> org.apache.coyote.AbstractProtocol start INFO: Starting
>>>>> ProtocolHandler ["ajp-bio-8009"] Mar 19, 2017 11:22:22 AM
>>>>> org.apache.catalina.startup.Catalina start INFO: Server
>>>>> startup in 6935 ms
>>>>> 
>>>>> 
>>>>> Best Regards,
>>>>> 
>>>>> Mahmoud Ramadan Ali
>>>>> 
>>>>> Network and VOIP Specialist.
>>>>> 
>>>>> Mobil: (+2) 01276877112
>>>>> 
>>>>> Blog <http://hotciscolabs.blogspot.com/>| Website 
>>>>> <http://telecomandsecurity.com/>| LinkedIn 
>>>>> <http://ch.linkedin.com/pub/mahmoud-ali/99/923/421/en>
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------
- ---
>>>>
>>>>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>> For additional commands, e-mail:
>>>> users-h...@tomcat.apache.org
>>>> 
>>>> 
>>>> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>> 
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYz9/1AAoJEBzwKT+lPKRYyewQAJc3OuVMYaFXbAd935BP2eBD
oIDJuPUQjuH/5IK41U/8/121As2cJjTPJ1QFNnWf80iczOxrkkxkFj+MFGyCI/be
9cVFz0N/Z/CtfoRkEw5F931vfQyC5k5dNwSf+e/wyDF3mw7j1wULOG+jkXMmalvv
1sdzOBGlBDOELnB7gL0uN+WwVAVwJ4uL+EWPtxBTcjm5KWVMMOV+BSA2kSsHHVxg
AK2kILZpjwBClpsDST0Zkeb/otcnmy9iK54W62gtpK+yz0aVfoFj22HgDt7z19eZ
DKVUL0PtzP1DAPaH6loBPke2Y/nOJgHQDpwdYiuXfY+u7gacjeqs8Xto4l+CulQo
aqJJ5hcdHBhP3SssWZK/2Q203CJUf8itTuN9WJy7tDicasF9fQ1hpaw2AXlt/h+P
bSeHVf3yQNC2vmhWZS6L5JyNQ5o/k2Tnf09FWulptY44JW6f38Vbw99N44t7BN0e
meWJAqdPWe0pqghEpKGwl6Kp6Iyeu9wwJDmukESedrknPp4iXfuiQNFrtEpQsMr6
WYE0IMy2G8XrMtLJlPwxKnwaxHrPayGxmQWDmUYAWlz9sLvaLZhm6CERxbBhlmeM
JXqGFpdiIT4KLb9yLk3mh3DbPfNUZ5g5q3a+72InNwq+EMaKoTUmE6imTmMxM95H
FdJEKxFpKDRmW4q2EGo9
=VLcT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to