<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>DIYMacServer &#187; Tag: Error - Recent Topics</title>
<link>http://diymacserver.com/forum/</link>
<description>DIYMacServer &#187; Tag: Error - Recent Topics</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 06:30:28 +0000</pubDate>

<item>
<title>Lindhardsen on "Problem with SQLGrey and MySQL"</title>
<link>http://diymacserver.com/forum/topic/problem-with-sqlgrey-and-mysql#post-937</link>
<pubDate>Mon, 04 Apr 2011 10:35:47 +0000</pubDate>
<dc:creator>Lindhardsen</dc:creator>
<guid isPermaLink="false">937@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;I have a problem that has been keeping me puzzled since I installed my OSX &#34;Server&#34; in October:&#60;/p&#62;
&#60;p&#62;When I restart my server, postfix cannot connect to Dovecot. This it turns out, is related to that postgrey cannot ponnect to the database.&#60;br /&#62;
For some reason, sqlgrey is trying to connect to the socket (I assume) /tmp/mysql.sock!&#60;/p&#62;
&#60;p&#62;The workaround for this is simple, just create a link from the socket file /private/var/mysql/mysql.sock to /tmp/mysql.sock using:&#60;br /&#62;
&#34;ln /private/var/mysql/mysql.sock /tmp/mysql.sock&#34;.&#60;br /&#62;
The disadvantage of this, is that /tmp is emptied on every restart of the server, so I have to manually run this command after each restart.&#60;/p&#62;
&#60;p&#62;But WHY is this happening? Looking in my sqlgrey.conf, I have the following connection settings:&#60;br /&#62;
db_type = mysql&#60;br /&#62;
db_name = sqlgrey&#60;br /&#62;
# Note: the following are not used with SQLite&#60;br /&#62;
db_host = localhost&#60;br /&#62;
db_port = default&#60;/p&#62;
&#60;p&#62;Which is the same as any other component that uses MySQL on the system, and all other works fine!&#60;br /&#62;
I have tried to change the location of the mysql.sock file, but that basically causes all other components to fail :-(&#60;/p&#62;
&#60;p&#62;Is there a hidden setting in perl (which sqlgrey is built upon), which points to an alternative mysql location?&#60;/p&#62;
&#60;p&#62;Alternatively how can I prevent OSX from deleting the /tmp/mysql.sock link on shutdown?&#60;/p&#62;
&#60;p&#62;What I see in my system.log file is this:&#60;br /&#62;
Apr  4 10:38:52 Minin com.diymacserver.sqlgrey[357]: dbaccess: can't connect to DB: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&#60;br /&#62;
Apr  4 10:38:52 Minin com.diymacserver.sqlgrey[357]: dbaccess: error: couldn't get now() from DB: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
Jan
&#60;/p&#62;</description>
</item>
<item>
<title>yudixue on "Error on Apache make"</title>
<link>http://diymacserver.com/forum/topic/error-on-apache-make#post-448</link>
<pubDate>Tue, 18 Mar 2008 06:14:15 +0000</pubDate>
<dc:creator>yudixue</dc:creator>
<guid isPermaLink="false">448@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi there, &#60;/p&#62;
&#60;p&#62;I have followed this post &#60;a href=&#34;http://diymacserver.com/2007/11/17/compiling-apache-on-leopard/&#34; rel=&#34;nofollow&#34;&#62;http://diymacserver.com/2007/11/17/compiling-apache-on-leopard/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, I got error from executing make:&#60;/p&#62;
&#60;p&#62;Undefined symbols:&#60;br /&#62;
  &#34;_BIO_set_callback_arg&#34;, referenced from:&#60;br /&#62;
      _start_connect in ab.o&#60;br /&#62;
  &#34;_BIO_get_callback_arg&#34;, referenced from:&#60;br /&#62;
      _ssl_print_cb in ab.o&#60;br /&#62;
  &#34;_SSL_CTX_set_info_callback&#34;, referenced from:&#60;br /&#62;
      _main in ab.o&#60;br /&#62;
  &#34;_BIO_set_callback&#34;, referenced from:&#60;br /&#62;
      _start_connect in ab.o&#60;/p&#62;
&#60;p&#62;I have been poking around net and a couple of guys have same problem I had, but no solution has been posted.&#60;/p&#62;
&#60;p&#62;Can anyone help? thanks a lot!&#60;/p&#62;
&#60;p&#62;Yudi
&#60;/p&#62;</description>
</item>
<item>
<title>mastertk on "PHP doesn&#039;t install &#039;&#039;addtype&#039;&#039; in httpd.conf"</title>
<link>http://diymacserver.com/forum/topic/php-doesnt-install-addtype-in-httpdconf#post-520</link>
<pubDate>Sun, 10 Aug 2008 08:59:47 +0000</pubDate>
<dc:creator>mastertk</dc:creator>
<guid isPermaLink="false">520@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hello,&#60;br /&#62;
I am new in the webserver installing on mac.&#60;br /&#62;
I have a mac mini (1.83GHZ) and I have installed mysql and apache with success,&#60;br /&#62;
I installed everything within the root account.&#60;br /&#62;
But when i compile php it doesn't add these two lines in httpd.conf&#60;/p&#62;
&#60;p&#62;AddType application/x-httpd-php .php .phtml&#60;br /&#62;
AddType application/x-httpd-php-source .phps&#60;/p&#62;
&#60;p&#62;The strange thing is that this line does get added:&#60;/p&#62;
&#60;p&#62;LoadModule php5_module modules/libphp5.so&#60;/p&#62;
&#60;p&#62;I used PHP 5.2.6&#60;br /&#62;
And Apache 2.2.9&#60;br /&#62;
and mysql: Mac OS X 10.5 (x86)		5.0.67&#60;br /&#62;
With the source file: Compressed GNU TAR archive (tar.gz)		5.0.67&#60;/p&#62;
&#60;p&#62;I hope someone can tell me how to solve this problem.&#60;/p&#62;
&#60;p&#62;KInd Regards, Thomas
&#60;/p&#62;</description>
</item>
<item>
<title>wkanoff on "Unrecognized options:"</title>
<link>http://diymacserver.com/forum/topic/unrecognized-options#post-501</link>
<pubDate>Fri, 20 Jun 2008 06:15:30 +0000</pubDate>
<dc:creator>wkanoff</dc:creator>
<guid isPermaLink="false">501@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I tried to compile Apache 2.2.9 on a Quicksilver 800 with OS X 10.4.11 and I received the following:&#60;br /&#62;
williams-place:~/Desktop/httpd-2.2.9 wKanoff$ CFLAGS=&#34;-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Wno-pointer-sign&#34; \&#60;br /&#62;
&#38;gt; ./configure \&#60;br /&#62;
&#38;gt; --enable-layout=William \&#60;br /&#62;
&#38;gt; --enable-mods-shared=all \&#60;br /&#62;
&#38;gt; --with-ssl=/usr \&#60;br /&#62;
&#38;gt; --with-mpm=prefork \&#60;br /&#62;
&#38;gt; --enable-ssl \&#60;br /&#62;
&#38;gt; --enable-dav \&#60;br /&#62;
&#38;gt; --enable-cache \&#60;br /&#62;
&#38;gt; --enable-proxy \&#60;br /&#62;
&#38;gt; --enable-shared \&#60;br /&#62;
&#38;gt; --disable-static \&#60;br /&#62;
&#38;gt; --disable-unique-id \&#60;br /&#62;
&#38;gt; --disable-ipv6 \&#60;br /&#62;
&#38;gt; --enable-logio \&#60;br /&#62;
&#38;gt; --enable-deflate \&#60;br /&#62;
&#38;gt; --with-ldap \&#60;br /&#62;
&#38;gt; --with-ldap-include=/usr/include \&#60;br /&#62;
&#38;gt; --with-ldap-lib=/usr/lib \&#60;br /&#62;
&#38;gt; --with-included-apr \&#60;br /&#62;
&#38;gt; --enable-ldap \&#60;br /&#62;
&#38;gt; --enable-auth-ldap \&#60;br /&#62;
&#38;gt; --enable-cgi \&#60;br /&#62;
&#38;gt; --enable-cgid \&#60;br /&#62;
&#38;gt; --enable-suexec&#60;br /&#62;
configure: WARNING: Unrecognized options: --enable-shared, --disable-static, --disable-ipv6, --with-ldap, --with-ldap-include, --with-ldap-lib, --enable-auth-ldap
&#60;/p&#62;</description>
</item>
<item>
<title>Whisller on "Install newest PHP ( 5.2.6 ) on Leopard - with &#34;Leopard&#34; Apache installation."</title>
<link>http://diymacserver.com/forum/topic/install-newest-php-526-on-leopard-with-leopard-apache-installation#post-493</link>
<pubDate>Sun, 15 Jun 2008 17:36:27 +0000</pubDate>
<dc:creator>Whisller</dc:creator>
<guid isPermaLink="false">493@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a fresh version of Leopard - just reinstalled. And I'm tried to install PHP ( I must recompile it because I must add support for PostgreSQL ).&#60;br /&#62;
So I tried install it on apache which is installed default by Leopard ( configuration is good etc. so why don't use it :) ), but it was first mistake ;p&#60;br /&#62;
After sudo make install and trying to restart apache it return an critical error.&#60;/p&#62;
&#60;p&#62;httpd: Syntax error on line 114 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture&#60;/p&#62;
&#60;p&#62;Huh and what now, I say to myself. But google show me the small information. And I found that Apache from Leopard is on 64-bit architecture.&#60;br /&#62;
I checked it by httpd -V, and it is true&#60;/p&#62;
&#60;p&#62;Server version: Apache/2.2.6 (Unix)&#60;br /&#62;
Architecture:   64-bit&#60;/p&#62;
&#60;p&#62;So I tried to use CFLAGS='-arch x86_64' before ./configure, but after It I cannot do make because it crash all the time :/&#60;br /&#62;
I try to remove all PHP files.&#60;/p&#62;
&#60;p&#62;Maybe you also saw this error?&#60;br /&#62;
I will be glad if someone will help me.
&#60;/p&#62;</description>
</item>
<item>
<title>Jim on "Apache start error"</title>
<link>http://diymacserver.com/forum/topic/apache-start-error#post-343</link>
<pubDate>Sun, 25 Mar 2007 15:18:10 +0000</pubDate>
<dc:creator>Jim</dc:creator>
<guid isPermaLink="false">343@http://diymacserver.com/forum/</guid>
<description>&#60;p&#62;I have installed MySQL en Apache but with sudo /usr/local/apache2/bin/apachectl start I get this error message:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;httpd: Could not reliably the server's fully qualified name, ising imac-van-jim.local for ServerName&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;When I put in the apachectl configtest command I get this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Syntax error on line 45 of /ect/httpd/httpd/conf:&#60;br /&#62;
API module structure 'authn_file_module' in file /usr/local/apache2/modules/mod_authn_file.so is garbled - perhaps this is not an Apache module DSO?&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Anyone has an idea what's wrong?
&#60;/p&#62;</description>
</item>
<item>
<title>Richard on "Don&#039;t know if it is Working"</title>
<link>http://diymacserver.com/forum/topic/dont-know-if-it-is-working#post-106</link>
<pubDate>Mon, 25 Sep 2006 22:01:32 +0000</pubDate>
<dc:creator>Richard</dc:creator>
<guid isPermaLink="false">106@http://diymacserver.com/forum/</guid>
<description>Thom forgot to uncomment:&#60;br /&#62;
&#60;p&#62;&#60;code&#62;MYSQL_MAILDIR_FIELD&#38;nbsp; &#38;nbsp; &#38;nbsp;maildir&#60;/code&#62;&#60;/p&#62;&#60;br /&#62;
in /usr/local/etc/authlib/authmysqlrc</description>
</item>

</channel>
</rss>

