List Info

Thread: mving a file confuses aolserver?




mving a file confuses aolserver?
user name
2006-01-25 07:42:37
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
dennisworks4me.com


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.
mving a file confuses aolserver?
user name
2006-01-25 14:19:25
On 2006.01.25, Dennis <dennisWORKS4ME.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              | dossypanoptic.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)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.
mving a file confuses aolserver?
user name
2006-01-25 15:11:13
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:
panoptic.com" type="cite">
On 2006.01.25, Dennis WORKS4ME.COM"><dennisWORKS4ME.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

  

mving a file confuses aolserver?
user name
2006-01-25 15:46:27
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


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.
mving a file confuses aolserver?
user name
2006-01-25 20:23:53

 &nbsp;  - 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
 dennisworks4me.com">dennisworks4me.com


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to < listservlistserv.aol.com">listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER&quot; 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: stevemanning.net">SteveManning.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

mving a file confuses aolserver?
user name
2006-01-25 21:38:45
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
dennisworks4me.com


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<listservlistserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message.
You can leave the Subject: field of your email blank.
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )