Index: [Article Count Order] [Thread]

Date:  Mon, 18 Sep 2006 06:22:04 -0700 (PDT)
From:  Neritan Myftiu <nmyftiu (at mark) yahoo.com>
Subject:  [coba-e:07042] A (hopefully useful) list of issues encountered during my BQ upgrade to 20060909 version release
To:  coba-e (at mark) bluequartz.org
Message-Id:  <20060918132205.26361.qmail (at mark) web53515.mail.yahoo.com>
X-Mail-Count: 07042

Hi all,

Last weekend was dedicated to the thorough upgrade (20060909) of my
BlueQuartz server and here's a summary of issues that I encountered along
the way. It's a long message, but I hope that having everything in one
place is more useful as a feedback to the developers and users alike.

1- Upgrading through Yum

It would not go on installing because of conflict with 'vacation.pl'
provided by OpenWebmail 2.52-1 package from WebMerch. However, I had
manually linked to the original BlueQuartz file as the one that comes with
OpenWebmail does not read properly the users' vacation/auto-reply files. I
uninstalled that package, and installation went on as usual.

A list of warnings and errors follows (the .rmpnew warnings are there just
for reference):

=== Start of logged warnings/errors from 'yum update'
...
Updating: base-apache-glue 100 % done 3/176
Warning: File /etc/httpd/conf/vhosts/preview was missing.
...
updating: sausalito-palette 100 % done 47/176
warning: /etc/proftpd.conf created as /etc/proftpd.conf.rpmnew
warning: /etc/xinetd.d/proftpd created as /etc/xinetd.d/proftpd.rpmnew
Updating: proftpd 100 % done 48/176
...
warning: /etc/httpd/conf/httpd.conf created as
/etc/httpd/conf/httpd.conf.rpmnew
Updating: httpd 100 % done 82/176
/var/tmp/rpm-tmp.35146: line 4: /usr/sausalito/scripts/initHttpd.sh: No
such file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060401BQ52.centos4.noarch)
scriptlet failed, exit status 127
...
Updating: mod_ssl 100 % done 86/176
/var/tmp/rpm-tmp.43357: line 1: /usr/sausalito/scripts/initSSL.sh: No such
file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060401BQ52.centos4.noarch)
scriptlet failed, exit status 127
...
Updating: base-bluequartz-capstone 100 % done 89/176
/bin/cp: cannot stat `/usr/sausalito/triggers/sysklogd/syslog.logrotate':
No such file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 1
/bin/cp: cannot stat `/usr/sausalito/triggers/webalizer/webalizer.conf': No
such file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 1
/var/tmp/rpm-tmp.43357: line 4: /usr/sausalito/scripts/initHttpd.sh: No
such file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 127
/var/tmp/rpm-tmp.43357: line 1: /usr/sausalito/scripts/initSSL.sh: No such
file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 127
/bin/cp: cannot stat `/usr/sausalito/triggers/sendmail/smtp.sendmail': No
such file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 1
/bin/cp: cannot stat
`/usr/sausalito/triggers/iptables/iptables-CentOS4.init': No such file or
directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 1
/bin/cp: cannot stat `/usr/sausalito/triggers/initscripts/ifup-CentOS4': No
such file or directory
error:
%trigger(base-bluequartz-capstone-5100R-1.20060909BQ73.centos4.noarch)
scriptlet failed, exit status 1
...
=== End of logged warnings/errors from 'yum update'

I noticed the following problems and applied solutions that worked for me:

1.a - HTTPD
Did not start complaining about SSL port binding.
Solution (from list): commented out 'Listen 443' in
/etc/httpd/conf.d/ssl.conf

1.b - BlueQuartz version
BlueQuartz version at 'Installed software' was still '2005...'.
Solution (from list): downloading full 'tar.gz', decompressing and
'./update.sh'.

2- Issues noticed after manual upgrade

The first 'yum update' suggested perl-suidperl; maybe it was a coincidence,
but others in this list had it days before I did.

2.a SENDMAIL - restarting
Sendmail restarted even though I had manually disabled with 'chkconfig' and
MailScanner was running fine; of course, 'cannot bind to' errors were
logged.

The box was happy and sendmail was never restarted (before this upgrade)
during 'swatch' checks whenever MailScanner was running. Partial solution:
chdir to /etc/rc.d/init.d/, stop all mail processes, move sendmail to
sendmail.orig, copy MailScanner to sendmail, disable MailScanner and enable
sendmail (chkconfig --level ...). I call it partial, because when the box
restarts, MailScanner (now started as 'sendmail') starts a second instance
each for sendmail_out/sendmail_in queues and still 'cannot bind to' error
is logged. So, a manual 'stop/killall' and 'service sendmail start' is
still required to remove extra sendmail processes. If I cycle SMTP server
on/off/on through GUI extra processes and errors appear again, but if the
restart is done from command line everything works with no problems at all.

2.b SENDMAIL - 'Smart Relay Server' bypass

I use an external relay server for outgoing messages, and that was bypassed
after the upgrade. Sendmail was trying to deliver directly. Solution:
toggled value of 'Smart Relay...', (empty, 'Save', restart, reset to
correct server, 'Save', restart). Restarts were done manually due to the
unsolved situation as in 2.a above.

2.c BlueLinQ - Installed software

'Installed software' did not show updated versions for the packages that I
had installed before (hostfix, authExternal, frontpage, etc.). I unistalled
these pkgs (using GUI) and reinstalled using 'yum'; but packages are not
listed any more in BlueLinQ. Isn't it useful to have the BlueQuartz
components and their versions listed somewhere in the BlueLinq GUI?

2.d Senders and Receivers usage report

A blank page was shown instead of 'Mail Recipients'. I found out a PHP
'memory size exhausted' error in
"/usr/sausalito/ui/libPhp/uifc/ScrollList.php on line 307, referer:
https://server.domain.tld:81/base/sitestats/summary.php?type=mail&group=site1;"

Solution: I was successful after increasing 'memory_limit' to 24M in
/etc/admserv/php.ini and 'Mail Recipients'.

However, 'View Mail Senders' errors with a blank page for the same 'memory
size exhausted' error in
"/usr/sausalito/ui/web/base/sitestats/ReportHelper.php on line 265".
Increased 'memory_limit' in steps of 32M and it would change the error at
256M, now with:

[client 12.34.56.78] Error: FormField ID \x1c\xfa\x8d\x14\x12, referer:
https://server.domain.tld:81/base/sitestats/request.php?type=mail&group=site1

No solution that I can think of: all the software are at their latest
version, there's plenty of disk space, 18% of physical RAM free with 0
swaps/sec in a long time.

2.e Favicon.ico Missing

File does not exist: /usr/sausalito/ui/web/favicon.ico - downloaded this
from BlueQuartz web site (http://bluequartz.org/favicon.ico) (not a big
deal - but the adm_error log gets lots of it).

== End of log ==

Please forgive me for this is a really long message - if you have a
comment, please start a new message for the issues I have mentioned above.

Sincerely,
Neritan



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com