Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldap.TIMELIMIT_EXCEEDED while performing full update, python 2.3 system #18

Closed
jaqx0r opened this issue Mar 14, 2015 · 2 comments
Closed

Comments

@jaqx0r
Copy link
Contributor

jaqx0r commented Mar 14, 2015

Original issue 17 created by jaqx0r on 2009-01-21T01:47:00.000Z:

Using nsscache on RHEL4 x86_64 with Python 2.3 and the patch to make
nsscache work with Python 2.3.

Here I performed a full update and quite frequently I get this error.

CRITICAL:NSSCacheApp:Traceback (most recent call last):
CRITICAL:NSSCacheApp: File "/usr/bin/nsscache", line 33, in ?
return_value = app.Run(sys.argv[1:], os.environ)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/app.py", line 232, in Run
retval = command_callable().Run(conf=conf, args=args)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/command.py", line 229, in Run
force_lock=options.force_lock)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/command.py", line 272, in
UpdateMaps
retval = updater.UpdateFromSource(source, incremental=incremental,
force_write=force_write)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/update.py", line 278, in
UpdateFromSource
force_write, location=None)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/update.py", line 317, in
UpdateCacheFromSource
location=location)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/sources/base.py", line 115, in
GetMap
return self.GetPasswdMap(since)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/sources/ldapsource.py", line
220, in GetPasswdMap
since=since)
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/sources/ldapsource.py", line
423, in GetUpdates
for obj in source:
CRITICAL:NSSCacheApp: File
"/usr/lib/python2.3/site-packages/nss_cache/sources/ldapsource.py", line
183, in iter
timeout=self.conf['timelimit'])
CRITICAL:NSSCacheApp: File
"/usr/lib64/python2.3/site-packages/ldap/ldapobject.py", line 392, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
CRITICAL:NSSCacheApp: File
"/usr/lib64/python2.3/site-packages/ldap/ldapobject.py", line 398, in result2
return self._ldap_call(self._l.result2,msgid,all,timeout)
CRITICAL:NSSCacheApp: File
"/usr/lib64/python2.3/site-packages/ldap/ldapobject.py", line 94, in _ldap_call
result = func(args,*kwargs)
CRITICAL:NSSCacheApp:TIMELIMIT_EXCEEDED: {'info': '', 'desc': 'Time limit
exceeded'}
Traceback (most recent call last):
File "/usr/bin/nsscache", line 33, in ?
return_value = app.Run(sys.argv[1:], os.environ)
File "/usr/lib/python2.3/site-packages/nss_cache/app.py", line 232, in Run
retval = command_callable().Run(conf=conf, args=args)
File "/usr/lib/python2.3/site-packages/nss_cache/command.py", line 229,
in Run
force_lock=options.force_lock)
File "/usr/lib/python2.3/site-packages/nss_cache/command.py", line 272,
in UpdateMaps
retval = updater.UpdateFromSource(source, incremental=incremental,
force_write=force_write)
File "/usr/lib/python2.3/site-packages/nss_cache/update.py", line 278, in
UpdateFromSource
force_write, location=None)
File "/usr/lib/python2.3/site-packages/nss_cache/update.py", line 317, in
UpdateCacheFromSource
location=location)
File "/usr/lib/python2.3/site-packages/nss_cache/sources/base.py", line
115, in GetMap
return self.GetPasswdMap(since)
File "/usr/lib/python2.3/site-packages/nss_cache/sources/ldapsource.py",
line 220, in GetPasswdMap
since=since)
File "/usr/lib/python2.3/site-packages/nss_cache/sources/ldapsource.py",
line 423, in GetUpdates
for obj in source:
File "/usr/lib/python2.3/site-packages/nss_cache/sources/ldapsource.py",
line 183, in iter
timeout=self.conf['timelimit'])
File "/usr/lib64/python2.3/site-packages/ldap/ldapobject.py", line 392,
in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
File "/usr/lib64/python2.3/site-packages/ldap/ldapobject.py", line 398,
in result2
return self._ldap_call(self._l.result2,msgid,all,timeout)
File "/usr/lib64/python2.3/site-packages/ldap/ldapobject.py", line 94, in
_ldap_call
result = func(args,*kwargs)
ldap.TIMELIMIT_EXCEEDED: {'info': '', 'desc': 'Time limit exceeded'}

@jaqx0r
Copy link
Contributor Author

jaqx0r commented Mar 14, 2015

Comment #1 originally posted by jaqx0r on 2009-01-21T02:02:34.000Z:

I think this is due to the exception changing its name between versions.

@jaqx0r
Copy link
Contributor Author

jaqx0r commented Mar 14, 2015

Comment #2 originally posted by jaqx0r on 2013-07-30T10:10:24.000Z:

This issue was closed by revision 65af13de9449.

@jaqx0r jaqx0r closed this as completed Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant