<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Starting Alfresco as a Windows Service in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244424#M197554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am testing out &lt;/SPAN&gt;&lt;STRONG&gt;Alfresco 3.2&lt;/STRONG&gt;&lt;SPAN&gt; on &lt;/SPAN&gt;&lt;STRONG&gt;Windows XP&lt;/STRONG&gt;&lt;SPAN&gt;. I have installed it using the stack Installer. I start it using &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;alf_start.bat&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt; and stop it using &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;alf_stop.bat&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;. I would like to know if there is a way of getting Alfresco start up a &lt;/SPAN&gt;&lt;STRONG&gt;Windows Service&lt;/STRONG&gt;&lt;SPAN&gt; – so that it would be in the background, and I wont have to see the &lt;/SPAN&gt;&lt;STRONG&gt;MySQL&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;Tomcat&lt;/STRONG&gt;&lt;SPAN&gt; windows pop up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;By the way the Search functionality in this forum is jinxed. If you search for &lt;/SPAN&gt;&lt;STRONG&gt;Start Alfresco as a Windows Service&lt;/STRONG&gt;&lt;SPAN&gt; I get the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following words in your search query were ignored because they are too common words: &lt;/SPAN&gt;&lt;STRONG&gt;alfresco service start windows as a&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Anyway there is a Wiki Page &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service" rel="nofollow noopener noreferrer"&gt;Configuring Alfresco as a Windows Service&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The problem with that is it starts only the Tomcat part. What about starting the Embedded MySQL also as a service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;O.O.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Aug 2009 02:59:03 GMT</pubDate>
    <dc:creator>o_o_</dc:creator>
    <dc:date>2009-08-29T02:59:03Z</dc:date>
    <item>
      <title>Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244424#M197554</link>
      <description>Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp;I am testing out Alfresco 3.2 on Windows XP. I have installed it using the stack Installer. I start it using alf_start.bat and stop it using alf_stop.bat. I would like to know if there is a way of getting Alfresco start up a Windows Service – so that it would be in the background, and I wont h</description>
      <pubDate>Sat, 29 Aug 2009 02:59:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244424#M197554</guid>
      <dc:creator>o_o_</dc:creator>
      <dc:date>2009-08-29T02:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244425#M197555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To start MySQL, add the following to: C:\Alfresco\mysql\my.ini&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;basedir="C:\Alfresco\mysql"&lt;BR /&gt;datadir="C:\Alfresco\alf_data\mysql"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then run:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;"C:\Alfresco\mysql\bin\mysqld.exe" –install –defaults-file=C:\Alfresco\mysql\my.ini MySql&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 13:53:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244425#M197555</guid>
      <dc:creator>jpv</dc:creator>
      <dc:date>2009-09-08T13:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244426#M197556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is not working and I get the following errors in Application event viewer when starting the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Can't open the mysql.plugin table. Please run mysql_upgrade to create it.&lt;BR /&gt;&lt;BR /&gt;Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 20:56:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244426#M197556</guid>
      <dc:creator>tstream</dc:creator>
      <dc:date>2009-10-13T20:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244427#M197557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it work correctly when started manually from the command line? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default, services are run as the system account, It could be that the service does not have access to the configuration files.&amp;nbsp; Go into service manager and change the Log-On to the same user you are logging on with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 06:01:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244427#M197557</guid>
      <dc:creator>jpv</dc:creator>
      <dc:date>2009-10-14T06:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244428#M197558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This worked for me, web interface is working but CIFS doesn't run. It's fine if I start it from console, any help greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Ramsey&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2009 19:26:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244428#M197558</guid>
      <dc:creator>burnsbrs</dc:creator>
      <dc:date>2009-10-15T19:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244429#M197559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One correction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;"C:\Alfresco\mysql\bin\mysqld.exe" –install MySql –defaults-file=C:\Alfresco\mysql\my.ini&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 08:45:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244429#M197559</guid>
      <dc:creator>klenin</dc:creator>
      <dc:date>2009-10-16T08:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244430#M197560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;One correction:&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;"C:\Alfresco\mysql\bin\mysqld.exe" –install MySql –defaults-file=C:\Alfresco\mysql\my.ini&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it! Thanks so much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2009 20:14:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244430#M197560</guid>
      <dc:creator>tstream</dc:creator>
      <dc:date>2009-10-16T20:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244431#M197561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This worked for me, web interface is working but CIFS doesn't run. It's fine if I start it from console, any help greatly appreciated!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Try closing port 445 in your firewall settings, that solved the cifs-problem here&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mieke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 06:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244431#M197561</guid>
      <dc:creator>mmynsberghe</dc:creator>
      <dc:date>2009-10-19T06:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Starting Alfresco as a Windows Service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244432#M197562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does it work correctly when started manually from the command line? &lt;BR /&gt;By default, services are run as the system account, It could be that the service does not have access to the configuration files.&amp;nbsp; Go into service manager and change the Log-On to the same user you are logging on with.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having a similar issue here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Being a Linux geek, I have read all the posts I have been able to find and still no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have followed the wiki guide at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Configuring_Alfresco_as_a_Windows_Service&lt;/A&gt;&lt;SPAN&gt; and also followed the suggestion here to start the services with the user account that I am logged in as (in this case, the domain Administrator account).&amp;nbsp; Starting the MySQL server and the Tomcat server via the alf_start.bat file works perfectly.&amp;nbsp; However, when I try and start them as a service it fails with the error log messages about mysql.host doesn't exist and can't open the mysql.plugin table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did have to change the paths that were listed in the tomcat6 section to C:\alfresco\… as the installation for 3.3 installs to C:\alfresco, not C:\alfresco-community-tomcat-3.3\. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can dump the config files here and the commands I have been using if that will help.&amp;nbsp; Thank you in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 19:05:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-alfresco-as-a-windows-service/m-p/244432#M197562</guid>
      <dc:creator>mhmurayama</dc:creator>
      <dc:date>2010-07-01T19:05:17Z</dc:date>
    </item>
  </channel>
</rss>

