You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by va...@cgi.ca on 2001/12/17 20:16:21 UTC

No luck with fresh 1.3.22 install

After successfully installing apache_1.3.22 I had no luck starting it up
the
following error shows:

Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not inc
luded in the server configuration
./apachectl start: httpd could not be started

I did check the line 205 of the conf file and everything seems to be OK.

# Example:
# LoadModule foo_module libexec/mod_foo.so
LoadModule vhost_alias_module libexec/mod_vhost_alias.so  #Line 205
LoadModule env_module         libexec/mod_env.so

Any suggestions appreciated. vasile




                                                                                           
                    vasile.curele                                                          
                    a@cgi.ca             To:     users@httpd.apache.org                    
                                         cc:                                               
                    12/17/01             Subject:     Could not build 1.3.22 on  solaris   
                    12:17 PM             2.6                                               
                    Please                                                                 
                    respond to                                                             
                    users                                                                  
                                                                                           
                                                                                           




I'm having trouble configuring apache, running  make3.76.1 and gcc2.8.1
gets the following error
seems to me that there's a make problem even though I'm using a version
above the one suggested
in README file
Any help will be appreciated. vasile



Creating Makefile in src/support
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
# make
===> src
make[1]: Entering directory `/dat0/apache/apache_1.3.22'
make[2]: Entering directory `/dat0/apache/apache_1.3.22/src'
===> src/os/unix
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DUSE_EXPAT
-I../../lib
/expat-lite -DNO_DL_NEEDED `../../apaci` os.c
gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DUSE_EXPAT
-I../../lib
/expat-lite -DNO_DL_NEEDED `../../apaci` os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
make[3]: ar: Command not found
make[3]: *** [libos.a] Error 127
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/dat0/apache/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/dat0/apache/apache_1.3.22'
make: *** [build] Error 2


---------------------------------------------------------------------
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






---------------------------------------------------------------------
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


Re: No luck with fresh 1.3.22 install

Posted by Andrew Hawkes <ah...@unicon.net>.
Did you compile in DSO support? A good way to tell is
$ httpd -l

If mod_so.c isn't listed you do not have DSO support, hence this error.
Read the INSTALL docs on compiling a DSO Apache.

-Andy

On Mon, 17 Dec 2001 14:16:21 -0500
vasile.curelea@cgi.ca wrote:

> 
> After successfully installing apache_1.3.22 I had no luck starting it up
> the
> following error shows:
> 
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
> not inc
> luded in the server configuration
> ./apachectl start: httpd could not be started
> 
> I did check the line 205 of the conf file and everything seems to be OK.
> 
> # Example:
> # LoadModule foo_module libexec/mod_foo.so
> LoadModule vhost_alias_module libexec/mod_vhost_alias.so  #Line 205
> LoadModule env_module         libexec/mod_env.so
> 
> Any suggestions appreciated. vasile
> 
> 
> 
> 
>                                                                         
                  
>                     vasile.curele                                       
                  
>                     a@cgi.ca             To:     users@httpd.apache.org 
                  
>                                          cc:                            
                  
>                     12/17/01             Subject:     Could not build
1.3.22 on  solaris   
>                     12:17 PM             2.6                            
                  
>                     Please                                              
                  
>                     respond to                                          
                  
>                     users                                               
                  
>                                                                         
                  
>                                                                         
                  
> 
> 
> 
> 
> I'm having trouble configuring apache, running  make3.76.1 and gcc2.8.1
> gets the following error
> seems to me that there's a make problem even though I'm using a version
> above the one suggested
> in README file
> Any help will be appreciated. vasile
> 
> 
> 
> Creating Makefile in src/support
> Creating Makefile in src/os/unix
> Creating Makefile in src/ap
> Creating Makefile in src/main
> Creating Makefile in src/lib/expat-lite
> Creating Makefile in src/modules/standard
> # make
> ===> src
> make[1]: Entering directory `/dat0/apache/apache_1.3.22'
> make[2]: Entering directory `/dat0/apache/apache_1.3.22/src'
> ===> src/os/unix
> gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DUSE_EXPAT
> -I../../lib
> /expat-lite -DNO_DL_NEEDED `../../apaci` os.c
> gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=260 -DUSE_EXPAT
> -I../../lib
> /expat-lite -DNO_DL_NEEDED `../../apaci` os-inline.c
> rm -f libos.a
> ar cr libos.a os.o os-inline.o
> make[3]: ar: Command not found
> make[3]: *** [libos.a] Error 127
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/dat0/apache/apache_1.3.22/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/dat0/apache/apache_1.3.22'
> make: *** [build] Error 2
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 

---------------------------------------------------------------------
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