<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki-dev.creativecommons.org/index.php?action=history&amp;feed=atom&amp;title=Restarting_CC_Mixter</id>
	<title>Restarting CC Mixter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki-dev.creativecommons.org/index.php?action=history&amp;feed=atom&amp;title=Restarting_CC_Mixter"/>
	<link rel="alternate" type="text/html" href="https://wiki-dev.creativecommons.org/index.php?title=Restarting_CC_Mixter&amp;action=history"/>
	<updated>2026-09-30T08:26:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki-dev.creativecommons.org/index.php?title=Restarting_CC_Mixter&amp;diff=1445&amp;oldid=prev</id>
		<title>Mike Linksvayer at 19:45, 5 January 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki-dev.creativecommons.org/index.php?title=Restarting_CC_Mixter&amp;diff=1445&amp;oldid=prev"/>
		<updated>2006-01-05T19:45:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sometimes the database server crashes on ccmixter and needs to be restarted. There is a watchdog script to restart it but there is a need possibly to run a repair command on the phpbb_sessions as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysql -u XXXXXX -h XXXXXX -p XXXXXX&lt;br /&gt;
Enter password:&lt;br /&gt;
Reading table information for completion of table and column names&lt;br /&gt;
You can turn off this feature to get a quicker startup with -A&lt;br /&gt;
&lt;br /&gt;
Didn&amp;#039;t find any fields in table &amp;#039;phpbb_sessions&amp;#039;&lt;br /&gt;
Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;
Your MySQL connection id is XXX to server version: XXXXXXX&lt;br /&gt;
&lt;br /&gt;
Type &amp;#039;help;&amp;#039; or &amp;#039;\h&amp;#039; for help. Type &amp;#039;\c&amp;#039; to clear the buffer.&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; repair table phpbb_sessions&lt;br /&gt;
    -&amp;gt; ;&lt;br /&gt;
+-----------------------+--------+----------+------------------------------------------+&lt;br /&gt;
| Table                 | Op     | Msg_type | Msg_text        |&lt;br /&gt;
+-----------------------+--------+----------+------------------------------------------+&lt;br /&gt;
| mixter.phpbb_sessions | repair | warning  | Number of rows changed&lt;br /&gt;
from 1759 to 1690 |&lt;br /&gt;
| mixter.phpbb_sessions | repair | status   | OK        |&lt;br /&gt;
+-----------------------+--------+----------+------------------------------------------+&lt;br /&gt;
2 rows in set (0.25 sec)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Is there any reason for a session to be created before login?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On Thu, 2005-11-24 at 11:52 -0800, Victor wrote:&lt;br /&gt;
&amp;gt; looks like the db is confused for non-logged in folks:&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; --------------------------------------------------&lt;br /&gt;
&amp;gt; phpBB : Critical Error &lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; Error creating new session&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; DEBUG MODE&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; SQL Error : 1062 Duplicate entry &amp;#039;-1&amp;#039; for key 2&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; INSERT INTO phpbb_sessions (session_id,&lt;br /&gt;
&amp;gt; session_user_id, session_start, session_time,&lt;br /&gt;
&amp;gt; session_ip, session_page, session_logged_in) VALUES&lt;br /&gt;
&amp;gt; (&amp;#039;619979eadf190dbb52abae05f3c94134&amp;#039;, -1, 1132843628,&lt;br /&gt;
&amp;gt; 1132843628, &amp;#039;457919b3&amp;#039;, 0, 0)&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; Line : 158&lt;br /&gt;
&amp;gt; File : sessions.php &lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; --------------------------------------------------&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; maybe emptying the phpbb_sessions table might just&lt;br /&gt;
&amp;gt; clear things out??? -- I don&amp;#039;t know. (I can&amp;#039;t log in&lt;br /&gt;
&amp;gt; or terminal in from where I&amp;#039;m at)&lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; &lt;br /&gt;
&amp;gt; VS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CcMixter]]&lt;/div&gt;</summary>
		<author><name>Mike Linksvayer</name></author>
	</entry>
</feed>