Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I can't find the executable program that starts Apache web service. The install via RPM works fine, but I can"t figure out where to run it from. Where is it?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    33

    Where in the world is Apache?


    I can't find the executable program that starts Apache web service. The install via RPM works fine, but I can"t figure out where to run it from. Where is it?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    It's
    Code:
    httpd

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    33
    Code:
    [admin@192 david]$ httpd
    bash: httpd: command not found
    [/code]

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Probably need to be root:
    Code:
    su -
    httpd

  6. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    33
    Ok, now it recognizes the command, but the httpd_env.so file is in the wrong location.
    Code:
    [root@192 david]# httpd
    Syntax error on line 21 of /etc/httpd/conf/httpd.conf:
    Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_en v.so: cannot open shared object file: No such file or directory
    I looked at the httpd.conf file, and the httpd_env.so file is in the wrong place. It says it's supposed to be in /etc/httpd/modules/, but its really in /etc/httpd/2.0/modules/. It won't let me edit the httpd.conf file, so I cant fix the problem.
    [/code]

  7. #6
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    You will have to edit the file as root. If that still doesn't work, try copying httpd_env.so to the proper location. These are simple solutions but they might work (I don't have any experience with Apache under Linux).

    Hope that helps,
    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  8. #7
    Just Joined!
    Join Date
    Apr 2005
    Posts
    33
    Ok, copied mod_env.so into /etc/httpd/modules, and it says this:
    Code:
    [root@192 httpd]# httpd
    Syntax error on line 21 of /etc/httpd/conf/httpd.conf:
    Cannot load /etc/httpd/modules/mod_env.so into server: /etc/httpd/modules/mod_env.so: undefined symbol: apr_table_overlay

  9. #8
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Sorry, as I mentioned earlier, I don't have any experience with Apache under Linux (not much under Windows either). My suggestion: check the Apache website to see if they have any installation guides and see if something may help with your problem.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  10. #9
    Just Joined!
    Join Date
    Apr 2005
    Posts
    33
    Oh yeah, I forgot I have internet on my laptop now!!!

  11. #10
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Was that the reason that Apache wasn't working?

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •