mving a file confuses aolserver?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > AOL Webserver > mving a file confuses aolserver?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    mving a file confuses aolserver?  
Dennis


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-06 07: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







[ Post a follow-up to this message ]



    Re: mving a file confuses aolserver?  
Dossy Shiobara


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:46 AM

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)







[ Post a follow-up to this message ]



    Re: mving a file confuses aolserver?  
patrick o'leary


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:46 AM

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@listser
v.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
 field of your email blank.






[ Post a follow-up to this message ]



    Re: mving a file confuses aolserver?  
Tom Jackson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:46 AM

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







[ Post a follow-up to this message ]



    Re: mving a file confuses aolserver?  
Steve Manning


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:46 AM

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@lists
erv.aol.com> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subjec
t: 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@listser
v.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
 field of your email blank.






[ Post a follow-up to this message ]



    Re: mving a file confuses aolserver?  
Dennis


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:46 AM

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:29 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register