<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Internal Server Error, new install]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4202.xml" />
	<updated>2012-11-28T06:09:32Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4202-internal-server-error-new-install.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Internal Server Error, new install]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19275.html#p19275" />
			<content type="html"><![CDATA[<p>Thanks for your feedback, and glad to hear that it now works for you.</p><div class="quotebox"><cite>redshirt wrote:</cite><blockquote><p>Also note that the change in the hostname is required in /etc/rc.conf (not hosts):<br />hostname=&quot;jailserver.domain.net&quot;</p></blockquote></div><p>Tutorial was updated to include this fix: Add FQDN hostname in /[JAIL]/etc/rc.conf.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-11-28T06:09:32Z</updated>
			<id>http://www.iredmail.org/forum/post19275.html#p19275</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internal Server Error, new install]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19271.html#p19271" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Linux/BSD distribution name and version: PC-BSD 9.1-RC3, amd64, freebsd, in jail<br />- Related log if you&#039;re reporting an issue: /var/log/httpd-error.log<br />====</p><p>OK, install is working now. I used the exact instructions for the install script:</p><p>Jail # bash<br />bash # cd /root/iRedMail/<br />bash # LOCAL_ADDRESS=&#039;192.168.xxx.nnn&#039; bash iRedMail.sh</p><p>where xxx.nnn are actual numbers for the jail ip address.</p><p>Also note that the change in the hostname is required in /etc/rc.conf (not hosts):</p><p>hostname=&quot;jailserver.domain.net&quot;</p><p>For this jail &#039;The Warden&#039; software is used to setup the jails. (PC-BSD specific gui for jail management.) The nice thing is it can load some default configs at setup if desired, and can assign each jail its own zfs file system (cool advanced file system).</p><p>Now all I have to do is move my old emails over to the new server.</p><p>Thank you Zhang!</p><p>PS: postfix27 installed without intervention required this time.</p>]]></content>
			<author>
				<name><![CDATA[redshirt]]></name>
				<uri>http://www.iredmail.org/forum/user16296.html</uri>
			</author>
			<updated>2012-11-28T02:05:44Z</updated>
			<id>http://www.iredmail.org/forum/post19271.html#p19271</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internal Server Error, new install]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19255.html#p19255" />
			<content type="html"><![CDATA[<p>A little more digging and there is no database at /var/lib/ (per .tips file):</p><p>root@blahmail:/var/lib # ll<br />total 17<br />drwxr-xr-x&nbsp; 2 vscan&nbsp; vscan&nbsp; 3 Nov 25 23:16 dkim/<br />drwxr-xr-x&nbsp; 3 root&nbsp; &nbsp;wheel&nbsp; 3 Nov 25 23:16 dovecot/</p><p>but it is here:</p><p>root@blahmail:/var/db # ll<br />total 110<br />drwxr-xr-x&nbsp; &nbsp; 2 clamav&nbsp; &nbsp; clamav&nbsp; &nbsp; &nbsp; 6 Nov 27 02:20 clamav/<br />drwxr-x---&nbsp; &nbsp; 2 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; &nbsp;5 Nov 26 14:45 dovecot/<br />drwx------&nbsp; &nbsp; 2 operator&nbsp; operator&nbsp; &nbsp;10 Nov 27 02:55 entropy/<br />drwx------&nbsp; &nbsp; 2 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; &nbsp;2 Nov&nbsp; 5 21:27 freebsd-update/<br />drwx------&nbsp; &nbsp; 2 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; &nbsp;2 Nov&nbsp; 5 21:27 ipf/<br />-rw-r--r--&nbsp; &nbsp; 1 nobody&nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; &nbsp;0 Nov&nbsp; 5 21:28 locate.database<br />drwxr-xr-x&nbsp; &nbsp; 5 mysql&nbsp; &nbsp; &nbsp;mysql&nbsp; &nbsp; &nbsp; 10 Nov 26 02:19 mysql/<br />drwxr-xr-x&nbsp; 169 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp;169 Nov 25 23:15 pkg/<br />drwxr-xr-x&nbsp; &nbsp;40 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; 40 Nov 25 20:17 ports/<br />drwxr-xr-x&nbsp; &nbsp; 2 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; &nbsp;2 Nov&nbsp; 5 21:27 portsnap/<br />drwx------&nbsp; &nbsp; 2 postfix&nbsp; &nbsp;wheel&nbsp; &nbsp; &nbsp; &nbsp;4 Nov 27 01:54 postfix/<br />drwxr-xr-x&nbsp; &nbsp; 4 root&nbsp; &nbsp; &nbsp; wheel&nbsp; &nbsp; &nbsp; &nbsp;4 Nov 25 23:19 spamassassin/</p><p>and in mysql folder...</p><p>root@blahmail:/var/db/mysql # ll<br />total 28752<br />-rw-rw----&nbsp; 1 mysql&nbsp; mysql&nbsp; &nbsp;5242880 Nov 26 02:19 ib_logfile0<br />-rw-rw----&nbsp; 1 mysql&nbsp; mysql&nbsp; &nbsp;5242880 Nov 25 23:15 ib_logfile1<br />-rw-rw----&nbsp; 1 mysql&nbsp; mysql&nbsp; 18874368 Nov 26 02:19 ibdata1<br />-rw-rw----&nbsp; 1 mysql&nbsp; mysql&nbsp; &nbsp; &nbsp; 4627 Nov 26 02:19 blahmail.blah.net.err<br />-rw-rw----&nbsp; 1 mysql&nbsp; mysql&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6 Nov 26 02:19 blahmail.blah.net.pid<br />drwx------&nbsp; 2 mysql&nbsp; mysql&nbsp; &nbsp; &nbsp; &nbsp; 74 Nov 25 23:15 mysql/<br />drwx------&nbsp; 2 mysql&nbsp; mysql&nbsp; &nbsp; &nbsp; &nbsp; 20 Nov 25 23:15 performance_schema/<br />drwx------&nbsp; 2 mysql&nbsp; mysql&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 Nov 25 23:15 test/</p><p>The error log shows this:</p><p>121126 02:19:17 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql<br />121126&nbsp; 2:19:17 InnoDB: The InnoDB memory heap is disabled<br />121126&nbsp; 2:19:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins<br />121126&nbsp; 2:19:17 InnoDB: Compressed tables use zlib 1.2.7<br />121126&nbsp; 2:19:17 InnoDB: Initializing buffer pool, size = 128.0M<br />121126&nbsp; 2:19:17 InnoDB: Completed initialization of buffer pool<br />121126&nbsp; 2:19:17 InnoDB: highest supported file format is Barracuda.<br />121126&nbsp; 2:19:17&nbsp; InnoDB: Waiting for the background threads to start<br />121126&nbsp; 2:19:18 InnoDB: 1.1.8 started; log sequence number 1595675<br />121126&nbsp; 2:19:18 [Note] Server hostname (bind-address): &#039;0.0.0.0&#039;; port: 3306<br />121126&nbsp; 2:19:18 [Note]&nbsp; &nbsp;- &#039;0.0.0.0&#039; resolves to &#039;0.0.0.0&#039;;<br />121126&nbsp; 2:19:18 [Note] Server socket created on IP: &#039;0.0.0.0&#039;.<br />121126&nbsp; 2:19:18 [Note] Event Scheduler: Loaded 0 events<br />121126&nbsp; 2:19:18 [Note] /usr/local/libexec/mysqld: ready for connections.<br />Version: &#039;5.5.28&#039;&nbsp; socket: &#039;/tmp/mysql.sock&#039;&nbsp; port: 3306&nbsp; Source distribution</p><p>It would seem the bind address is empty. Can I fix that or should I reinstall with the exact command for bash?</p>]]></content>
			<author>
				<name><![CDATA[redshirt]]></name>
				<uri>http://www.iredmail.org/forum/user16296.html</uri>
			</author>
			<updated>2012-11-27T02:54:56Z</updated>
			<id>http://www.iredmail.org/forum/post19255.html#p19255</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internal Server Error, new install]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19253.html#p19253" />
			<content type="html"><![CDATA[<p>Not exactly. Bash-static was not available as a pkg, so that was built. The install command I used was simply &#039;bash iRedMail.sh&#039;. postfix27 had to be built and the &#039;.status&#039; was manually updated. The install complained about the hosts file, but it was looking for the full server name in the local 127.0.0.1 - fixed.</p><p>phpMyAdmin does not seem to be accessible. </p><p>mysql is running, but &#039;show databases;&#039; only lists the information schema and an empty &#039;test&#039; database.</p>]]></content>
			<author>
				<name><![CDATA[redshirt]]></name>
				<uri>http://www.iredmail.org/forum/user16296.html</uri>
			</author>
			<updated>2012-11-26T14:17:40Z</updated>
			<id>http://www.iredmail.org/forum/post19253.html#p19253</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internal Server Error, new install]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19237.html#p19237" />
			<content type="html"><![CDATA[<p>Did you install iRedMail STRICTLY by following our wiki tutorial here:<br /><a href="http://www.iredmail.org/wiki/index.php?title=Install/iRedMail/FreeBSD.Jail">http://www.iredmail.org/wiki/index.php? … eeBSD.Jail</a></p><p>iRedMail-0.8.3 should grant access permissions for Jail hostname. Could you please check the permissions in &quot;User&quot; table of MySQL database &quot;mysql&quot;?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-11-26T08:12:44Z</updated>
			<id>http://www.iredmail.org/forum/post19237.html#p19237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Internal Server Error, new install]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19231.html#p19231" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Linux/BSD distribution name and version: PC-BSD 9.1-RC3, amd64, freebsd, in jail<br />- Related log if you&#039;re reporting an issue: /var/log/httpd-error.log<br />==== </p><p>New install into a jail. Navigate to <a href="https://blahmail.blah.net/iredadmin/">https://blahmail.blah.net/iredadmin/</a></p><p>Get: Internal Server Error</p><p>/var/log/httpd-error.log has this line:</p><p>[error] [client 192.168.0.123] OperationalError: (1130, &quot;Host &#039;blahmail&#039; is not allowed to connect to this MySQL server&quot;)</p><br /><p>Seems like a strange error on a fresh installation! Any ideas how to proceed?</p>]]></content>
			<author>
				<name><![CDATA[redshirt]]></name>
				<uri>http://www.iredmail.org/forum/user16296.html</uri>
			</author>
			<updated>2012-11-26T03:05:26Z</updated>
			<id>http://www.iredmail.org/forum/post19231.html#p19231</id>
		</entry>
</feed>
