Did you check to see that the server was still up.  It is possible it 
crashed just after the "OK" was displayed on the screen.  From the 
traces I've done when I've encountered similar problems, the server 
parses httpd.conf once to check for errors and then forks off a daemon 
copy of itself.  The daemon is the parent to all the running httpd 
processes.  In at least one case that I've dealt with, the daemon had a 
problem when parsing httpd.conf whereas the copy of httpd invoked from 
the command line didn't.  Try invoking the server in the foreground (-X 
option) and see what happens.  BTW, only run the daemon in the 
foreground for debugging purposes.  Run in the foreground it forks off 
no copies of itself.

-- Rob


--On 10/12/00 11:36:33 PM -0700 Pritesh Thakor <[EMAIL PROTECTED]> 
wrote:

> Hi,
>
> I installed Apache::DBI-0.87 on Apache 1.3.9, Perl 5.00503, mod_perl
> 1.2.1 running on RedHat Linux 6.1 and I am trying to connect to MySQL
> 3.22.32. After making necessary changes in httpd.conf i.e. PerlModule
> Apache::DBI and giving the command
>
> /etc/rc.d/init.d/httpd restart
>
> generates the message
>
> Shutting donw http:                     [FAILED]
> Starting http:                          [  OK  ]
>
> Now when I request a page from the browser, a window populates
> displaying a message "Connection refused. The server may not be
> accepting connections."
>
> I also tried connecting to MySQL in startup file, but it is not
> working.
>
> If there is anything more to be done or I am doing something wrong,
> please let me know.
>
> Thanks,
> Pritesh.
>
>
>
>
>
>
>
>
>
> pritesht
> e-mail: [EMAIL PROTECTED]
>
>
>
>
> --------------------------------------------------------
>
> Feed  Your Greed !!!
> Get your 10MB Free space only at http://www.forindia.com NOW!
>
> --------------------------------------------------------
>
>




       _ _ _ _           _    _ _ _ _ _
      /\_\_\_\_\        /\_\ /\_\_\_\_\_\
     /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
    /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_/    /\/_/
  /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]

Reply via email to