Ok, here we go...
Maybe You are interested in my little project which has reached the first step of many: a NeXTcube running with NS 3.3 and serving a little webpage with the CERN serversoftware HTTPD 3.0a.
I'm somewhat addicted to get all my old machines running and - if possible - to let them serve some documents to the web. This project originally started with a Macintosh Plus (that will be up again one day when I managed to get myself a "new" old harddisk about 100 MB capacity). In the meantime I got my first NeXTcube, collected several information about NeXT, their software and machines and of course I stumbled over Tim Berners-Lee, CERN and all related topics.
This is why I've chosen CERN HTTPD 3.0a as the server software - nostalgia. Do not wonder about the adress, this is a relict of the days when my Macintosh Plus was serving some pages to the web. It's not much what You can see, as I mentioned it is the first step of many:
http://macplusserver.dyndns.org(will be changed some day to no-ip, I suppose). Enjoy and lots of "Thank Yous" to everyone in here who helped me getting one one my black beauties running again!
J
oh, cool! :)
Thats pretty spiffy. I love seeing older machines serving websites.
Hellz yeah, that rocks! Great job!
Thank You very much!
In fact I had to read many pages on the internet, the NeXT System Administration manual and several documentations from all around the world, maybe I will write my own installation manual one day.
I remember the day when I won the auction on the cube: about 70 Dollars for a NeXTcube with monitor, floppy drive, original mouse and frog design display already made me very happy. It rained cats and dogs when I picked up that cube in Bern and I asked myself: "how can You make this one running again with no software and no harddisk and any knowledge at all?". So now after nearly one year of collecting several other NeXT-related stuff I'm a bit proud of myself that I made it that far. It's something very special to see an old machine like this back in life!
J
I just visited your Cube with my cube! It was the fastest loading page I've tried tonight since getting my net settings in order...finally. It's the little things that make me happy! Thanks for sharing your work!
Nice to see it running on that old black hardware, Jenne. Good job!
Yes, I enjoy the sound of the cube's fan. It seems to do it's job very reliable until now. I'm thinking about the next two projects on the cube:
1) dampening the hard drive's sound (those Seagates are pretty noisy)
2) "mirroring" the very first pages on version 1 of CERN HTTPD
I've been writing a mail to CERN, maybe they are willing to pass me version 1 and a backup of those first webpages of the net. I will let You know!
J
Maybe check their ftp servers Jenne, they might have that stuff there. But don't take my word for it.
As for the hard drives, definitely need to make them quiet! I can't stand those noisy metal grinding critters either! Get a newer SCSI disk and lower RPM, surely it's going to be faster than anything from the NeXT era, even at fewer RPMs.
Getting appropiate hard drives is very difficult around here. In Switzerland most computer users tend to keep their machines for a very long time and that is why it is very hard to find old SCSI drives with a good capacity and RPMs. I do have some IBM drives with 4 or 8 GB but I do not understand that disktab entry stuff very well... :(
J
If you send me some Toblerone, then perhaps I can find one for you :p
Actually eBay is a better place... just make sure you look up the specs before you get a drive. Check the acoustic levels of the drive to make sure it's quieter than others. Here are a couple of useful links, and under the drive specs/jumpers you can see some of the acoustic levels of the drives:
Lots of Seagate drive specs:
http://www.bookcase.com/library/harddrive/seagate-scsi.htmlGeneral SCSI stuff, very useful:
http://www.scsita.org/aboutscsi/SCSI_Termination_Tutorial.html
off topic...
da9000, you can actually buy toblerone at walmart... :]
I love that stuff
Great, thank You!
By the way: You have never been a NeXT supporter in the early years by chance, have You? ;)
In the meantime the cube had it's first time out, I think he does not get the dynamic IP update very well... So this will be my third project:
some sort of script or something that reboots the cube every 12 hours or so.
J
Quote from: "helf"off topic...
da9000, you can actually buy toblerone at walmart... :]
I love that stuff
But think about it: I'd get it delivered to my door! No need to hurry out to Walmart or wherever! Plus, we're talking about the real deal, non of this USDA approved stuff :p (Mad-cow milk perhaps?) Anyways, I was hoping they'd have Toblerone the size of a barrel in Switcherland :) Never seen that size in Walmart :)
Not to disappoint You but Toblerone isn't the best sweety stuff You can get around here (even if there are Toblerone bars at the size about 30 cm length). Lindt (
http://www.lindt.com/1610/1612/2053.asp) is supposed to be THE chocolate manufacturer around here ;)
J
Quote from: "Jenne"
By the way: You have never been a NeXT supporter in the early years by chance, have You? ;)
Who me? From the time I laid my eyes on one of the black beauties in my university computer lab! There were just no takers :(
Oh, so You had close encounters very early I suppose... I've been knowing NeXT quite some time but I handled very different computers in my early days. Funny, in those days I joked around with some Ataris - and just some minutes ago I got myself my first Atari STacy! Will be some nice update to my museum!
But relax, I'm pretty good at Ataris, I don't think that I need as much help with this as with my NeXT machines :)
J
Quote from: "Jenne"Oh, so You had close encounters very early I suppose... I've been knowing NeXT quite some time but I handled very different computers in my early days. Funny, in those days I joked around with some Ataris - and just some minutes ago I got myself my first Atari STacy! Will be some nice update to my museum!
But relax, I'm pretty good at Ataris, I don't think that I need as much help with this as with my NeXT machines :)
I wouldn't say so early. When I first laid eyes on the machines, NeXT was not a company anymore (it was part of Apple). I wrote a little of that history at the end of my NeXT paraphenalia thread (NeXT history), if you want to read.
As for the Ataris... hehehe, I used those from the opposite camp. You know, the better Tramiel machines ;) (even though he had nothing to do with their making, it was J. Miner who was the true father)
Quote from: "da9000"I wrote a little of that history at the end of my NeXT paraphenalia thread (NeXT history), if you want to read.
Gosh! No further comment on this...
It's interesting to see how someone gets addicted to computers. My first one was a Spectrum ZX. A friend of mine gave it to me because he couldn't get used to that strange keyboard. I tried and played around a bit but it didn't make much sense as long as I didn't own a tape drive to save my first lines on it. Anyway I was fascinated of what those early machines already were able to do. Anyway I never got used to commend prompts, I felt very happy when the first machines with a GUI came to my home :D Commodore... only had the 64 and the 128 for some weeks when they already were outdated...
J
Quote from: "Jenne"
Gosh! No further comment on this...
?
Quote from: "Jenne"
It's interesting to see how someone gets addicted to computers. My first one was a Spectrum ZX. A friend of mine gave it to me because he couldn't get used to that strange keyboard. I tried and played around a bit but it didn't make much sense as long as I didn't own a tape drive to save my first lines on it. Anyway I was fascinated of what those early machines already were able to do. Anyway I never got used to commend prompts, I felt very happy when the first machines with a GUI came to my home :D Commodore... only had the 64 and the 128 for some weeks when they already were outdated...
Yeah, the Spectrum ZX16 was "my" first one too! But was really my cousin's but we sorta shared it, until he pissed me off because he didn't want to let me use it more (I was addicted very quickly), so I had to finally get my own computer...
As for command prompts, I've always loved them :p I had a lot of DOS in my early days, and I got used to it, but after I discovered Unix, the command prompt has had its mainstay with me. Not that I don't use GUIs, but I can't stand them without a terminal window :) I can type much faster then I can wiggle the mouse around, and anything that limits my usability is a major annoyance. In fact, I'm thinking of trying, one day, one of those touch-pad keyboards that allow you to use the whole surface as a mouse, so that way I don't have to lift my hands off the keyboard to get to the mouse all the time. What a waste of time! :)
Quote from: "da9000"?
No need to comment an interesting and good written story any further ;) Sometimes I just wonder how someone got in touch with all this and how it evolved.
Regarding the command lines I always prefered well designed input hardware. Some people call me crazy because I'm using a Microsoft trackball with my Apple G5 :D
I guess I would call myself a typical Apple user as long as I'm too dump to control my Mac via command lines. I think that every machine has it's pros and cons and the difference only exists in the user behind the machine and his way to handle it.
I never understood those flamings between the camps (and although being an Apple user I'm not agreeing with the mainstream opinion that Apple hard- and software has always been better - typical journalist's syndrome, I suppose ;) ).
J
Quote from: "Jenne"Quote from: "da9000"?
No need to comment an interesting and good written story any further ;) Sometimes I just wonder how someone got in touch with all this and how it evolved.
A, ok. I thought I had said something odd or strange, but now I got you.
Quote from: "Jenne"
Regarding the command lines I always prefered well designed input hardware. Some people call me crazy because I'm using a Microsoft trackball with my Apple G5 :D
I guess I would call myself a typical Apple user as long as I'm too dump to control my Mac via command lines. I think that every machine has it's pros and cons and the difference only exists in the user behind the machine and his way to handle it.
I never understood those flamings between the camps (and although being an Apple user I'm not agreeing with the mainstream opinion that Apple hard- and software has always been better - typical journalist's syndrome, I suppose ;) ).
J
Heh, I have a rare Kensington trackball for ADB Macs that I'll be selling sometime soon (along with a bunch of Mac stuff), if you're interested :)
It's true that the end user is the one that the choice comes down to. And I agree about the "camps". Computers and systems have their pros and cons and certainly Apple hardware and software isn't the best all the time.
HOWEVER, technically, because I'm an engineer at heart and not just a user, and that's what I look at first and foremost, many Microsoft products are either complete crap or chaotic conglomerates of crappy code, which might have started as good ideas but certainly don't look good in the end, that somehow function (which many Microsoft engineers themselves wonder how and why), when you least need them to function, but don't function when you most need them to function (although I must say, they have some very brilliant people working there). And to add to this, Apple having based OS X on NeXTSTEP and also using Cocoa as their main applications development platform is clearly, in my opinion as a software engineer, the most elegant and one of the most technically proper and advanced software systems out there. And I believe wholeheartedly that this quality shows in the released software that's out there for Mac OS X: from the iLife tools to Delicious Library and many others. Nothing, on any other platform, comes close. (I'm a recent "switcher" too, so I've played with many similar packages on other platforms). And the reason is because of the technically superior development tools, ideologies and methodologies. I might be biased at this point, but I've "eaten" the MS shit in the face for years. I've also worked with Linux extensively, and even though I really like it, and I believe the Linux kernel is superior to the Mach/BSD kernel under OS X, at the application development level Linux is much lacking to OS X (Even with GNUStep, which is unfortunately outdated and not trully supported. Bad mistake on Linux's application developement future. X11, QT and GTK are not bad, but they're based on "old object oriented ideologies" compared to the NeXTSTEP/Objective-C/DPS technologies).
So there, I chose a camp :p
Quote from: "da9000"Heh, I have a rare Kensington trackball for ADB Macs that I'll be selling sometime soon (along with a bunch of Mac stuff), if you're interested :)
Hmm, just let me know when it comes to sale, might be interesting to me ;)
I never got in touch with MS too deep. Today I'm using a Maxdata 7000D Pro which was meant to be "recycled". I brought it back to life and now it's my major machine for my job: writing articles and organizing myself. Thank god it has not to do much more (ok, some of my firefighter comrades are simply not able to handle computers anyway, so I got myself more "compatibel" by using a PC, too).
I've always been more placed in the graphics and multimedia scene, maybe this is why I never used MS products and I will not think about to change it. It's just that some applications on a PC are fulfilling my needs better than Apple stuff. But my Macs are still the major machines for productive work like music, graphics and video design - although I do not use any Apple software for it. This iLife stuff never fascinated me.
As for Linux I do have to admit that I only once installed Yellow Dog but never used it in regular terms. Now, that I do have lots of troubles with my Cobalt Cube (refuses to accept the restore process), it will still take lots of time to get in deeper touch with it. I was pretty astonished while examining this little blue box that it is NOT a Cobalt Qube 2 but the very first one. Sad to say it now just fetches dust.
The Microsoft hardware is much better connected to my Mac. I don't know what would happen if my devices would see their maker some day.
Typical Mac user: no codes LOL
J
Quote from: "Jenne"
Hmm, just let me know when it comes to sale, might be interesting to me ;)
Sure.
Quote from: "Jenne"
I've always been more placed in the graphics and multimedia scene, maybe this is why I never used MS products and I will not think about to change it. It's just that some applications on a PC are fulfilling my needs better than Apple stuff. But my Macs are still the major machines for productive work like music, graphics and video design - although I do not
True. Many applications that many people need are just available on Windows since it's been around for a very long time and many companies won't port their software over. That has been the case many times and it's something that many people confuse. For example, many "users" who play games think that there's something wrong with Mac OS X or Linux because many of their games don't come out for those OSs. They actually think and believe (and they've been LEAD to believe this) that those OSs aren't capable. While the truth is that it's not OS dependent, but dependent on the company that makes the software. Same for many "Windows only" applications. It's not the fault of Mac OS X or whatever OS that those apps aren't available. It's the software house that's responsible. One reason I always admired and loved id Software (of Doom, Quake, etc fame), is that they wrote their code properly so it wasn't really much harder to port it to another platform (the source code for Doom, Quake, etc is available freely and one can check this out themselves, assuming they know some C and assembly).
Quote from: "Jenne"
use any Apple software for it. This iLife stuff never fascinated me.
Well, I'm not saying the software should fascinate you. In fact it doesn't fascinate me either, because it's nothing amazing, technically. It doesn't solve a hard technical problem. It's the user experience problem that it solves so elegantly that makes it fascinating to me. The actual program that you see on the screen, and the fluidity of the interface, the cleanliness and simplicity and the fact that you can make a DVD of your kids' photos without pulling your hair out, that, my friend, is fascinating. In other words: watch someone use the software. And then watch someone use a similar software on another platform. Cannot compare. Once again in my opinion, but to be truthful I formed this opinion after first playing with about 10 different "make a DVD from photos" software that I used on a Windows machine to make a DVD for one of my family members. It was an absolute nightmare. I even looked for a Linux project because I was so distrought with the garbage I found for Windows. Unfortunately nothing good on Linux either. A year later I happened to get a Mac and tried iDVD. I was blown away. Anyways, I digress, and it's hard to explain what I'm trying to convey without a screen and a mouse :)
Quote from: "Jenne"
The Microsoft hardware is much better connected to my Mac. I don't know what would happen if my devices would see their maker some day.
Microsoft hardware is definitely classes ahead of Microsoft hardware. Most of their mice and keyboards and even joysticks are really really good. I believe the reason is that they're run as a separate divison and none of this marketing BS crap from the main mothership influences what they do. And that's what makes the difference. MS's primary goal is money. MS hardware division's goal is probably good hardware. I've also heard/read that they outsource some of the stuff, so that could be another reason for higher quality products. On the other hand I never had any problems with Mac mice and keyboards, but then again I've not tried the Mighty Mouse :p (other than in a local Apple store)
It's true that Apple's way to simplify complex processes like within the iLife series is some very well engineered stuff. But exactly this is why I do not understand that Apple's "Pro" applications are sometimes less evolved than products from Adobe and others. I'm always "fascinated" like how Aperture for example slows down my Mac to hell while Lightroom is running fast and smooth - using a dual G5 2,7 GHz CPU and 8 Gigs of RAM! I even do not really understand why Apple seems to say good bye to FireWire, I just loved the FW 800 ports. Apple does not love to invite me to press conferences anyway :D Too many critical questions, I suppose.
I was used to solve lots of problems within the old Mac OS, for example video codec stuff. Sometimes I wished I had a Windows machine but this has changed with Mac OS X at least a bit. Maybe it has been the old Mac OS that keeps me away from this "too simple" iLife stuff. I like to have it somewhat "intermediate", leaving the gates to "Pro" or "Novice" handling open.
Regarding the opinion of many many users I gave up to comment this any further. I do not take part in those fence line wars between platforms. But what really annoys me is the behaviour of some so called "pro" Apple users. I've been always very careful with this evangelism that some of these guys are living. Agitation never was my way.
J
Quote from: "Jenne"It's true that Apple's way to simplify complex processes like within the iLife series is some very well engineered stuff.
Agreed.
Quote from: "Jenne"
But exactly this is why I do not understand that Apple's "Pro" applications are sometimes less evolved than products from Adobe and others. I'm always "fascinated" like how Aperture for example slows down my Mac to hell while Lightroom is running fast and smooth - using a dual G5 2,7 GHz
Not everything is great. You're right, Aperture is problematic. They've had some huge performance issues and possibly design issues. I don't know the details, but heard that the original team was fired because of the problems it had. On the otherhand Lightroom seems to be pretty well designed and coded. Can't have it all I guess? But if you look at the "industry standard" (Microsoft), it takes 10-20 years to get some large piece of software working "well", so Apple is still at step 1 with Aperture. I'm sure by version 2 or 3 it'll be pretty damn good. At least they got it looking pretty from day one, unlike most "industry standard" software :)
Quote from: "Jenne"
CPU and 8 Gigs of RAM! I even do not really understand why Apple seems to say good bye to FireWire, I just loved the FW 800 ports. Apple does not
I hear you there. Firewire is pretty good. I wish it would have stayed...
Quote from: "Jenne"
love to invite me to press conferences anyway :D Too many critical questions, I suppose.
Heh, maybe they also want some Toblerone, in order to be convinced :)
Quote from: "Jenne"
I was used to solve lots of problems within the old Mac OS, for example video codec stuff. Sometimes I wished I had a Windows machine but this has changed with Mac OS X at least a bit. Maybe it has been the old Mac
Don't get me started with all the problems on Windows machines and codecs. On Mac at least it's as simple as Quicktime supports it or doesn't. On Windows it's MUCH more complicated! You have DirectShow, and you have VideoForWindows, and you have some propriatery interfaces and then you can have multiple codecs for the same format, but then you need to specify the merit value. Have you heard of the (nightmarish) "merit" system used with Windows codecs? Do you know that any application can change the merit value of the codec, OS-wide, causing uber-massive confusion because you think you're using codec X in c:\windows, while it's using codec X in c:\progra~1\codec ? Trust me, it's definitely not better in Windows.
To solve my problems I use: MPlayer in Linux (based on FFmpeg), ffdshow and Media Player Classic (both based on FFmpeg) in Windows and MPlayer OS X and VLC (the first based on MPlayer for Linux and FFmpeg), in Mac OS X. No more problems and there are NO media that I cannot play.
Quote from: "Jenne"
Regarding the opinion of many many users I gave up to comment this any further. I do not take part in those fence line wars between platforms. But what really annoys me is the behaviour of some so called "pro" Apple users. I've been always very careful with this evangelism that some of these guys are living. Agitation never was my way.
Heh, yeah, there are fan boys on all camps and the Apple camp has some very vocal ones. I get agitated with those on either camp who've not researched their preaching. But in general I avoid agitating as well, unless provoked :) I don't care what they use, but of course I tell all my family that if they use Windows they can forget tech support from me :) But if someone makes a statement that's untrue or not well researched, then I'll turn on the flamethrower :)
Anyways, today's lesson: NeXT/NeXTSTEP rules! :ppppp
And I'm off to bed! Cheers Jenne!
Jenne
Would be possible for you, provide the steps to install the HTTPD server, and how make the networking setup on the Cube
I want do to some similar,
Thanks
just a comment...
nice mac, jenne! I wish i could afford something like that :P
Quote from: "helf"just a comment...
nice mac, jenne! I wish i could afford something like that :P
? Which of the Macs do You mean? ;)
In the meantime my little server project humbles a bit, I don't know why he isn't able to get the dynamic IP change...
@ NeXTnewbe:
I will do so (even in English ;) ) but please give me some time, I'm moving for a larger beaureau...
J
that G5 :] unless i glassed over to much of the comment and that wasn't *your* mac...
Indeed it is *my* Mac. It's a double G5 2,7 GHz PPC with 8 GB RAM and two 400 GB SATA hard drives (in complete I'm using about nearly two terrabytes hard disk space, some of it as RAIDs, even SCSI).
I've been thinking about getting myself an Intel Mac but now I still don't see the need of it - but as a journalist on Macintosh hard- and software the choice is somewhat short-timed...
J
ah, very nice machine!
I'd stick with it for awhile yet. Those are 64bit right? plus I don't think Apple is dropping PPC support anytime soon, least for G5s... plus you can still use it perfectly :)
btw, if you ever do upgrade, I'll buy it from you ;)
Any update on these httpd instructions? I'd love to get a web server up and running on my NeXTstation TurboColor, but I've thus far had no luck with apache 1.3.x.
MauiBoy
--
Posted from my NeXTstation TurboColor
I'm still writing it, just hang on, I've many jobs and projects at the same time...
J
I think I found my answer, by using some clues from
http://mail-archives.apache.org/mod_mbox/httpd-dev/199612.mbox/%3CPine.BSI.3.95.961220120105.16482A-100000@taz.hyperreal.com%3E and
http://archive.apache.org/gnats/2131. I can get the Apache source configured, compiled and installed -- still working on the Apache httpd configuration (httpd.conf) to make it run correctly.
Note: This is for NeXTSTEP 3.3 (latest patchlevel) on black hardware, using Apache 1.3.37 (other versions may vary). All steps below are done as the root user.Note: <apache base> is the directory you un-tar'ed the tarfile into, most likely <path to tar file>/apache_1.3.37 . This installation does not include the Perl or PHP modules.You need to modify 5 files in the Apache 1.3.37 source:1) <apache base>/src/support/ab.c -
Add the following function at line 277: /* -------------------------------------------------------- */
/* define strdup() */
#if defined(NEED_STRDUP)
char *strdup (const char *str)
{
char *dup;
if (!(dup = (char *) malloc(strlen(str) + 1)))
return NULL;
dup = strcpy(dup, str);
return dup;
}
#endif2) <apache base>/src/helpers/GuessOS -
Add the following lines at line 39 (just before the MACHINE, RELEASE, SYSTEM and VERSION are set to uname return values): # Now check for NeXT (before we start trying to call uname - which
# does not exist in NeXTSTEP)
ISNEXT=`hostinfo 2>/dev/null`
case "$ISNEXT" in
*NeXT*)
# echo "whatever-next-nextstep"; exit 0
# Swiped from a friendly uname clone for NEXT/OPEN Step.
NEXTOSVER="`hostinfo | sed -n 's/.*NeXT Mach \([0-9\.]*\).*/\1/p'`"
if [ "$NEXTOSVER" -gt 3.3 ]
then
NEXTOS="openstep"
else
NEXTOS="nextstep"
fi
NEXTREL="`hostinfo | sed -n 's/.*NeXT Mach \([0-9\.]*\).*/\1/p'`"
NEXTARCH=`arch`
echo "${NEXTARCH}-next-${NEXTOS}${NEXTREL}" ; exit 0
;;
esac Note: You can also remove the same lines down around lines 351-371 for completeness. However, it shouldn't affect the functionality of the script, as exit is called at the end of the case statement.3) <apache base>/src/helpers/buildinfo.sh -
At line 123, change the date definitions to static numbers (date does not allow for formatting on NeXTSTEP): #time_day="`date '+%d' | awk '{ printf("%s", $1); }'`"
time_day=07
#time_month="`date '+%m' | awk '{ printf("%s", $1); }'`"
time_month=09
#time_year="`date '+%Y' 2>/dev/null | awk '{ printf("%s", $1); }'`"
time_year=2007 Note: Use the current date on your system. These numbers are current for my build today.4) <apache base>/src/main/http_main.c -
Insert the following code at line 76 (before the #ifdef WIN32 line): #if defined(NEXT)
#include <sys/types.h>
#include <netinet/in_systm.h>
#define NO_SERIALIZED_ACCEPT
#define HAVE_NONE_SERIALIZED_ACCEPT
#endif5) <apache base>/src/helpers/install.sh -
Change line 114 to use sed, rather than dirname (which doesn't exist on NeXTSTEP): dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`Then, start the configuration of the makefiles: cd <apache base>
./configure --prefix=/usr/local/apacheNext, start the build of the software: makeI got the following warnings while compiling, but the compile succeeded:
ranlib libap.a
ranlib: file: libap.a(ap_ebcdic.o) has no symbols
ap_getpass.c: In function `ap_getpass':
ap_getpass.c:150: warning: assignment makes pointer from integer without a cast
util.c: In function `ap_gname2id':
util.c:2034: warning: passing arg 1 of `getgrnam' discards `const' from pointer target type
util_uri.c: In function `ap_pgethostbyname':
util_uri.c:128: warning: passing arg 1 of `gethostbyname' discards `const' from pointer target type
logresolve.c: In function `cgethost':
logresolve.c:167: warning: passing arg 1 of `gethostbyaddr' discards `const' from pointer target typeFinally, install the software: make installEdited 2007/09/07 6:39pm CDT: Added serialization changes to http_main.c.
Well, just when I thought it was running.... I get an error every time I attempt to start apache (./apachectl start) with a quick exit, even though apache says it starts. The error_log states: No default accept serialization known!!
So, I tracked down this error, and I found out that AcceptMutex should be defined in my httpd.conf file. There are several choices for the value of AcceptMutex (flock, fcntl, sysvsem, pthread, uslock, etc.). I've tried them all, and none work; they all give the error: NeXTstation:430# ./apachectl start
Requested serialization method '<xxxxx>' not available
./apachectl start: httpd could not be started where <xxxxx> could be any of the AcceptMutex valid types.
The following is my httpd configuration: NeXTstation:454# ./httpd -V
Server version: Apache/1.3.37 (Unix)
Server built: Fri Sep 07 2007 12:54:12 CDT
Server's Module Magic Number: 19990320:18
Server compiled with....
-D NO_LINGCLOSE
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
Does anyone have a clue what I'm missing here? I've checked the portion of the code in src/include/ap_config.h that relates to NeXTSTEP, and there is no defined HAVE_<xxxxx>_SERIALIZED_ACCEPT macro. I have no idea which AcceptMutex type to use or even try here. #elif defined(NEXT)
typedef unsigned short mode_t;
typedef int rlim_t;
#define HAVE_GMTOFF 1
#undef NO_KILLPG
#define NO_SETSID
#define NEED_STRDUP
#define NO_LINGCLOSE
#undef _POSIX_SOURCE
#ifndef FD_CLOEXEC
#define FD_CLOEXEC 1
#endif
I was updating mine and I forgot about this... now I do have the source tree from a 1.3.31 that I built... let me digg thorugh it to figure out what I did.
I should have guessed, I simply 'fixed' it by just simply inserting this into http_main.c
#define NO_SERIALIZED_ACCEPT
#define HAVE_NONE_SERIALIZED_ACCEPT
Time to rebiuld!
Thanks -- I'll try that. Until then, I got NCSA's HTTPd up and running:
http://next.homeunix.com:8080/
Bingo! That worked! Now, Apache is running. I'll add the extra steps into my instructions above. Thanks!
Apache website:
http://next.homeunix.com/Incidentally, all that is needed to get NCSA HTTPd 1.5.2a running on NEXTSTEP 3.3 is to add the following to the file src/httpd.c at line 60:
#include <sys/types.h>
#include <netinet/in_systm.h>
You apache seems to be down... I just updated mine on
http://tiger.vaxenrule.com/ ..
FWIW I made an install package (
http://tiger.vaxenrule.com/apache-1.3.39.pkg.tar ). I built it for all four cpu's.
Oh making it wasn't too dificult I got the basic instructions here:
http://www.bangmoney.org/nextstep/packages_1.htmlMy .info file looks like this:
Title Apache HTTP Server
Version 1.3.39
Description The Apache HTTP server built for NeXTSTEP 3.3 . This release contains all cpu types. The only 'fix' was the inclusion of strdup and a long integer defintion in http_main.c
DefaultLocation /usr/local
Diskname http
Relocatable NO
Application YES
LibrarySubdirectory StandardI feel I ought to make some more packages for stuff I have around...
Can't wait it !!
Bests,
In case you haven't ready the thread about my packages, I have about 50+ packages compiled for NEXTSTEP 3.3/OPENSTEP 4.2 including apache-1.3.39 that is compiled with mod_ssl. You can find the packages available at
http://kb7sqi.dyndns.org/files/packages/ That system is a Sparc 5 running OPENSTEP 4.2 8) Take care.
Wow!! great.
I had been trying to compile many softwares, I know it's not so easy...
My questions, had you compile OpenSSH with Tcpwrapper ?
And SFTP could work propriety ?
Bests,