You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ashwin Basagouda Patil <as...@robosoftin.com> on 2008/04/08 02:30:52 UTC

Invalid command

Dear All,

I complied the apache and subversion server and i am getting the bellow mentioned error while 
starting the apache. please suggest me.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
RecoveryServer:~ root# /usr/local/apache2/bin/apachectl start
Warning: DocumentRoot [/Volumes/Projects/Subversion/Projects/recovery/] does not exist
Syntax error on line 18 of /usr/local/apache2/conf/extra/httpd-vhosts.conf:
Invalid command 'AuthLDAPUrl', perhaps misspelled or defined by a module not included in the 
server configuration
***********************************************************************************************


I build the APACHE BY BELLOW OPTIONS



   6. Run configure, run make, and then run sudo make install to set up Apache 2.0 for installation:
             

             #  ./configure \
?              --prefix=/usr/local/apache2 \
?              --enable-so \
              ?--enable-ssl \
              ?--enable-mods-shared=all ?\
              --with-ssl=/usr/local/openssl \
              ?--enable-ldap ?\
              --enable-auth_ldap ?\
              --with-ldap \
              --with-mpm=worker  \
              --without-berkeley-db

            #  make

            #  sudo make install



And I build the subversion as bellow options.




     # tar xvfz subversion-1.4.5.tar.gz
     # cd subversion-1.4.5

Run the following command to configure the distribution for compilation:

     # ./configure --prefix=/usr/local \
         --mandir=/usr/local/share/man --with-ssl \
         --with-apxs=/usr/local/apache2/bin/apxs --with-zlib \
         --enable-swig-bindings=no --without-berkeley-db \
         --with-apr=/usr/local/apache2 \
         --with-apr-util=/usr/local/apache2

Note: If you did not install gcc prior to running configure, you will get an error here.

Run the make command, and then run the sudo make install command.

     # make

     # sudo make install


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

PLEASE NOTE THAT THE SAME CONFIGURATION WAS WORKING FOR THE APACHE 2.0.56 AND SVN 
1.4.3

BUT NOW CONFIGURED WITH THE APACHE 2.2.8 AND SVN 1.4.6 AND IT IS NOT WORKING.

Please suggest me.


Thanks
ASHWIN






-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

AW: [users@httpd] How to detect multiple instance of apache

Posted by ch...@post.ch.
I suggest you launch apache with the config file as a parameter
and retrieve the filename it via ps afterwards.

Alternatively you can also start out with a clear architecture and put the
config files in a predefined location, defined by the URL.
Like /etc/apache/.../httpd.conf_www.example.com 

Then you run over all these files, extract the PIDfile, extract the PID
from the file and see wether there are running processes at this PID.

Be really careful when updating running apaches automatically.
But I guess you know what you are doing.

regs,

Christian


-----Ursprüngliche Nachricht-----
Von: Vinay Purohit [mailto:Vinay.Purohit@trianz.com] 
Gesendet: Dienstag, 8. April 2008 09:02
An: users@httpd.apache.org
Betreff: RE: [users@httpd] How to detect multiple instance of apache 


Thanks !! 
Actually , I would like to know the location of their httpd.conf respectively as my application want to add certain entries in the httpd.conf

----Original Message-----
From: christian.folini@post.ch [mailto:christian.folini@post.ch]
Sent: Tuesday, April 08, 2008 12:26 PM
To: users@httpd.apache.org
Subject: AW: [users@httpd] How to detect multiple instance of apache 

ps auwwx | grep -v grep | grep root | grep apache  (?)
 

-----Ursprüngliche Nachricht-----
Von: Vinay Purohit [mailto:Vinay.Purohit@trianz.com]
Gesendet: Dienstag, 8. April 2008 08:50
An: users@httpd.apache.org
Betreff: [users@httpd] How to detect multiple instance of apache 


 Hi,

I have installed apache 2.2.8 and created multiple instance of it (using IP based multiple daemon). I would like to write an application 

Which required to know "how many instance of apache server running on my machine?" 

Please let me know hot to find out if multiple instance of apache is running on the machine? If Yes what are those instances ?

\Vinay

---------------------------------------------------------------------
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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] How to detect multiple instance of apache

Posted by Vinay Purohit <Vi...@trianz.com>.
Thanks !! 
Actually , I would like to know the location of their httpd.conf respectively as my application want to add certain entries in the httpd.conf

----Original Message-----
From: christian.folini@post.ch [mailto:christian.folini@post.ch] 
Sent: Tuesday, April 08, 2008 12:26 PM
To: users@httpd.apache.org
Subject: AW: [users@httpd] How to detect multiple instance of apache 

ps auwwx | grep -v grep | grep root | grep apache  (?)
 

-----Ursprüngliche Nachricht-----
Von: Vinay Purohit [mailto:Vinay.Purohit@trianz.com]
Gesendet: Dienstag, 8. April 2008 08:50
An: users@httpd.apache.org
Betreff: [users@httpd] How to detect multiple instance of apache 


 Hi,

I have installed apache 2.2.8 and created multiple instance of it (using IP based multiple daemon). I would like to write an application 

Which required to know "how many instance of apache server running on my machine?" 

Please let me know hot to find out if multiple instance of apache is running on the machine? If Yes what are those instances ?

\Vinay

---------------------------------------------------------------------
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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


AW: [users@httpd] How to detect multiple instance of apache

Posted by ch...@post.ch.
ps auwwx | grep -v grep | grep root | grep apache  (?)
 

-----Ursprüngliche Nachricht-----
Von: Vinay Purohit [mailto:Vinay.Purohit@trianz.com] 
Gesendet: Dienstag, 8. April 2008 08:50
An: users@httpd.apache.org
Betreff: [users@httpd] How to detect multiple instance of apache 


 Hi,

I have installed apache 2.2.8 and created multiple instance of it (using IP based multiple daemon). I would like to write an application 

Which required to know "how many instance of apache server running on my machine?" 

Please let me know hot to find out if multiple instance of apache is running on the machine? If Yes what are those instances ?

\Vinay

---------------------------------------------------------------------
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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to detect multiple instance of apache

Posted by namdar tariq <nt...@yahoo.com>.
hi,
 i took ur address from httpd achieve,
 i have a problem kindly help me out if u can, actually i want to run my server code in c++ on apache, for this i changed extension of c++ file to cgi and copy it in a cgi-bin folder. but its nt working.
 
 
 waiting for ur reply.
 
 thanx.

Vinay Purohit <Vi...@trianz.com> wrote:  Hi,

I have installed apache 2.2.8 and created multiple instance of it (using
IP based multiple daemon). I would like to write an application 

Which required to know "how many instance of apache server running on my
machine?" 

Please let me know hot to find out if multiple instance of apache is
running on the machine? If Yes what are those instances ?

\Vinay

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

[users@httpd] How to detect multiple instance of apache

Posted by Vinay Purohit <Vi...@trianz.com>.
 Hi,

I have installed apache 2.2.8 and created multiple instance of it (using
IP based multiple daemon). I would like to write an application 

Which required to know "how many instance of apache server running on my
machine?" 

Please let me know hot to find out if multiple instance of apache is
running on the machine? If Yes what are those instances ?

\Vinay

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Invalid command

Posted by Ashwin Basagouda Patil <as...@robosoftin.com>.
Thanks Krist, I will be in touch with you If any issues.

Ashwin 

-----Original Message-----
From: "Krist van Besien" <kr...@gmail.com>
To: users@httpd.apache.org
Date: Tue, 8 Apr 2008 08:30:05 +0200
Subject: Re: [users@httpd] Invalid command

> On Tue, Apr 8, 2008 at 4:30 AM, Ashwin  Basagouda Patil
> <as...@robosoftin.com> wrote:
> >  PLEASE NOTE THAT THE SAME CONFIGURATION WAS WORKING FOR THE APACHE
> 2.0.56 AND SVN
> >  1.4.3
> >
> >  BUT NOW CONFIGURED WITH THE APACHE 2.2.8 AND SVN 1.4.6 AND IT IS NOT
> WORKING.
> 
> Note also that a config that worked for 2.0.x will not work for 2.2.x.
> 
> See: http://httpd.apache.org/docs/2.2/upgrading.html
> 
> Krist
> 
> -- 
> krist.vanbesien@gmail.com
> krist@vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
> 
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.



---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Invalid command

Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Apr 8, 2008 at 4:30 AM, Ashwin  Basagouda Patil
<as...@robosoftin.com> wrote:
>  PLEASE NOTE THAT THE SAME CONFIGURATION WAS WORKING FOR THE APACHE 2.0.56 AND SVN
>  1.4.3
>
>  BUT NOW CONFIGURED WITH THE APACHE 2.2.8 AND SVN 1.4.6 AND IT IS NOT WORKING.

Note also that a config that worked for 2.0.x will not work for 2.2.x.

See: http://httpd.apache.org/docs/2.2/upgrading.html

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Invalid command

Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Apr 8, 2008 at 4:30 AM, Ashwin  Basagouda Patil
<as...@robosoftin.com> wrote:
> Dear All,
>
>  I complied the apache and subversion server and i am getting the bellow mentioned error while
>  starting the apache. please suggest me.
>
>  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  RecoveryServer:~ root# /usr/local/apache2/bin/apachectl start
>  Warning: DocumentRoot [/Volumes/Projects/Subversion/Projects/recovery/] does not exist
>  Syntax error on line 18 of /usr/local/apache2/conf/extra/httpd-vhosts.conf:
>  Invalid command 'AuthLDAPUrl', perhaps misspelled or defined by a module not included in the
>  server configuration
>  ***********************************************************************************************

Read what the error says, and verify what it claims. The error message
in fact contains all you need to solve your problem.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org