Hi, Mohamed,

Seems that the is already a apachectl in your path

try the command:

which apachectl

and you'll notice an existing apache installation (will probably reply :
/usr/sbin/apachectl)
so just modify your path in your environment to fit the new one (dirty
solution) or use the package assistant to remove the existing apache package
(better).

Jean-Luc Rochat

Mohamed Riaz wrote:

> Hi,
> My environment is this
> O/S     SuSE Linux 6.0
> Apache_1.3.4
> ApacheJServ-1.0b3
>
> --    created a directory called apache/src  in /usr/local
> --    placed apache_1.3.4 (unzipped module) in /usr/local/apache/src
> --    created dirs as /usr/local/apache/sol/include/apache
> --    ran the configure as follows
> /usr/local/apache/src/apache_1.3.4#
>
> ./configure \
> --with-layout=Apache \
> --prefix=/usr/local/apache/sol \
> --includedir=/usr/local/apache/sol/include/apache \
> --enable-module=rewrite \
> --enable-module=auth_dbm \
> --enable-module=headers \
> --enable-module=info \
> --enable-module=log_agent \
> --enable-module=log_referer \
> --enable-module=mmap_static \
> --enable-module=unique_id \
> --activate-module=src/modules/auth_mysql/libauth_mysql.a \
> --activate-module=src/modules/php3/libphp3.a \
> --activate-module=src/modules/jserv/mod_jserv \
>
> then i did make as
> /usr/local/apache/src/apache_1.3.4#make
>
> then i did make install as
> /usr/local/apache/src/apache_1.3.4#make install
>
> the dirs bin, conf, icons, libexec, man, cgi-bin, htdocs, include, logs,
> proxy were created.
> i did the necessary changes such as servername, serverroot in httpd.conf in
> the conf dir.
>
> when i ran
> /usr/local/apache/sol/bin#apachectl start
>
> the error thrown was
> sqlinit:    DBROOT must be set !!!
> /usr/sbin/apachectl start:  httpd could not be started
>
> I do not understand why apachectl is accesed from this dir (i am naive to
> linux).
> Can any body assist me in this.  I can proceed to ApacheJserv only after
> this. I have spent valuable hours with this already.
> Thanks in volumes in advance
>
> Riaz
> Chennai, India.
>
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to