Help → Running POPFILE as a Service on W2008SRV X64 R2
I installed POPFILE 1.1.1 on a Windows 2008 Server R2 Enterprise and successfully restored an instance of POPFILE coming from a Windows 2003 Server. To backup and restore i used the excellent utility POPFile 'User Data' Backup/Restore Utility for Windows 0.0.28 Build F, created 29 October 2009 .
Popfile process popfileb.exe starts under Administrator account, but I can't start it as a service.
I installed popfile on c:\popfile.
The user data are on C:\users\administrator.<domain>\AppData?\Roaming\POPFile .
I've used popfile-service.exe -install to install the service. The service logs with the same user I use on the other machine, a Windows 2003 server, because it is a domain account with the administrator privileges.
However when I try to start the service, Windows application log reported this error:
Log Name: Application
Source: Application
Date: 23/08/2010 01:09:33
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: TMGSERVER.<domain>
Description:
The description for Event ID 0 from source Application cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Can't call method "classifier" on an undefined value at /<C:\POPFile\popfile-service.exe>POPFile/Loader.pm line 620.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated? SystemTime?="2010-08-22T23:09:33.000000000Z" />
<EventRecordID>9028</EventRecordID>
<Channel>Application</Channel>
<Computer>TMGSERVER.<domain></Computer>
<Security />
</System>
<EventData?>
<Data>Can't call method "classifier" on an undefined value at /<C:\POPFile\popfile-service.exe>POPFile/Loader.pm line 620.
</Data>
</EventData>
</Event>
Can anyone help me ?
Thanks in advance
-
Message #1354
Found the mistake...
Before installing POPFILE as a service I didn't declared the variables POPFILE_ROOT and POPFILE_USER as system variables.
Of course the service doesn't recognize the values when it run in its account, so the loading of classifier module failed.
Now it runs.
masineri08/23/10 23:28:58