Home > launchctl error > launchctl error unloading org.macports.apache2

Launchctl Error Unloading Org.macports.apache2

Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top launchctl: Error unloading: org.apache.httpd up vote 3 down vote favorite I just upgraded my OS to Mountain Lion and found that my local server wasn't working anymore. As I began to work through trying to fix that, I found that running sudo apachectl stop returns launchctl: Error unloading: org.apache.httpd What does this mean, and how do I fix it? Thanks guys! apache-2.2 mac-osx share|improve this question asked Jul 26 '12 at 23:29 CourtDemone 223148 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted launchctl: is shown because apachectl is using launchd's control script, launchctl, to start and stop Apache. Error unloading means the given daemon/service of launchd can not be stopped. This usually happens if the given daemon is already stopped. org.apache.httpd is the name of the plist file defining how httpd is run by launchd. If you are curious the actual plist is at /System/Library/LaunchDaemons/org.apache.httpd.plist If the server is merely off just use: sudo apachectl start to get it running again. Otherwise I would check system.log (you can use Console.app) and see if there are any, more informative, error messages. share|improve this answer answered Aug 2 '12 at 6:59 Hawken 240210 add a comment| up vote 3 down vote try running the following command to see more verbosely what errors you're getting sudo bash -x /usr/sbin/apachectl -k stop share|improve this answer answered Jul 27 '12 at 4:04 Ryan 24317 add a comment| Your Answer draft saved draft discarded Sign

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up MacPorts Apache2 Stopped Launching on Boot up vote 7 down vote favorite 2 Something that I've noticed recently on two http://serverfault.com/questions/411652/launchctl-error-unloading-org-apache-httpd different machines is that Apache2 installed via MacPorts seems to have stopped launching when I boot up. The honest truth is that I can't swear it did so before, but it's something I think I'd notice because installing the LaunchDaemon is part of my install process. In fact, if I try to reload the LaunchDaemon, it fails: $ sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist org.macports.apache2: Already loaded Unless I start Apache manually (using sudo http://stackoverflow.com/questions/2042992/macports-apache2-stopped-launching-on-boot apachectl restart), grep'ing for either "apache2" or "httpd" in my process list only produces this: $ sudo ps -ef | egrep "apache2|httpd" 0 52 1 0 0:00.06 ?? 0:00.08 /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart ; --pid=none 1410639199 6960 6792 0 0:00.00 ttys001 0:00.00 egrep apache2|httpd Looks like the daemon itself is in place, but no executable. As far as I know/can tell, the relevant executables (httpd and apachectl) are executable by everyone. Has anyone else noticed this? Any ideas? UPDATE As requested below, I did execute launchctl list. The list is long and I'm not sure how to snip it, but suffice to say that no org.macports.* items are listed. That in itself is interesting because my MySQL daemon is loaded the same way. It works, but also doesn't appear in the list. Let me know if the entire output is really needed. UPDATE I assumed that I had executed launchctl list under sudo, but prompted by mipadi's comment below, I tried again ensuring that I did so and I assumed incorrectly. When executed under sudo, the MacPorts items appear: 51 - org.macports.mysql5 52 - org.macports.apache2 I'm not sure whether that will help, but it's a little more info nonetheless. UPDATE I've asked a different, but related, question at htt

Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://apple.stackexchange.com/questions/34116/how-do-i-stop-apache-from-starting-up-automatically Overflow the company Business Learn more about hiring developers or posting ads with us Ask Different Questions Tags Users Badges Unanswered Ask Question _ Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the launchctl error top How do I stop Apache from starting up automatically? up vote 6 down vote favorite 1 I'm running Mac OS X Lion 10.7.2 and Web Sharing is turned off in System Prefs. I don't think this is specifically related to Lion. Basically, I'm a frontend developer and there are always backend developers messing around in my terminal trying to make my life easier, but not explaining exactly what they're doing. So launchctl error unloading I suspect someone put something somewhere to explicitly command my Mac to start Apache automatically on startup. Here's all I know: ps aux | grep apache shows that Apache is running launchctl list doesn't show Apache afaik, but if it did I wouldn't know what it would be called anyway sudo apachectl stop returns launchctl: Error unloading: org.apache.httpd sudo apachectl -k stop returns httpd (no pid file) not running Any advice would be appreciated. Thank you. lion startup apache share|improve this question edited Oct 4 '12 at 16:45 gentmatt 30.6k32144239 asked Dec 19 '11 at 3:49 Tracy Fu 133115 1 what does ps aux | grep apache actually output? Also, perhaps you installed a secondary Apache installation through other means (MAMP, Macports, ...)? –Gerry Dec 19 '11 at 9:10 No MAMP or Macports running, but thank you for the suggestion. –Tracy Fu Dec 19 '11 at 20:44 Please refer to this answer. Read the comments too. –Siu Ching Pong -Asuka Kenji- Jul 15 '13 at 3:13 add a comment| 2 Answers 2 active oldest votes up vote 7 down vote accepted Are you sure that it is apache you are seeing running. When you do the ps aux|grep apache You will see one process ( the shell pro

 

Related content

launchctl error unloading com.openssh.sshd

Launchctl Error Unloading Com openssh sshd p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss relatedl the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question Super User is a question and answer site for computer enthusiasts and power users Join them it only takes a minute Sign up Here's how it works Anybody can ask a question Anybody can answer The

launchctl error unloading org.ntp.ntpd

Launchctl Error Unloading Org ntp ntpd p enter a title You can not post a blank message Please type your message and try again This discussion is locked Virgule relatedl Level points Q Bogus ntpd does not respect Date Time setting usr sbin ntpd regularly connect to time apple com even tho the Set date and time automatically is disabled in the System Preferences panel It performed time resets within the last hours alone I would very much like to know why Thanks you very much in advance signed Andrew from Canada Core Duo Mac Mini Mac OS X iPod

launchctl error unloading

Launchctl Error Unloading p a title You can not post a blank message Please type your message and try again Transini Level relatedl points Q launchctl Error unloading OSX I have a launch agent audaemon rdquo that I can't unload ps aux grep audaemoncarl S Fri PM Users carl Applications audaemon launchctl unload Users carl Library LaunchAgents com mycom audaemon plistlaunchctl Error unloading com mycom audaemonNothing shows up in the Console logs The contents of the plist which has always worked before and is unmodified xml version encoding UTF- DOCTYPE plist PUBLIC - Apple DTD PLIST EN http www apple

launchctl error

Launchctl Error table id toc tbody tr td div id toctitle Contents div ul li a href Launchctl Could Not Find Domain For a li li a href Launchd Tutorial a li li a href Launchctl Restart a li ul td tr tbody table p launchctl command in order to autoload a program using a simple and human-readable XML file plist Initially my command sudo launchctl load path to myplist plist was giving back an error message nothing found to load relatedl and I thought it was a bad configuration in the plist launchctl command not found mac so I

launchctl error unloading com.apple.syslogd

Launchctl Error Unloading Com apple syslogd p is no root crontab in Mac OS X rather System Library LaunchDaemons files sometimes include relatedl key StartCalendarInterval key dict key Day key integer integer key Hour key integer integer key Minute key integer integer key Month key integer integer key Weekday key integer integer dict As of Yosemite System Library LaunchDaemons com apple SystemStarter plist no longer includes the invocation of rc local and rc shutdown local QueueDirectories ul li Library StartupItems and li System Library StartupItems Which are empty when you look keywords These commands can be stored in HOME launchd

launchctl error unloading org.apache.httpd

Launchctl Error Unloading Org apache httpd p Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn relatedl more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question Server Fault is a question and answer site for system and network administrators Join them it only takes a minute Sign up Here's how it works Anybody can ask a question Anybody can answer The

launchctl error unloading com.apple.folderactions.folders

Launchctl Error Unloading Com apple folderactions folders p Please enter a title You can not post relatedl a blank message Please type your message and try again This discussion is locked Loren Ryter Level points Mac OS X Q Folder Actions will not work - tried everything Recently Folder Actions simply stopped working on They worked fine before then recently just stopped working I've tried everything I can think of including completely removing enabling disabling enabling folder actions through the setup app trashing folder actions plist files in user domain and relaunching disabling related launchd processes with lingon trashing launch

launchctl error unloading org.macports.mysql5

Launchctl Error Unloading Org macports mysql p Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site relatedl About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Different Questions Tags Users Badges Unanswered Ask Question Ask Different is a question and answer site for power users of Apple hardware and software Join them it only takes a minute Sign up Here's how it works Anybody can ask a question Anybody