who cant help me to Install Netxms-1.0.13 on CentOS 6.0 now! Please help me!

Started by goody34, January 05, 2012, 08:46:17 PM

Previous topic - Next topic

goody34

I is install on Cenos 6.0
when run sh ./configure --> messenger erro!
sh ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for aCC... no
checking for gcc... no
checking for cc... no
checking for cl... no
configure: error: in `/root/netxms-1.0.13':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
What this?

Victor Kirhenshtein

Hi!

You have to install development packages in order to compile NetXMS from sources. I don't know exact package names for CentOS. You will need gcc and g++ (they may come in one package or in separate packages).

Best regards,
Victor

goody34

thank you victor!
when install next step
[root@mail ~]# mysql> CREATE DATABASE netxms;
[root@mail ~]# mysql> GRANT ALL ON netxms.* TO netxms IDENTIFIED BY 'PaSsWd';
[root@mail ~]# mysql> \q
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

what fault is it. how fix?

i started to learn linux so do not know much :(

lindeamon

is mysql installed on your system ?
i would suggest installing the latest version and after that just read the "install" file in the netxms directory for instructions.
there is no need for you to create the db your self. there is a sql file for that.

goody34

thank you very nuch. I have successfully installed.
I want to monitor a mail server. now what to do to monitor the mail server  ???

lindeamon

here are some options:

1. monitor port 25 - the basics to do that is to use a node which has netxms agent installed on it (if you have it on the mail server it is better) and then create a network service.try to look in the forum for the right syntax regarding network services
2. monitor the service of the mail server.

what mail server do you use ?