Tag Info

Hot answers tagged

7

This is an error of getaddrinfo, which is called by monit to figure out the fqdn of your server. You must not have fqdn set up in your dns for your server.if you do not control the dns server, you may work around it by adding an entry in /etc/hosts like so: 192.168.x.y hakan hakan.local.domain where the first one is your server ip.


6

Redirection to /dev/tcp and /dev/udp pseudo-files is an optional compile-time feature of Bash which many OS vendors are electing to leave turned off. It would appear Apple has joined the club. You have a few options: Use Bash's process substitution feature like so: exec 3> >(nc localhost 9999) If you're doing this interactively, you will probably ...


5

I managed to fix this by enabling host I/O caching on my guest VM. Fire up the VM then run vagrant halt Open up VirtualBox and use the GUI to change the settings to enable the host I/O cache for the SATA controller. Re-package the base box: vagrant package. Remove and re-add the base box: vagrant box remove <box>; vagrant box add <box> ...


5

Liberally stolen from http://superuser.com/questions/187650/enable-file-sharing-only-when-on-home-wi-fi-network-in-mac-os-x : Even if slightly expensive, you can use NetworkLocation to autodetect your location, and after configuring it for your home network, add Application > Open an Application / Run Script and configure it so that it runs this ...


4

...Probably because you never created a user with that name in the Postgres system. Postgres has its own internal authentication and authorization mechanisms for users. The first time you connect to Postgres you need to connect as the initial user that was set up when you configured your database cluster (usually this user is called postgres or pgsql - or ...


4

You can try "route" to print you're routing table which will show you the destination networks and gateways for your various interfaces. If the IP addresses don't help you determine the interface easily, run "traceroute," after running route, look at the first hop and compare it with the associated gateways from "route," and voila - that's your interface. ...


3

If you don't need the old copy of the file, you can just remove it and create a symbolic link to /usr/local/php5/bin/php. You can use ln -s command. This will be easier than playing with your PATH variable.


3

If it works the way that Office does on Windows, which I'm assuming it does... This file is essentially the temporary file that holds current edits and details in the event that the program or computer crashes mid-edit. Like you said, it also contains locking information for multi-user environments. In Windows it works the same way but the file is marked ...


3

I haven't done the upgrade yet on any of our server machines running 10.6, but MySQL isn't included with Lion Server and the database controls are no longer there. Apple has a knowledge base entry on this.


3

You do not need to enable SMB sharing to use the scanner. The scanner should be configured to save scanned documents to a server on the network in question. You then make an outbound SMB connection to that server in order to retrieve those files. If the privacy of scanned documents is a concern, ensure that each user has a scan folder that is accessible only ...


3

Well, looking at this kb article, I would think that you could script something client side to adjust where they look for updates? If you look at the unmanaged clients section at the bottom, it gives two commands you can run to have clients look to your server for updates and how to change them back to Apple's. Maybe you could write a script that runs in ...


3

I believe /etc/sysctl.conf is still the right place (and man sysctl.conf agrees). Did you reboot? changes to /etc/sysctl.conf are not a real-time thing: They are only read/applied when the system enters multi-user mode during startup.


3

Looks like PHP CLI is using /etc/php.ini file, verify with: php -i | grep 'Configuration File' While Apache is loading the /private/etc/php.ini file: Configuration File (php.ini) Path /etc Loaded Configuration File /private/etc/php.ini Point to the right php.ini file which you want by PHPINIDir directive. EDIT Don't know why phpinfo() ignore ...


3

We could fix it with the help of one of the contributors from sunspot rails and returned to a release candidate gem verioned before the last update. gem 'sunspot_rails', :git => 'https://github.com/sunspot/sunspot.git', :ref => '79175ea' gem 'sunspot_solr', :git => 'https://github.com/sunspot/sunspot', :ref => '79175ea' This fixed the issue ...


3

Guess what... the Remote Desktop Client is available for Mac. You can tunnel that through the linux server via ssh quite easily... or VPN in if you really need/want to.


3

The solution that glenstory found can be distilled down to these steps: Turn off File Sharing in the Server application. Run these two commands in an OS X Terminal window, replacing MyShare in each line with the name of the network share you want to enable for TimeMachine: sudo defaults write /private/var/db/dslocal/nodes/Default/sharepoints/MyShare ...


3

This is actually the default behaviour :-) I strongly recommend you read up more from the following excellent resource, which is considered by many to be the definite description of DNS best practice in Mac OS X Server: Hoffman Labs: "DNS Tips: Establishing a DNS Server on Mac OS X Server 10.7 or 10.6" If you want to specify what DNS servers are consulted ...


3

I managed to fix it. Here's how: set the client's time to the network time from the windows server deleted the computer account off from the Active Directory restarted the Mac client! tried again...works fine Not really sure what was causing the problem, but it's now working. Thanks for the input!


2

The proxy configuration is trying to pass the request to localhost:8080. Whatever destination server is not accepting requests on port 8080


2

Start by stripping out all unnecessary configuration options. Get the setup to a bare-bones 'Im only serving HTML files' default configuration. Remove optimizations. Slowly start adding aspects back in a few at a time, restart your stack and test. If you're feeling ambitious, you can run strace on a single server process to get timings. Have a look at ...


2

FAT32 is your best option for read/write access from Windows, OS X and Linux with no third-party add-ons. Note that it won't support individual files larger than 4GB.


2

I've not tested Lion server directly, but I've done variations of this with just about every other version of Mac OSX client and server and its been fine. I've had Lion clients connecting to an Open Directory domain with a mix of Snow Leopard and Leopard Servers just fine. Open directory is based on a fairly mature set of principles and standards and - ...


2

check your /etc/my.cnf, or try to rename it to /etc/my.cnf.old. or you can check on your /etc/my.cnf is there any options --skip-locking ?, just remove it. and try to restart mysql again


2

My headhurts from fixing this. I found this discussion thread which allowed me to enable Time Machine Sharing for more than one volume. It's not as tricky as it sounds, but you do need to go step by step. The only things I had to do that weren't in this discussion thread were: I had to log in as root. Root was disabled in my server, so I had to enable ...


2

svn is looking for your authentication info that is saved in /home/username/.subversion/auth. But as Mike mentioned, the env is not the same under cron and $HOME is probably different. Try setting $HOME before running 'svn up'. In /etc/crontab: 0 0 * * * username export HOME=/home/username; /usr/bin/svn up /path/to/update


2

Through troubleshooting in chat, we found these error logs: [Fri Aug 12 00:56:10 2011] [error] [client 192.168.1.2] (20014)Internal error: Can't open file '\xe2\x80\x9c/usr/local/repo\xe2\x80\x9d/format': No such file or directory Which led us to the quotes in the config being those sneaky, pretty “” quotes, instead of config-friendly "" quotes. That ...


2

The location is still /etc/sysctl.conf or more precisely /private/etc/sysctl.conf. I had to tweak some settings because I wanted to run Postgresql on my machine and it turned out that I had to modify all of the five settings in order to get it running. So I created the file and put in something like this: kern.sysv.shmmax=1610612736 kern.sysv.shmmin=1 ...


2

How long has the Mac been bound to your AD environment? If its been a while, and by a while I mean the time it takes for your AD computer objects to negotiate the password change of the computer object. I think on OS X the default is 14 days. Set how often the computer trust account password should be changed $ dsconfigad -passinterval 0 I remember this ...


2

I tried both setting the interval to zero and setting a preferred domain controller, neither of which seemed to have any effect. I also (each time) deleted the "login" keychain and any reference to ActiveDirectory under the "System" keychain. And lots of rebooting. Nada. Unbinding and rebinding was the only way I could get the login password to take, and ...



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