<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Internal server error on login]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4245.xml" />
	<updated>2012-12-07T03:44:50Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4245-internal-server-error-on-login.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Internal server error on login]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19430.html#p19430" />
			<content type="html"><![CDATA[<p>Database &quot;iredadmin&quot; should be created automatically during iRedMail installation, no idea why it didn&#039;t on your server.<br /></p><div class="quotebox"><cite>philtrick wrote:</cite><blockquote><p>I have imported the iredadmin.mysql file in the samples folder, are there any others I need to import?</p></blockquote></div><p>Just this file.<br />And, please make sure you have correct SQL username/password set in /var/www/iredadmin/settings.ini.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-07T03:44:50Z</updated>
			<id>http://www.iredmail.org/forum/post19430.html#p19430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internal server error on login]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19420.html#p19420" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>philtrick wrote:</cite><blockquote><p>[root@www iRedMail-0.8.3]# tail -f /var/log/httpd/error_log</p></blockquote></div><p>Any related log in /var/log/httpd/<span style="color: red">ssl_</span>error_log?</p></blockquote></div><p>Hi,</p><p>Thanks for the reply.</p><p>Yes, it looks as if there is not a table in mysql that is required:</p><p>[root@tmcc iRedMail-0.8.3]# tail -f /var/log/httpd/ssl_error_log <br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp;File &quot;/usr/lib/python2.6/site-packages/web/db.py&quot;, line 907, in delete<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp; &nbsp;self._db_execute(db_cursor, q)<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp;File &quot;/usr/lib/python2.6/site-packages/web/db.py&quot;, line 587, in _db_execute<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp; &nbsp;out = cur.execute(query, params)<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp;File &quot;/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py&quot;, line 173, in execute<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp; &nbsp;self.errorhandler(self, exc, value)<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp;File &quot;/usr/lib64/python2.6/site-packages/MySQLdb/connections.py&quot;, line 36, in defaulterrorhandler<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23]&nbsp; &nbsp; &nbsp;raise errorclass, errorvalue<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23] ProgrammingError: (1146, &quot;Table &#039;iredadmin.sessions&#039; doesn&#039;t exist&quot;)<br />[Fri Dec 07 00:11:46 2012] [error] [client 178.167.254.23] </p><br /><br /><p>I have imported the iredadmin.mysql file in the samples folder, are there any others I need to import?</p><p>Phi</p>]]></content>
			<author>
				<name><![CDATA[philtrick]]></name>
				<uri>http://www.iredmail.org/forum/user32330.html</uri>
			</author>
			<updated>2012-12-06T21:17:05Z</updated>
			<id>http://www.iredmail.org/forum/post19420.html#p19420</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Internal server error on login]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19395.html#p19395" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>philtrick wrote:</cite><blockquote><p>[root@www iRedMail-0.8.3]# tail -f /var/log/httpd/error_log</p></blockquote></div><p>Any related log in /var/log/httpd/<span style="color: red">ssl_</span>error_log?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-12-06T14:18:53Z</updated>
			<id>http://www.iredmail.org/forum/post19395.html#p19395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Internal server error on login]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19367.html#p19367" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.3 <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Linux/BSD distribution name and version: Centos 6.3 x86_64<br />- Related log if you&#039;re reporting an issue: Log attached<br />==== </p><p>Hi,</p><p>I&#039;m getting a strange error after install, I go to the admin page, and I just get a message saying: Internal server error</p><p>I look at the logs, there is nothing in httpd error log, openldap log, or mysql log indicating an error.</p><p>Logs below:<br />[root@www iRedMail-0.8.3]# tail -f /var/log/mysqld.log <br />121205 01:40:31 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended<br />121205 01:40:46 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql<br />121205&nbsp; 1:40:46 [Warning] &#039;--skip-locking&#039; is deprecated and will be removed in a future release. Please use &#039;--skip-external-locking&#039; instead.<br />121205&nbsp; 1:40:46 [Warning] /usr/libexec/mysqld: Option &#039;--set-variable&#039; is deprecated. Use --variable-name=value instead.<br />121205&nbsp; 1:40:46&nbsp; InnoDB: Initializing buffer pool, size = 8.0M<br />121205&nbsp; 1:40:46&nbsp; InnoDB: Completed initialization of buffer pool<br />121205&nbsp; 1:40:50&nbsp; InnoDB: Started; log sequence number 0 3561774<br />121205&nbsp; 1:40:51 [Note] Event Scheduler: Loaded 0 events<br />121205&nbsp; 1:40:51 [Note] /usr/libexec/mysqld: ready for connections.<br />Version: &#039;5.1.66&#039;&nbsp; socket: &#039;/var/lib/mysql/mysql.sock&#039;&nbsp; port: 3306&nbsp; Source distribution</p><p>[root@www iRedMail-0.8.3]# tail -f /var/log/httpd/error_log <br />[Wed Dec 05 01:40:28 2012] [error] Exception KeyError: KeyError(139684255336416,) in &lt;module &#039;threading&#039; from &#039;/usr/lib64/python2.6/threading.pyc&#039;&gt; ignored<br />[Wed Dec 05 01:40:28 2012] [error] Exception KeyError: KeyError(139684255336416,) in &lt;module &#039;threading&#039; from &#039;/usr/lib64/python2.6/threading.pyc&#039;&gt; ignored<br />[Wed Dec 05 01:40:28 2012] [error] Exception KeyError: KeyError(139684255336416,) in &lt;module &#039;threading&#039; from &#039;/usr/lib64/python2.6/threading.pyc&#039;&gt; ignored<br />[Wed Dec 05 01:40:28 2012] [notice] caught SIGTERM, shutting down<br />[Wed Dec 05 01:40:55 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)<br />[Wed Dec 05 01:40:55 2012] [notice] Digest: generating secret for digest authentication ...<br />[Wed Dec 05 01:40:55 2012] [notice] Digest: done<br />[Wed Dec 05 01:40:56 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.<br />[Wed Dec 05 01:40:56 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.<br />[Wed Dec 05 01:40:56 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations</p><p>[root@www iRedMail-0.8.3]# tail -f /var/log/openldap.log <br />Dec&nbsp; 5 01:40:41 tmcc slapd[544]: @(#) $OpenLDAP: slapd 2.4.23 (Aug&nbsp; 8 2012 16:29:21) $#012#011mockbuild@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd<br />Dec&nbsp; 5 12:47:58 tmcc slapd[31694]: @(#) $OpenLDAP: slapd 2.4.23 (Aug&nbsp; 8 2012 16:29:21) $#012#011mockbuild@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd<br />Dec&nbsp; 5 12:48:09 tmcc slapd[31708]: @(#) $OpenLDAP: slapd 2.4.23 (Aug&nbsp; 8 2012 16:29:21) $#012#011mockbuild@c6b10.bsys.dev.centos.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd</p><p>This is most strange, I have installed it on this server configuration before without the same problem.</p><p>Thanks,</p><p>Phil</p>]]></content>
			<author>
				<name><![CDATA[philtrick]]></name>
				<uri>http://www.iredmail.org/forum/user32330.html</uri>
			</author>
			<updated>2012-12-05T10:13:30Z</updated>
			<id>http://www.iredmail.org/forum/post19367.html#p19367</id>
		</entry>
</feed>
