search for: launchctl

Displaying 20 results from an estimated 37 matches for "launchctl".

2010 Mar 04
2
exec failure
Hello, I''m using puppet 0.25.1 - and I''m trying to create a custom resource to use launchctl to stop a launchd job. command => "launchctl stop `launchctl list | grep $job_real | cut -f 3`", yeilds: err: //sav/Stop_launchd_job[com.Symantec.SymSecondaryLaunch]/Exec[com.Symantec.SymSecondaryLaunch]/returns: change from notrun to 0 failed: launchctl stop `launchctl list | grep...
2008 Feb 13
0
automatic startup in leopard
I''ve been having quite a bit of trouble since upgrading to leopard. I had a launchctl plist file that seemed to work (attached). It essentially ran mongrel_rails bunch of times with different arguments. In leopard it fails to load, saying: launchctl: propertyList is NULL launchctl: no plist was returned for: net.mongrel.plist launchctl: no plist was returned for: net.mongrel.plist...
2017 Jun 12
4
Apple Mac slave
On Jun 11, 2017, at 7:15 AM, Robbie van der Walle <rvanderwalle at gmail.com> wrote: > > I see only a reboot. Not a shutdown. But is this normal because shutdown -u -h +0 is used? > To be honest, I haven't experimented much with this, but I saw a normal shutdown/reboot when I just tried this from the command line (10.12): reboot ~ Mon Jun 12 08:36
2008 Oct 13
3
errors on getaddrinfo(): nodename nor servname provided, or not known
Hello openssh developers, I had built openssh-4.7p1 on arm-apple-darwin9 platform, but I get this error when I load sshd using launchd: root# launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist errors on getaddrinfo(): nodename nor servname provided, or not known When I execute sshd directly, I don't get any warnings or error messages, but the sshd is not listening on the intended port, and it's not running. I didn't change...
2009 Jan 14
6
How do I change MYSQL startup options on Mac??? (can't work it out)
Hi, Can anyone help me out re how I change the startup options for mysql (v5.0) running on my Mac? (I just want to add the "--log" option is about it). I tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however this started a 2nd instances of mysql & mysqld. Here is what I see start after Mac startup if this helps: $ ps aux | grep mysql _mysql 137 0.0
2012 Jul 10
2
Refresh not working with launchd service provider?
...priate places, then applying example.pp will start the service if it is not already running. But subsequent runs will not restart it, even though the log messages say that the file''s content changed and that it triggered a refresh of the service. If I run the apply with --debug, the only launchctl command that I see in the output is a launchctl list command. Does anyone see anything wrong with the above files, or should I submit a bug report. Thanks - David -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,...
2012 May 05
12
Error running an app on a Mac
Hi Guys, I'm a newbie, running my first windows app on a Macbook. OS X 10.6.8 2.2 GHz Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM When I tried to install X11, both the original X11 app and the update told me it is already installed on my Mac. Here's the error messages from Term: $ wine setup.exe wine: created the configuration directory '/Users/horacemann/.wine' Application tried
2017 Jun 15
2
Apple Mac slave
> sudo launchctl list|fgrep -v com.app returns for me(10.12.5): PID Status Label - 78 org.networkupstools.upsmon system log: Jun 15 16:27:07 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): Service only ran for 0 seconds. Pushing respawn out by 10 seconds. Jun 15 16:27:17 c01 com.apple.xpc.launchd[1...
2017 Jun 15
2
Apple Mac slave
I deleted the plist file and rebooted: sudo /sw/sbin/upsmon -D Network UPS Tools upsmon 2.7.4 0.000000 fopen /sw/var/run/upsmon.pid: No such file or directory 0.044649 UPS: ups at ip address (slave) (power value 1) 0.081597 Using power down flag file /etc/killpower 0.162720 debug level is '1' 0.538410 Trying to connect to UPS [ups at ip address] 0.540345 Logged into UPS
2016 Jan 07
3
Troubleshooting on OS X
...> dpsf/tinc-down #!/bin/sh ifconfig $INTERFACE down I followed the port instructions to the T. Any tips are greatly appreciated! I don't know much (anything) about tun/tap, but from googling, I know that tuntaposx was installed by port, but maybe it's badly misconfigured? > sudo launchctl load -w /Library/LaunchDaemons/org.macports.tuntaposx.plist /opt/local/etc/LaunchDaemons/org.macports.tuntaposx/org.macports.tuntaposx.plist: Operation already in progress > /Library/LaunchDaemons/org.macports.tuntaposx.plist <?xml version='1.0' encoding='UTF-8'?> <!DOC...
2017 Jun 15
0
Apple Mac slave
...ound --> > </array> > <key>KeepAlive</key> > <true/> > <key>SuccessfulExit</key> > <false/> <!-- Do not respawn at shutdown time --> > </dict> > </plist> > > > sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist > > Doesn?t return an error. But when I check of upsmon is running I don?t see it running. This works for me on 10.12.5. (There is a warning that SuccessfulExit is an "unknown key" from launchd.) $ sudo launchctl list|...
2012 Apr 24
1
Just installed wine, cannot open any applications. Help!
I am on my Mac, in Snow leopard, 10.6.8. Whenever I try to use wine to open a program or and application this message comes up in terminal: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! err:process:__wine_kernel_init boot event wait timed out I have no idea what this means and I cannot find anything
2017 Jun 15
0
Apple Mac slave
Ok did it again from scratch. I used the same plist file. sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist Doesn?t return an error: system.log: Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): Unknown key for Boolean: SuccessfulExit Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): This s...
2006 May 24
4
Apple Mail and too many open files?
...og like: May 24 07:31:10 top dovecot: pipe() failed: Too many open files To solve this, I have to kill -9 dovecot and the (many) imap processes running. The only client accessing the server is a machine running Apple Mail. I tried to increase the limit in the number of files (I did a "launchctl limit maxfiles 1024 unlimited", but the problem still happened. Is this a known problem? Should I allow still more files? Thanks, Alan -- Alan Schmitt <http://alan.petitepomme.net/> The hacker: someone who figured things out and made something cool happen. .O. ..O OOO -------...
2017 Jun 15
1
Apple Mac slave
...root to another user? which other rights are needed for this user to make it work? Kind Regards, Rob > On 15 Jun 2017, at 21:48, Robbie van der Walle <rvanderwalle at gmail.com> wrote: > > Ok did it again from scratch. > > I used the same plist file. > > sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist > > Doesn?t return an error: > > > system.log: > > Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): Unknown key for Boolean: SuccessfulExit > Jun 15 21:38:54 c01 com.apple.xpc.launchd...
2016 Jan 07
2
Troubleshooting on OS X
...; > ConnectTo = dpserver001 > > > > > dpsf/tinc-up > > #!/bin/sh > > ifconfig $INTERFACE 10.0.0.13 netmask 255.255.255.0 > > > > > dpsf/tinc-down > > #!/bin/sh > > ifconfig $INTERFACE down > > All that looks OK. > > > > sudo launchctl load -w > > /Library/LaunchDaemons/org.macports.tuntaposx.plist > > > /opt/local/etc/LaunchDaemons/org.macports.tuntaposx/org.macports.tuntaposx.plist: > > Operation already in progress > > Hm, that's weird. I don't know what that error message means here. > &g...
2015 May 16
1
How do I fix this: master: Warning: fd limit (ulimit -n) is lower than required
Yes,tried a range from 100 to 1000, but the warning still happens, with varying outputs saying its either over or under. I'm looung for a way to set the limit when dovecot starts, or as part of the startup process actually. ----- From my iPhone. > On 16 May 2015, at 1:54 pm, Edgar Pettijohn III <edgar at pettijohn-web.com> wrote: > > >> On May 16, 2015, at 4:10 AM,
2016 Jan 07
0
Troubleshooting on OS X
...009mac > AddressFamily = ipv4 > Interface = dpsfVPN > ConnectTo = dpserver001 > > > dpsf/tinc-up > #!/bin/sh > ifconfig $INTERFACE 10.0.0.13 netmask 255.255.255.0 > > > dpsf/tinc-down > #!/bin/sh > ifconfig $INTERFACE down All that looks OK. > > sudo launchctl load -w > /Library/LaunchDaemons/org.macports.tuntaposx.plist > /opt/local/etc/LaunchDaemons/org.macports.tuntaposx/org.macports.tuntaposx.plist: > Operation already in progress Hm, that's weird. I don't know what that error message means here. -- Met vriendelijke groet / with k...
2008 Jun 23
1
RSync on Mac
I’m having a heck of a time setting up an RSync server on a mac OS X system. I have run it as a daemon (--daemon) with a configuration file and have created a plist file and put it in the launch directory. Still can’t get a connection. When I run ths ps –E on the system, I don’t see rsync running. Any links to good setup docs? Brad No virus found in this outgoing message. Checked by
2010 Oct 08
0
Understanding puppetd --debug output
...ble => true } [...] } this is some debug output: [...] debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d does not exist debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist [...] debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist debug: Puppet::Type::Package...