kermith72 / auto_install

Automated installation of Centreon on Debian with sources
GNU Affero General Public License v3.0
11 stars 13 forks source link

Unable to deploy poller using centreon_poller_2010.sh #13

Open jmgranja opened 3 years ago

jmgranja commented 3 years ago

Hi Mr. Kermith, Wonderfull work here! Thank you for your coding time.

I'm trying to test you script in a new and clean raspbian Buster minimal installation. So far I found a couple of errors and, maybe some solution. 1.- Installation report on screen reports incorrectly about FAIL/OK installed items.

2.- Regarding "Centreon Connectors" failed installation: I managed to install it correctly modifying line 171 of v1.57 as follows: --- /usr/local/bin/conan install .. >> ${INSTALL_LOG} +++ /usr/local/bin/conan install .. --build=fmt --build=gtest --build=spdlog >> ${INSTALL_LOG}

3.- Regarding "Centreon Engine" failed installation: I tried with following suggested solution, in line 228 --- /usr/local/bin/conan install .. >> ${INSTALL_LOG} +++ /usr/local/bin/conan install .. --build=missing >> ${INSTALL_LOG} But I got blocked in a dead end with following error I don't know how to solve:

[ 98%] Linking CXX static library ../lib/libgrpc++.a [ 98%] Built target grpc++ make: *** [Makefile:130: all] Error 2 grpc/1.25.0@inexorgame/stable: grpc/1.25.0@inexorgame/stable: ERROR: Package 'aebc1ca5c7ad1699f83c13e92c47996d8e4822fd' build failed grpc/1.25.0@inexorgame/stable: WARN: Build folder /root/.conan/data/grpc/1.25.0/inexorgame/stable/build/aebc1ca5c7ad1699f83c13e92c47996d8e4822fd ERROR: grpc/1.25.0@inexorgame/stable: Error in build() method, line 119 cmake.build() ConanException: Error 2 while executing cmake --build '/root/.conan/data/grpc/1.25.0/inexorgame/stable/build/aebc1ca5c7ad1699f83c13e92c47996d8e4822fd/build_subfolder' '--' '-j4'

4.- Regarding "Centreon Broker" failed installation: Suggestion is to apply similar correction to line 379. --- /usr/local/bin/conan install .. >> ${INSTALL_LOG} +++ /usr/local/bin/conan install .. --build=missing >> ${INSTALL_LOG}

Although I still couldn't test this one.

Hope this might help to improve your code.

Regards Juanma Granja

kermith72 commented 3 years ago

Hi Juanma,

Sorry, the 2010 version of Centreon is not yet compatible with Raspbian. There are some problems to check with the Conan packages. I'm working on this project with Centreon developers on this point.

Regards