View Full Version : Upgrade to 1.6.6 from 1.6.1
tbutcher
14-09-2009, 14:32
I am new to Zabbix and have been handed the task of upgrading to v1.6.6 from 1.6.1. It is currently running on Ubuntu 9.04. I have the installation instructions however when it says it's quite simple to upgrade and to use the current installation instructions, the current installation instructions aren't as straight forward as they make it out to be. I found this statement on another post: "Just make new binaries, overwrite front-end files and restart everything. Also execute the SQL statements from the release notes"
So my question is, is how do you make and install the new binaries and front end? Many thanks. todd
One other thing on a side note, how can you tell what account Zabbix is running under. I see that there is a profile for a user called Zabbix, but when you look in the users and groups it doesn't exist. You can't make a user zabbix because it says it already exists. tb
first, note that installed zabbix might be from ubuntu packages, so you should be ready to maintain/upgrade it yourself from now on, as well as removing installed package.
creating binaries is briefly covered in the manual - check that first.
as for frontend, after removing ubuntu package, you should copy over files found in the source archive directory frontends/php to the directory where zabbix frontend files are currently located.
before attempting all this, i'd strongly suggest creating backup up contents of /etc/zabbix directory, file config/zabbix.conf.php in the current frontend directory and zabbix database.
tbutcher
14-09-2009, 20:07
first of all thanks, richlv. Well, I am getting the hang of it a little at a time but I am a WinTel guy and have no experience with binaries and what to do with them.
1)I have the source files extracted (bin, build, create, docs, etc.) do these need to go into a specific directory or location?
2)are these source files found in the extracted download 1.6.6 the binaries and do they need to just be dropped into a certain directory or are there other steps involved?
It appears that the guy who installed this originally didn't leave anything in the default locations because practically none of the information I have been reading as far as commands and file structures match what I inherited. It makes it tough to find files that you need and even tougher when you don't even know what you need. Thanks again
first thing, as mentioned - check whether zabbix was installed from packages or from source. this is distribution specific.
as for compiling binaries from source (as you definitely have experience with binaries, just not with making ones ;) ), check out the manual - it should give basic instructions.
frontend files, as noted, are to be found in frontends/php directory. after upgrading binaries, you should copy contents of that directory over to where zabbix frontend files are currently located. distribution and installation method specific, could be /usr/local/apache2/htdocs, /srv/www/htdocs and other locations. for frontend upgrading there should be no other steps necessary (although creating a copy of the old contents is advised).
tbutcher
15-09-2009, 14:05
Thanks again. When I type in:
./configure --enable-server --with-mysql --with-net-snmp –with-jabber –
with-libcurl # for MySQL + Jabber + WEB monitoring
I get access denied. Do I need to change directories and also I don't know if it's a command or not but at the beginning of this command in the documentation it has shell> before the command above. Is that necessary?
And if it is ever successful, where does it put the compiled binaries? tb
jrandolph
16-09-2009, 00:20
Sounds like you're not running this as root or a privileged enough user to access that directory.
This link might give you a clue as to what goes where on an Ubuntu system. You are upgrading not installing from scratch, so you don't need to do everything. Just thought it might help you out.
http://www.zabbix.com/wiki/howto/install/ubuntu/ubuntuinstall (http://www.zabbix.com/forum/../wiki/howto/install/ubuntu/ubuntuinstall)
Good luck.