<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theoracle.magentaretail.com.au/index.php?action=history&amp;feed=atom&amp;title=EEPOS%3ADatabase_Not_Online_and_Multi-User</id>
	<title>EEPOS:Database Not Online and Multi-User - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theoracle.magentaretail.com.au/index.php?action=history&amp;feed=atom&amp;title=EEPOS%3ADatabase_Not_Online_and_Multi-User"/>
	<link rel="alternate" type="text/html" href="https://theoracle.magentaretail.com.au/index.php?title=EEPOS:Database_Not_Online_and_Multi-User&amp;action=history"/>
	<updated>2026-10-22T01:59:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://theoracle.magentaretail.com.au/index.php?title=EEPOS:Database_Not_Online_and_Multi-User&amp;diff=1494&amp;oldid=prev</id>
		<title>Jake: Created page with &quot;== Database Offline or in Single-User Mode ==  The database may be put into ‘offline’ or single user mode due to a failed\interrupted windows update or unexpected shutdown.  ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://theoracle.magentaretail.com.au/index.php?title=EEPOS:Database_Not_Online_and_Multi-User&amp;diff=1494&amp;oldid=prev"/>
		<updated>2017-03-09T05:40:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Database Offline or in Single-User Mode ==  The database may be put into ‘offline’ or single user mode due to a failed\interrupted windows update or unexpected shutdown.  ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Database Offline or in Single-User Mode ==&lt;br /&gt;
&lt;br /&gt;
The database may be put into ‘offline’ or single user mode due to a failed\interrupted windows update or unexpected shutdown.&lt;br /&gt;
&lt;br /&gt;
Perform the below steps to mark the database as online or to mark the database as multi-user.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Bring EEPOS Database Online ==&lt;br /&gt;
&lt;br /&gt;
=== Stop EEPOS Service ===&lt;br /&gt;
&lt;br /&gt;
EEPOS and the POS Service need to be closed before performing the steps to bring the database online or set to multi-user.&lt;br /&gt;
&lt;br /&gt;
1.	Close EEPOS.&lt;br /&gt;
&lt;br /&gt;
2.	Open the Windows Services screen &amp;#039;&amp;#039;&amp;#039;(Control Panel →  Administrative Tools → Services)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
3.	Stop the &amp;#039;&amp;#039;&amp;#039;EEPOS Service – MAGENTAPOS&amp;#039;&amp;#039;&amp;#039; service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Backup EEPOS Database Files ===&lt;br /&gt;
&lt;br /&gt;
Perform a backup of the EEPOS Database files.&lt;br /&gt;
&lt;br /&gt;
1.	Browse to &amp;#039;&amp;#039;&amp;#039;C:\Program Files\Microsoft SQL Server\MSSQL11.MAGENTAPOS\MSSQL\DATA&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
2.	Make a copy of the &amp;#039;&amp;#039;&amp;#039;EEPOSdat.mdf&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;EEPOSlog.ldf&amp;#039;&amp;#039;&amp;#039; files.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; If a prompt appears saying that the files are currently in use you will need to temporarily stop the SQL Service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.	Open the Windows Services screen &amp;#039;&amp;#039;&amp;#039;(Control Panel →  Administrative Tools → Services)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
4.	Stop the &amp;#039;&amp;#039;&amp;#039;SQL Server (Magentapos)&amp;#039;&amp;#039;&amp;#039; service.&lt;br /&gt;
&lt;br /&gt;
5.	Attempt to copy the &amp;#039;&amp;#039;&amp;#039;EEPOSdat.mdf&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;EEPOSlog.ldf&amp;#039;&amp;#039;&amp;#039; files again.&lt;br /&gt;
&lt;br /&gt;
6.	Start the &amp;#039;&amp;#039;&amp;#039;SQL Server (Magentapos)&amp;#039;&amp;#039;&amp;#039; service again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Connect to Magentapos SQL Instance ===&lt;br /&gt;
&lt;br /&gt;
Open SQL Management Studio on your EEE Server. Then connect to the tills local SQL Database over the network using the below details.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Server Name&amp;#039;&amp;#039;&amp;#039; – Hostname\magentapos&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; If hostname of till is Server40, then Server name should be Server40\magentapos&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Authentication&amp;#039;&amp;#039;&amp;#039; – SQL Server Authentication&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Login&amp;#039;&amp;#039;&amp;#039; – Magentasupport&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Password&amp;#039;&amp;#039;&amp;#039; – Please contact Magenta Support for the SQL Database Password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:SSMSLogin.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bringing Database Online ===&lt;br /&gt;
Once connected to the till’s Magentapos SQL Instance you will notice that the EEPOS database is shown as offline as per the screenshot below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:EEPOSOffline.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow the below steps to bring the database back online.&lt;br /&gt;
&lt;br /&gt;
1.	Begin a new query by selecting &amp;#039;&amp;#039;&amp;#039;New Query (CTRL+N)&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
2.	Copy the below SQL command into the new query window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ALTER DATABASE EEPOS SET ONLINE&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3.	Select &amp;#039;&amp;#039;&amp;#039;Execute (F5)&amp;#039;&amp;#039;&amp;#039; to run the command.&lt;br /&gt;
&lt;br /&gt;
4.	Once this command has been run, select refresh in the Object Explorer (Red square below).&lt;br /&gt;
The EEPOS database should show as online.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:EEPOSOnline.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set Database Multi-User ==&lt;br /&gt;
If your database was diagnosed as being in Single-User mode, please follow the steps below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Stop EEPOS Service ===&lt;br /&gt;
&lt;br /&gt;
EEPOS and the POS Service need to be closed before performing the steps to bring the database online or set to multi-user.&lt;br /&gt;
&lt;br /&gt;
1.	Close EEPOS.&lt;br /&gt;
&lt;br /&gt;
2.	Open the Windows Services screen (Control Panel →  Administrative Tools → Services)&lt;br /&gt;
&lt;br /&gt;
3.	Stop the EEPOS Service – MAGENTAPOS service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Set Database as Multi-User ===&lt;br /&gt;
&lt;br /&gt;
1.	Connect to the SQL Instance using the above [http://theoracle.magentaretail.com.au/index.php?title=EEPOS:Database_Not_Online_and_Multi-User&amp;amp;action=submit#Connect_to_Magentapos_SQL_Instance Connect to Magentapos SQL Instance] instructions.&lt;br /&gt;
&lt;br /&gt;
2.	Begin a new query by selecting &amp;#039;&amp;#039;&amp;#039;New Query (CTRL+N)&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
3.	Copy the below SQL command into the new query window.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
USE master&lt;br /&gt;
ALTER DATABASE EEPOS&lt;br /&gt;
SET MULTI_USER;&lt;br /&gt;
GO&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4.	Select &amp;#039;&amp;#039;&amp;#039;Execute (F5)&amp;#039;&amp;#039;&amp;#039; to run the command.&lt;br /&gt;
&lt;br /&gt;
5.	Once completed the results windows should show &amp;#039;&amp;#039;&amp;#039;Command(s) completed successfully&amp;#039;&amp;#039;&amp;#039; message as per the below screenshot.&lt;br /&gt;
&lt;br /&gt;
[[File:CommandComplete.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the command fails to complete, please contact Magenta Support for additional assistance.&lt;/div&gt;</summary>
		<author><name>Jake</name></author>
	</entry>
</feed>