Questions tagged [mac-osx]

Mac OS X is an operating system from Apple Inc. It was the successor to Mac OS 9 and here the 'X' means 10. Mac OS X is based upon the NeXTSTEP and OpenStep OSes developed in the 1980s and 1990s by NeXT Inc., which Apple purchased in 1996.

Mac OS X consists of a Mach/BSD-based kernel, userland primarily based on FreeBSD, and additional frameworks (written in C, C++ and Objective-C) providing user interface and application-level services.

2425 questions
26
votes
4 answers

MySQL server PID file could not be found

I can start MySQL fine, /usr/local/mysql/support-files/mysql.server start Starting MySQL SUCCESS! But any MySQL action after that I get the error: MySQL server PID file could not be found /usr/local/mysql/support-files/mysql.server…
simpleengine
  • 405
  • 1
  • 4
  • 6
26
votes
7 answers

Resolving to virtual host very slow on Mac OS X Lion

Since upgrading to Mac OS X Lion (from Snow Leopard), I have noticed that resolving to a virtual host is very slow (between about 3 seconds). I have found a number of tips (e.g., not using the .local TLD) that might resolve this, but they do not…
Bart Jacobs
  • 263
  • 1
  • 3
  • 9
26
votes
5 answers

How do I identify the file system of a drive in Mac OS?

I have an external drive hooked up to my Mac, and I'm trying to determine things like, e.g., is this HFS or FAT, is it 32-bit or 64-bit, etc. It seems like there should be some trivial command that gives me this info, but I can't seem to find one.…
David Moles
  • 444
  • 1
  • 4
  • 13
26
votes
1 answer

Receiving error apr_socket_connect(): Invalid argument (22) when running apache bench (ab) on OSX

I received the following error on Apache bench: apr_socket_connect(): Invalid argument (22) when trying to connect to http://localhost:9202.
kurious
  • 851
  • 7
  • 7
25
votes
4 answers

How can I retrieve the absolute filename in a shell script on Mac OS X?

I'd like to retrieve the absolute file name of the script file that's currently executed. Links should be resolved, too. On Linux, this seems to be done like this: $(readlink -mn "$0") but readlink seems to work very differently on Mac OS X. I've…
Huxi
  • 361
  • 1
  • 4
  • 6
24
votes
4 answers

OSX mojave: "crontab: tmp/tmp.X: Operation not permitted"

After updating my OSX to Mojave, it seems I am no longer able to edit my crontab. Any attempt to do so results in the error message on the title of this question. I tracked crontab to /private/var/at and the permissions are the same as another…
Joao Encarnacao
  • 343
  • 1
  • 2
  • 4
24
votes
1 answer

Hostname to Localhost with Port - OSX

I am trying to run multiple Node.js web servers locally on my machine. Because the code I'm writing needs to reference a domain name I'd like to keep a convention of dev.myHost.com and point that to the non-port-80 service running from Node…
mondo
  • 383
  • 1
  • 2
  • 4
24
votes
3 answers

How does one escape the " ` " (accent grave/backtick) in a path?

I tend to prefix oft-used files and folders with the "accent grave" character (non-shift tilde, the back-tick, or plain-old accent, whathaveyou..), as it is easy to get at, and let's me sort things alphabetically, while letting me choose to show a…
mralexgray
  • 1,353
  • 3
  • 12
  • 29
22
votes
4 answers

What is Time Machine doing?

Sometimes OS X tells me that it's "Preparing backup..." for an enormous amount of time. The time it takes seems to have no correlation to the amount of data to be backed up. Same for the "Finishing backup..." stage. The question: what is OS X doing…
Stephen Darlington
  • 339
  • 1
  • 3
  • 8
22
votes
4 answers

Apache runs as which user, group under OS X 10.6?

Anyone know the default user/group for Apache under OS X (10.6)? I'd like to set permissions correctly. Already enabled Web Sharing, etc.
Jake McGraw
  • 910
  • 1
  • 8
  • 17
22
votes
8 answers

Where does MySQL store its database files on OS X?

As I would like to move those files from one server to another server, while the database is offline.
Alessandro Vernet
  • 557
  • 2
  • 4
  • 9
22
votes
7 answers

Postfix aliases and duplicate e-mails, how to fix?

I have aliases set up in postfix, such as the following: all@mydomain.com: foo@mydomain.com, bar@mydomain.com ... When an email is sent to all@mydomain.com, and any of the recipients in that alias is cc:ed which is quite common (ie: "Reply…
Marcus Stade
  • 329
  • 2
  • 5
  • 16
22
votes
3 answers

Can I create my own S/MIME certificate for email encryption?

I'm having a bit of an issue here. Bear with me as this may be a case of "not asking the right question". Background: Using Apple Mail. Want to encrypt/decrypt email but GPGMail (and apparently PGP) isn't supported with Snow Leopard. Basically I…
21
votes
1 answer

Mount NFS volume on Ubuntu Linux server from macOS client

I have an Ubuntu 20.04 server (a local VM in my case). How do I mount a directory on the Linux server from a macOS Catalina client, using NFS?
Jo Liss
  • 2,878
  • 2
  • 23
  • 23
21
votes
5 answers

How to delete a route on a specific interface?

When I start a VPN connection, a new default route is added on the utun0 interface: Destination Gateway Flags Refs Use Netif Expire default utun0 UCS 21 0 utun0 default …
mgryszko
  • 311
  • 1
  • 2
  • 4