On 6/6/2013 7:08 AM, Mark Pace wrote:
I'm trying to setup the HTTP server from IBM Ported tools.  I can not get
the server to start.
$ bin/apachectl start
(111)EDC5111I Permission denied. (errno2=0x744C7246): make_sock: could not
bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

In the documentation it talks about setting up the PORT statement in TCPIP.
Contained in my TCPIP parms file
    80 TCP WEBSRV1             ; Web Server

WEBSRV1 is the name of the started task.  When that didn't work I also
tried using the userid that the started tasks runs as - WWWSERV I get the
same eror using either name on the PORT statement.  I've tried to run down
the errno2 message, but as of yet I can not find it's documentation.

Any, helpful, suggestions are appreciated.



Have you modified the httpd.conf file? This should include:

  Listen 80

I also found I had to 'cd' to the directory where I
wanted the logs and change their permissions; in my
case this was:

  cd /usr/lpp/zApache/logs
  touch access_log error_log httpd.pid
  chmod 666 access_log error_log httpd.pid

on reflection, perhaps I didn't need to have the httpd.pid
files, but at this point I can't go back and test.


I have several related papers that might be of interest:

  Porting Apache 2.2.9 to z/OS 1.9 (written before IBM did this)

  Setting Up the IBM HTTP Server (this is for the older server,
         which I still find to be a better server)

  Hosting a Web Site on z/OS - one person's experience

  Coding AJAX Applications (Using XHTML, JavaScript and COBOL on z/OS)


These are now available as part of a package of 22 papers
from my Trainer's Friend Store:
  http://www.trainersfriend.com/TTFStore/

or through the special sale we're running 'til the end of the year:

  http://www.trainersfriend.com/SpecialSale
and
  http://www.trainersfriend.com/SpecialSale/LicenseOrderForm.html


And, of course, once you get your server running, you'll
want to create web pages and write CGIs. I have just the
ticket(s):

Web curriculum

  http://www.trainersfriend.com/UNIX_and_Web_courses/Webcu.htm


_Using LE Services in z/OS (3 days)_

  http://www.trainersfriend.com/Language_Environment_courses/m512descr.htm


_Introduction to z/OS UNIX (3 days)_

  http://www.trainersfriend.com/UNIX_and_Web_courses/u510descr.htm


_Shell Script Programming in z/OS UINX (3 days)_

  http://www.trainersfriend.com/UNIX_and_Web_courses/u515descr.htm


_You and z/OS and the World Wide Web (5 days)_

  http://www.trainersfriend.com/UNIX_and_Web_courses/u518descr.htm


_Introduction to CGIs on z/OS (1 day)_

  http://www.trainersfriend.com/UNIX_and_Web_courses/uc01descr.htm


_Writing z/OS CGIs in COBOL (2 days)_

  http://www.trainersfriend.com/UNIX_and_Web_courses/uc04descr.htm


_Writing z/OS CGIs in Assembler (2 days)_

  http://www.trainersfriend.com/UNIX_and_Web_courses/uc06descr.htm


I'm just sayin'.  :-)



Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
  + Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
    for training dollars at
  http://www.trainersfriend.com/ROI/roi.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to