APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > /dev/zero mmap apache ––>Re: Looking for Apache on SCOUnix 3.2v4.2
Printer Friendly Version




News Group Posts

/dev/zero mmap apache




This is an ancient post with no relevance to modern systems.

From: Bela Lubkin <belal@sco.com>
Subject: Re: Looking for Apache on SCO Unix 3.2v4.2
Date: Thu, 14 Nov 2002 08:43:51 GMT
References: <aqe2km$8u138$1@ID-37340.news.dfncis.de>
<aqe632$j3s$1@pcls4.std.com>
<aqfr0l$9mek8$1@ID-37340.news.dfncis.de>
<3DCBB074.2040803@strhold.it> Siegfried Kurz wrote: > The error_log says: > open: No such file or directory > httpd: Could not open /dev/zero

Roberto Zini wrote:

> According to the OS5 docs, /dev/zero is a source of an unlimited stream 
> of zero-valued bytes.
> 
> I don't have a 3.2v4.2 machine around but check if you have 
> /dev/byte/hex/00; if you do, then you can link it to /dev/zero.
> 
> Alternatively, you __MIGHT__ try by linking /dev/null to /dev/zero but 
> I'm not sure about that (do it at your own risk).
> 
> Last, you could write a simple shell/C program which opens a named pipe 
> (eg, /dev/zero) and fills it with an unlimited stream of zero bytes, 
> thus satisfying Apache's needs.

The next error message will probably be something like:

  mmap: invalid system call

The most likely reason for it to be opening /dev/zero is that it wants
to create some anonymous writable memory.  3.2v4.2 doesn't support
mmap() at all...

As Jonathan Schilling suggested, Siegfried is going to have to fiddle
with Apache's build configuration.  There is probably a `configure`
script.  It fools around a bunch and figures out what system calls are
supported -- by the running OS, which is the 5.0.x he's building on.  He
needs to figure out how to override `configure` so that it knows that
mmap() is _not_ supported (and likely half a dozen other calls as well).














Apache is a large and complex beast.  It's probably possible to get it
working (to some degree) on 3.2v4.2, but it will take someone with a lot
of knowledge of Apache _and_ OpenServer release differences.  (Or,
possibly, someone with a 3.2v4.2 development system.)

>Bela<
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


cartoon
Versatile Site Map Generator $59.00
A1 Sitemap Generator

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Apache
       - Bela
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here