<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Ivan,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Unfortunately I don't have any experience running ArchivesSpace as a Windows Service. But in general, if it's having trouble starting up, there should be something telling you why in the logs. I've found it can be helpful to configure the logs to go to separate
files for each component instead of allowing them all to go into archivesspace.out by default. In the config.rb file you can change the file paths and log levels like this (note my paths are for a Linux based system):</div>
<blockquote style="margin-top:0;margin-bottom:0">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
AppConfig[:frontend_log] = "/path-to-archivesspace/logs/archivesspace-frontend.out"
<div>AppConfig[:frontend_log_level] = "debug"</div>
<div>AppConfig[:backend_log] = "/<span style="background-color:rgb(255, 255, 255);display:inline !important">path-to-</span>archivesspace/logs/archivesspace-backend.out"</div>
<div>AppConfig[:backend_log_level] = "debug"</div>
<div>AppConfig[:pui_log] = "/<span style="background-color:rgb(255, 255, 255);display:inline !important">path-to-</span>archivesspace/logs/archivesspace-pui.out"</div>
<div>AppConfig[:pui_log_level] = "debug"</div>
<div>AppConfig[:indexer_log] = "/<span style="background-color:rgb(255, 255, 255);display:inline !important">path-to-</span>archivesspace/logs/archivesspace-indexer.out"</div>
<div>AppConfig[:indexer_log_level] = "debug"</div>
</div>
</blockquote>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1" style="margin:0px;font-size:14px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif">
</div>
<div style="margin:0px;font-size:12pt">If you're able to find specific errors in the logs, then send them to this list since that is something more people in this group can probably help with. If there are no logs at all, then that also is pretty telling and
indicates the Windows service is likely not configured correctly and is not attempting to start it.</div>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It might also help to go through the setup instructions again and compare them to your server to see if anything is misconfigured or missing since it sounds like something must have changed on the server and didn't apply to the running ArchivesSpace service
until the server was rebooted, delaying when the issue was discovered. There is the
<a href="https://archivesspace.github.io/tech-docs/administration/windows.html" title="https://archivesspace.github.io/tech-docs/administration/windows.html">
official documentation</a> to refer to as well as this <a href="https://www.youtube.com/watch?v=o1bpfffiLWY" title="https://www.youtube.com/watch?v=o1bpfffiLWY">
YouTube video</a> I found with some quick searching.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I hope some of this helps!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
- Megan</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(102,102,102)">_____________________________________</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(102,102,102)"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(102,102,102)">Megan Schanz</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(102,102,102)">Application Developer & Systems Administrator</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(102,102,102)">Michigan State University Libraries</span></div>
</div>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Allhiser, Ivan
<Ivan.Allhiser@avila.edu><br>
<b>Sent:</b> Thursday, June 2, 2022 9:13 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] Still unable to launch ArchivesSpaceService. Please help</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello all,<br>
<br>
I have yet to hear back or find anything to fix this issue. I am still unable to start the ArchivesSpaceService.<br>
<div><br>
</div>
<div>"Our previous system administrator set up ArchivesSpace 2.8.1 and we received a ticket that it needed to be re-indexed. None of us were even aware of what this server did. Before I could access it, the server needed to be rebooted. Once it came back up,
I was unable to start the ArchivesSpaceServe. I am shown this error whenever I try (even with Powershell)</div>
<div><br>
</div>
<div>"Windows could not start the ArchivesSpaceService on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 5."</div>
<div><br>
</div>
I've checked the System Event Long and I don't even see any events that show an attempt to start the service. We've checked the logs and honestly, I'm lost trying to swim through all this data. I don't see anything standing out that says there's an error. Has
anyone encountered this before and know of a fix?"<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you for your time,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(240,182,213); font-family:"Calibri Light","Helvetica Light",sans-serif"><b>Ivan Allhiser</b></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255); color:rgb(240,182,213); font-family:"Calibri Light","Helvetica Light",sans-serif">System Administrator</span>
<div><span style="color:rgb(240,182,213); font-family:"Calibri Light","Helvetica Light",sans-serif">Information Technology Services</span></div>
<div><span style="color:rgb(240,182,213); font-family:"Calibri Light","Helvetica Light",sans-serif; font-size:10pt; background-color:rgb(255,255,255)">Ph</span><span style="color:rgb(240,182,213); font-family:"Calibri Light","Helvetica Light",sans-serif; font-size:12pt; background-color:rgb(255,255,255)">
(816) 501-3695</span><br>
</div>
<div><span style="color:rgb(240,182,213); font-family:"Calibri Light","Helvetica Light",sans-serif; font-size:12pt; background-color:rgb(255,255,255)"><img class="x_img x_is-loaded x_svelte-z7sgic" alt="Dining Services | Avila University" src="https://imgs.search.brave.com/7GAv-k8wpLwaNEf8dDr_DUH_Y8FB0MTbYK1SwjFf2iI/rs:fit:122:42:1/g:ce/aHR0cHM6Ly93d3cu/YXZpbGEuZWR1L3dw/LWNvbnRlbnQvdGhl/bWVzL2F2aWxhL2lt/Zy9sb2dvLW1vYmls/ZS5wbmc_dj0y"><br>
</span></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>