Hello every1

I tested an installation on spdl 8.1 on a vm (xen)

choosing mariadb

All went fine w/o a glitch





On 1/21/21 10:50 AM, ChandranManikandan wrote:
Hi Eric,

Yes, the script is correct and I have tried to check the status manually and it hangs also.

Here is full script of qt_install_cos8.sh

# Set DNF variables
echo "$DB" > /etc/yum/vars/db

DB=`cat /etc/yum/vars/db` && [[ "$DB" == *mysql* ]] && DBD="${DB}d" || DBD="${DB}"

echo "Using $DBD backend..."

yum -y install $DB $DB-server

# MySQL admin password
read -s -p "Enter $DBD password: " password
if [ -z "$password" ]; then
   echo "Empty password, exiting..."
   exit 1
fi
echo -e "\n"
MYSQLPW=$password
credfile=~/sql.cnf
echo -e "[client]\nuser=root\npassword='$MYSQLPW'\nhost=localhost" > $credfile
echo "Starting $DBD Server..."
systemctl start $DBD && systemctl enable $DBD && systemctl status $DBD
echo "Started $DBD Server"
sleep 2
echo "Setting $DBD admin password..."
mysqladmin -uroot password $MYSQLPW &> /dev/null
echo "Admin password set"
echo "Creating vpopmail database..."
mysqladmin --defaults-extra-file=$credfile reload
mysqladmin --defaults-extra-file=$credfile refresh
mysqladmin --defaults-extra-file=$credfile create vpopmail
mysqladmin --defaults-extra-file=$credfile reload
mysqladmin --defaults-extra-file=$credfile refresh
echo "Adding vpopmail users and privileges..."
mysql --defaults-extra-file=$credfile -e "CREATE USER vpopmail@localhost IDENTIFIED BY 'SsEeCcRrEeTt'" mysql --defaults-extra-file=$credfile -e "GRANT ALL PRIVILEGES ON vpopmail.* TO vpopmail@localhost"
mysqladmin --defaults-extra-file=$credfile reload
mysqladmin --defaults-extra-file=$credfile refresh
echo "Done with vpopmail database..."

# Add repos
curl -o /etc/yum.repos.d/qmt.repo https://raw.githubusercontent.com/qmtoaster/mirrorlist/master/qmt-centos8.repo
DOVECOTMYSQL=

On Wed, Jan 20, 2021 at 10:06 PM Eric Broch <ebr...@whitehorsetc.com <mailto:ebr...@whitehorsetc.com>> wrote:

    Did you check the script?

    Here is that section:

    echo -e "\n"
    MYSQLPW=$password
    credfile=~/sql.cnf
    echo -e "[client]\nuser=root\npassword='$MYSQLPW'\nhost=localhost"
    > $credfile
    echo "Starting $DBD Server..."
    systemctl start $DBD && systemctl enable $DBD && systemctl status $DBD
    echo "Started $DBD Server"
    sleep 2
    echo "Setting $DBD admin password..."
    mysqladmin -uroot password $MYSQLPW &> /dev/null
    echo "Admin password set"
    echo "Creating vpopmail database..."

    It doesn't look like the script is getting to this line (line 7 in
    the segment above):

    echo "Started $DBD Server"

    Have you tried starting and checking the status of mysqld manually
    to see if it hangs?


    On 1/20/2021 12:04 AM, ChandranManikandan wrote:
    Hi Eric,

    I have freshly installed SPDL 8.1 on a virtual box then ran a yum
    update.
    After done the updates rebooted the system to install QMT with
    the below commands.
    curl -O
    
https://raw.githubusercontent.com/qmtoaster/scripts/master/qt_install_cos8.sh
    && \
    chmod 755 qt_install_cos8.sh && ./qt_install_cos8.sh
    then installed relevant packages and then asking for database
    selection, i selected mysql and i put the new password there.
    After that mysql services started and nothing moved.
    FYI screenshot attached and messages below.
    Enter mysqld password:

    Starting mysqld Server...
    Created symlink
    /etc/systemd/system/multi-user.target.wants/mysqld.service →
    /usr/lib/systemd/system/mysqld.service.
    ● mysqld.service - MySQL 8.0 database server
       Loaded: loaded (/usr/lib/systemd/system/mysqld.service;
    enabled; vendor pres>
       Active: active (running) since Wed 2021-01-20 14:54:46 +08;
    562ms ago
     Main PID: 5805 (mysqld)
       Status: "Server is operational"
        Tasks: 39 (limit: 12455)
       Memory: 426.3M
       CGroup: /system.slice/mysqld.service
               └─5805 /usr/libexec/mysqld --basedir=/usr

    Jan 20 14:54:35 localhost.localdomain systemd[1]: Starting MySQL
    8.0 database s>
    Jan 20 14:54:35 localhost.localdomain mysql-prepare-db-dir[5723]:
    Initializing >
    Jan 20 14:54:46 localhost.localdomain systemd[1]: Started MySQL
    8.0 database se>
    lines 1-13/13 (END)

    Appreciate your help.



    On Sat, Jan 16, 2021 at 5:29 AM Eric Broch
    <ebr...@whitehorsetc.com <mailto:ebr...@whitehorsetc.com>> wrote:

        Odd, I just did a Springdale Install today. It went off
        without a hitch.

        Any errors to report?

        On 1/13/2021 3:13 AM, ChandranManikandan wrote:
        Hi Eric,

        I have tried to install QMT in Opensuse leap15 & SPDL as per
        qmailtoaster guide on the portal,
        but after mardiab installed and started the mariadb service
        nothing has moved forward to further package installation.

        I have tried the virtualbox testing environment.

-- */Regards,
        Manikandan.C
        /*



-- */Regards,
    Manikandan.C
    /*

    ---------------------------------------------------------------------
    To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com  
<mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>
    For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com  
<mailto:qmailtoaster-list-h...@qmailtoaster.com>



--
*/Regards,
Manikandan.C
/*

Reply via email to