From chrislit at crosswire.org  Sat Jun 23 00:59:23 2012
From: chrislit at crosswire.org (Chris Little)
Date: Sat, 23 Jun 2012 00:59:23 -0700
Subject: [server-admins] problem with SwordMod.Verify?
Message-ID: <4FE5775B.40801@crosswire.org>

I just tried to do our first release of a new module since the server 
changes and have come upon a problem with the JSP that builds our zips 
on the server when a user tries to download them. If you click on the 
download link here on this page:
http://crosswire.org/sword/modules/ModInfo.jsp?modName=KorRV

the result is that the JSP tries to build the file and redirects to the 
file location. But the file isn't there.

I would guess that there's a directory permissions problem, but the 
tomcat user has permission to write to ftp/pub/sword/packages/rawzip, so 
I'm not sure.

Anyone have ideas and/or time to look into this?

--Chris


From refdoc at gmx.net  Sat Jun 23 02:39:16 2012
From: refdoc at gmx.net (Peter von Kaehne)
Date: Sat, 23 Jun 2012 10:39:16 +0100
Subject: [server-admins] problem with SwordMod.Verify?
In-Reply-To: <4FE5775B.40801@crosswire.org>
References: <4FE5775B.40801@crosswire.org>
Message-ID: <1340444356.1950.2.camel@AOA110>

On Sat, 2012-06-23 at 00:59 -0700, Chris Little wrote:
> 
> Anyone have ideas and/or time to look into this?

I have just now tried to identify the logs which could hold information,
but neither is there a /var/log tomcat, nor does /var/log/httpd contain
tomcat logs, nor are the logs in /opt/tomcat/logs recent (the last entry
is from mid of May).

I guess somewhere there must be a log which tells that a write has
failed and this will tell us more, but so far I have not found it.

Peter



From refdoc at gmx.net  Sat Jun 23 02:50:26 2012
From: refdoc at gmx.net (Peter von Kaehne)
Date: Sat, 23 Jun 2012 10:50:26 +0100
Subject: [server-admins] problem with SwordMod.Verify?
In-Reply-To: <1340444356.1950.2.camel@AOA110>
References: <4FE5775B.40801@crosswire.org> <1340444356.1950.2.camel@AOA110>
Message-ID: <1340445026.1950.3.camel@AOA110>

On Sat, 2012-06-23 at 10:39 +0100, Peter von Kaehne wrote:

> I guess somewhere there must be a log which tells that a write has
> failed and this will tell us more, but so far I have not found it

and /home/tomcat I have no access to




From dmsmith at crosswire.org  Sat Jun 23 03:38:24 2012
From: dmsmith at crosswire.org (DM Smith)
Date: Sat, 23 Jun 2012 06:38:24 -0400
Subject: [server-admins] problem with SwordMod.Verify?
In-Reply-To: <1340445026.1950.3.camel@AOA110>
References: <4FE5775B.40801@crosswire.org> <1340444356.1950.2.camel@AOA110>
	<1340445026.1950.3.camel@AOA110>
Message-ID: <1223DF6E-0B25-451F-82BF-A596615C9074@crosswire.org>

Brief note. On my way to the airport for a wedding.

Try:
	/home/crosswire/servers/main/logs
for the logs.

New layout for the servers distributed as .../servers/main/*

See /etc/init.d/tomcat for details.

Hope this helps.

-- DM

On Jun 23, 2012, at 5:50 AM, Peter von Kaehne wrote:

> On Sat, 2012-06-23 at 10:39 +0100, Peter von Kaehne wrote:
> 
>> I guess somewhere there must be a log which tells that a write has
>> failed and this will tell us more, but so far I have not found it
> 
> and /home/tomcat I have no access to
> 
> 
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins



From refdoc at gmx.net  Sat Jun 23 07:48:08 2012
From: refdoc at gmx.net (Peter von Kaehne)
Date: Sat, 23 Jun 2012 15:48:08 +0100
Subject: [server-admins] problem with SwordMod.Verify?
In-Reply-To: <1223DF6E-0B25-451F-82BF-A596615C9074@crosswire.org>
References: <4FE5775B.40801@crosswire.org> <1340444356.1950.2.camel@AOA110>
	<1340445026.1950.3.camel@AOA110>
	<1223DF6E-0B25-451F-82BF-A596615C9074@crosswire.org>
Message-ID: <4FE5D728.3020809@gmx.net>

Thanks, that is it.

/home/crosswire/servers/main/logs/catalina.out-20120610

An error appeared on the 29th of April and was since recorded several
hundred times. A nullpointer exception in ModInfo.jsp and some ?related
errors on ModInfoCopyright.jsp etc. Permission errors also.

Trying to use the download link creates a new error with permission error.

/home/pubmods/packages/rawzip/ is owned by ftp, tomcat is part of ftp's
group and can write into that directory.

/home/pubmods/raw is owned by pubmods and can be read by everyone.

The Korean module is no exception here.

So, I guess I need to give up.


Peter
On 23/06/12 11:38, DM Smith wrote:
> Brief note. On my way to the airport for a wedding.
> 
> Try:
> 	/home/crosswire/servers/main/logs
> for the logs.
> 
> New layout for the servers distributed as .../servers/main/*
> 
> See /etc/init.d/tomcat for details.
> 
> Hope this helps.
> 
> -- DM
> 
> On Jun 23, 2012, at 5:50 AM, Peter von Kaehne wrote:
> 
>> On Sat, 2012-06-23 at 10:39 +0100, Peter von Kaehne wrote:
>>
>>> I guess somewhere there must be a log which tells that a write has
>>> failed and this will tell us more, but so far I have not found it
>>
>> and /home/tomcat I have no access to
>>
>>
>>
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
> 
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins



From dmsmith at crosswire.org  Sat Jun 23 08:22:50 2012
From: dmsmith at crosswire.org (DM Smith)
Date: Sat, 23 Jun 2012 11:22:50 -0400
Subject: [server-admins] problem with SwordMod.Verify?
In-Reply-To: <4FE5D728.3020809@gmx.net>
References: <4FE5775B.40801@crosswire.org> <1340444356.1950.2.camel@AOA110>
	<1340445026.1950.3.camel@AOA110>
	<1223DF6E-0B25-451F-82BF-A596615C9074@crosswire.org>
	<4FE5D728.3020809@gmx.net>
Message-ID: <6D3869D9-AB24-4E70-AA3B-6DF63893E390@crosswire.org>

On a layover so can't get to it now. Maybe i can later.  What perms are needed?

Cent from my fone so theer mite be tipos. ;)

On Jun 23, 2012, at 10:48 AM, Peter von Kaehne <refdoc at gmx.net> wrote:

> Thanks, that is it.
> 
> /home/crosswire/servers/main/logs/catalina.out-20120610
> 
> An error appeared on the 29th of April and was since recorded several
> hundred times. A nullpointer exception in ModInfo.jsp and some ?related
> errors on ModInfoCopyright.jsp etc. Permission errors also.
> 
> Trying to use the download link creates a new error with permission error.
> 
> /home/pubmods/packages/rawzip/ is owned by ftp, tomcat is part of ftp's
> group and can write into that directory.
> 
> /home/pubmods/raw is owned by pubmods and can be read by everyone.
> 
> The Korean module is no exception here.
> 
> So, I guess I need to give up.
> 
> 
> Peter
> On 23/06/12 11:38, DM Smith wrote:
>> Brief note. On my way to the airport for a wedding.
>> 
>> Try:
>>    /home/crosswire/servers/main/logs
>> for the logs.
>> 
>> New layout for the servers distributed as .../servers/main/*
>> 
>> See /etc/init.d/tomcat for details.
>> 
>> Hope this helps.
>> 
>> -- DM
>> 
>> On Jun 23, 2012, at 5:50 AM, Peter von Kaehne wrote:
>> 
>>> On Sat, 2012-06-23 at 10:39 +0100, Peter von Kaehne wrote:
>>> 
>>>> I guess somewhere there must be a log which tells that a write has
>>>> failed and this will tell us more, but so far I have not found it
>>> 
>>> and /home/tomcat I have no access to
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> server-admins mailing list
>>> server-admins at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/server-admins
>> 
>> 
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
> 
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins


From scribe at crosswire.org  Sat Jun 23 10:05:58 2012
From: scribe at crosswire.org (Troy A. Griffitts)
Date: Sat, 23 Jun 2012 19:05:58 +0200
Subject: [server-admins] problem with SwordMod.Verify?
In-Reply-To: <4FE5D728.3020809@gmx.net>
References: <4FE5775B.40801@crosswire.org> <1340444356.1950.2.camel@AOA110>
	<1340445026.1950.3.camel@AOA110>
	<1223DF6E-0B25-451F-82BF-A596615C9074@crosswire.org>
	<4FE5D728.3020809@gmx.net>
Message-ID: <4FE5F776.60306@crosswire.org>

One of the improvements with the new tomcat partitioning is that each 
instance runs as the owner of the .../servers/<servername> folder, so 
tomcat being the ftp group didn't help.  This server is owned by the 
crosswire user and crosswire needed to be in the ftp group.  Should be 
fixed now.  Thanks for the report.  Sorry for the bug.

Troy



On 06/23/2012 04:48 PM, Peter von Kaehne wrote:
> Thanks, that is it.
>
> /home/crosswire/servers/main/logs/catalina.out-20120610
>
> An error appeared on the 29th of April and was since recorded several
> hundred times. A nullpointer exception in ModInfo.jsp and some ?related
> errors on ModInfoCopyright.jsp etc. Permission errors also.
>
> Trying to use the download link creates a new error with permission error.
>
> /home/pubmods/packages/rawzip/ is owned by ftp, tomcat is part of ftp's
> group and can write into that directory.
>
> /home/pubmods/raw is owned by pubmods and can be read by everyone.
>
> The Korean module is no exception here.
>
> So, I guess I need to give up.
>
>
> Peter
> On 23/06/12 11:38, DM Smith wrote:
>> Brief note. On my way to the airport for a wedding.
>>
>> Try:
>> 	/home/crosswire/servers/main/logs
>> for the logs.
>>
>> New layout for the servers distributed as .../servers/main/*
>>
>> See /etc/init.d/tomcat for details.
>>
>> Hope this helps.
>>
>> -- DM
>>
>> On Jun 23, 2012, at 5:50 AM, Peter von Kaehne wrote:
>>
>>> On Sat, 2012-06-23 at 10:39 +0100, Peter von Kaehne wrote:
>>>
>>>> I guess somewhere there must be a log which tells that a write has
>>>> failed and this will tell us more, but so far I have not found it
>>>
>>> and /home/tomcat I have no access to
>>>
>>>
>>>
>>> _______________________________________________
>>> server-admins mailing list
>>> server-admins at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/server-admins
>>
>>
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
>
>
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins



