niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
Apache 2.2 seems to have problems with CIFS mounted filesystems
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Tim Garton
*nix forums beginner


Joined: 14 Feb 2006
Posts: 2

PostPosted: Tue Feb 14, 2006 9:43 pm    Post subject: Apache 2.2 seems to have problems with CIFS mounted filesystems Reply with quote

Has anyone else run into anything like this? Just upgraded to Apache
2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some
windows shares via CIFS (eg. mount -t cifs //windowsfs/share
/local/mount/point) For some of the virtual hosts the UserDir's lie on
these mounted CIFS filesystems. After upgrading to 2.2, whenever you
try to visit one of these UserDir pages, if it's an .html page you get
the html but no images work, if it's anything else you get a blank
page. Additionally, we see these in our error logs:

[Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too
large for defined data type: core_output_filter: writing data to the network

However, as soon as you unmount the CIFS mount and then mount it again
as SMBFS(eg. mount -t smbfs //windowsfs/share /local/mount/point),
everything works like a charm. But under Apache 2.0, the CIFS mount
worked no problem. Anyone else seen this or know a work around?
Unfortunately mounting the shares as SMBFS fails under a heavy load so
we have to stick with CIFS mounting. And yes, before you say it, I
realize it's not the best way to run a webserver serving up pages from a
windows mounted share, but it makes it extremely easy for all our users
to develop websites without having to explain to them how to ftp or sftp
data to the webserver.

Tim

--
Tim Garton
Director of Technology
High Tech High
Work: (619) 243-5009
Cell: (619) 347-9531
Fax: (619) 243-5050
tgarton@hightechhigh.org
http://www.hightechhigh.org
Back to top
Jacqui Caren
*nix forums beginner


Joined: 09 Feb 2006
Posts: 14

PostPosted: Wed Feb 15, 2006 8:44 am    Post subject: Re: Apache 2.2 seems to have problems with CIFS mounted filesystems Reply with quote

Tim Garton wrote:
Quote:
but it makes it extremely easy for all our users
to develop websites without having to explain to them how to ftp or sftp
data to the webserver.

This may be obvious but here goes :-)

I make web space available on the linux box and use samba to share this
space with the windows machines.

There is the issue with XPhome (I use this technique at home) but apart
from this it works well.

Jacqui

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Joe Orton
*nix forums Guru Wannabe


Joined: 15 Feb 2005
Posts: 104

PostPosted: Wed Feb 15, 2006 11:16 am    Post subject: Re: Apache 2.2 seems to have problems with CIFS mounted filesystems Reply with quote

On Tue, Feb 14, 2006 at 01:43:12PM -0800, Tim Garton wrote:
Quote:
Has anyone else run into anything like this? Just upgraded to Apache
2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some
windows shares via CIFS (eg. mount -t cifs //windowsfs/share
/local/mount/point) For some of the virtual hosts the UserDir's lie on
these mounted CIFS filesystems. After upgrading to 2.2, whenever you
try to visit one of these UserDir pages, if it's an .html page you get
the html but no images work, if it's anything else you get a blank
page. Additionally, we see these in our error logs:

[Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too
large for defined data type: core_output_filter: writing data to the network

Could you capture the strace output when this happens? e.g.

strace -o /tmp/httpd.strace httpd -X
....
<send a request which triggers the error>
CTRL-C.

then gzip and upload /tmp/httpd.strace somewhere; please don't post it
to this list. It might be useful also to know the:

- Linux distribution
- CPU architecture
- glibc version

Regards,

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Tim Garton
*nix forums beginner


Joined: 14 Feb 2006
Posts: 2

PostPosted: Wed Feb 15, 2006 5:49 pm    Post subject: Re: Apache 2.2 seems to have problems with CIFS mounted filesystems Reply with quote

Ok, I took Joe's advice. You can find the strace at:
http://staff.hightechhigh.org/~tgarton/httpd.strace.gz

The other info you asked for is:
Linux distro - Slackware 10.1
CPU arch - x86(Pentium III)
glibc version - 2.3.2

Tim


Joe Orton wrote:

Quote:
On Tue, Feb 14, 2006 at 01:43:12PM -0800, Tim Garton wrote:


Has anyone else run into anything like this? Just upgraded to Apache
2.2.0 on a linux box running 2.6.10 kernel. This machine mounts some
windows shares via CIFS (eg. mount -t cifs //windowsfs/share
/local/mount/point) For some of the virtual hosts the UserDir's lie on
these mounted CIFS filesystems. After upgrading to 2.2, whenever you
try to visit one of these UserDir pages, if it's an .html page you get
the html but no images work, if it's anything else you get a blank
page. Additionally, we see these in our error logs:

[Mon Feb 13 14:55:08 2006] [info] [client 172.16.10.7] (75)Value too
large for defined data type: core_output_filter: writing data to the network



Could you capture the strace output when this happens? e.g.

strace -o /tmp/httpd.strace httpd -X
...
send a request which triggers the error
CTRL-C.

then gzip and upload /tmp/httpd.strace somewhere; please don't post it
to this list. It might be useful also to know the:

- Linux distribution
- CPU architecture
- glibc version

Regards,

joe



--
Tim Garton
Director of Technology
High Tech High
Work: (619) 243-5009
Cell: (619) 347-9531
Fax: (619) 243-5050
tgarton@hightechhigh.org
http://www.hightechhigh.org
Back to top
Joe Orton
*nix forums Guru Wannabe


Joined: 15 Feb 2005
Posts: 104

PostPosted: Wed Feb 15, 2006 10:39 pm    Post subject: Re: Apache 2.2 seems to have problems with CIFS mounted filesystems Reply with quote

On Wed, Feb 15, 2006 at 09:49:52AM -0800, Tim Garton wrote:
Quote:
Ok, I took Joe's advice. You can find the strace at:
http://staff.hightechhigh.org/~tgarton/httpd.strace.gz

The other info you asked for is:
Linux distro - Slackware 10.1
CPU arch - x86(Pentium III)
glibc version - 2.3.2

Thanks. The error:

sendfile64(8, 9, [0], 5571) = -1 EOVERFLOW (Value too large for defined data type)

should never happen; I suppose this could be a bug in the CIFS driver,
but it's a little odd. You can use "EnableSendfile off" to work around
the issue. Upgrading the kernel might fix it properly.

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Thu Aug 28, 2008 5:52 pm | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am
No new posts Problems with relay control Félix Martos Trenado Postfix 3 Thu Jul 20, 2006 3:33 pm
No new posts again a newbie... :( compiler problems Thorsten Kaben C++ 18 Thu Jul 20, 2006 2:52 am

Cheap Car Insurance | Web Advertising | Personal Loans | Loans | News
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2148s ][ Queries: 16 (0.1199s) ][ GZIP on - Debug on ]