|
Home > Archive > AOL Webserver > January 2006 > mving a file confuses aolserver?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
mving a file confuses aolserver?
|
|
| Dennis 2006-01-25, 2:45 am |
| Hi,
I'm running aolserver 40r10 and openacs 5.2.x. I have found that if I mv
a file or directory while openacs/aolserver is running, something gets
confused about the move.
For example, I move dennis.adp to dennis.adp.old and move test.adp to
dennis.adp. This is a no no apparently?
Ok, fine. But sometimes you do it. Now, I try to access dennis.adp and
get a "file not found" even though there is a file called dennis.adp there.
I restart openacs/aolserver. I still get "file not found". I reboot the
machine. I still get "file not found".
Is there some way to clear whatever is getting cached or whatever is
getting confused by the mv?
Dennis Sacks
dennis@works4me.com
| |
| Dossy Shiobara 2006-01-27, 8:46 pm |
| On 2006.01.25, Dennis <dennis@WORKS4ME.COM> wrote:
> I'm running aolserver 40r10 and openacs 5.2.x. I have found that if I mv
> a file or directory while openacs/aolserver is running, something gets
> confused about the move.
Could you try to reproduce this with a vanilla AOLserver and a barebones
config .tcl (like the sample-config.tcl that ships with AOLserver)?
This will at least identify if the problem is in AOLserver or in your
application code (i.e., OpenACS).
-- Dossy
--
Dossy Shiobara | dossy@panoptic.com | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
| |
| patrick o'leary 2006-01-27, 8:46 pm |
| Also check the permissions on your file
not having read permission for the web server user, will give you a 404
as well
P
Dossy Shiobara wrote:
>On 2006.01.25, Dennis <dennis@WORKS4ME.COM> wrote:
>
>
>
>Could you try to reproduce this with a vanilla AOLserver and a barebones
>config .tcl (like the sample-config.tcl that ships with AOLserver)?
>This will at least identify if the problem is in AOLserver or in your
>application code (i.e., OpenACS).
>
>-- Dossy
>
>
>
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Tom Jackson 2006-01-27, 8:46 pm |
| On Wednesday 25 January 2006 07:11, patrick o'leary wrote:
> Also check the permissions on your file
> not having read permission for the web server user, will give you a 404
> as well
This is the most likely cause of the behavior you are describing. Likely the
nsd process is running as a different user than the one you are logged in as.
tom jackson
| |
| Steve Manning 2006-01-27, 8:46 pm |
| This might seem a bit obvious but have you tried refreshing the page in
your browser or clearing your browser cache? I know that Firefox for
example is a sod for keeping "file not found" for urls that you know are
now working.
- Steve
On Wed, 2006-01-25 at 00:42 -0700, Dennis wrote:
> Hi,
>
> I'm running aolserver 40r10 and openacs 5.2.x. I have found that if I mv
> a file or directory while openacs/aolserver is running, something gets
> confused about the move.
>
> For example, I move dennis.adp to dennis.adp.old and move test.adp to
> dennis.adp. This is a no no apparently?
>
> Ok, fine. But sometimes you do it. Now, I try to access dennis.adp and
> get a "file not found" even though there is a file called dennis.adp there.
>
> I restart openacs/aolserver. I still get "file not found". I reboot the
> machine. I still get "file not found".
>
> Is there some way to clear whatever is getting cached or whatever is
> getting confused by the mv?
>
> Dennis Sacks
> dennis@works4me.com
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
>
________________________________________
________________________________
Steve Manning - Mandrake Linux 10.1 - Gnome 2.6
East Goscote - Leicester - UK +44 (0)116 260 5457
E-Mail: Steve@Manning.net - Web: www.festinalente.co.uk
AIM: verbomania - Public Key: 25665CAF from: wwwkeys.pgp.net
________________________________________
________________________________
There are only 10 types of people in this world
Those who understand binary and those who don't
________________________________________
________________________________
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <listserv@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
| |
| Dennis 2006-01-27, 8:46 pm |
| Steve Manning wrote:
> This might seem a bit obvious but have you tried refreshing the page
> in your browser or clearing your browser cache? I know that Firefox
> for example is a sod for keeping "file not found" for urls that you
> know are now working.
embarassingly, the problem was mine. Not aolserver's. I overwrite a file
with an older version.
I have noticed that firefox 1.5 caches more aggressively than previous
versions, so I do a lot more cache clearing.
Dennis
dennis@works4me.com
|
|
|
|
|