efa 3.0.2.5 from 3.0.2.3 update notes [successful]

General eFa discussion
Post Reply
User avatar
pdwalker
Posts: 1583
Joined: 18 Mar 2015 09:16

efa 3.0.2.5 from 3.0.2.3 update notes [successful]

Post by pdwalker »

yum update -y
reboot
reboot
[root@efa ~]# EFA-Update -update
[EFA] Good you are root
[EFA] Starting update to EFA-3.0.2.5
[EFA] Good you are root
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* EFA: dl.efa-project.org
* base: mirrors.163.com
* epel: mirror1.ku.ac.th
* extras: mirrors.163.com
* mariadb: nyc2.mirrors.digitalocean.com
* updates: mirrors.btte.net
No Packages marked for Update
Your system has an updated kernel, but you are not running
on the latest kernel. Please restart your system and run
EFA-Update after restart.
/var/EFA/update/EFA-update-script died with exit status 1
cat /etc/grub.conf
default=1
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title CentOS (2.6.32-696.13.2.el6.x86_64.debug)
root (hd0,0)
kernel /vmlinuz-2.6.32-696.13.2.el6.x86_64.debug ro root=/dev/mapper/vg_00-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_00/lv_root rd_NO_MD KEYBOARDTYPE=pc KEYTABLE=us SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM vga=771 elevator=deadline
initrd /initramfs-2.6.32-696.13.2.el6.x86_64.debug.img
title CentOS (2.6.32-696.13.2.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-696.13.2.el6.x86_64 ro root=/dev/mapper/vg_00-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_LVM_LV=vg_00/lv_root rd_NO_MD KEYBOARDTYPE=pc KEYTABLE=us SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM vga=771 elevator=deadline
initrd /initramfs-2.6.32-696.13.2.el6.x86_64.img
uname -a
Linux efa.local 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 21:22:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
from /var/EFA/update/EFA-update-script:

Code: Select all

  CURRENTKERNEL="`uname -r`"
  LATESTKERNEL="`grep -m 1 CentOS /boot/grub/menu.lst | sed 's/.*(//' | sed 's/)//'`"
[root@efa ~]# CURRENTKERNEL="`uname -r`"
[root@efa ~]# LATESTKERNEL="`grep -m 1 CentOS /boot/grub/menu.lst | sed 's/.*(//' | sed 's/)//'`"
[root@efa ~]# echo $CURRENTKERNEL
2.6.32-696.13.2.el6.x86_64
[root@efa ~]# echo $LATESTKERNEL
2.6.32-696.13.2.el6.x86_64.debug
Hmmm... Looks like the latest kernel check is a bit iffy when the grub menu list is not the same order as the update script expects. Solution? Change my grub boot order config file or exclude the debug kernels.

Let's exclude the debug kernels in the EFA-update-script

Code: Select all

LATESTKERNEL="`grep CentOS /boot/grub/menu.lst | grep -v \.debug | head -1 | sed 's/.*(//' | sed 's/)//'`"
doesn't work. looks like the EFA-Update-script is itself updated so changes lost.

edit /etc/grub.conf and reorder

rerun EFA-Update -update
*** ERROR/WARNING SUMMARY ***
Table Index: MySQL version unsupported for index `subject_idx` on table `maillog`, upgrade to version >= 50604 (you have version 50505)
conf.php: obsolete configuration entry "TTF_DIR" still present
conf.php: optional configuration entry "RPC_PORT" is missing, needed if RPC_ONLY mode is enabled
conf.php: optional configuration entry "RPC_SSL" is missing, needed if RPC_ONLY mode is enabled
conf.php: optional configuration entry "RPC_REMOTE_SERVER" is missing, needed to show number of mails in postfix queues on remote server (RPC)
conf.php: optional configuration entry "VIRUS_REGEX" is missing, needed in distributed setup
conf.php: optional configuration entry "LDAP_BIND_PREFIX" is missing, needed when using LDAP authentication
conf.php: optional configuration entry "LDAP_BIND_SUFFIX" is missing, needed when using LDAP authentication
conf.php: optional configuration entry "EXIM_QUEUE_IN" is missing, needed only if using Exim as MTA
conf.php: optional configuration entry "EXIM_QUEUE_OUT" is missing, needed only if using Exim as MTA
conf.php: optional configuration entry "PWD_RESET_FROM_NAME" is missing, needed if Password Reset feature is enabled
conf.php: optional configuration entry "PWD_RESET_FROM_ADDRESS" is missing, needed if Password Reset feature is enabled
conf.php: optional configuration entry "MAIL_SENDER" is missing, needed if you use Exim or Sendmail Queue
conf.php: optional configuration entry "SESSION_NAME" is missing, needed if experiencing session conflicts
conf.php: optional configuration entry "SENDMAIL_QUEUE_IN" is missing, needed only if using Sendmail as MTA
conf.php: optional configuration entry "SENDMAIL_QUEUE_OUT" is missing, needed only if using Sendmail as MTA
conf.php: optional configuration entry "USER_SELECTABLE_LANG" is missing, comma separated list of codes for languages the users can use eg. "de,en,fr,it,nl,pt_br"
conf.php: optional configuration entry "MAILWATCH_SMTP_HOSTNAME" is missing, needed only if you use a remote SMTP server to send MailWatch emails
conf.php: optional configuration entry "SESSION_TIMEOUT" is missing, needed if you want to override the default session timeout
conf.php: optional configuration entry "ALLOW_NO_USER_DOMAIN" is missing, allow usernames not in mail format for domain admins and regular users
conf.php: optional configuration entry "ENABLE_SUPER_DOMAIN_ADMINS" is missing, allows domain admins to change domain admins from the same domain
3.0.2.4 update complete

3.0.2.5 update...
*** ERROR/WARNING SUMMARY ***
Table Index: MySQL version unsupported for index `subject_idx` on table `maillog`, upgrade to version >= 50604 (you have version 50505)
conf.php: obsolete configuration entry "TTF_DIR" still present
conf.php: optional configuration entry "RPC_PORT" is missing, needed if RPC_ONLY mode is enabled
conf.php: optional configuration entry "RPC_SSL" is missing, needed if RPC_ONLY mode is enabled
conf.php: optional configuration entry "RPC_REMOTE_SERVER" is missing, needed to show number of mails in postfix queues on remote server (RPC)
conf.php: optional configuration entry "VIRUS_REGEX" is missing, needed in distributed setup
conf.php: optional configuration entry "LDAP_BIND_PREFIX" is missing, needed when using LDAP authentication
conf.php: optional configuration entry "LDAP_BIND_SUFFIX" is missing, needed when using LDAP authentication
conf.php: optional configuration entry "EXIM_QUEUE_IN" is missing, needed only if using Exim as MTA
conf.php: optional configuration entry "EXIM_QUEUE_OUT" is missing, needed only if using Exim as MTA
conf.php: optional configuration entry "PWD_RESET_FROM_NAME" is missing, needed if Password Reset feature is enabled
conf.php: optional configuration entry "PWD_RESET_FROM_ADDRESS" is missing, needed if Password Reset feature is enabled
conf.php: optional configuration entry "MAIL_SENDER" is missing, needed if you use Exim or Sendmail Queue
conf.php: optional configuration entry "SESSION_NAME" is missing, needed if experiencing session conflicts
conf.php: optional configuration entry "SENDMAIL_QUEUE_IN" is missing, needed only if using Sendmail as MTA
conf.php: optional configuration entry "SENDMAIL_QUEUE_OUT" is missing, needed only if using Sendmail as MTA
conf.php: optional configuration entry "USER_SELECTABLE_LANG" is missing, comma separated list of codes for languages the users can use eg. "de,en,fr,it,nl,pt_br"
conf.php: optional configuration entry "MAILWATCH_SMTP_HOSTNAME" is missing, needed only if you use a remote SMTP server to send MailWatch emails
conf.php: optional configuration entry "SESSION_TIMEOUT" is missing, needed if you want to override the default session timeout
conf.php: optional configuration entry "ALLOW_NO_USER_DOMAIN" is missing, allow usernames not in mail format for domain admins and regular users
conf.php: optional configuration entry "ENABLE_SUPER_DOMAIN_ADMINS" is missing, allows domain admins to change domain admins from the same domain
3.0.2.5 update complete, no other errors.

rebooting...

everything appears to be running, mail delivery as normal, no obvious errors in the log files so far
Post Reply