You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/04/26 11:43:42 UTC

DO NOT REPLY [Bug 42261] New: - Unable to make Apache 2.2.4 working on my HP-UX 11i workstation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261

           Summary: Unable to make Apache 2.2.4 working on my HP-UX 11i
                    workstation
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: HP
               URL: intranet web site.
        OS/Version: HP-UX
            Status: NEW
          Severity: critical
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: laurent.faillie@st.com


Hello,

I successfully configure Apache 2.2.4 on my HP-712 box under a well patched
HP-UX 11.11

Unfortunately, it seems httpd doesn't work correctly. As example, I'm able to
get be great "It works !" message, but if I'm trying to get an image as
apache_pb.gif, I got a zero sized reply whereas the logs said the image as been
transfered ("GET /apache_pb.gif HTTP/1.1" 200 2326).

I configured as 
./configure  --enable-info=shared --enable-so --with-included-apr
--with-expat=builtin --prefix=/projets/depots/apache_tst

and the only modification I made in the standard httpd.conf was to modify the
port and the user name to run the server.

Best regards,

Laurent

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261


trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|All                         |APR
            Product|Apache httpd-2              |APR
            Summary|Unable to make Apache 2.2.4 |sendfile broken with LFS
                   |working on my HP-UX 11i     |support on HP-UX/PA-RISC32
                   |workstation                 |
            Version|2.2.4                       |1.2.8




------- Additional Comments From trawick@apache.org  2007-04-26 07:22 -------
moving to APR, which owns the interface to the failing sendfile syscall...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From jorton@redhat.com  2007-04-27 02:21 -------
The core dump at httpd startup sounds bad though - can you file a separate bug
on that, running httpd under gdb to get a backtrace?

I vaguely recall that there was some issue with the HP-UX sendfile64 which I
never resolved - the return value was the wrong type or something?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261


trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hanno.borns@hp.com




------- Additional Comments From trawick@apache.org  2007-10-08 03:36 -------
*** Bug 40497 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From davi@haxent.com.br  2007-06-23 16:26 -------
(In reply to comment #11)
> gosh Davi, I guess the real problem for me was that historically I never took
> the time to find an HP C compiler option to warn about missing prototypes

Lucky enough, I had gcc. Also, we could avoid this happening again in future
by with a simple compile-time assertion:

(void)(0 && sendfile);

> 
> (I assume that your apache.org account is working by now ;) )
> 

Not yet, it seems to take some time.. there's no hurry.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - Unable to make Apache 2.2.4 working on my HP-UX 11i workstation

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From trawick@apache.org  2007-04-26 07:21 -------
>Is 2.2 stable enough under HP-UX for a quite important server?

In general, 2.2 is plenty stable.  I haven't done any stress testing of 2.2 on
HP-UX, but I have done a fair amount of functional testing on HP-UX 11iv1 and
some on 11iv2; the only issue I noticed was the sendfile mess.  I wouldn't
consider a sendfile issue (which can occur on a number of platforms in varying
circumstances) an implication that there are other problems to worry about.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261


laurent.faillie@st.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From laurent.faillie@st.com  2007-05-22 02:07 -------
Oups, I made a mistake.
This bug is not yet solved.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - Unable to make Apache 2.2.4 working on my HP-UX 11i workstation

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From trawick@apache.org  2007-04-26 03:44 -------
Put "EnableSendfile Off" in httpd.conf, restart, and try again.

I haven't been able to get sendfile to work on HP-UX/PA-RISC32 (11iv1 or 11iv2)
with large file support enabled (like Apache 2.2 has by default).


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From laurent.faillie@st.com  2007-05-09 08:23 -------
I have created a bug report for the starting problem (#42368)

Bye

Laurent

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261


laurent.faillie@st.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From laurent.faillie@st.com  2007-05-22 02:05 -------
No crash anymore w/ 2.2.4


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From laurent.faillie@st.com  2007-04-27 05:21 -------
Hi Joe,

I'm on holiday next week so I'll create a new bug report at my return.
But, to be short, apache crashes when I enable extra/httpd-manual.conf.
It seems it's when reading the configuration, because if I run 
      bin/apachectl restart
apachectl crashes and the previously running httpd is still running.

I have also another problem with database authentication (bug #40582).
Unfortunately, my 2 systems lost their system disks ... the same day (black day
isn't it), and I was too busy to reinstall. Now I'm restarting to work on it.

Bye

Laurent


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - Unable to make Apache 2.2.4 working on my HP-UX 11i workstation

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From laurent.faillie@st.com  2007-04-26 04:33 -------
Brillant : it's working. Thanks a lot.

Have you any other clues about apache 2.2 and HP-UX on 32b machines ?
Because it creates a core dump if I start it with some configuration files
enabled (i.e. extra/httpd-autoindex.conf ... quite strange because if I include
only this module it's working).

Is 2.2 stable enough under HP-UX for a quite important server ?

Thanks

Laurent


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From davi@haxent.com.br  2007-06-22 07:51 -------
Created an attachment (id=20389)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20389&action=view)
define the _HPUX_SOURCE feature test macro to obtain maximum functionality

The sendfile function was being used without being declared, because the
_XOPEN_SOURCE_EXTENDED macro doesn't bring sendfile (and fixups) into the
namespace.

Tested and passes sendfile tests on:

HP HP-UX 11i 11.11 PA-RISC 8700
HP HP-UX 11i v3 Itanium II

* After applying the patch, execute ./buildconf

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261


davi@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From davi@apache.org  2007-06-26 16:52 -------
Committed to trunk as r550877 and backported to 1.2.x in r550989.

http://svn.apache.org/viewvc?view=rev&revision=550877
http://svn.apache.org/viewvc?view=rev&revision=550989

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261





------- Additional Comments From trawick@apache.org  2007-06-23 12:54 -------
gosh Davi, I guess the real problem for me was that historically I never took
the time to find an HP C compiler option to warn about missing prototypes, and
all the recent staring at the sendfile() prototype myself didn't mean the
compiler had even glanced at it :(

thanks!

(I assume that your apache.org account is working by now ;) )


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42261] - sendfile broken with LFS support on HP-UX/PA-RISC32

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42261


trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cm@cmunt.demon.co.uk




------- Additional Comments From trawick@apache.org  2007-08-22 16:46 -------
*** Bug 43189 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org