Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old August 24th, 2007
ryancoulter's Avatar
ryancoulter Offline
Junior Member
 
Join Date: August 2007
Posts: 2
Problem with Apache 2 on AIX 5.3

Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX 5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache 1.3, I don't have the problem. The problem is as follows:

I request index.html from the webserver and receive it properly in my browser. I then log onto the server, edit the file with vi, save it and exit. Then I return to my browser and request index.html again and it appears as though nothing has changed. My edit does not show up. Sometimes, after making an edit, I try to open the page in my browser and receive a message that the browser couldn't reach the server.

In trying to track down the problem, I have discovered that, first, the web server is not crashing. It is also receiving and logging the GET request for the page. When it logs the request, it logs a 200 OK and the correct *new* file size. I then performed an experiment using wget to request index.html. On the first request, I receive the correct version. After editing index.html on the server and adding a large number of characters, I submit the request with wget again and receive an error saying "No data received." After a few minutes, the requests begin to work again and I receive the correct, new version. After editing the file again and removing any number of characters, I make the request again and receive a file of the correct, new size. However, the contents of the file when opened still contain the removed characters, and the file itself is truncated by the same number of characters I had removed.

My initial thoughts were that the problem had to do with memory caching or disk caching in Apache, but I have confirmed that those modules are not loaded. No caching is enabled. Also, no errors are logged. Stopping and starting Apache makes no difference. I can even completely remove and reinstall the Apache files, including the document root, and upon starting up Apache, it will continue for several minutes with this behavior. In every case, eventually, after several minutes, the correct, new file will be delivered properly.

This is happening on more than one server. Has anyone run into something like this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old August 25th, 2007
jrigler's Avatar
jrigler Offline
Member
 
Join Date: April 2007
Posts: 43
Re: Problem with Apache 2 on AIX 5.3

I have seen the same thing with php on linux. Sometimes I have to rename the page and then refresh my browser to get a page not found and then put it back. I think there is some caching happening somewhere. Also, I wonder if akamai might be part of this. I don't entirely understand what they do, but I do know that they cache pages for people and sometimes when you request something it is actually coming from them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old August 27th, 2007
ryancoulter's Avatar
ryancoulter Offline
Junior Member
 
Join Date: August 2007
Posts: 2
Re: Problem with Apache 2 on AIX 5.3

Thank you for your reply. To clarify on the problem, these servers are on an internal network, so Akamai is definitely not part of the problem. It's not just that I'm getting a cached page. I am receiving the correct number of bytes that the new file is, but I receive them from the old file. It's as though Apache sees that the file is a certain length and goes to read that length from the file handle it has, but that file handle has been cached. To my knowledge, in the configuration I'm using, there's no way for Apache to perform caching of any kind, though.

Also, I have attempted the same configuration and experiments on non-AIX systems over the weekend (Linux and OS X), and I did not have any of the described problem.

Thanks again for any assistance anyone can provide.
~Ryan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48