Issue 2550726
Created on 2011-09-12 11:36 by DThorne, last changed 2016-07-31 20:36 by rouilj.
Messages | |||
---|---|---|---|
msg4421 | Author: [hidden] (DThorne) | Date: 2011-09-12 11:36 | |
Hi, We've just installed Roundup on windows 2008 R2 server. Got everything working but wanted to add LDAP login. Followed the information here: http://www.roundup-tracker.org/cgi-bin/moin.cgi/LDAPLogin2 & http://www.roundup-tracker.org/cgi-bin/moin.cgi/ActiveDirectoryLogin But now I'm getting error message in event log and the roundup service won't start Log Name: Application Source: roundup Date: 09/09/2011 11:24:29 Event ID: 3 Task Category: None Level: Error Keywords: Classic User: N/A Computer: Description: The instance's SvcRun() method failed Traceback (most recent call last): File "C:\Python27\lib\site-packages\win32\lib\win32serviceutil.py", line 806, in SvcRun self.SvcDoRun() File "C:\Python27\lib\site- packages\roundup\scripts\roundup_server.py", line 696, in SvcDoRun self.server = config.get_server() File "C:\Python27\lib\site- packages\roundup\scripts\roundup_server.py", line 591, in get_server for (name, home) in tracker_homes]) File "C:\Python27\lib\site-packages\roundup\instance.py", line 305, in open return Tracker(tracker_home, optimize=optimize) File "C:\Python27\lib\site-packages\roundup\instance.py", line 72, in __init__ for extension in self.get_extensions('extensions'): File "C:\Python27\lib\site-packages\roundup\instance.py", line 196, in get_extensions self._load_python(os.path.join(dirname, name), vars) File "C:\Python27\lib\site-packages\roundup\instance.py", line 216, in _load_python execfile(file, vars) SyntaxError: ('invalid syntax', ('C:\\RoundUp\\ITOps\\extensions\\ldaplogin.py', 4, 10, ' import ldap\n')) %2: %3 Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="roundup" /> <EventID Qualifiers="49152">3</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2011-09-09T10:24:29.000000000Z" /> <EventRecordID>1322</EventRecordID> <Channel>Application</Channel> <Computer>MGVIOP01.mace.co.uk</Computer> <Security /> </System> <EventData> <Data>Traceback (most recent call last): File "C:\Python27\lib\site-packages\win32\lib\win32serviceutil.py", line 806, in SvcRun self.SvcDoRun() File "C:\Python27\lib\site- packages\roundup\scripts\roundup_server.py", line 696, in SvcDoRun self.server = config.get_server() File "C:\Python27\lib\site- packages\roundup\scripts\roundup_server.py", line 591, in get_server for (name, home) in tracker_homes]) File "C:\Python27\lib\site-packages\roundup\instance.py", line 305, in open return Tracker(tracker_home, optimize=optimize) File "C:\Python27\lib\site-packages\roundup\instance.py", line 72, in __init__ for extension in self.get_extensions('extensions'): File "C:\Python27\lib\site-packages\roundup\instance.py", line 196, in get_extensions self._load_python(os.path.join(dirname, name), vars) File "C:\Python27\lib\site-packages\roundup\instance.py", line 216, in _load_python execfile(file, vars) SyntaxError: ('invalid syntax', ('C:\\RoundUp\\ITOps\\extensions\\ldaplogin.py', 4, 10, ' import ldap\n'))</Data> </EventData> </Event> |
|||
msg4422 | Author: [hidden] (ber) | Date: 2011-09-12 13:21 | |
Hi David, thanks for trying roundup. Did you make sure that you have installed the python-ldap module in your version of python? Which version of python-ldap? Somehow it seems that the roundup code barks while trying to read the file C:\\RoundUp\\ITOps\\extensions\\ldaplogin.py could you replave the sentitive bits in the file and attach it? I am not sure, but maybe there is an issue with unix and non-unix line endings. If you know what I am refering to, could you check into the line endings? |
|||
msg5789 | Author: [hidden] (rouilj) | Date: 2016-07-09 00:05 | |
David is this still valid? If I don't hear back I'll close it. -- rouilj |
History | |||
---|---|---|---|
Date | User | Action | Args |
2016-07-31 20:36:33 | rouilj | set | status: new -> closed resolution: remind -> abandoned |
2016-07-09 00:05:51 | rouilj | set | resolution: remind type: security -> behavior messages: + msg5789 nosy: + rouilj |
2011-09-12 13:21:59 | ber | set | nosy:
+ ber messages: + msg4422 title: LDAP Error -> While activating LDAP Login on Windows: Error |
2011-09-12 11:36:24 | DThorne | create |