aspose file tools*
The moose likes Tomcat and the fly likes [Apache] port configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "[Apache] port configuration" Watch "[Apache] port configuration" New topic
Author

[Apache] port configuration

Jim Babcock
Ranch Hand

Joined: Dec 03, 2004
Posts: 55
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

Joined: Dec 03, 2004
Posts: 55
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*
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: [Apache] port configuration