Re: Unable to start tomcat server 6x

2008-12-15 Thread Partha



Gregor Schneider wrote:
> 
> Patha,
> 
> I think you've received enough pointers here already.
> 
> If you're logged in as root and you can't even write into a directory,
> it's pretty likely that either
> 
> - the device is mounted read-only (check with mount -l)
> 
> - the device is somewhat corrupted (either the device or the
> RAID-controller)
> When using RAID, use a corresponding tool to check the healthyness.
> When using a RAID-controller, there sould be tools available from the
> manufacturer of the raid-sontroller.
> Alternatively, you could also get smartmon-tools and, if your device
> is supported, check the device-status with "smartmon --all"
> 
> However, if you're not the server-admin, my suggestion is that you
> forward your request to the server-admin - he should be able to tell
> you why you can't write into said directory.
> 
> Anyhow, this whole issue seems not be a Tomcat-issue.
> 
> Cheers
> 
> Gregor
> -- 
> just because your paranoid, doesn't mean they're not after you...
> gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 


Hi there,

Thanks a lot for all of you for sharing your knowledge.
I have come to learn a lot of things.
Its  an issue with the device.The admin is looking into it.

Thanks and Regards,
Partha.


-- 
View this message in context: 
http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21027749.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Unable to start tomcat server 6x

2008-12-15 Thread Gregor Schneider
Patha,

I think you've received enough pointers here already.

If you're logged in as root and you can't even write into a directory,
it's pretty likely that either

- the device is mounted read-only (check with mount -l)

- the device is somewhat corrupted (either the device or the RAID-controller)
When using RAID, use a corresponding tool to check the healthyness.
When using a RAID-controller, there sould be tools available from the
manufacturer of the raid-sontroller.
Alternatively, you could also get smartmon-tools and, if your device
is supported, check the device-status with "smartmon --all"

However, if you're not the server-admin, my suggestion is that you
forward your request to the server-admin - he should be able to tell
you why you can't write into said directory.

Anyhow, this whole issue seems not be a Tomcat-issue.

Cheers

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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



Re: Unable to start tomcat server 6x

2008-12-14 Thread Partha



Partha Goswami wrote:
> 
> Oh, Then, type
> # uname -a
> and post out put here
> 
> On Mon, Dec 15, 2008 at 10:34 AM, Partha  wrote:
> 
>>
>>
>>
>> Partha Goswami wrote:
>> >
>> > Actually, If anyone use Tomcat in Solaris Zones, then, /usr/local or
>> /usr
>> > all is come read only mode, by default. so, Its need to know, Which oS
>> >
>> > On Sat, Dec 13, 2008 at 6:32 PM, David Smith  wrote:
>> >
>> >> I think the important message is here:
>> >>
>> >> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
>> >> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file
>> >> system
>> >>
>> >> In particular the phrase "Read-only file system" suggests the
>> >> disk/partition tomcat is installed on was mounted read-only instead of
>> >> read-write.  Fix that and you should be good to go.
>> >>
>> >> --David
>> >>
>> >> Partha wrote:
>> >> > Hi there,
>> >> > I am unable to restart apache-tomcat-6.0.18.When i try to run the
>> >> startup.sh
>> >> > it gives the following error:
>> >> >
>> >> > Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.18
>> >> > Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.18
>> >> > Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
>> >> > Using JRE_HOME:   /usr
>> >> > touch: cannot touch
>> >> `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
>> >> > Read-only file system
>> >> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
>> >> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file
>> >> system
>> >> >
>> >> > When i try to change the permissions of catalina.out, it gives the
>> >> message
>> >> > that the file is read only.
>> >> > Any pointers in this regard would be of great help.
>> >> >
>> >> > Thanks and Regards,
>> >> > Partha.
>> >> >
>> >> >
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> >> For additional commands, e-mail: users-h...@tomcat.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Regards
>> > Partha Goswami
>> > President
>> > Global Web-Tech Solution
>> > www.globalwebtechsolution.com
>> >
>> >
>>
>> Thanks a lot for everyone who has replied.
>>
>> Hi Partha,
>>
>> I have tried running the command chmod 777 /usr/local
>> but it didn't allow me to change the permissions.It said I have Read-only
>> permission.
>> I am trying to access a remote server which is set up on a windows box
>> through
>> Secure Shell Client(SSH).
>>
>> I am logged in as root.
>>
>> Please provide some pointers.
>>
>> Thanks and Regards,
>> Partha.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21008378.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 
> -- 
> Regards
> Partha Goswami
> President
> Global Web-Tech Solution
> www.globalwebtechsolution.com
> 
> 

Hi Partha,

The output when i have executed the command uname -a
is 
Linux superbook 2.6.9-67.0.7.ELsmp #1 SMP Wed Feb 27 04:48:20 EST 2008 i686
i686 i386 GNU/Linux

Thanks a lot for taking out your time and for helping me to resolve this
issue.

Thanks and Regards,
Partha.


-- 
View this message in context: 
http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21008695.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Unable to start tomcat server 6x

2008-12-14 Thread Partha Goswami
Oh, Then, type
# uname -a
and post out put here

On Mon, Dec 15, 2008 at 10:34 AM, Partha  wrote:

>
>
>
> Partha Goswami wrote:
> >
> > Actually, If anyone use Tomcat in Solaris Zones, then, /usr/local or /usr
> > all is come read only mode, by default. so, Its need to know, Which oS
> >
> > On Sat, Dec 13, 2008 at 6:32 PM, David Smith  wrote:
> >
> >> I think the important message is here:
> >>
> >> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
> >> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file
> >> system
> >>
> >> In particular the phrase "Read-only file system" suggests the
> >> disk/partition tomcat is installed on was mounted read-only instead of
> >> read-write.  Fix that and you should be good to go.
> >>
> >> --David
> >>
> >> Partha wrote:
> >> > Hi there,
> >> > I am unable to restart apache-tomcat-6.0.18.When i try to run the
> >> startup.sh
> >> > it gives the following error:
> >> >
> >> > Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.18
> >> > Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.18
> >> > Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
> >> > Using JRE_HOME:   /usr
> >> > touch: cannot touch
> >> `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
> >> > Read-only file system
> >> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
> >> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file
> >> system
> >> >
> >> > When i try to change the permissions of catalina.out, it gives the
> >> message
> >> > that the file is read only.
> >> > Any pointers in this regard would be of great help.
> >> >
> >> > Thanks and Regards,
> >> > Partha.
> >> >
> >> >
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> >
> > --
> > Regards
> > Partha Goswami
> > President
> > Global Web-Tech Solution
> > www.globalwebtechsolution.com
> >
> >
>
> Thanks a lot for everyone who has replied.
>
> Hi Partha,
>
> I have tried running the command chmod 777 /usr/local
> but it didn't allow me to change the permissions.It said I have Read-only
> permission.
> I am trying to access a remote server which is set up on a windows box
> through
> Secure Shell Client(SSH).
>
> I am logged in as root.
>
> Please provide some pointers.
>
> Thanks and Regards,
> Partha.
>
>
> --
> View this message in context:
> http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21008378.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards
Partha Goswami
President
Global Web-Tech Solution
www.globalwebtechsolution.com


Re: Unable to start tomcat server 6x

2008-12-14 Thread Partha



Partha Goswami wrote:
> 
> Actually, If anyone use Tomcat in Solaris Zones, then, /usr/local or /usr
> all is come read only mode, by default. so, Its need to know, Which oS
> 
> On Sat, Dec 13, 2008 at 6:32 PM, David Smith  wrote:
> 
>> I think the important message is here:
>>
>> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
>> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file
>> system
>>
>> In particular the phrase "Read-only file system" suggests the
>> disk/partition tomcat is installed on was mounted read-only instead of
>> read-write.  Fix that and you should be good to go.
>>
>> --David
>>
>> Partha wrote:
>> > Hi there,
>> > I am unable to restart apache-tomcat-6.0.18.When i try to run the
>> startup.sh
>> > it gives the following error:
>> >
>> > Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.18
>> > Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.18
>> > Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
>> > Using JRE_HOME:   /usr
>> > touch: cannot touch
>> `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
>> > Read-only file system
>> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
>> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file
>> system
>> >
>> > When i try to change the permissions of catalina.out, it gives the
>> message
>> > that the file is read only.
>> > Any pointers in this regard would be of great help.
>> >
>> > Thanks and Regards,
>> > Partha.
>> >
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 
> -- 
> Regards
> Partha Goswami
> President
> Global Web-Tech Solution
> www.globalwebtechsolution.com
> 
> 

Thanks a lot for everyone who has replied.

Hi Partha,

I have tried running the command chmod 777 /usr/local
but it didn't allow me to change the permissions.It said I have Read-only
permission.
I am trying to access a remote server which is set up on a windows box
through 
Secure Shell Client(SSH).

I am logged in as root.

Please provide some pointers.

Thanks and Regards,
Partha.


-- 
View this message in context: 
http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p21008378.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
Actually, If anyone use Tomcat in Solaris Zones, then, /usr/local or /usr
all is come read only mode, by default. so, Its need to know, Which oS

On Sat, Dec 13, 2008 at 6:32 PM, David Smith  wrote:

> I think the important message is here:
>
> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system
>
> In particular the phrase "Read-only file system" suggests the
> disk/partition tomcat is installed on was mounted read-only instead of
> read-write.  Fix that and you should be good to go.
>
> --David
>
> Partha wrote:
> > Hi there,
> > I am unable to restart apache-tomcat-6.0.18.When i try to run the
> startup.sh
> > it gives the following error:
> >
> > Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.18
> > Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.18
> > Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
> > Using JRE_HOME:   /usr
> > touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
> > Read-only file system
> > /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
> > /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system
> >
> > When i try to change the permissions of catalina.out, it gives the
> message
> > that the file is read only.
> > Any pointers in this regard would be of great help.
> >
> > Thanks and Regards,
> > Partha.
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards
Partha Goswami
President
Global Web-Tech Solution
www.globalwebtechsolution.com


Re: Unable to start tomcat server 6x

2008-12-13 Thread Hassan Schroeder
On Sat, Dec 13, 2008 at 12:15 AM, Partha  wrote:

> I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh
> it gives the following error:

> touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
> Read-only file system

Last time I saw a "spontaneous" read-only FS it meant the disk
was going bad.

You might want to manually fsck it (after running a backup!)  :-)

-- 
Hassan Schroeder  hassan.schroe...@gmail.com

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



Re: Unable to start tomcat server 6x

2008-12-13 Thread André Warnier

Partha wrote:
[...]
Isn't this a clue ?


touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
Read-only file system



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



Re: Unable to start tomcat server 6x

2008-12-13 Thread David Smith
I think the important message is here:

> /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
> /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system

In particular the phrase "Read-only file system" suggests the
disk/partition tomcat is installed on was mounted read-only instead of
read-write.  Fix that and you should be good to go.

--David

Partha wrote:
> Hi there,
> I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh
> it gives the following error:
>
> Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.18
> Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.18
> Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
> Using JRE_HOME:   /usr
> touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
> Read-only file system
> /usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
> /usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system
>
> When i try to change the permissions of catalina.out, it gives the message
> that the file is read only.
> Any pointers in this regard would be of great help.
>
> Thanks and Regards,
> Partha.
>
>   

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



Re: Unable to start tomcat server 6x

2008-12-13 Thread Gregor Schneider
Hi Parha,

never ever run tomcat as root - that's a security-issue.

I hope you haven't followed the hint to chmod to 777 - that's anything
but a good idea.

to solve the issue, procceed like this:

- as root , do

- create a user tomcat

- chown -R tomcat /usr/local/apache-tomcat-6.0.18

- su tomcat

- cd /usr/local/apache-tomcat-6.0.18/bin

- ./startup.sh

If you want to run Tomcat on a privileged port such as 80, you'll have
to use jsvc.

More information on unning Tomcat on port 80 is found here:
http://tomcat.apache.org/tomcat-6.0-doc/setup.html (look for
Unix-Demon)

HTH

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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



Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
try chmod 777 /usr/local

On Sat, Dec 13, 2008 at 3:20 PM, Partha Goswami
wrote:

> You are Running it on Solaris Zones??
>
> On Sat, Dec 13, 2008 at 2:38 PM, Partha  wrote:
>
>>
>>
>>
>> Gregor Schneider wrote:
>> >
>> > what user are you logged in as?
>> >
>> > what does
>> > ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
>> > and
>> > ls -l /usr/local/apache-tomcat-6.0.18
>> >
>> > give?
>> >
>> > gregor
>> > --
>> > just because your paranoid, doesn't mean they're not after you...
>> > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
>> > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> > For additional commands, e-mail: users-h...@tomcat.apache.org
>> >
>> >
>> >
>>
>> Hi Gregor,
>>
>> Thanks a lot for replying.Appreciate that.
>>
>> When i execute ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
>> command,the output is as shown below:
>> -rw-r--r--  1 root root 1475752 Dec  6 06:24
>> /usr/local/apache-tomcat-6.0.18/logs/catalina.out
>>
>> When i execute ls -l /usr/local/apache-tomcat-6.0.18
>> command, the output is as shown below:
>>
>> drwxr-xr-x   2 root root  4096 Jul 22 02:01 bin
>> drwxr-xr-x   2 root root  4096 Dec  4 07:10 conf
>> drwxr-xr-x   2 root root  4096 Jul 22 02:01 lib
>> -rw-r--r--   1 root root 37950 Jul 22 02:01 LICENSE
>> drwxr-xr-x   2 root root 12288 Dec  6 04:43 logs
>> -rw-r--r--   1 root root   556 Jul 22 02:01 NOTICE
>> -rw-r--r--   1 root root  7317 Jul 22 02:01 RELEASE-NOTES
>> -rw-r--r--   1 root root  6587 Jul 22 02:01 RUNNING.txt
>> drwxr-xr-x   2 root root  4096 Jul 22 02:01 temp
>> drwxr-xr-x  10 root root  4096 Dec  6 06:24 webapps
>> drwxr-xr-x   3 root root  4096 Aug  5 10:26 work
>>
>> Please help me out in getting the server up again.
>>
>> Thanks and Regards,
>> Partha.
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>
> --
> Regards
> Partha Goswami
> President
> Global Web-Tech Solution
> www.globalwebtechsolution.com
>



-- 
Regards
Partha Goswami
President
Global Web-Tech Solution
www.globalwebtechsolution.com


Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha Goswami
You are Running it on Solaris Zones??

On Sat, Dec 13, 2008 at 2:38 PM, Partha  wrote:

>
>
>
> Gregor Schneider wrote:
> >
> > what user are you logged in as?
> >
> > what does
> > ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
> > and
> > ls -l /usr/local/apache-tomcat-6.0.18
> >
> > give?
> >
> > gregor
> > --
> > just because your paranoid, doesn't mean they're not after you...
> > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> >
>
> Hi Gregor,
>
> Thanks a lot for replying.Appreciate that.
>
> When i execute ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
> command,the output is as shown below:
> -rw-r--r--  1 root root 1475752 Dec  6 06:24
> /usr/local/apache-tomcat-6.0.18/logs/catalina.out
>
> When i execute ls -l /usr/local/apache-tomcat-6.0.18
> command, the output is as shown below:
>
> drwxr-xr-x   2 root root  4096 Jul 22 02:01 bin
> drwxr-xr-x   2 root root  4096 Dec  4 07:10 conf
> drwxr-xr-x   2 root root  4096 Jul 22 02:01 lib
> -rw-r--r--   1 root root 37950 Jul 22 02:01 LICENSE
> drwxr-xr-x   2 root root 12288 Dec  6 04:43 logs
> -rw-r--r--   1 root root   556 Jul 22 02:01 NOTICE
> -rw-r--r--   1 root root  7317 Jul 22 02:01 RELEASE-NOTES
> -rw-r--r--   1 root root  6587 Jul 22 02:01 RUNNING.txt
> drwxr-xr-x   2 root root  4096 Jul 22 02:01 temp
> drwxr-xr-x  10 root root  4096 Dec  6 06:24 webapps
> drwxr-xr-x   3 root root  4096 Aug  5 10:26 work
>
> Please help me out in getting the server up again.
>
> Thanks and Regards,
> Partha.
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards
Partha Goswami
President
Global Web-Tech Solution
www.globalwebtechsolution.com


Re: Unable to start tomcat server 6x

2008-12-13 Thread Varun Puttewar
Are you logged on as root user, as we can see write access is to only root
user for catalina.out file.

On Sat, Dec 13, 2008 at 2:38 PM, Partha  wrote:

>
>
>
> Gregor Schneider wrote:
> >
> > what user are you logged in as?
> >
> > what does
> > ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
> > and
> > ls -l /usr/local/apache-tomcat-6.0.18
> >
> > give?
> >
> > gregor
> > --
> > just because your paranoid, doesn't mean they're not after you...
> > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> >
>
> Hi Gregor,
>
> Thanks a lot for replying.Appreciate that.
>
> When i execute ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
> command,the output is as shown below:
> -rw-r--r--  1 root root 1475752 Dec  6 06:24
> /usr/local/apache-tomcat-6.0.18/logs/catalina.out
>
> When i execute ls -l /usr/local/apache-tomcat-6.0.18
> command, the output is as shown below:
>
> drwxr-xr-x   2 root root  4096 Jul 22 02:01 bin
> drwxr-xr-x   2 root root  4096 Dec  4 07:10 conf
> drwxr-xr-x   2 root root  4096 Jul 22 02:01 lib
> -rw-r--r--   1 root root 37950 Jul 22 02:01 LICENSE
> drwxr-xr-x   2 root root 12288 Dec  6 04:43 logs
> -rw-r--r--   1 root root   556 Jul 22 02:01 NOTICE
> -rw-r--r--   1 root root  7317 Jul 22 02:01 RELEASE-NOTES
> -rw-r--r--   1 root root  6587 Jul 22 02:01 RUNNING.txt
> drwxr-xr-x   2 root root  4096 Jul 22 02:01 temp
> drwxr-xr-x  10 root root  4096 Dec  6 06:24 webapps
> drwxr-xr-x   3 root root  4096 Aug  5 10:26 work
>
> Please help me out in getting the server up again.
>
> Thanks and Regards,
> Partha.
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Unable to start tomcat server 6x

2008-12-13 Thread Partha



Gregor Schneider wrote:
> 
> what user are you logged in as?
> 
> what does
> ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
> and
> ls -l /usr/local/apache-tomcat-6.0.18
> 
> give?
> 
> gregor
> -- 
> just because your paranoid, doesn't mean they're not after you...
> gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

Hi Gregor,

Thanks a lot for replying.Appreciate that.

When i execute ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
command,the output is as shown below: 
-rw-r--r--  1 root root 1475752 Dec  6 06:24
/usr/local/apache-tomcat-6.0.18/logs/catalina.out

When i execute ls -l /usr/local/apache-tomcat-6.0.18
command, the output is as shown below:

drwxr-xr-x   2 root root  4096 Jul 22 02:01 bin
drwxr-xr-x   2 root root  4096 Dec  4 07:10 conf
drwxr-xr-x   2 root root  4096 Jul 22 02:01 lib
-rw-r--r--   1 root root 37950 Jul 22 02:01 LICENSE
drwxr-xr-x   2 root root 12288 Dec  6 04:43 logs
-rw-r--r--   1 root root   556 Jul 22 02:01 NOTICE
-rw-r--r--   1 root root  7317 Jul 22 02:01 RELEASE-NOTES
-rw-r--r--   1 root root  6587 Jul 22 02:01 RUNNING.txt
drwxr-xr-x   2 root root  4096 Jul 22 02:01 temp
drwxr-xr-x  10 root root  4096 Dec  6 06:24 webapps
drwxr-xr-x   3 root root  4096 Aug  5 10:26 work

Please help me out in getting the server up again.

Thanks and Regards,
Partha.



-- 
View this message in context: 
http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988462.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: Unable to start tomcat server 6x

2008-12-13 Thread Gregor Schneider
what user are you logged in as?

what does
ls -l /usr/local/apache-tomcat-6.0.18/logs/catalina.out
and
ls -l /usr/local/apache-tomcat-6.0.18

give?

gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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



Unable to start tomcat server 6x

2008-12-13 Thread Partha

Hi there,
I am unable to restart apache-tomcat-6.0.18.When i try to run the startup.sh
it gives the following error:

Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.18
Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.18
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
Using JRE_HOME:   /usr
touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out':
Read-only file system
/usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 292:
/usr/local/apache-tomcat-6.0.18/logs/catalina.out: Read-only file system

When i try to change the permissions of catalina.out, it gives the message
that the file is read only.
Any pointers in this regard would be of great help.

Thanks and Regards,
Partha.


-- 
View this message in context: 
http://www.nabble.com/Unable-to-start-tomcat-server-6x-tp20988232p20988232.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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