-
Notifications
You must be signed in to change notification settings - Fork 19
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
CES 3.3 : Module MySQLdb FAIL, Modules Python weren't installed with success FAIL #3
Comments
Hi Thank You Loic |
Hi, I have the same issue with v 2.3.1 on CES 3.3, has anyone managed to resolve it ? install.log finish with :
Full install.log attached Thank you for any help. Fab |
Hi, I finally managed to install this version on CES 3.3 by updating git and then git cloning centreon-discovery rather than downloading it :/ |
Hi |
@lolo54000 Add MariaDB repository and update
Install requirements
Clone Centreon-Discovery
Prepare before install
replace line 210
Install
Then you should be able to install the module in Centreon Web administration. ... but it looks like discovering does not work anyway, still something missing :/ |
Got it ! First don't install last version of nmap, it won't work with it, if you did, do this :
Next, if you only have a central, you must install the module in "both" mode : Last, there is an error in the file /usr/share/centreon-discovery/DiscoveryAgent_central.py somewhere in here line 69:
so it does not find the database password. I guess someone can provide a cleaner fix :) |
best fix I can find : replace line 22 |
Hi everyone,
I'm trying to install centreon-discovery on CES 3.3. Mariadb-devel is installed.
I followed this issue to resolve "MariaDB-devel FAIL"
--> https://github.com/Centreon-Community/centreon-discovery/issues/2
But now i got the following error :
`[root@vpc-gda-centreon centreon-discovery-master]# ./install.sh -i -t both
Waiting ...
http://community.centreon.com/projects/centreon-discovery
Thanks for using Centreon
v2.3.1
OS found: CENTOS OK
rm OK
cp OK
mv OK
/bin/chmod OK
/bin/chown OK
echo OK
more OK
mkdir OK
find OK
/bin/grep OK
/bin/cat OK
/bin/sed OK
/usr/bin/python OK
/usr/bin/gcc OK
/usr/bin/nmap OK
/usr/bin/yum OK
python-devel OK
MariaDB-devel OK
You will now read Centreon Discovery module Licence.
Press enter to continue.
Do you accept GPL license ?
[y/n], default to [n]:
python 2.6 (min. 2.4) OK
nmap 5.51 (min. 5.0) OK
Module PyCrypto ... OK
Module NMAP ... OK
Module SetupTools ... OK
Module MySQLdb ... FAIL
Modules Python weren't installed with success FAIL
INSTALL ABORT
`
I found with "echo" flags that the script is trying to "install modPython;" on line 321. That's why i have a FAIL.
Do you have some advices to help me ?
Thank you.
Frédéric LAINÉ
The text was updated successfully, but these errors were encountered: