Ad Widget

Collapse

Fresh install problem, no files in /etc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kerrygeek
    Senior Member
    • Dec 2008
    • 115

    #1

    Fresh install problem, no files in /etc

    I am installing on a fresh server, CentOS 5.2 and Zabbix 1.6.2. Per the manual, I built the database, untarred the file, did config and make install. I see all the files under the /usr/src directory but it didn't put anything at all under /etc/. I didn't see any errors go by while make install was running, is there a log somewhere that might tell me what happened? I tried it also with 1.6.1 which I have running on an older machine, it did the same thing. It did put the files under /usr/local/sbin/ like it should for the server, agent, etc. Here's what I've got:
    # locate zabbix_server.conf
    /usr/src/zabbix-1.6.1/misc/conf/zabbix_server.conf
    Notice it didn't find a .conf file under /etc/, there's not even an /etc/zabbix directory.

    Any ideas where I fouled up? I used:
    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl
    and I didn't see any errors go by but it went by pretty fast. It worked fine on my other machine, the only difference was that I used 1.6.1 and CentOS 5 instead of 5.2, is there a problem with using 5.2?

    Any ideas?

    Tnx,
    Kerry
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    Hi Kerry,

    In the Zabbix manual page 48, steps 8, 9, 10. It says "You may take misc/conf/zabbix_server.conf as example".

    This is probably not very clear. But you need to do it manually.

    mkdir /etc/zabbix
    cp misc/conf/zabbix_agentd.conf /etc/zabbix
    cp misc/conf/zabbix_server.conf /etc/zabbix

    You might also need to modify those files. Have a look at this install guide, it's for 1.4 but it's still the same procedure. http://www.muck.net/?p=16

    Good luck
    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • Kerrygeek
      Senior Member
      • Dec 2008
      • 115

      #3
      Thanks, I'll give it a try this morning. I didn't remember doing that back in Dec. when I set up my demo box, but I've slept since then and I'm no spring chicken anymore... ;-)

      Thanks for the help and also for the link, I'm checking it out now. I'm also a mysql newbie so I've been looking for tuning tips, that will be my next project.

      Thanks for your help!
      Kerry

      Comment

      • Kerrygeek
        Senior Member
        • Dec 2008
        • 115

        #4
        That was it, thanks for the link, it's running fine now. Maybe I used an RPM or something when I set up that demo box, I don't remember doing a lot of those things but the link was just what I needed.

        Kerry

        Comment

        Working...