1
vote
1answer
171 views

multiple postgresql installations in osx

I have multiple installations of postgres on my machine, and would like to narrow down to a single installation (macports flavor). I believe that OSX comes shipped with some sort of package, but I am ...
0
votes
1answer
315 views

Setup proxy with Apache 2.4 on Mac 10.8 [closed]

I have 1 application (Java) that running on my local machine (localhost:9000). I want to setup Apache as a front end proxy thus I used following configuration in the httpd.conf: <Directory /> ...
1
vote
0answers
305 views

Unattended silent install of Java on OS X Lion/Mountain Lion (OS X 10.7, 10.8)

As Java is not installed by defaults on Lion and Mountain Lion systems (OS X 10.7, 10.8) I would like to deploy it to all machines on our network. I understand that I can simply download the .pkg and ...
3
votes
4answers
663 views

Get the interface and ip address used to connect to a specific host (ip)

I'm sure this has been asked and answered before, but I wasn't able to find it, so hopefully this will at least link someone to the right place. I want to find out my local interface and ip address ...
0
votes
1answer
635 views

Why does “cp -Rp ~/foo /Volumes/KINGSTON” give “cp: chflags: /Volumes/KINGSTON/Proj/Proj/Color.h: Invalid argument” [closed]

This is on Mac OS X Lion, and I use the following to back up a project folder cp -Rp ~/foo /Volumes/KINGSTON or cp -a ~/foo /Volumes/KINGSTON The -p or -a is so that the timestamps of the files ...
1
vote
3answers
550 views

Mac OSX Lion: Switch on SMB share depending on network connection

we have a Scanner that can save the scanned documents to an SMB share. So I need to switch on SMB sharing on the Mac - should be no problem. Issue: The Mac is a MacBook, which will also be used in ...
2
votes
2answers
511 views

How are group ids assigned?

I want to create a developers group on my OS-X system. I'm executing: sudo dscl . -create /groups/developers sudo dscl . -append /groups/developers passwd 'blah' My understanding from reading ...
0
votes
1answer
660 views

MySQL on Mac OS X Lion - can't connect over internet

I've installed MySQL on OSX Lion, however I can't connect to the MySQL server via phpMyAdmin (or Sequel Pro). I have a domain with 1and1, and created a sub domain (server.domain.com) and created an A ...
2
votes
1answer
185 views

Migrating from OS X Server 10.6.6 to 10.7 (Lion) - any worries?

I use the built-in server features of OS X Snow Leopard Server to run a local copy of Apache, MySQL, PHP, and Perl. I develop against these so it is very important to me that they stay available after ...
3
votes
2answers
487 views

OS X 10.7 doesn't detect my WPA2 Enterprise server-side password changes

I have a Meraki wifi network that's authenticating via RADIUS to an Active Directory. Users log in with their AD username and password via WPA2. That all works. However, when a user changes their ...
0
votes
1answer
840 views

Cannot access psql after installing postgres

I installed postgresql via homebrew on my 10.7.3. The install seemed successful and I was able to start up the server. However when I try to access psql I get the following error: psql: FATAL: role ...
4
votes
2answers
3k views

Modifying kernel shared memory settings on a lion install

What's the location of the sysctl.conf file on lion? In Snow Leopard it was in /etc/sysctl.conf but now that folder doesn't contain it anymore. Searching for the file in spotlight yields no results. ...
1
vote
1answer
2k views

Redirect URL using Mac OS X Server Lion

I have just set up a Mac Mini with OS X Lion Server to host my own website. I have registered multiple domain names, but I would like the user to be automatically redirected to my main domain name if ...
4
votes
3answers
6k views

Active Directory password update not recognized on OS X 10.7.3?

We have a few Macs in our office which are bound to our Active Directory (Server 2k8R2) domain for login authentication and access to file shares. For the most part this has worked without trouble. I ...
1
vote
1answer
773 views

Remove MySQL (from Apple) on OS X Server Lion

I have a Lion Server (upgraded from a Snow Leopard Server), which still has the Apple provided MySQL 5.0 server [mysql Ver 14.12 Distrib 5.0.92, for apple-darwin10.0 (i386)]. Without out rebuilding ...
2
votes
1answer
2k views

Monit won't start: “Cannot translate '<hostname>' to FQDN name — nodename nor servname provided”

I installed monit-5.3.2 on OS X 10.7 but haven't been able to get it running. When I run sudo monit -t I get: monit: Cannot translate 'hakan' to FQDN name -- nodename nor servname provided, or not ...
1
vote
0answers
939 views

Slow web server on first request, second request is much faster [closed]

I have been using the build-in Apache in Lion (and previously Snow Leopard) to develop php sites locally. But something is bothering me for a while which I don't have an answer for. Every time I do ...
0
votes
1answer
2k views

Lion DNS Server: How to redirect queries to remote dns server?

I want to set up our Mac OS X Lion DNS server to host a specific domain internally, but redirect all other queries to our providers dns servers. How can I achieve this? I have read the docs but ...
1
vote
0answers
340 views

OSX Lion SFTP Chroot

I am looking to allow my SFTP users on my OSX Lion box to be chrooted so they cannot see anything else. I know about the usual changes in the sshd_config that match the user and set the chroot ...
0
votes
1answer
584 views

Running nmap over vpn on Mac OS X 10.7 Lion fails

When connected to VPN (I have used OpenVPN and TunnelBear VPN service) nmap stops working. Ping, nc and other network tools work however nmap doesnt. When not running vpn, I get: $ sudo nmap ...
0
votes
0answers
259 views

QNAP How to make some shares available to macs only?

I have a 'problem' with my QNAP, on the Mac devices - they show up the AFP and the SAMBA shares, so that shares show up twice. I also have windows users, so I'm wondering how can I prevent this ...
0
votes
1answer
505 views

MAMP MySQL won't start

I uninstalled MAMP completely, downloaded fresh copy of MAMP 2 from the MAMP website, did a clean install. However, when I try to start mysql, I get the following error log 111120 21:37:49 ...
0
votes
1answer
321 views

Solr connection refused error after java update on Mac OS X Lion

I recently updated Java for Mac OS X 10.7-Update 1. After that I recognized that in my local development application under Rails 3.0.10 with sunspot/solr the solr-server starts correctly 0:03.80 ...
1
vote
2answers
2k views

vagrant up command very slow on OS X Lion

When I run vagrant up to provision a new VM on Lion it takes an extremely long time, during which the entire Mac is very laggy and unresponsive. The output is as follows, the key point being the ...
2
votes
1answer
342 views

OS X Lion Server not able to set Open Directory user account to store home directory on server

I'm setting up a new Mac Mini server for a client that came with Lion Server. The Mac Mini will act as an Open Directory server and will store each Mac user in the office's home directory on it. It's ...
0
votes
2answers
5k views

PostgreSQL under Mac OSX Lion. Wrong userpass?

I'm completely helpless, maybe you guys can help me out. I installed PostgreSQL under my new MacOSX Lion. When I try to connect to my localhost with pgAdminIII.app it says: Error connecting to the ...
1
vote
0answers
830 views

Problems with multicast under Mac OSX Lion

We have been developing our Java applications under OSX for some time. Since switching to OSX Lion (version 10.7.1 now), we see sporadic issues around multicast packets going into the bit bucket and ...
2
votes
2answers
2k views

Could not open the requested SVN filesystem

When i go to http://localhost/repo/myproject/ and enter password this information is displayed: This XML file does not appear to have any style information associated with it. The document tree is ...
2
votes
5answers
1k views

SVN command works in shell but not in cron. Why not?

I use cron to run an 'svn up' nightly on a directory of files that I need to keep up to date locally while others are working on them. This used to work fine, with a simple: /usr/bin/svn up ...