On 06/05/2010 17:23, Luís de Sousa wrote:
> On Thu, May 6, 2010 at 5:17 PM, Pid <p...@pidster.com> wrote:
>> On 06/05/2010 17:12, Caldarale, Charles R wrote:
>>
>> I'd like to know what's in the conf/Catalina/localhost directory too please.
>>
> 
> Here it goes then.
> 
> Luís
> 
> l...@kohntarkosz:~/tomcat/conf/Catalina$ ls -la
> total 12
> drwxrwxr-x 3 root tomcat6 4096 2010-01-07 17:11 .
> drwxr-xr-x 4 root root    4096 2010-04-23 15:31 ..
> drwxrwxr-x 2 root tomcat6 4096 2010-05-06 08:12 localhost
> l...@kohntarkosz:~/tomcat/conf/Catalina$ cd localhost
> l...@kohntarkosz:~/tomcat/conf/Catalina/localhost$ ls -la
> total 32
> drwxrwxr-x 2 root    tomcat6 4096 2010-05-06 08:12 .
> drwxrwxr-x 3 root    tomcat6 4096 2010-01-07 17:11 ..
> -rw-r--r-- 1 root    root      51 2010-04-21 17:30 default_root.xml
> -rw-r--r-- 1 root    root     922 2009-10-26 07:19 docs.xml
> -rw-r--r-- 1 root    root      78 2009-10-26 07:19 examples.xml
> -rw-r--r-- 1 root    root     958 2009-10-26 07:19 host-manager.xml
> -rw-r--r-- 1 root    root     948 2009-10-26 07:19 manager.xml
> -rw-r--r-- 1 tomcat6 tomcat6   51 2010-01-07 17:12 ROOT.xml

So you've got a mix of ownerships there.

You installed Tomcat as 'root', but are now running it as 'tomcat6'?
Make sure the whole tomcat installation is owned by the tomcat6 user, if
that's what you're using to start Tomcat.

N.B. Starting Tomcat under the root user is bad.

You can delete the default_root directory that Martin suggested you
create, and also the matching xml file above, which will stop the error.


p

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to