Sponsored Content
Full Discussion: problems with Apache
Operating Systems Solaris problems with Apache Post 302070544 by GKnight on Wednesday 5th of April 2006 03:25:47 PM
Old 04-05-2006
problems with Apache

I have a Solaris 8 box and need to install Apache 2.0.55 on it. First thing I tried was compiling from source code. During the make phase, I got the following errors:

Quote:
/bin/bash /export/home/smartin/httpd-2.0.55/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthreads -DHAVE_CONFIG_H -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sendrecv.c && touch sendrecv.lo
sendrecv.c: In function `apr_socket_sendfile':
sendrecv.c:852: error: `sendfilevec_t' undeclared (first use in this function)
sendrecv.c:852: error: (Each undeclared identifier is reported only once
sendrecv.c:852: error: for each function it appears in.)
sendrecv.c:852: error: `sfv' undeclared (first use in this function)
sendrecv.c:871: error: `SFV_FD_SELF' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `sendrecv.lo'
Current working directory /export/home/smartin/httpd-2.0.55/srclib/apr/network_io/unix
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/smartin/httpd-2.0.55/srclib/apr/network_io/unix
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/smartin/httpd-2.0.55/srclib/apr
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/smartin/httpd-2.0.55/srclib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Then I tried downloading the binaries. I tried the one available from Apache's site and the one from sunfreeware.com, with the same results. I run "apachectl start", it doesn't return any errors. But the HTTP server is not running, either. I'm trying "lynx localhost" and all I get is "HTTP request sent; waiting for response". If I do "ps -fe|grep http", I get the following:

Quote:
root 1011 1 0 14:26:30 ? 0:00 /usr/local/apache2/bin/httpd -k start
It doesn't quite look right, I think there should be multiple httpd processes. If I run "apachectl stop". I get the following:

Quote:
httpd (no pid file) not running
There's no PID file in the /usr/local/apache2/logs directory. And no errors in the error log.

So I'm really stuck now, I can't compile Apache, and the precompiled builds don't work. I don't know if there's a relation between the two. Any suggestions? Any help will be appreciated!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache Server 1.3.20 Icons Missing and Other Problems...Please Help!!!!

Hi everyone. Okay here are a couple of my problems and hopefully you guys can help me out. Problem 1: i have 2 website that are being hosted on a webserver. The webserver is running redhat 8x and running apache 1.3.20. To make it a little clearer, lets say website A and website B. Both... (1 Reply)
Discussion started by: crazycelicagts
1 Replies

2. UNIX for Dummies Questions & Answers

Problems with Apache setup

I downloaded Apache 1.3.27.tar.gz into my SCO u/install directory. However, to begin with, I couldn't untar the file using the " tar xvf apache-1.3.27.tar.gz" command, so I used winzip from a windows computer on our network. Winzip untarred the file and I transferred the files to the SCO... (2 Replies)
Discussion started by: cstovall
2 Replies

3. UNIX for Dummies Questions & Answers

Problems with Apache setup

I posted a problem with the forum on 11/18/02. Unfortunately, I have been out of town. Today is the first chance I've had to try the suggestions that were made. Here is the output from the ls -l configure* command: -rw-r--r-- 1root sys 58230 May 21 2002 configure When I type " sh... (2 Replies)
Discussion started by: cstovall
2 Replies

4. Solaris

Problems starting apache 1.3 with mysql

I've been working on a project to replace one of the my group's primary NIS servers. It also runs mysql and apache, as it is the host for the our team's hardware tracking database and website. Its running apache 1.3, and for some odd reason, I can't get apache to start on system boot. The... (1 Reply)
Discussion started by: godspunk32
1 Replies

5. Web Development

Apache upload problems.

When I upload a file 32M or larger to fails. I can see the file being uploaded into the /tmp directory but when it gets to ~32M it dissapears. This is from phpinfo: upload_max_filesize 100M 100MB post_max_size 100M 100MB enable_dl On On I dont get an error in the log saying im... (9 Replies)
Discussion started by: Ikon
9 Replies

6. Web Development

Apache Problems.

Hello guys I have been running a LAMP stack for awhile now but have never really explored the server side end of things. What I am trying to do is have a python script on a website run a bash command. This will accomplish a system so someone can create an account for proxy access via a webpage.... (45 Replies)
Discussion started by: darkphaux
45 Replies

7. Web Development

Problems starting Apache 2.0.54

Hi, I just installed Apache 2.0.54 and when I try and start httpd I get mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (13): make_sock: could not bind to address :80 no listening... (1 Reply)
Discussion started by: mojoman
1 Replies

8. Solaris

Problems with 2 NICS and Apache

I have a Solaris 10 box that has 2 Ethernet connections. One is 172.21.0.150, this is on the main internal LAN. The other is 172.16.0.50 this is the DMZ. I have Apache 2.0.59, I do not care which it Listens to but the main one for it is 172.16.0.50 (DMZ) which I have been explicit (Listen... (1 Reply)
Discussion started by: crowman
1 Replies

9. Web Development

Problems with Apache Virtual Host

I am attempting to add virtual hosts to an apache web server, which has this current configuration: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None ... (27 Replies)
Discussion started by: Corona688
27 Replies

10. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies
HTTPD(8)							       httpd								  HTTPD(8)

NAME
httpd - Apache Hypertext Transfer Protocol Server SYNOPSIS
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|grace- ful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] On Windows systems, the following additional arguments are available: httpd [ -k install|config|uninstall ] [ -n name ] [ -w ] SUMMARY
httpd is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used like this it will create a pool of child processes or threads to handle requests. In general, httpd should not be invoked directly, but rather should be invoked via apachectl on Unix-based systems or as a service on Win- dows NT, 2000 and XP and as a console application on Windows 9x and ME. OPTIONS
-d serverroot Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive in the configu- ration file. The default is /usr/local/apache2. -f config Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is conf/httpd.conf. -k start|restart|graceful|stop|graceful-stop Signals httpd to start, restart, or stop. See Stopping Apache for more information. -C directive Process the configuration directive before reading config files. -c directive Process the configuration directive after reading config files. -D parameter Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart. Also can be used to set certain less-common startup parameters including -DNO_DETACH (prevent the parent from forking) and -DFOREGROUND (prevent the parent from calling setsid() et al). -e level Sets the LogLevel to level during server startup. This is useful for temporarily increasing the verbosity of the error messages to find problems during startup. -E file Send error messages during server startup to file. -R directory When the server is compiled using the SHARED_CORE rule, this specifies the directory for the shared object files. -h Output a short summary of available command line options. -l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive. -L Output a list of directives together with expected arguments and places where the directive is valid. -M Dump a list of loaded Static and Shared Modules. -S Show the settings as parsed from the config file (currently only shows the virtualhost settings). -t Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests with either a return code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host con- figuration will be printed. If -D DUMP_MODULES is set, all loaded modules will be printed. -v Print the version of httpd, and then exit. -V Print the version and build parameters of httpd, and then exit. -X Run httpd in debug mode. Only one worker will be started and the server will not detach from the console. The following arguments are available only on the Windows platform: -k install|config|uninstall Install Apache as a Windows NT service; change startup options for the Apache service; and uninstall the Apache service. -n name The name of the Apache service to signal. -w Keep the console window open on error so that the error message can be read. Apache HTTP Server 2007-08-01 HTTPD(8)
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy