On 20.08.19 12:28, Enosh Mogire wrote:
> When I execute ls -la /opt/tomcat this is what I get
>
> enosh@hp:~$ ls -la /opt/tomcat
> total 36
> drwxr-xr-x 3 tomcat tomcat 4096 Aug 20 08:55 .
> drwxr-xr-x 7 root   root   4096 Aug 19 10:53 ..
> drwxr-xr-x 9 tomcat tomcat 4096 Aug 14 10:31 apache-tomcat-9.0.22
> -rw-r--r-- 1 tomcat tomcat  220 Apr  4  2018 .bash_logout
> -rw-r--r-- 1 tomcat tomcat 3771 Apr  4  2018 .bashrc
> lrwxrwxrwx 1 tomcat tomcat   32 Aug 13 08:50 latest ->
> /opt/tomcat/apache-tomcat-9.0.14

so indeed you've extracted the archive into a subdirectory: You'll find
/opt/tomcat/apache-tomcat-9.0.22/conf if you're looking for it. You can
move all of the content of the apache-tomcat-9.0.22 folder up one level,
or adjust your chmod command or the cd that you executed before. You'll
just find the content that you expect one folder further down.

Seeing the link in your directory, you should correct it, e.g.

rm /opt/tomcat/latest
ln -s /opt/tomcat/apache-tomcat-9.0.22 /opt/tomcat/latest
cd /opt/tomcat/latest

and continue from there. That directory will have the conf and all of
the other directories you expect.

Olaf


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

Reply via email to