Touch: unable to touch/usr/local/tomcat6.0/logs/ catalina.out ”: there is no file or directory
Tomcat startup error:
[ root@rhel bin]# ./ startup.sh
Using CATALINA_ BASE: /usr/local/tomcat6.0
Using CATALINA_ HOME: /usr/local/tomcat6.0
Using CATALINA_ TMPDIR: /usr/local/tomcat6.0/temp
Using JRE_ Home:/usr/local/JDK/JRE
touch: cannot touch “/ usr/local/tomcat6.0/logs/ catalina.out ”: no file or directory
/usr/local/Tomcat/bin/ catalina.sh : line 310: /usr/local/tomcat6.0/logs/ catalina.out : without that file or directory
// prompt that/usr/local/tomcat6.0/logs cannot be created/ Catalina.out This is a file because there is no logs directory;
Solution:
just create a logs directory
MKDIR/usr/local/tomcat7.0.19/logs
Read More:
- Linux Tomcat accessing files on the server
- [Solved] Tomcat Failed to Start Error: Server Tomcat v8.5 Server at localhost failed to start
- Error: (serious: a child container failed during start) (server component failed to start so Tomcat is unable)
- Tomcat start error: severe: error listener start
- Solution to Tomcat starting error listener start
- An error occurred when starting Tomcat in Eclipse: the sub container failed to start
- Tomcat service failed to start
- Start Tomcat and report error occurred during initialization of VM could not reserve enough space for object
- A child container failed during start Tomcat error prompt
- tomcat Issues org.apache.catalina.LifecycleException: Failed to start component
- Tomcat — failed to start, flash back
- IntelliJ idea solves Tomcat error: error listener start
- Server Tomcat v8.0 Server at localhost failed to start.
- Maven failed to start component [standard engine [Tomcat] when using tomcat7 Maven plugin plug-in run
- Start tomcat server error Context initialization failed
- Server Tomcat v7.0 server at localhost failed to start
- linux tomcat Run (DWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugIni)
- Start Tomcat and report an error: tcnative-1.dll: can’t load ia 32-bit. DLL on a amd 64 bit platform
- Tomcat9 Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
- Tomcat start error ERROR:transport error 202:bind failed:Address already