Re: Tomcat 7.082 not starting in EC2 after doing yum update

2017-10-26 Thread Kiran Badi
Ok this is resolved. It was permission issue. now tomcat runs under its own
user id and for some reason I missed to read tomcat.conf file.

Now it works however server start up is now very slow.

INFO: Server startup in 352544 ms

something which was very fast in earlier version 7.081  and 7.050

Let me check logs tomorrow for finer details.

Thanking you
Kiran Badi


I will

On Thu, Oct 26, 2017 at 11:03 PM, Kiran Badi  wrote:

> Hi,
>
> Couple of hours(3 hrs) back I did yum update to install 7.0.82 version to
> install latest security patch.
>
> Yum update went well. Then tried to install ROOT war, after stopping and
> un deploying existing ROOT.war. Deployment failed saying that ROOT folder
> already exists. So deleted ROOT folder and ROOT.war from the web apps
> folder. After this step, tomcat 7 seems to be not starting for some reason
> and neither its writing to logs anything.
>
>  I think I messed something very badly.
>
> How do I figure this out. Do I need to do clean install again via wget ?
>
> I hate to say that my linux skills are very rusty. so appreciate some help.
>
> [root]# sudo service tomcat7 start
> [root]#  [  OK  ]
> [root]# sudo service tomcat7 status
> [root]# s not running[WARNING]
>
> whenever I try to restart , the only place it writes is tomcat7-initd.log
>
> /usr/sbin/tomcat7: line 40: /usr/share/tomcat7/logs/catalina.out:
> Permission denied
>
> and permissions I have on this folder is
>
> drwxr-xr-x 2 ec2-user ec2-user 12288 Oct 27 02:07 /usr/share/tomcat7/logs/
>
>
>
> Thanking you
> Kiran Badi
>
>
>
>
>
>
>
>
>


Tomcat 7.082 not starting in EC2 after doing yum update

2017-10-26 Thread Kiran Badi
Hi,

Couple of hours(3 hrs) back I did yum update to install 7.0.82 version to
install latest security patch.

Yum update went well. Then tried to install ROOT war, after stopping and un
deploying existing ROOT.war. Deployment failed saying that ROOT folder
already exists. So deleted ROOT folder and ROOT.war from the web apps
folder. After this step, tomcat 7 seems to be not starting for some reason
and neither its writing to logs anything.

 I think I messed something very badly.

How do I figure this out. Do I need to do clean install again via wget ?

I hate to say that my linux skills are very rusty. so appreciate some help.

[root]# sudo service tomcat7 start
[root]#  [  OK  ]
[root]# sudo service tomcat7 status
[root]# s not running[WARNING]

whenever I try to restart , the only place it writes is tomcat7-initd.log

/usr/sbin/tomcat7: line 40: /usr/share/tomcat7/logs/catalina.out:
Permission denied

and permissions I have on this folder is

drwxr-xr-x 2 ec2-user ec2-user 12288 Oct 27 02:07 /usr/share/tomcat7/logs/



Thanking you
Kiran Badi