Can not run Apache (sudo apachectl start) on OS X 10.8

I want to start Apache on OS X Mountain Lion 10.8. I type this on the terminal:
sudo apachectl start
and press enter. It asked me to enter password. I don't have set any password for my system. So I press enter again. But it does not accept my blank password. After 3 times, it quits the execution of the sudo command.
I type: "httpd -v" at the terminal and get the following output:
Server version: Apache/2.2.22 (Unix)
Server built:   Jun 20 2012 13:57:09
Can you please tell me, what should I do to run Apache, using sudo command? I also set a password for the system in the Preferences > Users and Groups, and I am sure that I have administrator privilages (the "Allow user to administer this computer" is checked).

I clicked on "This solved my question" by mistake; I know that I have to enter the system password. In fact it's obvious. But I told that I have not set any password on my system. So I just press enter for a blank password. And it asks again for the password. After 3 times, it ends.
I also set a password and try again, but it didn't work.

Similar Messages

  • Agent and TNSListener service can not run when system starting

    The Agent and TNSListener services can not run automaticaly when system startes.If run Agent service by hand in control panel,system prompt 3221356559 error message.If run TNSListener service in control panel,system prompt none.But after refresh,TNSListener service is not running.How can i do next?Thanks very much!

    geno.nullfree wrote:
    I'm not sure but since it's saying there's a library issue, you could try running:
    # ldconfig
    Failing that you could try a:
    # pacman -Rns slim
    # pacman -Syu slim
    I tried both "ldconfig" and "pacman -XXX", but the problem is still there.
    Maybe I need use another way to recompile slim in my machine.
    But I have no time to test it now, I will try it another day.
    Thx for replies.

  • ITunes can not run because some of it's required files are missing...

    'iTunes can not run because some of it's required files are missing. Please reinstall iTunes.' I get this message when i try to start iTunes, I have reinstalled iTunes for two times know and it still doesn't work. Can anyone please help me with this,
    Joris

    nagrax4s wrote:
    .....I had to run programs to completly errase iTunes and then rewrite parts of the registry.
    too bad I didn't get to you sooner
    Follow these instructions to completely remove Apple software
    http://support.apple.com/kb/HT1923
    Then use free Ccleaner to repeatly repair your registry until it's fixed.
    http://www.piriform.com/ccleaner/download/standard
    download iTunes again from Apple.
    http://www.apple.com/itunes/
    If you have 64bit Vista or Windows 7, look for the seperate download of iTunes for that further down the page.
    Once installed, use the Apple Software Update under your Start Menu to fully update all Apple components.
    Your content will remain on the drive in the Music > iTunes Folder, nothing is deleted.
    You should be making backups of your content regularly, either through iTunes or via copying the iTunesFolder in your Music folder to a external drive.
    Windows is notorious for having "other" issues that make it unstable, we as volunteers helping others can't always resolve those issues.

  • I changed the Computer Name and i can not run EM.

    I had to change the computer name in order to connect to the intranet.
    I updated the listener.ora and tnsnames.ora with the new computer name.
    I can run SqlPlus but i can not run EM on http://tahirpc.isu.intranet:1158/em *
    I checked Services and I saw that OracleDBConsoleorcl service do not work. I get error code:2 when i try to run it manually.
    What should i do?
    New computer name: tahirpc.isu.intranet
    Old computer name: mtkeskin.isu.intranet
    OS: Win 7
    Oracle: 10.2.3
    ------------------------

    Thank you Jean-Valentin . I tried those but unfortunately this did not work.
    Here is what i did on CMD:
    RECREATE
    C:\Users\mtkeskin>EMCA -CONFIG DBCONTROL DB -REPOS RECREATE
    STARTED EMCA at 28.Oca.2010 11:28:43
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: ORCL
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user: l
    Password for SYSMAN user:
    Password for SYSMAN user: Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
    Database hostname ................ tahirpc.isu.intranet
    Listener port number ................ 1521
    Database SID ................ ORCL
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    28.Oca.2010 11:29:07 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
    s\emca\orcl\emca_2010-01-28_11-28-42-AM.log.
    28.Oca.2010 11:29:24 oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    28.Oca.2010 11:32:09 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    28.Oca.2010 11:32:10 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    28.Oca.2010 11:37:14 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    28.Oca.2010 11:37:34 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing CMD /C D:\oracle\product\10.2.0\db_1\bin\emctl.bat depl
    oy dbconsole D:\oracle\product\10.2.0\db_1\tahirpc.isu.intranet_ORCL tahirpc.isu
    .intranet:3938 tahirpc.isu.intranet ORCL
    28.Oca.2010 11:37:34 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
    a_2010-01-28_11-28-42-AM.log for more details.
    Could not complete the configuration. Refer to the log file at D:\oracle\product
    \10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-01-28_11-28-42-AM.log for more deta
    ils.
    DROP
    C:\Users\mtkeskin>EMCA -DECONFIG DBCONTROL DB -REPOS DROP
    STARTED EMCA at 28.Oca.2010 11:47:57
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: ORCL
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    28.Oca.2010 11:48:13 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
    s\emca\orcl\emca_2010-01-28_11-47-56-AM.log.
    28.Oca.2010 11:48:17 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    28.Oca.2010 11:48:18 oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    28.Oca.2010 11:50:35 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at 28.Oca.2010 11:50:35
    CREATE
    C:\Users\mtkeskin>EMCA -CONFIG DBCONTROL DB -REPOS CREATE
    STARTED EMCA at 28.Oca.2010 11:54:55
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: ORCL
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
    Database hostname ................ tahirpc.isu.intranet
    Listener port number ................ 1521
    Database SID ................ ORCL
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    28.Oca.2010 11:55:19 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
    s\emca\orcl\emca_2010-01-28_11-54-55-AM.log.
    28.Oca.2010 11:55:32 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    28.Oca.2010 12:00:13 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    28.Oca.2010 12:00:27 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing CMD /C D:\oracle\product\10.2.0\db_1\bin\emctl.bat depl
    oy dbconsole D:\oracle\product\10.2.0\db_1\tahirpc.isu.intranet_ORCL tahirpc.isu
    .intranet:3938 tahirpc.isu.intranet ORCL
    28.Oca.2010 12:00:27 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
    a_2010-01-28_11-54-55-AM.log for more details.
    Could not complete the configuration. Refer to the log file at D:\oracle\product
    \10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-01-28_11-54-55-AM.log for more deta
    ils.
    I checked log files but i did not understand anything of 'em :(
    Edited by: NaKKaSh.TR on 28.Oca.2010 12:12
    Edited by: NaKKaSh.TR on 28.Oca.2010 12:14

  • Can not run the J2EE application on webless iAS

    Hi:
    I have installed iAS on Salaris, and installed a webconnector on IIS which
    hosted on different machine.
    Now I can run the simple servlet sample, but I can not run the Helloworld
    application that I deployed follow the guide. The error message was: socket
    receive error (RecvBuffer 1)

    Don wrote:
    Hi:
    I have installed iAS on Salaris, and installed a webconnector on IIS which
    hosted on different machine.Wow, I did not know that iAS support IIS as the web server. I think SP3
    will
    allow you to use Apache as well as iPlanet's web server, but I not think
    IIS is
    supported. Perhaps you should use a supported web server.
    Kent

  • Can not run shell script

    Hello firends,
    I have one simple script to run orbd and one java program: I can not this script on RH linux.
    #!/sbin/sh
    case "$1" in
    'start')
    /bin/orbd -ORBInitialPort 2600 &
    sleep 5
    /bin/java NamdServer -ORBInitialPort 2600& --------This can not run.
    echo "Server is up."
    'stop')
    echo "Usage: $0 { start | stop }"
    exit 1
    esac
    exit 0
    I cound not see the process of "java NamdServer" using ps -lef after run this script. I also tried the following option with -classpath, it did not work either.
    java -classpath /disk/programs/namd_server_sparc/:. NamdServer -ORBInitialPort 2600
    java -classpath . NamdServer -ORBInitialPort 2600
    Thanks a lot.

    Hi
    When you try to execute the NamdServer do you get any output as it tries to start ? or does it fail
    silently?
    You might need to try and find out if you can run NamdServer in a verbose mode where it tells you whats its
    trying to do.
    Alternately. you can use the truss command ( man truss to find out more ) on your script.
    regards

  • I can not run application in Jdev 11g

    hello,
    I can not run my application in Jdev 11g.
    [Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
    [02:33:39 PM] ---- Deployment started. ----
    [02:33:39 PM] Target platform is (Weblogic 10.3).
    [02:33:40 PM] Retrieving existing application information
    [02:33:40 PM] Running dependency analysis...
    [02:33:40 PM] Deploying 3 profiles...
    [02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
    [02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
    [02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
    [02:33:42 PM] Deploying Application...
    <01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         Truncated. see log file for complete stacktrace
    >
    <01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
    <01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
         Truncated. see log file for complete stacktrace
    >
    [02:33:42 PM] #### Deployment incomplete. ####
    [02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    What is this?
    Dema.

    Hi,
    what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    Frank

  • Can not Run Application from Client PC.

    Hi,
    I have a pc running on WinXP called "PC1". I have installed Oracle9i Database, Developer Suite 10g and services. I can run my application smoothly on "PC1".
    My problem is that i can not run my application from client pc running on WinXP called "PC2". I have installed JINIT.exe on "PC2". I started OC4J also on "PC2". IE shows "Page can not be displayed" message.
    What settings i have to do to run my application on Client i.e. "PC2".
    Waiting for any kind of help.
    Thanks.

    Hi all,
    Thanks for the reply.
    I have already install same JINI.exe on Client "PC2" which is on Server "PC1". And the version of the IE and JINI are same on Server "PC1" and Client "PC2".
    I start OC4J on Server.
    Should i make some settings on JINI Control Panel on Client ? Like Proxies.
    I have enable all check box on "Basic" Tab of JINI.
    Further, On client, the check Box of "Show Java Console" is also on, but when i try to connect my application from IE, the Java console does not appear.
    I would like to inform u that, when i start additional Proxy driver like Analog proxy on my server and then i give that proxy address and port in Client IE connection LAN setting, i am able to run my application from that Client.
    But i think that is not the solution.
    Waiting for reply.

  • I can not run Remote Control in iLO homepage

    Dear All,
    I have a prolem about Remote Control in iLO homepage.
    We are employing 3 server Proliant 380p DL G8.
    I can not run Remote Control, it displays "Application cannot be start. Contact the application vendor"
    Pls help me resolve this problem.
    Thanks All

    Hi:
    I recommend you post your question on the HP Business Support Forum, DL Servers section.
    http://h30499.www3.hp.com/t5/ProLiant-Servers-ML-DL-SL/bd-p/itrc-264#.UuHbdmfnat8

  • PCK  visual administrator can not run

    Hello Everyone,
       When i run pck, encounter a problem,"<b>Object not found in lookup of SapXIFileAdapterService"</b>
      I found the soultion from SDN, this need to registry the JNDI in visual administrator, but i can not run the visual adminstrator.
    my<b> go.bat</b> is under C:\usr\sap\A20\JC70\j2ee\ATS\bin
    and not under C:\usr\sap\A20\JC70\j2ee\admin,
    there is not admin folder under the C:\usr\sap\A20\JC70\j2ee;
    when i run go.bat , there is following information, and no config window show;
    Could some boby can help me how to solve this issue,
    Thank you very much.!
    <b>C:\usr\sap\A20\JC70\j2ee\ATS\bin>setlocal
    [SAP ATS Start] Version - 1.1.1, NW Release - 7.10, Change: 130621, Date: 2006/1
    1/14
    [MAIN JVM] Creating initial context -> Done
    [MAIN JVM] Cluster info [1 server node core ver.  7.10.3301.146320.2007050316504
    2  (click for details)]
    [MAIN JVM]
    [MAIN JVM] Checking tested environment
    [MAIN JVM] NAMING -> OK
    [MAIN JVM] DB     -> OK
    [MAIN JVM] HTTP   -> OK
    [MAIN JVM]
    [MAIN JVM] Test main root directory : <C:\usr\sap\A20\JC70\j2ee\ATS\tests>
    [MAIN JVM] Loading tests please wait...
    [MAIN JVM] All Tests:      0 classes, 0 methods.
    [MAIN JVM] Exclude Tests:  0 classes, 0 methods.
    [MAIN JVM] Test loading finished. Elapsed time: 31 ms.
    [MAIN JVM] Test end, elapsed: 00min 00.000s, local time: 11:06:08 AM
    [MAIN JVM] All tests finished at 11:06:08 AM
    [MAIN JVM] -
        INFO    -
    [MAIN JVM] Test execution process completed.
    [MAIN JVM] -
    </b>

    Hi rocky
    check your JAVA_HOME env variable
    You just get a copy of  "admin" folder and paste it within the j2ee folder
    You should be able to start Visual admin
    regards
    krishna

  • HT1349 I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • Hi, I got the problem with Firefox 27.0.1. I can not run Selenium on Firefox after login a website for automation testing. The browser is not responding.

    Hi, I got the problem with Firefox 27.0.1. I can not run Selenium on Firefox after login a website for automation testing. The browser is not responding. However when I close Nunit, the page is back to be normal. The title is returned to the name of website without "not responding". I sure this problem did not happen on Firefox version 26. I just got this problem when firefox upgrading automatically to version 27. Please help me fix this problem because it is very important for my work. If you need more information pls send your concerns via my email address.
    Thanks so much

    Hi, the work around suggested above should put you in working mode in the meantime. However to help investigate the issue it is possible to analyze what is not loading or taking a long time by analyzing the network traffic or http headers of the Nunit web page.
    *[https://addons.mozilla.org/en-us/firefox/addon/live-http-headers/]
    *Web developer Tools > Web console
    If you post the results with out the user data, we are happy to help.

  • I have a mac osx version 10.6.8 no windows and i am trying to install a program but keep getting can not run in dos mode  ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?

    i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode  ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?

    You run Windows in Parallels or Fusion. Then in Windows you install the program.

  • After closing the Firefox browser, a message appears "Severe error: Cannot load resource file; can not run". What could be wrong?

    The message: "Severe Error; Can 't load resourse file; can not run" appears after closing Firefox4. All other applications on my pc do not have this problem.

    I've found text of this error in npdjvu.dll plugin, remove it and error seems to disappear.

  • I have a pdf file with the added sounds, so I can not run the sound in adobe reader XI on my tablet samsung galaxi pro (android)

    I have a pdf file with the added sounds, so I can not run the sound in adobe reader XI on my tablet samsung galaxi pro (android)

    Thanks for writing to us. Unfortunately, such advanced javascript support is currently not provided by Adobe Reader for Android.
    Thanks,
    Adobe Reader Team

Maybe you are looking for

  • Laser Jet 4L?

    Where can I get a new printer cable for my HP Laser Jet 4l with longer screw in lugs to connect to my computer? Thanks This question was solved. View Solution.

  • TOC and text objects

    Hello, I am having trouble with my Table of Contents. I have a 140 page doc with approximately 70 sections (some sections are a single page, while others are many pages). Each section has a different first page. In this first page I used a text objec

  • Can you create a digital negative from a digital positive in Aperture?

    Hi everyone, I'm wanting to make some cyanotypes and have converted images to B&W, but need to covert these to digital negatives so I can have them printed on acetate. Is it possible to create a digital negative in Aperture? Thanks, Andrew

  • Software perfect install and operation 7 years ago, now won't install

    Win XP sp3 Officejet All-in-One 7680 software won't install on either of two different computer with same windows version. Have tried all the troubleshooting suggestions and "HP Dr." Original successful install was on sp2, no problem encountered afte

  • Excel to Inernal table

    What is the best way to upload a excel file into an internal table. Can we use any builtin funciton modules.