PDA

View Full Version : Can not find /etc/inetd.conf


rusavolk
21-02-2005, 22:43
Hi,

I am trying to install Zabbix. I am following Zabbix 'Manual v1.1 (alpha)' instructions. I am using Linux RH 9.

Currnetly i have problems with installing server.

a) My first problem is on step 4. In a manual it says shell> ./configure—with-mysql –with-net-snmp # for MySQL
i have to put space between shell> ./configure and with-mysql, otherwise i get an error message directory ./configure—with-mysql directory does not exist.

b) My secord problem is that i can not find etc/inetd.conf file (in step 7 of server install)

i was wondering when is the etc/indetd.conf file created? i assume after i ran the 'make' command.

If it is not there does this meen that my installation has failed?

c) My third problem is that i can not see /etc/zabbix/zabbix_agent.conf file as well as /etc/zabbix/zabbix_agentd.conf and /etc/zabbix/zabbix_server.conf. the directory /etc/zabbix does not exist.

My qestion here is do i have to create /etc/zabbix directory manually or it gets created in step 5. (after 'make') command is ran.

Thank you in advance, i look forward to your reply.

cooper
21-02-2005, 23:14
Hi,


a) My first problem is on step 4. In a manual it says shell> ./configure—with-mysql –with-net-snmp # for MySQL
i have to put space between shell> ./configure and with-mysql, otherwise i get an error message directory ./configure—with-mysql directory does not exist.


I am going to assume you un-tared to /usr/local/src/zabbix-1.1a5/

The manual does seem to have a problem with spaces. The configure line should be :

./configure --with-mysql --with-net-snmp

there is 1 space before each --with directive


b) My secord problem is that i can not find etc/inetd.conf file (in step 7 of server install)


i was wondering when is the etc/indetd.conf file created? i assume after i ran the 'make' command.

If it is not there does this meen that my installation has failed?



the indit.d file can be found at /usr/local/src/zabbix-x.x.x/misc/init.d/ You must copy it to /etc/init.d/ manually and then run chkconfig to add it to the default levels.


c) My third problem is that i can not see /etc/zabbix/zabbix_agent.conf file as well as /etc/zabbix/zabbix_agentd.conf and /etc/zabbix/zabbix_server.conf. the directory /etc/zabbix does not exist.

My qestion here is do i have to create /etc/zabbix directory manually or it gets created in step 5. (after 'make') command is ran.


Yes you will need to create the /etc/zabbix directory and then copy in the default .conf files from /usr/local/src/zabbix-x.x.x/misc/conf/

HTH

cooper

rusavolk
22-02-2005, 00:39
Cooper,
Thanks you for the reply, you made lots of things clear to me.

One more question. I am installing the Zabbix as root, althought i have created a user zabbix. Do i have to be logged on as zabbix to install the probram or it can be done as root?

Thans again

cooper
22-02-2005, 14:52
Cooper,
Thanks you for the reply, you made lots of things clear to me.

One more question. I am installing the Zabbix as root, althought i have created a user zabbix. Do i have to be logged on as zabbix to install the probram or it can be done as root?

Thans again

Rusavolk,

Thanks, I am glad I could help.

Installing as root is fine. Just check your permissions on /etc/zabbix and always run zabbix as a non-root user.

Happy monitoring!

cooper.

rusavolk
22-02-2005, 17:34
Cooper,
YOu wrote:
the indit.d file can be found at /usr/local/src/zabbix-x.x.x/misc/init.d/ You must copy it to /etc/init.d/ manually and then run chkconfig to add it to the default levels

But unforutnatly i can not locate it there.
Is there another location i should take a look at?
Thanks

rusavolk
22-02-2005, 17:38
Above i meant the
etc/inetd.conf file
thanks

Cristiane
25-10-2006, 11:41
Hi,

I am with the same problem, I cant find the inetd.conf, I also tried under the misc/init.d, but I just have the directories debian, fedora, etc.
Did you create a new one? I am using ubuntu 5.

Thanks a lot,
Cristiane