Monit won’t start: “Cannot translate ” 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 known Control file syntax OK When I run sudo monit restart all I get: monit: Cannot translate ‘hakan’ to FQDN name — nodename nor servname provided, or not known monit: Cannot connect to the monit daemon. Did you [...]
Continue Reading »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 shown below. <D:error xmlns:D=”DAV:” xmlns:m=”http://apache.org/dav/xmlns” xmlns:C=”svn:”> <C:error/> <m:human-readable errcode=”2″>Could not open the requested SVN filesystem</m:human-readable> </D:error> This is my httpd-svn.conf: <Location /repo> DAV svn SVNPath “/usr/local/repo” AuthType Basic AuthName “Subversion repository” AuthUserFile /etc/users Require valid-user</Location>$ ls -la drwxr-xr-x 3 _www wheel 102 Aug 11 22:22 [...]
Continue Reading »Setting up VirtualHost on OSX 10.7 (Lion)
I’ve finally made the switch to Lion but I’m having trouble setting up an Apache VirtualHost. This is what I’ve done so far and I’m not sure why it’s not working. 1) In /etc/apache2/httpd.conf I uncommented this this line: Include /private/etc/apache2/extra/httpd-vhosts.conf 2) In the httpd-vhosts.conf I put this: NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost DocumentRoot “/Library/WebServer/Documents” </VirtualHost><VirtualHost *:80> ServerName work.local DocumentRoot “/Users/me/Work” <Directory /Users/me/Work> Order allow,deny Allow from all </Directory> </VirtualHost> 3) Then I created [...]
Continue Reading »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 couldn’t find anything about it. Asked by Tronic 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 [...]
Continue Reading »NGINX on OSX – Performing terribly slow
I I’ve been trying to get NGINX up and running on my OSX 10.7 Lion computer. I have it running however simple html pages every few are taking a long time to load; for example: <html> <body> test </body> </html> Same thing happens with php: <?php echo(‘hi’); ?> If i hit refresh, it seems as it’s almost rebuilding the entire page before it renders and creating some kind of object. Just painfully slow.. This seems [...]
Continue Reading »Resetting root password for MySQL problems (Mac OS X Lion)
I’ve been trying to reset the root password, and have been following these instructions: http://www.coolestguyplanet.net/how-to-change-the-mysql-root-password/ However, when I use the command: /usr/local/mysql/bin/mysqld_safe –skip-grant-tables I receive the following output: 111217 10:00:42 mysqld_safe Logging to ‘/usr/local/mysql/data/******-********-MacBook-Pro.local.err’. 111217 10:00:42 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data /usr/local/mysql/bin/mysqld_safe: line 107: /usr/local/mysql/data/********-********-MacBook-Pro.local.err: Permission denied /usr/local/mysql/bin/mysqld_safe: line 144: /usr/local/mysql/data/*******-**********-MacBook-Pro.local.err: Permission denied 111217 10:00:42 mysqld_safe mysqld from pid file /usr/local/mysql/data/*********-********-MacBook-Pro.local.pid ended /usr/local/mysql/bin/mysqld_safe: line 107: /usr/local/mysql/data/*******-*********-MacBook-Pro.local.err: Permission denied **********-*********-MacBook-Pro:~ myname$ Why would [...]
Continue Reading »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 easy to set this by using the Server.app tool and choosing a local share for the home directory. However it seems that I can’t set it. When I try to choose the share instead of [...]
Continue Reading »Apache Tomcat run on port 80 on Mac Lion. It says the port are used?
I need to have a homepage running on my Mac that external users can use. I thought the easiest way, was to make Apache Tomcat running on port 80. But when i try it says that the port are in use. I can’t see anything that are using port 80. What to do??? Since Tomcat is listening on port 80, you need to start it up using sudo. For example: sudo catalina.sh start (I already [...]
Continue Reading »Apache Tomcat run n port 80 on Mac Lion. It says the port are used?
I need to have a homepage running on my Mac that externel users can use. I thourgh the easies way, was to make Apache Tomcat running on port 80. But when i try it says that the port are in use. I can’t se anything that are using port 80. What to do??? Since Tomcat is listening on port 80, you need to start it up using sudo. For example: sudo catalina.sh start (I already [...]
Continue Reading »Recent Posts
- What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?
- Know if mysql has done its job
- Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change
- Why is it a bad idea to use customer email as from address
- 100% packets dropped on first RX queue on 3/5 raid6 iSCSI NAS devices using intel igb (resolved)



