-   Linux - Server (
-   -   Problem to start MMc-agent (

deco5003 03-02-2010 07:43 PM

Problem to start MMc-agent
Using the code:

mmc-agent -f start
I got the error...
File "/usr/sbin/mmc-agent", line 10, in <module>

import mmc.agent

File "/usr/lib/python2.5/site-packages/mmc/", line 34, in <module>

from mmc.client import makeSSLContext

File "/usr/lib/python2.5/site-packages/mmc/", line 40, in <module>

from twisted.web.xmlrpc import Proxy, QueryProtocol?, QueryFactory?, payloadTemplate

ImportError?: cannot import name QueryFactory? Does anybody have an Idea how to solve that! Thanks
My be I need to upgrade to Python release 2.6.4

klabacita 03-04-2010 01:06 PM

mmm u are one of the 2-4 guys that seen to use mandrica mds.

I have some how-to for mds on Centos 5.x, I need this packages to be setup first:


Your ldap must be already running without any issue.
disable samba+mail+network+proxy plugins, just test the base plugin first.

I don't know about the -f flag, u can run the service manually,

/usr/local/sbin/mmc-agent -d

See u latter!!!

deco5003 03-25-2010 12:13 AM

MMc-wont start on debian lenny
After a few changes and reconfiguring some files I finally got mmc-agent to load the modules, but I canít login to the mmc web page. Here is the mmc-agent.log it shows a program exception error and some INFO about ; Selecting provisioners: None and Selecting computer manager: none. Does anybody has try to install and configure MMC-Agent on Debian lenny 5.04 . I really donít know where to look for a solution any ideas. Thanks.

INFO mmc-agent 2.3.2 starting...
INFO Using Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14)
INFO Using Python Twisted 8.1.0
DEBUG Running as euid = 0, egid = 0
INFO Importing available MMC plugins
DEBUG Registering authenticator baseldap /
DEBUG Registering authenticator externalldap / mmc.plugins.base.externalldap.ExternalLdapAuthenticator
DEBUG Registering provisioner externalldap / mmc.plugins.base.externalldap.ExternalLdapProvisioner
INFO Plugin base loaded, API version: 7:0:3 build(743)
INFO Plugin mail loaded, API version: 6:1:4 build(743)
INFO Plugin network loaded, API version: 2:0:0 build(743)
WARNING Looks like NSCD is installed on your system. You should not run NSCD on a SAMBA server.
INFO Plugin samba loaded, API version: 5:2:4 build(748)
INFO Plugin proxy loaded, API version: 1:0:0 build(743)
INFO MMC plugins activation stage 2
INFO Selecting authenticator baseldap / base.BaseLdapAuthenticator
INFO Authenticator baseldap successfully validated
DEBUG Selecting provisioners: None
INFO Selecting computer manager: none
ERROR Program exception:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/mmc/", line 373, in agentService
startService(config, logger, pm.plugins)
File "/var/lib/python-support/python2.5/mmc/", line 424, in startService
sslContext = makeSSLContext(config.verifypeer, config.cacert, config.localcert)
File "/var/lib/python-support/python2.5/mmc/", line 60, in makeSSLContext
localCertificate = ssl.PrivateCertificate.loadPEM(
File "/usr/lib/python2.5/site-packages/twisted/internet/", line 584, in loadPEM

File "/usr/lib/python2.5/site-packages/twisted/internet/", line 561, in load
return Class._load(data, format)._setPrivateKey(privateKey)
File "/usr/lib/python2.5/site-packages/twisted/internet/", line 395, in load
return Class(crypto.load_certificate(format, requestData), *args)
Error: [('PEM routines', 'PEM_read_bio', 'no start line')]

All times are GMT -5. The time now is 03:03 AM.