What's The Terminal Command To Find Apache Log Files?

I can't find it anywhere.
Thank you.

It looks like either:
$ grep ErrorLog /private/etc/apache2/httpd.conf
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
ErrorLog "/private/var/log/apache2/error_log"
or
/usr/sbin/apachectl -V | egrep 'HTTPD_ROOT|ERRORLOG'
-D HTTPD_ROOT="/usr"
-D DEFAULTERRORLOG="logs/errorlog"
Though red_menace probably knows better that I.
Message was edited by: Nils C. Anderson

Similar Messages

  • What is the terminal command to list USB devices?

    In Ubuntu Linux the command lsusb lists all devices connected to the usb ports. What is the equivalent command in OS-X? Thanks.

    Linc:
    Thanks. The new thread, if you want to comment on it is:
    Activate/Deactivate USB connected device
    If I am able to deactivate or unattach or disable the driver that is responsible for controlling the usb web cam that I have in my Mac mini, the virtualization program (VBox) would be able to capture it (already configured with the appropriate filter) for my guest OS. Now, I only get a message saying that the camera is busy from a previous request.
    When I run your command, I get no response.

  • What are the terminal commands to list all plugins, extensions, etc?

    I remember a while ago reading a thread on diagnosing kernel panics and such, where someone listed a number of commands (I think there were four separate terminal commands) which produced lists of plugins, daemons, background enhancers, extensions etc which could sap resources or drive up temperature without necessarily showing up in activity monitor or anything like that.
    Anyone know what these commands are? I'm having some serious overheating problems at the moment when doing nothing but for instance watching a youtube video with no other processes running so I'd like to get these dumps and see if there's anything installed which could be causing trouble.

    Check this out : http://helpx.adobe.com/story/help/keyboard-shortcuts.html

  • What Is The Terminal Command For PRAM & SMC Reset?

    Hi Folks - Cant get my Macbook Pro to shut down (instead it does a re-start) thus the key combination for these re-sets doesnt seem to function (no chimes). I saw in another thread a terminal command entry "sudo nvram boot-args=”-p -r” but I also saw it mentioned that entering that casued the following to pop-up "Note that resetting the PRAM will wipe out the contents of the boot-args environment variable, which means the command would need to be reissued each startup." Whats with "reissued each startup"? Also would like a an SMC re-set command. THANKS in advance!

    I dont know of a terminal command but here is how to reset the SMC:
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • What is the terminal command to open sound preferences in Mac Snow Leopard

    Hi
    I want to know what is the command to open sound preferences dialog from command prompt.
    short key for doing this is option key + F12. But I am looking for somehting I can enter in terminal to open sound preferences.

    Get under the hood with Command Line and the Terminal. Unix forum is here for fast answer:
    http://discussions.apple.com/forum.jspa?forumID=735

  • What's the terminal command to reindex mail?

    Hi all!
    I have a corrupt POP mailbox (among a dozen or so active accounts I check with mail). Using the "rebuild" command simply loses all but the past few days of messages. Trashing the envelope files in my library file and forcing a reindex has the same effect -- I lose all but a couple of days worth of messages.
    I have seen, in pre-Lion postings, references to using this command in terminal to fix a corrupt mailbox:
    sqlite3 ~/Library/Mail/Envelope\ Index vacuum;
    But I am not sure that the syntax is correct, given that the subdirectories of the ~/Library/Mail folder were changed in Lion.
    Does anyone have the correct syntax for this?
    Any other help tips and suggestions would also be appreciated. The problem appears to affect only the inbox for one of my many accounts.
    Thanks for any help!
    Greg

    Hi hello
    Tell me, you try make a magic triangle with Lion ?
    Have you solve your issue ?
    Sudo disconfigad -enablesso ? worked for you ??? for me command not found
    Thanks for your help

  • What is the Terminal command to determine whether booted in 32 or 64 bit mode?

    I understand some newer computers are using the 64 bit kernel by default: http://support.apple.com/kb/HT3770
    How do I determine via the command line whether I'm booted in 32 bit mode or 64 bit mode?

    To make your Mac always start up 64 bit  the only thing necessary is to alter one line of a configuration file. You can do that by opening the Terminal and entering:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' 'arch=x86_64'
    To return to 32 bit mode, you would repeat the command but enter an empty string, which would just be the single quotes (where arch=x86_64 is) with nothing in between.
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' ''

  • What is the terminal command in OS X SL for enabling my touchpad?

    When I boot into the install disc I can use the terminal, but not the touchpad. I can't get past the choosing of a hard disk w/o using my touchpad. Thanks!

    If your touchpad is not working in the installer, it is Broke!
    The Installer software is an incorruptible, "one size fits all" software, provided you are using an Installer appropriate for your Mac.
    Installer Software older than the version that was on your Mac when it was new will not work.
    Installer Software for a different Mac will not work because it will not contain drivers for your Hardware.

  • What is the terminal command to rename a folder?

    If someone could tell me this it would awesome.
    thx to all replies

    Use the mv command with the current and desired paths supplied. For example:
    mv ~/Desktop/34 ~/Desktop/35
    for a folder on the desktop.
    (32999)

  • What's the terminal command to stop and start LDAP?

    I'm trying to intergate my companies AD kerberose with the services hosted on a Lion Server in a golden triangle setup.
    Here's what I've tried so far.
    1. Bind to AD host.
    2. sudo dsconfigad -enablesso
    3. Make a Opendirectory Master
    4. sudo kinit list, all listed services should point to AD KDC..
    Am I missing something?
    I've tried other way as well, but it always shuts down LDAP.
    1. Bind to AD host.
    2. Make a Opendirectory master
    4. Sudo disconfigad - enablesso
    5. sudo sso_util remove -k -a username -p password -r NAME.OF.KERBEROSREALM
    (here use the OD diradmin and PW)
    6.. reboot
    Help please..!

    Hi hello
    Tell me, you try make a magic triangle with Lion ?
    Have you solve your issue ?
    Sudo disconfigad -enablesso ? worked for you ??? for me command not found
    Thanks for your help

  • What's the terminal command to insert the text that appears when I send mail to Bcc addresses?

    I remember there was a cool add-on to some mail clients like Eudora years back where one could juggle the text that people receive instead of the addresses if you send mail in Bcc... Is there any possibility to change what Apple Mail sends?
    What if, insetad of the usual "undisclosed recipients" I want something else like "omissis" to appear?

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • What are all the 'Terminal' Commands?

    I use Terminal for fun with the commands and the killall argument command but i really want to know all the terminal commands so that i am not that bored. I always use the commands i know but they are getting old so please help.
    PLEASE!!!!!!!!!!!!
    Thanks,
    Andrew.

    The commands are be scattered around the hd.  A command is any file with the execution bit set on.
    The best way to go is to go to your local library and find any book on unix or bash.  There will be some difference between what you read and what is available in X.  the man command should key you in on the differences.
    A book on Bash would be helpful.
    Here is the book that I use:
    Mac OS X Tiger in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
    This is also good & was in my local library.
    Practical Guide to Linux Commands, Editors, and Shell Programming, A (2nd Edition) [Paperback] the book Don't be fooled by the name, the second addition includes Mac OS X.  
    Advanced Bash Script. premise: Examples for everything. I have revision 6.2.
    tldp.org/LDP/abs/abs-guide.pdf
    BASH Programming - Introduction HOW-TO
    http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html#toc14
    Apple administrative commands
    http://manuals.info.apple.com/en_US/IntroCommandLine_v10.6.pdf
    Apple Shell Scripting Primer
    https://developer.apple.com/library/mac/documentation/OpenSource/Conceptual/Shel lScripting/ShellScripting.pdf
    Check you local library. Any book on Bash syntax will do. There will be minor differences but they will not be great.
    Sometimes you can get a good deal on used books in Amazon.
    Bash Cookbook, Carol Albing, JP Vossen & Cameron Newham (O'Reilly)

  • #30 | can i run the Terminal Command to stop Snapshots with no problems?

    i am somewhat surprised to find out that the 75 GB of "Backups" that are taking up space on my MBP may be due to some "feature" in Mavericks or the new OS's or whatever and i have had to MOVE all my data off my laptop as a consequence of this over the last two months because i have no more space on my Hard Drive.
    is it legit and OK to follow the terminal commands in #30 without having any problems?
    i am on a mid 2009 MBP running Mavericks and i have a 2 TB Time Capsule that i am wirelessly backing up my data.
    as some kind of sadistic test in advance of running this terminal command - can i plug my laptop into the Time Capsule, unplug the laptop from the time capsule, restart and see how much space got recaptured on my HD for my data?
    i mean, well - i must be missing something but i mean i am hoping i can get this to stop so i can get my data back on my laptop. i'm walking around with an external HD of all my Mac Pro information just so i can get work done when i go to a coffee shop or something.

    for those suffering through this:
    https://discussions.apple.com/message/24878591#24878591
    In Terminal:
         sudo tmutil disablelocal
    Turn off local Time Machine snapshots and trigger automatic cleanup of accumulated local snapshot data. Requires root privileges.
    (use sudo tmutil enablelocal to turn back on)
    this got rid of my 75 GB backup file (!!) and now i am going to move my data back to my laptop...
    not sure if there is an apple tech article to link to regarding this issue but it would be good to post if there is one.

  • What is the best way to find a file on the servers disk without using web.xml?

              What is the best way to find a file on the servers disk without using web.xml?
              I want to find a configuration file not contained within the war file I have
              created. Is there a way to pass information into the ServletContext with out
              rebuilding the ear or war files? Tomcat 4.0 can do this in its server configuration
              files. Does BEA have the equivalent?
              Regards,
              Eric
              

    You can specify the path to the file as a system property
              eg
              java -Dconfig.file.location=./mydirecotry/myfile.txt com.test.MyApp
              "Eric White" <[email protected]> wrote in message
              news:[email protected]..
              >
              > What is the best way to find a file on the servers disk without using
              web.xml?
              > I want to find a configuration file not contained within the war file I
              have
              > created. Is there a way to pass information into the ServletContext with
              out
              > rebuilding the ear or war files? Tomcat 4.0 can do this in its server
              configuration
              > files. Does BEA have the equivalent?
              >
              > Regards,
              > Eric
              

  • What is the key command to open Audition in Logic 8?

    The little play icon in the bin, sample editor, etc.
    The one for auditioning things.
    Doesn't work for me. The only way I can get, for example, a playback from cursor position in the sample editor--is to manually click on the little green play icon with the mouse. Same with the bin, loops, and so on.
    For many years I've had key commands to do this kind of thing, but it is broken for me since Logic 8. What is the key command for this called? I've tried disabling the space bar as a key command, and I've also tried re-enabling it for "play or stop". Although in the latter case, that should still function the way it does in the arrange window.
    Actually, I've tried a lot of things and I'm completely out of ideas.
    I posted on this subject several months ago and it remains unresolved. For the life of me I cannot get the audition button to work via any key command.
    Help?
    TIA
    Message was edited by: danseq

    Hi
    If you imported your key commands from version 7 there can be problems in version 8.
    Try using one of the key command presets from version 8.
    HTH
    CCT

Maybe you are looking for

  • How do I install purchased software without a disk drive?

    We recently bought Elements 12 + Premiere Elements 12 with the intention of buying a new computer. But now our new iMac doesn't have a disk drive. How do I install the software? On the site I only see options for trial versions or to buy the products

  • Lightroom not visible in the CC installer.

    I cannot see Lightroom in the Creative Cloud installer.  But I can see Photoshop.  Hardware:MacBookPro10,2   Processor Name:Intel Core i5   Processor Speed:2.6 GHz   Number of Processors:1   Total Number of Cores:2   L2 Cache (per Core):256 KB   L3 C

  • Volume Control on Satellite Pro A200 with Ubunutu 7.10

    I have a Satellite Pro A200GE-1F9 which I have recently made dual boot with Vista and Ubuntu 7.10. This is the first time I have used Linux and most things are going well so far. However, the volume control (a scroll wheel on the front of the laptop)

  • [Flex] RTMP-Server failed to start up

    We are trying to deploy a Flex Dataservices 2.01 applicaton on Solaris 10/Weblogic 8.1 SP5 and have run into this problem. Does anybody know how to fix it? Thanks. [Flex] RTMP-Server failed to start up: java.io.IOException: Invalid argument flex.mess

  • How to run windows store app in windows tablet

    Hi, I am developing an windows store app I can run my app in local machine.How can i run my app on windows tablets. I am using ASUS windows 8 tablet .How can I connect tab to my pc and run myapp in tablet. Thanks, Alok