View Single Post
Old 14th July 2008
roundkat roundkat is offline
Shell Scout
 
Join Date: May 2008
Posts: 115
Default

Well..
Nothing to report..
Everything upgraded without incident.

I didn't cvs update ports, instead I just pulled ports.tar.gz down.
Had to run make update on:
- freeze
- urar
- unarj

Code:
--- clamav-0.93 -------------------
You should also check /etc/clamd.conf (which was modified)
You should also check /etc/freshclam.conf (which was modified)
You should also run rm -fr /var/db/clamav/*       
You should also run rm -fr /var/spool/clamav/*    
You should also run rm -fr /var/clamav/*
Edit /etc/clamd.conf and /etc/freshclam.conf
to use ClamAV.
Had to tweak a couple of things:
Code:
# rm -fr /var/db/clamav/*       
# rm -fr /var/spool/clamav/*    
# run rm -fr /var/clamav/*

# chown -R _clamav:_clamav /var/amavisd
# freshclam
Also, Nagios did not update so I had to manually run the update
for both packages.
Code:
root@reflux/usr/ports/net#pkg_add -ui nagios 
Not updating .libs-gettext-0.16.1, remember to clean it
Candidates for updating nagios-3.0.2-chroot -> nagios-3.0.3-chroot
Candidates for updating glib2-2.16.1 -> glib2-2.16.4                                                    
Candidates for updating nagios-plugins-1.4.11 -> nagios-plugins-1.4.11                                  
Candidates for updating pcre-7.7 -> pcre-7.7p0                                                          
Looking for updates: complete                                                                           
Running the equivalent of pkg_add -r nagios-3.0.3-chroot glib2-2.16.4 nagios-plugins-1.4.11 pcre-7.7p0
New package nagios-3.0.3-chroot contains potentially unsafe operations
        @exec ln -s /var/www/etc/nagios /etc
        @exec ln -s /var/www/var/log/nagios /var/log
        @exec ln -s /var/www/var/nagios /var
proceed with update anyways? [y/N/a] y
Old package nagios-3.0.2-chroot contains potentially unsafe operations
        @unexec rm /etc/nagios
        @unexec rm /var/log/nagios
        @unexec rm /var/nagios
proceed with update anyways? [y/N/a] y
Forward dependency of nagios-web-3.0.2-chroot on nagios-3.0.2-chroot doesn't match nagios-3.0.3-chroot, proceed with update anyways? [y/N/a] y
pcre-7.7p0 (extracting): complete                                                                             
pcre-7.7 (deleting): complete                                                                                 
pcre-7.7p0 (installing): complete                                                                             
glib2-2.16.4 (extracting): complete                                                                           
glib2-2.16.1 (deleting): complete                                                                             
glib2-2.16.4 (installing): complete                                                                           
nagios-plugins-1.4.11 (extracting): complete                                                                  
nagios-plugins-1.4.11 (deleting): complete                                                                    
nagios-plugins-1.4.11 (installing): complete                                                                  
nagios-3.0.3-chroot (extracting): complete                                                                    
nagios-3.0.2-chroot (deleting): complete                                                                      
nagios-3.0.3-chroot (installing): complete                                                                    
Clean shared items: complete                                                                                 
--- nagios-3.0.2-chroot -------------------
You should also check /var/www/etc/nagios/cgi.cfg (which was modified)
You should also check /var/www/etc/nagios/nagios.cfg (which was modified)
You should also check /var/www/etc/nagios/objects/commands.cfg (which was modified)
You should also check /var/www/etc/nagios/objects/contacts.cfg (which was modified)
You should also check /var/www/etc/nagios/objects/localhost.cfg (which was modified)
You should also check /var/www/etc/nagios/objects/templates.cfg (which was modified)
Remember to update /var/www/var/log/nagios/nagios.log
Remember to update /var/www/var/nagios/objects.cache
Remember to update /var/www/var/nagios/retention.dat
Remember to update /var/www/var/nagios/status.dat
Remember to update /var/www/var/nagios/rw/nagios.cmd
You should also run rm -f /var/www/etc/nagios/*
You should also run rm -f /var/www/var/log/nagios/archives/*
--- nagios-3.0.3-chroot -------------------
Sample configuration files and web server configuration can be found in
/usr/local/share/examples/nagios.

Beware that Nagios might or might not work correctly on 64bit machines.

To start nagios automatically, add these lines to /etc/rc.local

if [ -x /usr/local/sbin/nagios ]; then
        install -d -o _nagios /var/run/nagios
        echo -n ' nagios'; /usr/local/sbin/nagios -d /etc/nagios/nagios.cfg
fi
--- nagios-plugins-1.4.11 -------------------
The check_dhcp and check_icmp plugins need to run with superuser
privileges. For security reasons they are not installed suid root
by default. If you want to use them, you have to either change
their mode manually or use systrace's privilege elevation feature.

For further details see /usr/local/share/doc/nagios-plugins/README.OpenBSD.
__________________
All posts sent on ReCycled Electrons...
Reply With Quote