Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Download issues from OSX Server...

Hello,

I have an odd issue occurring with our OSX Server (XServe RAID)... We have a directory setup as a LAMP Web Server (Apache2/PHP4). Everything works great except for one thing: downloads.

When I attempt to view or download any file (whether it be graphics in an HTML doc or files access directly by URL), it will only allow my to view/download a small portion of the file (anywhere from 64k to 500k).

The first place I looked was my php.ini file. This was because this problem first manifested from a PHP app I am using. Everything is set correctly in the ini file, though (I can upload files of any size -- depending on the ini settings, etc.).

Shortly after, I realized that this issue occurs even when trying to access a file directly by entering the URL to the file (i.e., it's not a PHP issue). So, I checked my httpd.conf file and found that nothing was odd there either.

Has anyone else experienced this problem? Is there somewhere else I can check for a "download" setting?

Keep in mind that I'm not a LAMP expert (nor ISX server). I just need to get this working so that people can view more than just half of a webpage!

Thanks for any help,
Tim

P.S. I hope I posted this to the right place.

OSX Server, Mac OS X (10.4.8), 2GHz Xserve RackMac PowerPC G5 (RAID)

Posted on Feb 28, 2007 1:03 PM

Reply
Question marked as Best reply

Posted on Feb 28, 2007 5:35 PM

Have you checked for any bottlenecks on gateway hardware? Switches/Firewalls/Routers? Do you have the OS X firewall enabled? If so, does this problem persist if you turn it off?
23 replies

Mar 5, 2007 7:22 AM in response to EMBARQ Studio54

*Update: The System Logs don't show much, but there is this entry (multiple times):

===
Mar 5 09:29:22 DKSM0002 servermgrd: servermgr_dns: gethostbyaddr() and reverse DNS name do not match (servername.dev.domain.com != SERVERNAME.dev.domain.com), various services may not function properly - use changeip to repair and/or correct DNS
===

I've replaced the real server name with "servername" (as you can see, it's lower case in one instance and upper case in the other). I've also replaced the real domain name with "domain."

Could this be a problem?

Tim

Mar 5, 2007 1:22 PM in response to EMBARQ Studio54

It's a "command not found" error. apachectl is calling lynx, but either it's not where it's supposed to be or the search path that apachectl knows does not contain the correct directory.

Anyway, you don't need lynx to run Apache, but you'll need it if you wan to use the "status" command. So this is not a BIG problem.

But that probably means that when you installed Apache 2.x on your server, you didn't load it up to the brim with "known-to-work" features usually found with the Apple install.

The key is to finding out if wether the httpd process is hanging or ending before it should.

Extended Keyboard Server Mac OS X (10.4.8)

Mar 5, 2007 3:53 PM in response to EMBARQ Studio54

I had both Apaches configured (by hand) for what I need. I went to the Apache startupitem, /System/Library/StartupItems/Apache, and copied the script and made the changes for Apache2. Now if I want to go back and forth, I just name the script that I want to use Apache and the server executes it on startup.

Roger

Mar 6, 2007 6:21 AM in response to Celia Wessen

Ok, thanks for clarifying that.

As far as finding out if httpd is hanging or ending... Any advice? None of my logs seem to indicate it, but when I attempt downloads, there is definitely an issue. Altering htppd.conf settings gets this behavior to change in certain ways (i.e., I can download more or less of certain files depending on various settings), but I still haven't been able to fix the issue.

Guidance is much appreciated!

Thanks,
Tim

May 13, 2008 7:36 AM in response to EMBARQ Studio54

I just realized that this was still left as "unanswered." While all of the replies here were helpful, a reinstall of the entire AMP system is what ended up being the fix for this issue. The 'main' fix was moving from PHP 4.x to PHP 5.x (something about PHP 4 and Apache 2.x was causing a hickup (which I never did completely figure out).

Anyway, thanks for all of the help (even though this is a pretty late response).

Tim

Download issues from OSX Server...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.