You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Carl Brewer <ca...@bl.echidna.id.au> on 2002/04/04 02:23:36 UTC
Problem getting 2.0.32 to start using Solaris 8 (with IPv4 and IPv6)
I've flicked through the archives, and google etc, but found nothing on
this.
I'm trying to get 2.0.32 to start on a Sun SPARC10/512 (2 x 32bit
SPARC chips), running Solaris 8 with IPv6 and IPv4.
I'm using gcc version 3.0.2 to compile it, with the options
./configure --prefix=/opt/local/apache-2
It seems to compile and install just fine, and I've run older versions
of apache with no problems (including Kame patched 1.3 variants to get
IPv6 support).
But, when I start it, it hangs. netstat -a shows it's listening to
port 80 on both IPv4 and IPv6, and I can telnet to port 80 and I
don't get a connection refused, but I also don't ever get a response
from the server.
The following is the interesting bits of my httpd.conf file :
ServerRoot "/opt/local/apache-2"
<IfModule !mpm_winnt.c>
</IfModule>
<IfModule !mpm_winnt.c>
<IfModule !perchild.c>
ScoreBoardFile logs/apache_runtime_status
</IfModule>
</IfModule>
PidFile logs/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule threaded.c>
StartServers 3
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_winnt.c>
ThMaxRequestsPerChild 0
</IfModule>
Listen 80
<IfModule !mpm_winnt.c>
User webuser
Group nobody
</IfModule>
ServerAdmin carl@bl.echidna.id.au
ServerName rollcage.bl.echidna.id.au:80
DocumentRoot "/opt/local/apache/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/opt/local/apache/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
AddHandler type-map var
DirectoryIndex index.html index.html.var
</Directory>
UserDir public_html
DirectoryIndex index.html
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName On
TypesConfig conf/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
HostnameLookups Off
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log common
ServerSignature On
Alias /icons/ "/opt/local/apache/icons/"
<Directory "/opt/local/apache/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /manual "/opt/local/apache-2/manual"
<Directory "/opt/local/apache-2/manual">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/opt/local/apache-2/cgi-bin/"
<IfModule mod_cgid.c>
</IfModule>
<Directory "/opt/local/apache-2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing VersionSort
And the rest is the boring stuff :)
when I truss it, I see this :
2920: lwp_cond_wait(0xEF4D55B0, 0xEF4D55C0, 0xEEC74BF0) (sleeping...)
2920: door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
2920: lwp_cond_wait(0xEF4D55B0, 0xEF4D55C0, 0xEEC74BF0) Err#62 ETIME
2920: time() = 1017806324
2920: lwp_sema_wait(0x00087C78) (sleeping...)
2920: signotifywait() (sleeping...)
2920: lwp_cond_wait(0xEF4D55B0, 0xEF4D55C0, 0xEEC74BF0) (sleeping...)
2920: door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
Over and over ..
Trussing for open() shows :
truss -f -t open ../bin/apachectl start
3014: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
3014: open("/usr/openwin/lib/libgen.so.1", O_RDONLY) Err#2 ENOENT
3014: open("/usr/lib/libgen.so.1", O_RDONLY) = 3
3014: open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
3014: open("/usr/lib/libc.so.1", O_RDONLY) = 3
3014: open("/usr/openwin/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
3014: open("/usr/lib/libdl.so.1", O_RDONLY) = 3
3014: open("/usr/platform/SUNW,SPARCstation-10/lib/libc_psr.so.1",
O_RDONLY) Err#2 ENOENT
3014: open64("../bin/apachectl", O_RDONLY) = 3
3014: open64("/usr/local/apache-2/bin/envvars", O_RDONLY) = 3
3015: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
3015: open("/usr/openwin/lib/libaprutil.so.0", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libaprutil.so.0", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libapr.so.0", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libapr.so.0", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libm.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libm.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/libm.so.1", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libsocket.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libsocket.so.1", O_RDONLY) Err#2
ENOENT
3015: open("/usr/lib/libsocket.so.1", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libnsl.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/libnsl.so.1", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/libdl.so.1", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libexpat.so.0", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libexpat.so.0", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libpthread.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libpthread.so.1", O_RDONLY) Err#2
ENOENT
3015: open("/usr/lib/libpthread.so.1", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/local/apache-2/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/libc.so.1", O_RDONLY) = 3
3015: open("/usr/openwin/lib/libmp.so.2", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/libmp.so.2", O_RDONLY) = 3
3015: open("/usr/platform/SUNW,SPARCstation-10/lib/libc_psr.so.1",
O_RDONLY) Err#2 ENOENT
3015: open("/usr/openwin/lib/libthread.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/libthread.so.1", O_RDONLY) = 3
3015: open("/usr/share/lib/zoneinfo/Australia/Victoria", O_RDONLY) = 3
3015: open("/usr/local/apache-2/conf/httpd.conf", O_RDONLY) = 3
3015: open("/etc/netconfig", O_RDONLY) = 3
3015: open("/dev/udp", O_RDONLY) = 3
3015: open64("/etc/.name_service_door", O_RDONLY) = 4
3015: open("/etc/nsswitch.conf", O_RDONLY) = 4
3015: open("/usr/openwin/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT
3015: open("/usr/lib/nss_files.so.1", O_RDONLY) = 4
3015: open("/etc/passwd", O_RDONLY) = 4
3015: open64("/etc/.name_service_door", O_RDONLY) = 4
3015: open("/etc/group", O_RDONLY) = 4
And then it hangs (presumably waiting for the lwp stuff to return).
Nothing in logs/errors (or logs/* ....) to help.
Can anyone see what I've done wrong? I have AAAA and A6 records in
my DNS records, and resolv.conf is using my IPv6 address for
nameserving, which has worked for everything else, so I don't think
that's a problem?
Thanks
Carl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org