• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

BIND, Courier-IMAP, etc did not upgrade well.....

M

Matt.D

Guest
.....that is a bit of under-statement.....


after 7 hours of p***ing about with PLESK, I managed to upgrade from 7.1.6 to 7.1.7 to 7.5.2 however.....

for those that have been browsing the forums, would have seen my posts in the 7.1 Reloaded Troubleshooting and Problems forums.


I now can't start BIND or Courier-IMAP :( :(

PLESK panel gives me this error for Qmail:-
Code:
Unable to make action: Unable to manage service by mailmng: mailmng: Not an executable file: '/etc/rc.d/init.d/qmail'
--------------------------------------------------------------------------------
0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by mailmng: mailmng: Not an executable file: '/etc/rc.d/init.d/qmail'")


and this for BIND:-
Code:
Unable to make action: Unable to manage service by mailmng: mailmng: Not an executable file: '/etc/rc.d/init.d/courier-imap'
--------------------------------------------------------------------------------
0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by mailmng: mailmng: Not an executable file: '/etc/rc.d/init.d/courier-imap'")


Upgrade log give the following:-
Code:
Upgrading crontabdone
 Trying to change home directory for user psaadm... done
 Trying to convert DNS zones to lower case... done
ERROR 1054 at line 1: Unknown column 'Show_db_priv' in 'field list' (this one line is repeated 18 times)
ERROR 1054 at line 1: Unknown column 'Create_tmp_table_priv' in 'field list' (again this one lines is repeated 18 times)
 Trying to install a new key... Key parse error at EOF
Key parse error at EOF
Bad key: r
Bad key: read init
Bad key: read init
Installing /etc/psa/psa.key.
done


hope that helps

any help would be much appreciated
 
oh, one more thing..

I hvae been browsing the /etc/rc.d/init.d and both the files are there but, I just noticed that courier-imap, qmail & qmail-rpmsave all all 0 bytes in size !!!!

I have been trying to re-install those RPM, but I cant as the system says that they are already installed and I can't uninstall them...

how can this or any thing else be fixed?
 
After forcing the installation of the 7.5 RPM, courier-imap is not larger than 0 bytes.


Still no luck on QMAIL.

bby accident I dicovered that HTML documents and images would be served up so, I recovered an old php.ini files and overwrote the new one (after backing it up ofcourse). Now the websites work at least.

FTP is still down. but BIND, Courier-IMAP, APACHE are running....


So, what do I have to do to get FTP running again and Qmail.....

Someone please suggest something....
 
I still cant get the Qmail to wrok (as file size in **/init.d/ directory is 0 bytes !).

FTP is still down, dispite 3 more install/upgrade attempts.
proftpd.include & proftpd.conf are also both 0 bytes in size

Here is the content of the upgrade log file:-

Code:
Trying to set up default qmail permissions... done

===> Installing Qmail server
 Trying to set maillog file to /usr/local/psa/var/log/maillog... done
 Configuring Qmail...
 Trying to generate SSL certificates for TLS sessions... done
 Trying to register service qmail...  using /sbin/chkconfig

WARNING!
During the register found some small problems(see log file: /tmp/psa_7.5.2_RedHat_9_build75050128.10_upgrade.log)

Continue...

done
 Trying to register qmail in alternatives... done
 Trying to start Qmail services... done
 Trying to define super-server internet daemon type... xinetd
 Trying to check if xinetd daemon is running... done


START LOGGING: Mon Mar  7 13:39:42 EST 2005
 Trying to stop MySQL server... Stopping MySQL:  [  OK  ]
done
mysqld (pid 20737) is running...
mysqld (pid 20737) is running...
mysqld is stopped
 Making some checks before upgrading

 Now BIND server shutting down...

 Trying to stop BIND server... Stopping named: 
done
 Trying to start BIND server... Starting named: [  OK  ]
done

 BIND server starts Ok.

 Trying to start MySQL server... Starting MySQL:  [  OK  ]
done
 Trying to establish test connection... connected
mysqld (pid 23189) is running...
 Trying to stop MySQL server... Stopping MySQL:  [  OK  ]
done
mysqld (pid 23189) is running...
mysqld (pid 23189) is running...
mysqld is stopped

===> Checking for the necessary system accounts
 Checking for the system groups and users necessary for Qmail...
 Checking for the group 'nofiles'...
 Group 'nofiles' already exists

 Checking for the user 'alias'...
 User 'alias' already exists

 Checking for the user 'qmaild'...
 User 'qmaild' already exists

 Checking for the user 'qmaill'...
 User 'qmaill' already exists

 Checking for the user 'qmailp'...
 User 'qmailp' already exists

 Checking for the group 'qmail'...
 Group 'qmail' already exists

 Checking for the user 'qmailq'...
 User 'qmailq' already exists

 Checking for the user 'qmailr'...
 User 'qmailr' already exists

 Checking for the user 'qmails'...
 User 'qmails' already exists

 Checking for the group 'popuser'...
 Group 'popuser' already exists

 Checking for the user 'popuser'...
 User 'popuser' already exists

 Checking for the system groups and users necessary for MySQL...
 Checking for the group 'mysql'...
 Group 'mysql' already exists

 Checking for the user 'mysql'...
 User 'mysql' already exists

 Checking for the system groups and users necessary for admin server...
 Checking for the group 'psaadm'...
 Group 'psaadm' already exists

 Checking for the user 'psaadm'...
 User 'psaadm' already exists

 Checking for the system groups and users necessary for Apache...
 Checking for the group 'apache'...
 Group 'apache' already exists

 Checking for the user 'apache'...
 User 'apache' already exists

 Checking that /bin/false registered as login shell...
/bin/false
 /bin/false is already registered as login shell

/usr/local/psa/bin/chrootsh already registered as a login shell
 Checking for the group 'psaftp'...
 Group 'psaftp' already exists

 Checking for the user 'psaftp'...
 User 'psaftp' already exists

 Checking for ftp home directory for 'clients' group...
@psacln
 '@psacln' is already in the /etc/ftpchroot

 Checking for the group 'psaserv'...
 Group 'psaserv' already exists

 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'apache'...  already there
 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'psaftp'...  already there
 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'psaadm'...  already there
 group psacln already exists
 Trying to start MySQL server... Starting MySQL:  [  OK  ]
done
 Trying to establish test connection... connected
`/var/lib/psa/dumps/mysql.preupgrade.dump.gz' -> `/var/lib/psa/dumps/mysql.preupgrade.dump.gz.10'
 Trying to backup MySQL database... done
 MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.dump.gz
 Trying to stop MySQL server... Stopping MySQL:  [  OK  ]
done
mysqld (pid 23487) is running...
mysqld (pid 23487) is running...
mysqld is stopped
Setting the default locale
The default locale is set to en-US (ENGLISH, UNITED STATES)

START LOGGING: Mon Mar  7 13:40:40 EST 2005


===> Installing rbash
 Checking that /bin/rbash registered as login shell...
/bin/rbash
 /bin/rbash is already registered as login shell

===> Installing psa database
 Trying to start MySQL server... Starting MySQL:  [  OK  ]
done
 Trying to establish test connection... connected
 Trying to check psa database...  Trying to find psa database... 
 Trying to connect with admin account... connected
 Trying to check psa database version... version is 0750
 Trying to insert Hostname to the MySQL database... done

===> Updating crontab...
add mysqldump rotate to the crontab is already performed by cron

===> Installing Admin Server

 Inserting local information into config files... done

===> Updating crontab...
add statistics gathering task to the crontab is already performed by cron

===> Updating crontab...
add backup task manager to the crontab is already performed by cron

===> Updating crontab...
add autoreport task to the crontab is already performed by cron

===> Updating crontab...
add autoreport task to the crontab is already performed by cron

===> Updating crontab...
add autoreport task to the crontab is already performed by cron
 Trying to untar Virtual Hosts directory structure... done


===> Installing Virtual Hosts Directory


===> Installing Apache Server
 Trying to stop Apache server... Stopping httpd: [  OK  ]
done
 Copying apache files... 
===> Installing psa-suexec (replace for suexec from apache)
done
 Trying to check apache config for default vhost... done
 Trying to start Apache server... Stopping httpd: [FAILED]
Starting httpd: [Mon Mar 07 13:40:52 2005] [warn] module frontpage_module is already loaded, skipping
[Mon Mar 07 13:40:52 2005] [warn] module frontpage_module is already loaded, skipping
[  OK  ]
done
 Trying to stop Apache server... Stopping httpd: [  OK  ]
done

===> Installing Quotas
 Trying to change mount options in /etc/fstab... done
Run quotacheck. This may take some time.
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
 Trying to check for quota support... usermng: Userquota not enabled on device: /dev/hda6

System error 2: No such file or directory
Quota is not supported by your operating system.
Probably kernel has not compiled in quota support.

WARNING!
During the check for quota support found some small problems(see log file: /tmp/psa_7.5.2_RedHat_9_build75050128.10_upgrade.log)

Continue...



===> Installing Web based Email client
 Trying to install permissions for Web based Email client... done
 Trying to setup configuration params for Web based Email client... 

===> Installing and configuring Named Server

Stop running named daemon

 Now BIND server shutting down...

 Trying to stop BIND server... Stopping named: 
done
 Trying to untar named run-root directory structure... done
 Trying to set up default permissions... done
 Trying to start BIND server... Starting named: [  OK  ]
done

 BIND server starts Ok.


 Now BIND server shutting down...

 Trying to stop BIND server... Stopping named: 
done
 Checking that /bin/false registered as login shell...
/bin/false
 /bin/false is already registered as login shell

/usr/local/psa/bin/chrootsh already registered as a login shell
 Checking for the group 'psaftp'...
 Group 'psaftp' already exists

 Checking for the user 'psaftp'...
 User 'psaftp' already exists

 Checking for ftp home directory for 'clients' group...
@psacln
 '@psacln' is already in the /etc/ftpchroot

 Trying to define super-server internet daemon type... xinetd
 Trying to comment out old record for service poppassd... done
 Trying to set up record for service poppassd... done
 Trying to restart xinetd daemon... Stopping xinetd: [  OK  ]
Starting xinetd: [  OK  ]
done

...read on......
 
...more of the log file.....

Code:
Trying to install chrooted environment... `/bin/bash' -> `bash'
`/lib/libtermcap.so.2' -> `/data/httpd/vhosts/chroot/lib/libtermcap.so.2'
`/lib/libdl.so.2' -> `/data/httpd/vhosts/chroot/lib/libdl.so.2'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/cat' -> `cat'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/cp' -> `cp'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/grep' -> `grep'
`/lib/libpcre.so.0' -> `/data/httpd/vhosts/chroot/lib/libpcre.so.0'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/bin/head' -> `head'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/bin/id' -> `id'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/bin/less' -> `less'
`/usr/lib/libncurses.so.5' -> `/data/httpd/vhosts/chroot/lib/libncurses.so.5'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/ln' -> `ln'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/ls' -> `ls'
`/lib/libtermcap.so.2' -> `/data/httpd/vhosts/chroot/lib/libtermcap.so.2'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/mkdir' -> `mkdir'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/more' -> `more'
`/lib/libtermcap.so.2' -> `/data/httpd/vhosts/chroot/lib/libtermcap.so.2'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/mv' -> `mv'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/pwd' -> `pwd'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/rm' -> `rm'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/rmdir' -> `rmdir'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/sbin/sash' -> `sash'
`/bin/sh' -> `sh'
`/lib/libtermcap.so.2' -> `/data/httpd/vhosts/chroot/lib/libtermcap.so.2'
`/lib/libdl.so.2' -> `/data/httpd/vhosts/chroot/lib/libdl.so.2'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/bin/tail' -> `tail'
`/lib/tls/libm.so.6' -> `/data/httpd/vhosts/chroot/lib/libm.so.6'
`/lib/tls/librt.so.1' -> `/data/httpd/vhosts/chroot/lib/librt.so.1'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/lib/tls/libpthread.so.0' -> `/data/httpd/vhosts/chroot/lib/libpthread.so.0'
`/bin/touch' -> `touch'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/bin/du' -> `du'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/vi' -> `vi'
`/lib/libtermcap.so.2' -> `/data/httpd/vhosts/chroot/lib/libtermcap.so.2'
`/lib/libacl.so.1' -> `/data/httpd/vhosts/chroot/lib/libacl.so.1'
`/lib/libdl.so.2' -> `/data/httpd/vhosts/chroot/lib/libdl.so.2'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/lib/libattr.so.1' -> `/data/httpd/vhosts/chroot/lib/libattr.so.1'
`/bin/true' -> `true'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/bin/false' -> `false'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/bin/scp' -> `scp'
`/lib/libresolv.so.2' -> `/data/httpd/vhosts/chroot/lib/libresolv.so.2'
`/lib/libutil.so.1' -> `/data/httpd/vhosts/chroot/lib/libutil.so.1'
`/usr/lib/libz.so.1' -> `/data/httpd/vhosts/chroot/lib/libz.so.1'
`/lib/libnsl.so.1' -> `/data/httpd/vhosts/chroot/lib/libnsl.so.1'
`/lib/libcrypto.so.4' -> `/data/httpd/vhosts/chroot/lib/libcrypto.so.4'
`/usr/kerberos/lib/libkrb5.so.3' -> `/data/httpd/vhosts/chroot/lib/libkrb5.so.3'
`/usr/kerberos/lib/libk5crypto.so.3' -> `/data/httpd/vhosts/chroot/lib/libk5crypto.so.3'
`/usr/kerberos/lib/libcom_err.so.3' -> `/data/httpd/vhosts/chroot/lib/libcom_err.so.3'
`/lib/tls/libc.so.6' -> `/data/httpd/vhosts/chroot/lib/libc.so.6'
`/usr/kerberos/lib/libgssapi_krb5.so.2' -> `/data/httpd/vhosts/chroot/lib/libgssapi_krb5.so.2'
`/lib/libdl.so.2' -> `/data/httpd/vhosts/chroot/lib/libdl.so.2'
`/usr/bin/groups' -> `groups'
`/etc/termcap' -> `/data/httpd/vhosts/chroot/etc/termcap'
done
 Trying to append 7.5.2 changes to database... done

 Trying to start Plesk... 
 Trying to start Apache server... Stopping httpd: [  OK  ]
Starting httpd: [Mon Mar 07 13:41:30 2005] [warn] module frontpage_module is already loaded, skipping
[Mon Mar 07 13:41:30 2005] [warn] module frontpage_module is already loaded, skipping
[  OK  ]
done






        All stages of the upgrade were successful.
        Plesk is now running on your system.
        To complete the system configuration process, please proceed to URL:
        [url]https://sm12135.hostcentric.net:8443/[/url] or
        [url]https://216.65.117.204:8443/[/url]
        Use 'admin' and '<YOUR ADMIN PASSWORD>' as login name and password.

        Further, use the following commands to start and stop the system:
        /etc/rc.d/init.d/psa start and
        /etc/rc.d/init.d/psa stop respectively.

 *****************************************************************************
 *                                                                           *
 *   WARNING:    Some minor problems occured during upgrade. You need to     *
 *            check log file                                                 *
 *            /tmp/psa_7.5.2_RedHat_9_build75050128.10_upgrade.log       *
 *            to fix these problems.                                         *
 *                                                                           *
 *****************************************************************************



Can any one see what is going wrong????
How can I get Qmail and ProFTP to install????
 
Right....


as it's seems it's just me in this thread babbling on about my troubles....


As mentioned in the problem with mail after upgrading thread. I have managed to get Qmail working by forcing the installation of older RPMs until they were successful and then upgrade them back again (just the psa-qmail rpms not all other aswell).

However this solutions does not work for me proftp problem...

it still doesn't work. When an FT client tries to connect, the domain name is resolved to an IP. then it says "awaiting welcome message" for some time before it tries again.

proftpd.include and proftd.conf file are both 0 bytes in size.

Is there any chance some one can post the content of these files for me to use or is this a sign of a more major issue?

Please, can some one suggest something
 
Paste here /tmp/psa_7.5.2_RedHat_9_build75050128.10_upgrade.log
 
Back
Top