Fedora Linux Support Community & Resources Center
Old 1st July 2008, 02:31 PM
rtailby Offline
Registered User
Join Date: Jul 2008
Posts: 1
Dunno if you're still using your workaround now as this post seems to have been inactive for a while, but.....

I ran into this problem again recently after not using Tomcat for ages. I noticed from your first post that you are trying to run the "tomcat5 start" command from inside the init.d directory. If you back out to the root dir and run the command with the full path from there, it should work.

i.e. I get this when I run tomcat5 from inside /etc/rc.d/init.d

[root@build01 init.d]# tomcat5 start
Found JAVA_HOME: /usr/lib/java
Please complete your /etc/tomcat5/tomcat5.conf so we won't have to look for it next time
Using CATALINA_TMPDIR: /usr/temp
touch: cannot touch `/usr/logs/catalina.out': No such file or directory
/usr/bin/dtomcat5: line 325: /usr/logs/catalina.out: No such file or directory
/usr/bin/dtomcat5: line 334: /var/run/tomcat5.pid: No such file or directory
[root@build01 init.d]# cd /
[root@build01 /]# etc/rc.d/init.d/tomcat5 start
Starting tomcat5: [ OK ]
[root@build01 /]#

But, as above, changing to '/' and trying with the full path works fine (for me at least!). Worth a try I guess....
Old 1st May 2012, 06:59 AM
carlsand Offline
Registered User
Join Date: May 2012
Location: canberra
Posts: 1
Re: Tomcat5 trouble on Fedora Core 6, how do I start tomcat 5?

There are several problems I found with this pair of scripts (centos5 via YUM):

1. the variables set in /etc/tomcat5/tomcat5.conf need to be prepended with 'export ' to have any effect when tomcat5 runs dtomcat5 via su.

2. the su command should not be a login shell:

Now tomcat5 commands will work (don't call dtomcat5 directly!) and obey any current CATALINA_HOME settings.

Old 1st May 2012, 02:26 PM
Evil_Bert Offline
Retired Again - Administrator
Join Date: Nov 2007
Location: .
Posts: 3,414
Re: Tomcat5 trouble on Fedora Core 6, how do I start tomcat 5?

Hello and welcome to the forum. This is a very old thread and the Fedora versions it referred to are long since past End of Life.

If you have further comments on EOL versions, please use the EOL section, or else try the CentOS forum for CentOS specific issues.

Thread closed.
Marching to the beat of his own conundrum.
Closed Thread

core, fedora, start, tomcat, tomcat5, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 10 Tomcat 6 Won't Start ole_ersoy Using Fedora 0 28th December 2008 12:46 AM
Fedora 7 Tomcat5 tomcat-users.xml Sammy_Sam Security and Privacy 0 13th August 2007 04:46 PM
tomcat5 - FC6 - does not start zydoon Servers & Networking 6 25th April 2007 06:01 PM
tomcat5 started with error, cant not login to tomcat manager lnthai2002 Servers & Networking 1 10th January 2007 07:39 PM

Current GMT-time: 02:45 (Friday, 22-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat