Find the answer to your Linux question:
Results 1 to 3 of 3
:/opt# /etc/init.d/httpd start bash: /etc/init.d/httpd: No such file or directory...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    2

    plz help me iam a beginar

    :/opt# /etc/init.d/httpd start
    bash: /etc/init.d/httpd: No such file or directory

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Hello and welcome to the forums!

    In Ubuntu it might be as follows:

    Code:
    /etc/init.d/apache2 start
    I'm not running Ubuntu so can't easily check it.

    If the above isn't correct, perhaps an Ubuntu user will step in with the correct command.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    274
    Correct, but you'll probably have to use sudo
    Code:
    sudo /etc/init.d/apache2 start
    I only say this because subject is "plz help me iam a beginar"
    Hope it helps

    PS: But why directory /opt. Compiling apache?

Posting Permissions

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