LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-02-2010, 07:43 PM   #1
deco5003
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Rep: Reputation: 0
Problem to start MMc-agent


Using the code:
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/agent.py", line 34, in <module>

from mmc.client import makeSSLContext

File "/usr/lib/python2.5/site-packages/mmc/client.py", 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

Last edited by deco5003; 03-02-2010 at 07:45 PM. Reason: add somo comment
 
Old 03-04-2010, 01:06 PM   #2
klabacita
Member
 
Registered: Dec 2009
Posts: 33

Rep: Reputation: 16
Smile

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:

apache+php
redhat-lsb
python-twisted
python-ldap
python-libacl
python-psycopg
postgresql-python
mx
python-twisted-web
PyXML
python-fpconst
python-soap
php-xml
php-xmlrpc

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!!!

Last edited by klabacita; 03-04-2010 at 01:09 PM.
 
Old 03-25-2010, 12:13 AM   #3
deco5003
LQ Newbie
 
Registered: Sep 2009
Posts: 16

Original Poster
Rep: Reputation: 0
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 /
base.BaseLdapAuthenticator
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/agent.py", line 373, in agentService
startService(config, logger, pm.plugins)
File "/var/lib/python-support/python2.5/mmc/agent.py", line 424, in startService
sslContext = makeSSLContext(config.verifypeer, config.cacert, config.localcert)
File "/var/lib/python-support/python2.5/mmc/client.py", line 60, in makeSSLContext
localCertificate = ssl.PrivateCertificate.loadPEM(fd.read())
File "/usr/lib/python2.5/site-packages/twisted/internet/_sslverify.py", line 584, in loadPEM
crypto.FILETYPE_PEM)

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


Reply

Tags
console, error, exception, management, mandriva, program, starting



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ricoh Sd/mmc Card Reader Won't Read Mmc Cards it-s Linux - Hardware 4 07-02-2011 05:49 AM
What is the relationship between the linux mmc media driver and mmc host driver? archieval Linux - General 0 07-13-2009 12:36 AM
Belkin serial UPS's agent does not start automatically at boot nonsense28sal Linux - Hardware 2 05-30-2008 09:12 AM
Accessing MMC card in Laptop built-in MMC Card Slot with knoppix bröggle Linux - Laptop and Netbook 0 08-18-2004 08:44 AM
How to start korganiser and reminger agent whenever i start the x deskTop seastar Linux - Software 5 08-15-2004 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration