• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[Apache] port configuration

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I'm not sure how I'm getting the following error, but its making me crazy. I did the install as root and changed ownership to appadmin. I initial ran it as root on port 8080 and it seemed fine. I changed the ownership to appadmin and tried to run it as appadmin and it bails. I su to root again and try to start it it claims to start, but there's nothing there. I've gone through the entire http.conf and there is not a single 80 in the whole file.

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:9090
Listen 0.0.0.0:9090
Listen [::]:9090

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#

#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On

### Section 2: 'Main' server configuration
httpd.conf: 1044 lines, 35438 characters.
[appadmin@junk]/usr/local/apache/conf(202): cd ..
[appadmin@junk]/usr/local/apache(203): cd bin
[appadmin@junk]/usr/local/apache/bin(204): apachectl start
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs

[appadmin@junk]/usr/local/apache/bin(205):
 
Jim Babcock
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Foregive me.... apparently there is a village out there that is missing me:

I dropped the ./ in ./apachectl and it was picking one in /usr/local/sbin that I didn't even know was there.

Sorry for the contusion *blush*
 
reply
    Bookmark Topic Watch Topic
  • New Topic