Hi there,

On Tue, 21 Aug 2001, Alvaro Toro Santivanez wrote:

> i need run mod_perl and apache urgent 

If you are new to mod_perl (and Linux?)you will probably find that it
is a rather complex environment.  You will need to do a great deal of
learning before you can quickly and easily compile, install and
configure mod_perl servers.  Amongst other things it simply is not
safe to put a server on the Web if you don't have a reasonable
understanding of how it all hangs together.  This is explained for
example at the top of the httpd.conf which comes with the Apache
distribution.  And it is not just your own machine that you might be
compromising if you allow a badly configured machine on the Internet,
you may be creating a place which unsociable types can use to create a
lot of nuisance to other people.  So be careful.

On the other hand if you are working in a controlled environment like
an intranet the risks may be different.  Of course we don't know what
you are doing because you have not been very forthcoming with the
information.  It will help us to help you if you try to change that.

> i`m red hat 7.0 user.

The compiler which comes with Red Hat 7.0 has some problems, you
should perhaps upgrade it, or alternatively upgrade to Red Hat 7.1
which I think contains the fixed compiler.

Have you successfully configured Apache?  You should satisfy yourself
that you can get Apache to serve static pages before trying to get
mod_perl to work.  Red Hat comes with RPMs containing Apache built
ready to load mod_perl as a DSO.  This means that you can compile an
Apache module like mod_perl and load it into Apache without having to
recompile Apache, but there are things to consider and it has its
disadvantages.  If I were you I'd build the whole thing (including
Apache) from the beginning, compiling mod_perl into Apache statically.
It's very easy.  Try to get used to how things go when you do that,
you will start to get the feel for the sort of messages that you will
see flying past on the screen, what is normal and what is not normal.
Be patient.  Rome wasn't built in a day.  You are using many, many
man-years-worth of software when you build and use a mod_perl server
and it will take some time to gain even a superficial familiarity.

IMHO Red Hat makes the startup and shutdown of Apache slightly more
confusing than necessary but you don't need to use the same methods.
Just make sure (using 'ps') that you have no other Apaches running
when you try to start one which you build yourself.  'kill -15' any
other Apache parent process if you like (as long as you're sure it
isn't being used by anyone else:).  The parent httpd usually has the
lowest PID of all of them.  It's all in the Guide.  You will probably
need to read it several times before you can claim to be a competent
mod_perl administrator.

You really should take a look at the SUPPORT file which comes with the
mod_perl distribution.
 
73,
Ged.

Reply via email to