<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.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.creativecommons.org/index.php?action=history&amp;feed=atom&amp;title=Restarting_CC_Mixter"/>
		<link rel="alternate" type="text/html" href="https://wiki.creativecommons.org/index.php?title=Restarting_CC_Mixter&amp;action=history"/>
		<updated>2026-05-24T03:44:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.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.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't find any fields in table 'phpbb_sessions'&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 'help;' or '\h' for help. Type '\c' 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 '-1' 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; ('619979eadf190dbb52abae05f3c94134', -1, 1132843628,&lt;br /&gt;
&amp;gt; 1132843628, '457919b3', 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't know. (I can't log in&lt;br /&gt;
&amp;gt; or terminal in from where I'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>