Tag Info

Hot answers tagged

2

After wrestling with this for a long time, I added a simple function to my .bash_profile to make this easier: pgctl_func() { if [ -z $1 ]; then echo "usage: pgctl start|stop|restart" return 0 fi pgctl_cmd=$(mktemp -t "$0") echo 'source $HOME/pg_env.sh; ' > pgctl_cmd echo "pg_ctl -m fast $1" >> pgctl_cmd sudo ...


2

Update: As of March 2015 truncate is no longer available in Homebrew as a standalone formula. As truncate is part of GNU Coreutils you should install it on OS X with the following command: > brew install coreutils After installation truncate will be available under the name gtruncate. Note that all programs from Coreutils will be available with the ...


2

You probably have to adjust your Terminal settings using Terminal --> Preferences --> Settings --> Advanced --> (un)check Delete sends Control-H To troubleshoot and see what your Backspace is actually sending, enable network data debug in your Telnet by: telnet set netdata o [the Windows server name or IP] Now all characters sent (back and forth) will ...


1

2015-03-09T14:47:22.424+0000 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instance already running?, terminating Read the danged log line. Check for the existence of /data/db/, then check for the existence of a lock file at /data/db/mongod.lock. It's ...


1

I can--with some futzing--get SMTP plaintext auth disabled via Server.app, though it doesn't stick very well (certainly doesn't survive a reboot or restart of the Mail service, and sometimes even gets lost while poking around in Server.app). I realized that, as a temporary workaround, that I can at least automatically notify if the 'PLAIN' & 'LOGIN' ...


1

The answer is similar to the one you linked to. In the file /System/Library/LaunchDaemons/ssh.plist, you need to edit the Listeners item. The IP address can be specified with they key SockNodeName. When you're done, the Listeners part of the file should look something like this: <key>Listeners</key> <dict> ...



Only top voted, non community-wiki answers of a minimum length are eligible