Azure install_moodle

Hi? i can't instal moodle from azure VM:

Enable failed: failed to execute command: command terminated with exit status=1 [stdout] [stderr] to re-open stdin: + config_fail2ban + cat + mkdir -p /moodle + export DEBIAN_FRONTEND=noninteractive + DEBIAN_FRONTEND=noninteractive + '[' nfs = gluster ']' + '[' nfs = nfs ']' + setup_raid_disk_and_filesystem /moodle /dev/md1 /dev/md1p1 + local MOUNTPOINT=/moodle + local RAIDDISK=/dev/md1 + local RAIDPARTITION=/dev/md1p1 + local CREATE_FILESYSTEM= ++ scan_for_new_disks '/dev/sda|/dev/sdb' ++ local 'BLACKLIST=/dev/sda|/dev/sdb' ++ declare -a RET +++ egrep -v '[0-9]$' +++ egrep -v '/dev/sda|/dev/sdb' +++ ls -1 /dev/sda /dev/sda1 /dev/sda14 /dev/sda15 /dev/sdb /dev/sdb1 /dev/sdc /dev/sdd ++ local 'DEVS=/dev/sdc /dev/sdd' ++ for DEV in ${DEVS} ++ '[' '!' -b /dev/sdc1 ']' ++ RET+='/dev/sdc ' ++ for DEV in ${DEVS} ++ '[' '!' -b /dev/sdd1 ']' ++ RET+='/dev/sdd ' ++ echo '/dev/sdc /dev/sdd ' + local 'DISKS=/dev/sdc /dev/sdd ' + echo 'Disks are /dev/sdc /dev/sdd ' + declare -i DISKCOUNT ++ wc -w ++ echo '/dev/sdc /dev/sdd ' + local DISKCOUNT=2 + echo 'Disk count is 2' + '[' 2 = 0 ']' + '[' 2 -gt 1 ']' + create_raid0_ubuntu /dev/md1 128 2 /dev/sdc /dev/sdd + local RAIDDISK=/dev/md1 + local RAIDCHUNKSIZE=128 + local DISKCOUNT=2 + shift + shift + shift + local 'DISKS=/dev/sdc /dev/sdd' + dpkg -s mdadm + _RET=0 + '[' 0 -eq 1 ']' + echo 'Creating raid0' + udevadm control --stop-exec-queue + mdadm --create /dev/md1 --name=data --level=0 --chunk=128 --raid-devices=2 /dev/sdc /dev/sdd + echo yes mdadm: Defaulting to version 1.2 metadata mdadm: array /dev/md1 started. + udevadm control --start-exec-queue + mdadm --detail --verbose --scan + AZMDL_DISK=/dev/md1 + '[' -z '' ']' + do_partition /dev/md1 + local DISK=/dev/md1 + echo 'Partitioning disk /dev/md1' + fdisk /dev/md1 + echo -ne 'n\np\n1\n\n\nw\n' + '[' 0 -ne 0 ']' + local PARTITION=/dev/md1p1 + echo 'Disk (RAID if multiple unpartitioned disks, or as is if only one unpartitioned disk) is set up, and env var AZMDL_DISK is set to '''/dev/md1''' for later reference' + '[' -z '' ']' + echo 'Creating filesystem on /dev/md1p1.' + mkfs -t ext4 /dev/md1p1 mke2fs 1.44.1 (24-Mar-2018) + mkdir -p /moodle ++ tr -d '"' ++ awk -F '[= ]' '{print $3}' ++ blkid -u filesystem /dev/md1p1 + local UUID=a9b492f1-4c00-4a7a-9e9d-cf2ce1084ef8 + add_local_filesystem_to_fstab a9b492f1-4c00-4a7a-9e9d-cf2ce1084ef8 /moodle + local UUID=a9b492f1-4c00-4a7a-9e9d-cf2ce1084ef8 + local MOUNTPOINT=/moodle + grep -q -s a9b492f1-4c00-4a7a-9e9d-cf2ce1084ef8 /etc/fstab + _RET=1 + '[' 1 -eq 0 ']' + LINE='\nUUID=a9b492f1-4c00-4a7a-9e9d-cf2ce1084ef8 /moodle ext4 defaults,noatime 0 0' + echo -e '\nUUID=a9b492f1-4c00-4a7a-9e9d-cf2ce1084ef8 /moodle ext4 defaults,noatime 0 0' + echo 'Mounting disk /dev/md1p1 on /moodle' + mount /moodle + configure_nfs_server_and_export /moodle + local MOUNTPOINT=/moodle + echo 'Installing nfs server...' + apt install -y nfs-kernel-server WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + echo 'Exporting /moodle...' + grep -q -s '^/moodle' /etc/exports + _RET=1 + '[' 1 = 0 ']' + echo -e '\n/moodle *(rw,sync,no_root_squash)' + systemctl restart nfs-kernel-server.service + sudo apt-get -y update + sudo apt-get -y --force-yes install rsyslog git W: --force-yes is deprecated, use one of the options starting with --allow instead. + '[' nfs = gluster ']' + '[' nfs = azurefiles ']' + '[' mysql = mysql ']' + sudo apt-get -y --force-yes install mysql-client debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: W: --force-yes is deprecated, use one of the options starting with --allow instead. + '[' false = true -o nfs = azurefiles ']' + '[' nfs = gluster ']' + '[' nfs = nfs-ha ']' + '[' nfs = nfs-byo ']' + sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa + sudo apt-get update + sudo apt-get install software-properties-common


Ответы (0 шт):