Tag Info

Hot answers tagged

8

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

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.


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

You can use ip route get to find and output the route which would be used for a specified destination. The output should include the interface and source address. % ip route get 8.8.8.8 8.8.8.8 via 172.16.4.1 dev eth1 src 172.16.4.36


3

Try to find mysql_secure_install and run it. This script will allow you to reset root password among all other things. Possible paths is /usr/local/mysql/bin/mysql_secure_installation Hope this helps!


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

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 ...


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 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

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

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 ...


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

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!


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.


2

What filesystem is your KINGSTON formatted to? If it is FAT32, I would guess the file you have mentioned have some attributes which cannot be set on a file in the FAT32 filesystem. In that case, if all you want to preserve is the timestamp, you may: Switch to use some other command for backup, such as rsync Reformat your KINGSTON flash drive to HFS+ Remove ...


2

A possiblly easier thing to do is delete the keychain entry for the wifi, or just change the password in keychain. Sorry I don't have a better option off hand.


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



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