Archlinux Installer Script Trouble

I've burned an FTP install disc, and after setting everything up, after I choose my server, and right before I install the packages, I always get the error "Error expected 7 tokens". I cannot install ArchLinux at all. Any ideas?
Last edited by KunlunKhan (2008-12-11 12:10:32)

sounds like this: http://bbs.archlinux.org/viewtopic.php?id=52584

Similar Messages

  • YAIS - Yet Another Installation Script for Archlinux

    I wrote this script today and placed it in AUR. It can show you the way and make it easier to install an archlinux system.

    orschiro wrote:
    https://aur.archlinux.org/packages/yais/
    Can you provide some more information?
    Your README is not very extensive:
    yais
    Yet another installation script (for archlinux)
    I updated the README, and added a TODO to the git repo. I also rewrote the PKGBUILD. It will be OK now.

  • Using deb/rpm installer scripts with ArchLinux?

    I'm having an issue with installing some education software from a CD-ROM(LPL Symbolic Logic stuff), and although it supports Linux, the software is installed via either one of two installer scripts, one for dpkg and one for rpm. Since I have neither under Arch', I get these messages when running the shell scripts:
    . extracting DEBs
    . installing DEBs
    lpl-2_5_0-linux-deb-installer: line 23: dpkg: command not found
    ...and the rpm one:
    . extracting RPMs
    . installing RPMs
    lpl-2_5_0-linux-rpm-installer: line 23: command not found
    It should be noted that I can't simply edit the install scripts or something, as it extracts the deb/rpm files from one of the only three files on the CD(and NOT the Internet): the installer scripts(the third file is the readme, which doesn't help in this case, if you're wondering).
    Any information on how to get this program installed without having to resort to using WINE or my XP partition would be greatly appreciated.:/

    N/M, actually found out how to get it the raw rpm(or deb) files thanks to someone on the IRC channel(sorry, forgot your name already ><). If anyone somehow was in the same predicament, just comment out the lines with rpm and rm -rf in the script, run it, and change to the /tmp/extract.[whatever] directory and the files should be there.

  • Archlinux Installer

    Hi,
    I've build a mini script to help new user to install Arch:
    Just a few details:
    * swap is set to 3Gb
    * root is 20% of disk size
    * home is remaining space
    * it's not thinked for dual-boot (so the script intialize hdd!!! caution!)
    #!/bin/bash
    #title :archinstaller.sh
    #description :This script will help to install ArchLinux
    #author :Dennis Anfossi (ITfor s.r.l.)
    #date :01/07/2013
    #version :0.1
    #usage :bash archinstaller.sh
    start_time=$(date +%s)
    clear
    echo "==================================="
    echo " Welcome To ArchLinux Installer!"
    echo "==================================="
    # Check network
    echo -n "* Check internet connection.."
    wget -q --tries=10 --timeout=5 http://www.google.com -O /tmp/index.google &> /dev/null
    if [ ! -s /tmp/index.google ];then
    echo -e "Failed!"
    echo "You need to configure network before continue.."
    exit 1
    else
    echo -e "Done!"
    fi
    # List disk(s)
    echo -e "* Retrieving Hard-Disk informations..\n"
    fdisk -l /dev/[sh]d? | grep [D]is[cko] | sed -e 's/[Dd]isk//g' | sed -e 's/[Dd]isco//g' | head -1 | awk '{print $1 " " $2 " " $3}' | sed 's/,//g'
    echo -e "\n"
    # ask which disk to use
    echo -n "Select the disk to use (es. /dev/sda): "
    read dest_disk
    if [ -z "$dest_disk" ]; then
    echo "Error: You must insert a device! "
    exit 1
    fi
    # Check for a block device
    echo ""
    echo -n "* Check if" $dest_disk "is a valid block device.."
    udevadm info --query=all --name=$dest_disk |grep DEVTYPE=disk > /dev/null 2&>1
    if [ $? = 0 ]; then
    echo -e $desk_disk "is not a valid block device!"
    exit 1
    else
    echo -e "Done!"
    fi
    # Initializing
    echo -e "\nWARNING:"
    echo -e "---------------------------------------"
    echo "The destination drive will be formatted."
    echo "All data on" $dest_disk "will be lost!"
    echo -e "---------------------------------------"
    read -p "Continue (y/n)? "
    if [ $REPLY != "n" ]; then
    wipefs -a $dest_disk > /dev/null 2&>1
    dd if=/dev/zero of=$dest_disk count=100 bs=512 > /dev/null 2&>1 ; partprobe > /dev/null 2&>1 ; sync > /dev/null 2&>1
    else
    exit
    fi
    sleep 5
    disk_size=$(fdisk -l ${dest_disk} | grep [D]is[cko] | sed -e 's/[Dd]isk//g' | sed -e 's/[Dd]isco//g' | awk '{print $1 " " $2 " " $3}' | sed 's/,//g' | awk '{print $2}' | sed 's/\.[0-9]//g')
    root_size=$((20 * $disk_size / 100))
    swap_size=3
    echo -n "* Creating partitions.."
    # Partitioning
    ## swap_partition
    echo -e "n\n \
    p\n \
    1\n \
    \n \
    +${swap_size}G\n \
    t\n \
    82\n
    w" | fdisk ${dest_disk} > /dev/null 2>&1
    ## root_partition
    echo -e "n\n \
    p\n \
    2\n \
    \n \
    +${root_size}G\n \
    w" | fdisk ${dest_disk} > /dev/null 2>&1
    # home_partition
    echo -e "n\n \
    p\n \
    3\n \
    \n \
    \n \
    w" | fdisk ${dest_disk} > /dev/null 2>&1
    echo -e "Done!"
    # formatting partition
    ## swap
    echo -n "* Formatting swap.."
    mkswap ${dest_disk}1 > /dev/null 2>&1
    echo -e "Done!"
    ## root
    echo -n "* Formatting root.."
    mkfs.ext4 ${dest_disk}2 > /dev/null 2>&1
    echo -e "Done!"
    ## home
    echo -n "* Formatting home.."
    mkfs.ext4 ${dest_disk}3 > /dev/null 2>&1
    echo -e "Done!"
    # mounting partition
    ## root
    echo -n "* Mounting root.."
    mount ${dest_disk}2 /mnt > /dev/null 2>&1
    echo -e "Done!"
    ## home
    echo -n "* Mounting home.."
    mkdir /mnt/home
    mount ${dest_disk}3 /mnt/home > /dev/null 2>&1
    echo -e "Done!"
    # install base system
    echo -n "* Installing system.."
    pacstrap /mnt base base-devel > /dev/null 2>&1
    echo "Done!"
    # configuring system
    ## fstab
    echo -n "* Configuring fstab.."
    genfstab -L -p /mnt >> /mnt/etc/fstab > /dev/null 2>&1
    echo -e "Done!"
    ## locale
    echo -n "* Configuring locale.."
    echo "it_IT.UTF-8" > /mnt/etc/locale.gen
    echo "en_US.UTF-8 UTF-8" >> /mnt/etc/locale.gen
    arch-chroot /mnt /usr/bin/locale-gen > /dev/null 2>&1
    echo -e "Done!"
    ## password
    echo "* Setting root password.."
    echo -n "Insert new password: "
    read new_pass
    echo -e $new_pass"\n"$new_pass |arch-chroot /mnt /usr/bin/passwd > /dev/null 2>&1
    ## hostname
    echo "* Setting hostname.."
    echo -n "Choose new hostname: "
    read new_hn
    echo $new_hn > /mnt/etc/hostname > /dev/null 2>&1
    # mkinitcpio
    echo -n "* Running mkinitcpio.."
    arch-chroot /mnt mkinitcpio -p linux > /dev/null 2>&1
    echo -e "Done!"
    # installing grub & os prober
    echo -n "* Installing grub.."
    pacstrap /mnt grub os-prober > /dev/null 2>&1
    echo -e "Done!"
    echo -n "* Configuring grub.."
    arch-chroot /mnt /usr/bin/grub-install $dest_disk > /dev/null 2>&1
    arch-chroot /mnt /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg > /dev/null 2>&1
    echo -e "Done!"
    # exit
    cd ; umount /mnt/* > /dev/null 2&>1 ; umount /mnt > /dev/null 2>&1
    echo "* Installation completed!"
    finish_time=$(date +%s)
    min=$(( $((finish_time - start_time)) /60 ))
    echo -e "\nTotal install time:" $min "minutes."
    exit 0
    If someone wants comment or improve this script, feel free .. is GNU GPLv2
    Last edited by danfossi (2013-10-08 13:33:02)

    new version.. :)
    #!/bin/bash
    #title :archinstaller.sh
    #description :This script will help you to install ArchLinux
    #author :Dennis Anfossi
    #date :01/07/2013
    #version :1.1
    #license :GPLv2
    #usage :./archinstaller.sh
    start_time=$(date +%s)
    clear
    echo "======================================"
    echo " Welcome To ArchLinux Installer!"
    echo "======================================"
    # Check network
    echo -n "* Check internet connection.."
    wget -q --tries=10 --timeout=5 http://www.google.com -O /tmp/index.google &> /dev/null
    if [ ! -s /tmp/index.google ];then
    echo -e "Failed!"
    echo "You need to configure network before continue.."
    exit 1
    else
    echo -e "Done!"
    fi
    # List disk(s)
    echo -e "* Retrieving Hard-Disk informations..\n"
    fdisk -l /dev/[sh]d? | grep [D]is[cko] | sed -e 's/[Dd]isk//g' | sed -e 's/[Dd]isco//g' | head -1 | awk '{print $1 " " $2 " " $3}' | sed 's/,//g'
    echo -e "\n"
    # ask which disk to use
    echo -n "Select the disk to use (es. /dev/sda): "
    read dest_disk
    if [ -z "$dest_disk" ]; then
    echo "Error: You must insert a device! "
    exit 1
    fi
    # Check for a block device
    echo ""
    echo -n "* Check if" $dest_disk "is a valid block device.."
    udevadm info --query=all --name=$dest_disk |grep DEVTYPE=disk > /dev/null 2&>1
    if [ $? = 0 ]; then
    echo -e $desk_disk "is not a valid block device!"
    exit 1
    else
    echo -e "Done!"
    fi
    # Initializing
    echo -e "\nWARNING:"
    echo -e "---------------------------------------"
    echo "The destination drive will be formatted."
    echo "All data on" $dest_disk "will be lost!"
    echo -e "---------------------------------------"
    read -p "Continue (y/n)? "
    if [ $REPLY != "n" ]; then
    umount $dest_disk* > /dev/null 2&>1
    wipefs -a $dest_disk > /dev/null 2&>1
    dd if=/dev/zero of=$dest_disk count=100 bs=512 > /dev/null 2&>1 ; partprobe > /dev/null 2&>1 ; sync > /dev/null 2&>1 ; partprobe -s > /dev/null 2>&1 ; sleep 5
    else
    echo "* Setup cancelled!"
    exit 0
    fi
    disk_size=$(fdisk -l ${dest_disk} | grep [D]is[cko] | sed -e 's/[Dd]isk//g' | sed -e 's/[Dd]isco//g' | awk '{print $1 " " $2 " " $3}' | sed 's/,//g' | awk '{print $2}' | sed 's/\.[0-9]//g' | head -1)
    root_size=$(( 20 * $disk_size / 100 ))
    swap_size=3
    echo -n "* Creating partitions.."
    # Partitioning
    ## swap_partition
    echo -e "n\n \
    p\n \
    1\n \
    \n \
    +${swap_size}G\n \
    t\n \
    82\n
    w" | fdisk ${dest_disk} > /dev/null 2>&1
    ## wait a moment
    sleep 1
    ## root_partition
    echo -e "n\n \
    p\n \
    2\n \
    \n \
    +${root_size}G\n \
    w" | fdisk ${dest_disk} > /dev/null 2>&1
    ## wait a moment
    sleep 1
    # home_partition
    echo -e "n\n \
    p\n \
    3\n \
    \n \
    \n \
    w" | fdisk ${dest_disk} > /dev/null 2>&1
    echo -e "Done!"
    # formatting partition
    ## swap
    echo -n "* Formatting swap.."
    mkswap ${dest_disk}1 > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    ## root
    echo -n "* Formatting root.."
    mkfs.ext4 ${dest_disk}2 > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    ## home
    echo -n "* Formatting home.."
    mkfs.ext4 ${dest_disk}3 > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    # mounting partition
    ## root
    echo -n "* Mounting root.."
    mount ${dest_disk}2 /mnt > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    exit 1
    fi
    ## home
    echo -n "* Mounting home.."
    mkdir /mnt/home
    mount ${dest_disk}3 /mnt/home > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    # install base system
    echo -n "* Installing system.."
    pacstrap /mnt base base-devel zsh grml-zsh-config vim screen > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    exit 1
    fi
    # configuring system
    ## fstab
    echo -n "* Configuring fstab.."
    genfstab -L /mnt >> /mnt/etc/fstab
    echo -e "Done!"
    ## locale
    echo -n "* Configuring locale.."
    echo "it_IT.UTF-8 UTF-8" > /mnt/etc/locale.gen
    echo "it_IT ISO-8859-1" >> /mnt/etc/locale.gen
    echo "it_IT@euro ISO-8859-15" >> /mnt/etc/locale.gen
    echo "en_US.UTF-8 UTF-8" >> /mnt/etc/locale.gen
    echo "LANG=it_IT.utf8" > /mnt/etc/locale.conf
    arch-chroot /mnt /usr/bin/locale-gen > /dev/null 2>&1
    echo -e "Done!"
    ## vconsole
    echo -n "* Configuring console.."
    echo "KEYMAP=it" > /mnt/etc/vconsole.conf
    echo -e "Done!"
    ## zoneinfo
    echo -n "* Zone Info.."
    ln -sf /usr/share/zoneinfo/Europe/Rome /mnt/etc/localtime > /dev/null 2>&1
    echo -e "Done!"
    ## password
    echo "* Setting root password.."
    echo -n "Insert new password: "
    read new_pass
    echo -e $new_pass"\n"$new_pass |arch-chroot /mnt /usr/bin/passwd > /dev/null 2>&1
    ## hostname
    echo "* Setting hostname.."
    echo -n "Choose new hostname: "
    read new_hn
    echo $new_hn > /mnt/etc/hostname
    # mkinitcpio
    echo -n "* Running mkinitcpio.."
    arch-chroot /mnt mkinitcpio -p linux > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    exit 1
    fi
    # installing grub & os prober
    echo -n "* Installing grub.."
    pacstrap /mnt grub os-prober > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    exit 1
    fi
    echo -n "* Configuring grub.."
    arch-chroot /mnt /usr/bin/grub-install $dest_disk > /dev/null 2>&1
    arch-chroot /mnt /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    exit 1
    fi
    ### Additionals Packages ###
    echo -e "---------------------------------------"
    echo "Base system installed successfull"
    echo "Do you want to install more packages ?"
    echo -e "---------------------------------------"
    read -p "Continue (y/n)? "
    if [ $REPLY != "n" ]; then
    pkgs=$(dialog --stdout --checklist "Other Packages:" 15 40 10 \
    apr "" on \
    apg "" on \
    atool "" on \
    audacity "" on \
    avidemux-cli "" on \
    bash-completion "" on \
    cdrkit "" on \
    cifs-utils "" on \
    clusterssh "" on \
    cups "" on \
    cups-filters "" on \
    dbus "" on \
    dhclient "" on \
    dialog "" on \
    dnsutils "" on \
    dosfstools "" on \
    e2fsprogs "" on \
    exiv2 "" on \
    fdupes "" on \
    ffmpeg "" on \
    file "" on \
    fsarchiver "" on \
    git "" on \
    gnu-netcat "" on \
    gpart "" on \
    gparted "" on \
    gptfdisk "" on \
    gvfs "" on \
    gvfs-afc "" on \
    gvfs-afp "" on \
    gvfs-obexftp "" on \
    gvfs-smb "" on \
    hddtemp "" off \
    hdparm "" off \
    ifuse "" on \
    imagemagick "" off \
    ipcalc "" on \
    iputils "" on \
    iso-codes "" on \
    lame "" on \
    libdvdread "" on \
    lsof "" on \
    lshw "" on \
    lvm2 "" on \
    man-pages "" on \
    man-pages-it "" on \
    mc "" on \
    mdadm "" off \
    minicom "" off \
    mtools "" on \
    mpfr "" off \
    mpg123 "" off \
    nano "" on \
    nmap "" on \
    ntp "" on \
    net-snmp "" off \
    net-tools "" on \
    nettle "" off \
    networkmanager "" on \
    nmap "" on \
    ntfs-3g "" on \
    openssh "" on \
    openvpn "" on \
    p7zip "" on \
    partimage "" on \
    partclone "" on \
    pydf "" on \
    rsync "" on \
    rsyslog "" on \
    screen "" on \
    subversion "" off \
    smbclient "" on \
    sudo "" on \
    tcpdump "" on \
    tightvnc "" on \
    tree "" on \
    truecrypt "" off \
    usbmuxd "" on \
    unzip "" on \
    unrar "" on \
    vlc "" on \
    youtube-dl "" on \
    echo -n "* Installing selected packages.."
    pacstrap /mnt $pkgs > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    arch-chroot /mnt /usr/bin/systemctl enable NetworkManager.service > /dev/null 2>&1
    arch-chroot /mnt /usr/bin/systemctl enable sshd.service > /dev/null 2>&1
    else
    echo -e "Error!"
    fi
    fi
    # Personalization
    ## Add user
    echo "* Adding user.."
    echo -n "Choose username: "
    read new_usr
    arch-chroot /mnt /usr/bin/useradd -m -G wheel -s /bin/zsh $new_usr
    ### password
    echo "* Setting" $new_usr "password.."
    echo -n "Insert new password: "
    read usr_new_pass
    echo -e $usr_new_pass"\n"$usr_new_pass |arch-chroot /mnt /usr/bin/passwd $new_usr > /dev/null 2>&1
    ## root shell
    arch-chroot /mnt /usr/bin/usermod -s /usr/bin/zsh root > /dev/null 2>&1
    ## Stuff
    echo -n "* Customization.."
    cp -rf /etc/zsh* /mnt/etc/
    cp -rf /etc/bash.* /mnt/etc/
    cp -rf /etc/screenrc /mnt/etc/
    cp -rf /etc/vimrc /mnt/etc/
    cat /root/.zshrc.local | sed 's#/usr/bin/dynmotd##g' > /mnt/root/.zshrc.local
    cat /root/.zshrc.local | sed 's#/usr/bin/dynmotd##g' > /mnt/home/$new_usr/.zshrc.local
    echo -e "Done!"
    # Server Packages
    echo -e "---------------------------------------"
    echo "Do you want to install server-side packages ?"
    echo -e "---------------------------------------"
    read -p "Continue (y/n)? "
    if [ $REPLY != "n" ]; then
    srv_pkgs=$(dialog --stdout --checklist "Server-Side Packages:" 15 40 10 \
    apache "" off \
    bind "" off \
    dnsmasq "" off \
    iptables "" on \
    openssh "" off \
    openvpn "" off \
    php "" off \
    samba "" off \
    tftp-hpa "" off \
    virtualbox "" off \
    webmin "" off \
    echo -n "* Installing selected packages.."
    pacstrap /mnt $srv_pkgs > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    fi
    ### Xorg & GUI ###
    echo -e "---------------------------------------"
    echo "Do you want to install Xorg & GUI (Mate) ?"
    echo -e "---------------------------------------"
    read -p "Continue (y/n)? "
    if [ $REPLY != "n" ]; then
    echo -n "* Installing Xorg, LXDM, Mate.."
    echo "[mate]
    SigLevel = Never
    Server = http://repo.mate-desktop.org/archlinux/"\$"arch" >> /mnt/etc/pacman.conf
    echo "[mate]
    SigLevel = Never
    Server = http://repo.mate-desktop.org/archlinux/"\$"arch" >> /etc/pacman.conf
    pacstrap /mnt xorg mate mate-extras lxdm > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    arch-chroot /mnt /usr/bin/systemctl enable lxdm.service
    else
    echo -e "Error!"
    fi
    fi
    echo -e "---------------------------------------"
    echo "Do you want to install GUI applciations ?"
    echo -e "---------------------------------------"
    read -p "Continue (y/n)? "
    if [ $REPLY != "n" ]; then
    gui_pkgs=$(dialog --stdout --checklist "Graphical Packages:" 15 40 10 \
    avidemux-gtk "" on \
    brasero "" on \
    chromium "" on \
    deja-dup "" on \
    dia "" off \
    easytag "" off \
    evolution "" off \
    filezilla "" on \
    firefox "" on \
    firefox-i18n-it "" on \
    flashplugin "" on \
    gimp "" on \
    gksu "" off \
    gstreamer0.10-plugins "" on \
    grsync "" on \
    inkscape "" off \
    libgpod "" on \
    libimobiledevice "" on \
    libreoffice-base "" on \
    libreoffice-draw "" on \
    libreoffice-calc "" on \
    libreoffice-writer "" on \
    libreoffice-impress "" on \
    libreoffice-it "" on \
    network-manager-applet "" on \
    networkmanager-openvpn "" on \
    parano "" on \
    parcellite "" on \
    putty "" on \
    rdesktop "" on \
    rhythmbox "" on \
    shotwell "" on \
    sylpheed "" on \
    tasque ""on \
    terminator "" on \
    xlockmore "" on \
    echo -n "* Installing selected packages.."
    pacstrap /mnt $gui_pkgs > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    fi
    # Exit
    echo -n "Umounting partitions.."
    cd ; umount /mnt/* > /dev/null 2&>1 ; umount /mnt > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo -e "Done!"
    else
    echo -e "Error!"
    fi
    echo -e "---------------------------------------"
    echo "Installation completed!"
    echo "Eject any DVD or USB and reboot!"
    echo -e "---------------------------------------"
    # Report
    finish_time=$(date +%s)
    min=$(( $((finish_time - start_time)) /60 ))
    echo -e "\nTotal install time:" $min "minutes."
    exit 0
    Last edited by danfossi (2013-10-01 13:15:35)

  • MariaDB, PHP, and mysql_connect() issue on Installation scripts

    I searched for this issue and turned out nothing..
    I am using an installation script on my web server and i get this error:
    function mysql_connect() not found:
    Your system does not appear to have mysql available within php
    I followed the wiki and have uncommented the following lines
    extension=pdo_mysql.so
    extension=mysqli.so
    extension=mysql.so
    I have also restarted the httpd daemon several times. I am using MariaDB because I know arch is dropping mysql. I followed the MariaDB wiki too and have it set-up properly.
    Here is my "mysqli" section of phpinfo()
    MysqlI Support    enabled
    Client API library version     mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $
    Active Persistent Links     0
    Inactive Persistent Links     0
    Active Links     0
    Directive    Local Value    Master Value
    mysqli.allow_local_infile    On    On
    mysqli.allow_persistent    On    On
    mysqli.default_host    no value    no value
    mysqli.default_port    3306    3306
    mysqli.default_pw    no value    no value
    mysqli.default_socket    /var/run/mysqld/mysqld.sock    /var/run/mysqld/mysqld.sock
    mysqli.default_user    no value    no value
    mysqli.max_links    Unlimited    Unlimited
    mysqli.max_persistent    Unlimited    Unlimited
    mysqli.reconnect    Off    Off
    and here is "mysqlnd" in phpinfo()
    mysqlnd
    mysqlnd    enabled
    Version     mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $
    Compression     supported
    SSL     supported
    Command buffer size     4096
    Read buffer size     32768
    Read timeout     31536000
    Collecting statistics     Yes
    Collecting memory statistics     No
    Tracing     n/a
    Loaded plugins     mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
    API Extensions     mysqli
    MySQL is running as I have set-up a database and user for this installation script.

    I dropped to the command line and tried to run php and realized that mysql.so was named mssql.so..
    so for anyone that has this issue, when you install php, unless they change it next release, that's a typo you have to fix when uncommented the mysql extension
    Last edited by evil (2013-03-31 19:34:12)

  • How to create installation scripts in packaged application

    can u tel me How to create installation scripts for packaged application.
    also tell me , i have to first install scripts and then supporting objects or
    supporting objects first then installation scripts..

    Hi,
    Depending upon your usecase there are different ways to implement this logic.
    Check this for example (Read my answer in this post):
    https://forums.sdn.sap.com/thread.jspa?threadID=349151
    Also check these senarios:
    http://help.sap.com/saphelp_nw70/helpdata/en/42/9ddf20bb211d72e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/42/9ddcc9bb211d72e10000000a1553f6/frameset.htm
    Also the delegation may be interesting for you:
    http://help.sap.com/saphelp_nw70/helpdata/en/a0/44b742cafec96ae10000000a155106/frameset.htm
    Greetings,
    Praveen Gudapati

  • How to edit the installation scripts in the supporting objects

    I wanted to update one of the installation scripts in the supporting objects. I clicked into that script and use the "script editor" tab. After editing the script, I clicked "Apply Changes" button. It redirected me to the upper level of the page. When I reopen the script, the content of this script is messed up and has the content of another script, not what I have changed. What could happen with it? There is one case that the script was all wiped out!
    One general question, how can I easily update the install scripts and reload it without export and import the whole application? or Can I?
    Thanks
    Fengting

    Fengting,
    I am not sure what causes this, but I have had the same issue with shared components >> report queries. Sometimes if you have multiple report queries it becomes impossible to edit any of them. If I remember correctly I tried using a different browser and everything seemed to work ok. I was using Firefox when I was having the issue.
    Sorry this is not an answer, but I feel your pain!
    Cheers,
    Tyson Jouglet

  • Trying to update iTunes, the installer keeps freezing at 'Running iTunes Installer Scripts'.  i've tried several different versions of iTunes and can't install any of them.  I'm stuck with Version 4!!  Help!

    I'm trying to update iTunes on my mac (Power Mac G5 running tiger), but it always freezes at 'Running itunes installer script'.  I have tried a few different versions of iTunes, but I have the same problem with all of them.  I'm stuck on version 4 (which came with my os discs)!  Help?! 

    Ok, First this link should solve the windows scripting host error. I used "Download windows script host" in a google search and it was the first hyperlink.
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB -95A22B832CAA&displaylang=en
    I'm assuming you are trying to run the installer from apple. What I would suggest is you download the installer manually to your desktop then launch the installer. If try to run the installer over the intertubes you may run into a problem like you did.
    Then I would uninstall itunes 8 and any software associated with it like the apple update software, quicktime, apple mobile device support. However uninstalling itunes should remove any additional software it installs. Then clean out your temp folder:
    6. Clean out your temp folders,
    a. C:\windows\temp (if one exists)
    b. C:\Documents and Settings\{username}\Local Settings\Temp
    Sometimes installers will pick up old files or won’t delete their temporary files.
    Then with a newly download installer on your desktop try launching it. Let me know if that helps.
    Here is an apple doc that help.
    http://support.apple.com/kb/TS1331
    Message was edited by: CoJeff

  • Xcode Installation Hangs on "Running Installer Scripts"

    Hi, I'm trying to install Xcode to take advantage of their gcc and make files. However, no matter what I do, Xcode installation hangs on "Running Installer Scripts". Searching on Google did not give me any help. I can't quit the process either. Here's a screen shot:
    http://lh4.ggpht.com/_id4E4GFQud0/SfvsNwDdDaI/AAAAAAAACnI/23tE3vWw3vk/Snapshot%2 02009-05-02%2001-44-41.png
    Could you please advice on what can possibly go wrong?
    I'm running OS 10.5.6, and installing Xcode directly from the Mac OS X Disc 1 CD. In the CD document, it says Xcode Developer Tools 3.0 for Mac OS 10.5.
    Thanks!

    Thanks for the details of what you've tried. Every detail you can remember increases the chance that someone can spot the problem.
    My read is that you've documented beyond much doubt that a clean install is what you need. Restoring your system was a good try, but I don't think that would change much outside of the /system folder. Even if we think it did, the evidence you provided tells me that some files from the first Xcode installation remain. I would be looking for files created on that date and checking perms in places like the root directory, /tmp, /usr/share/sandbox, etc. I would also advise renaming /Developer as written in the +Book of the Dead+. I didn't invent that instruction; it was distilled from dozens of case histories in this forum.
    You might also try one of the 3rd party tools that's out there for cleaning Macs. I've never tried any of them though, so can't make a recommendation.
    Oh... erm... You did restart your Mac at some point since the problems started, right?
    Re installing only gcc, have you been to the Developer Tools page at the connect.apple.com site? Select Downloads on the home page, and in the next page select Developer Tools from the lower right panel. I found 2 downloads that appear to be full gcc installers: Xcode Legacy Tools and GCC 4.2 Developer Preview 1. The other gcc downloads seem to be updates. I might try gcc 3.1 in the legacy tools. It's probably all you need, and if not you'd be good to go for an update.
    Of course, you could always download directly from the gnu site, just you might need to be a rocket scientist to install one of those packages. I'm guessing it would be a learning experience. There's also something to be said for using a 3rd party installer, since it probably wouldn't be affected by whatever is stopping the Apple installer(s).
    Sure hope some small part of the above turns out to be useful. But in any case, please let us know how you resolve the problem.

  • Oracle installer scripts in Delivery wizard is disabled in Project builder

    Hi,
    I have oracle forms 6i installed on my system. However, I was trying to builld installer scripts for my project. So I open the deliver wizard in Project builder. Select all the parameters, like project name/directory etc.and then when I reach the option of creating installer scripts, it is disabled while the others like,
    Deliver to local staging, Deliver to a remote staging etc is enabled.
    Any ideas, why I the installer scripts are disabled.?
    thnx
    S

    Soe more.
    I read in the Oracle manual under the Guidelines for Building Applications
    in the section Managing Your Application the following statement about project builder:
    "Remember that you can automate the running of test scripts just as you can automate actions associated with the modules in your application.
    How would one do this???
    Thanks!
    Liza

  • Data Quality Services Installer script - Where is the 64 bit version

    Hi.
    I have Microsoft SQL Server 2012 - 11.0.2218.0 Enterprise Edition on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (WOW64) installed on my laptop. The Data Quality Services feature has been installed. When I try and run the DQS client it says I
    must run the DQS installer script. I therefore run the Data Quality Server Installer, which is the other option in the DQS menu, and it errors saying 'You are running 32-bit version of DQS installer on 64-bit OS'. I've looked for the 64-bit version but I can't
    find it. Any ideas where I can get it from?
    Thanks in advance for any help.

    iTunes 64bit version for Windows is somewhere in the future. Nice to see Apple is obviously doing something to remedy the issue.

  • Execution of gi installation script failed windows

    I have windows 2012, i tried install Oracle grid but in 83% , it get an error : INS-32123 execution of gi installation script failed . How can i solve?

    Estado de ejecución del nodo con fallos:rac1
    Errores  : Using configuration parameter file: C:\app\12.1.0\grid\crs\install\crsconfig_params|2015/02/17 12:09:24 CLSRSC-363: User ignored prerequisites during installation| [0m|02/17/15 12:10:40  OracleOHService service stopped|02/17/15 12:10:40  OracleOHService service removed|02/17/15 12:10:40  OracleOHService service installed|OhasdConfigureRegistry:  started|OhasdConfigureRegistry:  completed with 0|02/17/15 12:11:02  OracleOHService service started|ohasd is starting|CRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.|CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.|CRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.|CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.|CRS-2672: Intentando iniciar ''ora.evmd'' en ''rac1''|CRS-2672: Intentando iniciar ''ora.mdnsd'' en ''rac1''|CRS-2676: El inicio de ''ora.mdnsd'' en ''rac1'' se ha realizado correctamente|CRS-2676: El inicio de ''ora.evmd'' en ''rac1'' se ha realizado correctamente|CRS-2672: Intentando iniciar ''ora.gpnpd'' en ''rac1''|CRS-2676: El inicio de ''ora.gpnpd'' en ''rac1'' se ha realizado correctamente|CRS-2672: Intentando iniciar ''ora.cssdmonitor'' en ''rac1''|CRS-2672: Intentando iniciar ''ora.gipcd'' en ''rac1''|CRS-2676: El inicio de ''ora.cssdmonitor'' en ''rac1'' se ha realizado correctamente|CRS-2676: El inicio de ''ora.gipcd'' en ''rac1'' se ha realizado correctamente|CRS-2672: Intentando iniciar ''ora.cssd'' en ''rac1''|CRS-2676: El inicio de ''ora.cssd'' en ''rac1'' se ha realizado correctamente||Fallo al crear el archivo spfile de ASM en el grupo de discos. Se ha producido el siguiente error: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_ERR]|||2015/02/17 12:30:57 CLSRSC-184: Configuration of ASM failed| [0m|2015/02/17 12:30:57 CLSRSC-258: Failed to configure and start ASM| [0m
    Salida Estándar  : Using configuration parameter file: C:\app\12.1.0\grid\crs\install\crsconfig_params2015/02/17 12:09:24 CLSRSC-363: User ignored prerequisites during installation [0m02/17/15 12:10:40  OracleOHService service stopped02/17/15 12:10:40  OracleOHService service removed02/17/15 12:10:40  OracleOHService service installedOhasdConfigureRegistry:  startedOhasdConfigureRegistry:  completed with 002/17/15 12:11:02  OracleOHService service startedohasd is startingCRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.CRS-4133: Se ha parado Servicios de Alta Disponibilidad de Oracle.CRS-4123: Se ha iniciado Servicios de Alta Disponibilidad de Oracle.CRS-2672: Intentando iniciar ''ora.evmd'' en ''rac1''CRS-2672: Intentando iniciar ''ora.mdnsd'' en ''rac1''CRS-2676: El inicio de ''ora.mdnsd'' en ''rac1'' se ha realizado correctamenteCRS-2676: El inicio de ''ora.evmd'' en ''rac1'' se ha realizado correctamenteCRS-2672: Intentando iniciar ''ora.gpnpd'' en ''rac1''CRS-2676: El inicio de ''ora.gpnpd'' en ''rac1'' se ha realizado correctamenteCRS-2672: Intentando iniciar ''ora.cssdmonitor'' en ''rac1''CRS-2672: Intentando iniciar ''ora.gipcd'' en ''rac1''CRS-2676: El inicio de ''ora.cssdmonitor'' en ''rac1'' se ha realizado correctamenteCRS-2676: El inicio de ''ora.gipcd'' en ''rac1'' se ha realizado correctamenteCRS-2672: Intentando iniciar ''ora.cssd'' en ''rac1''CRS-2676: El inicio de ''ora.cssd'' en ''rac1'' se ha realizado correctamenteFallo al crear el archivo spfile de ASM en el grupo de discos. Se ha producido el siguiente error: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_ERR]2015/02/17 12:30:57 CLSRSC-184: Configuration of ASM failed [0m2015/02/17 12:30:57 CLSRSC-258: Failed to configure and start ASM [0m

  • XI 2.0 installation script for creating XI Sandbox Demo System

    Does any have a Windows2000 XI 2.0 installation script designed to create minimal XI Sandbox?  Brief installing instructions.

    Hi Dan
    There is no Installation Script for XI-2.0. The document you have to check is the XI 2.0 installation guide.
    Regards
    Prasad
    SAP Netwaver RIG-XI
    SAP Labs LLC, USA

  • Installer scripts won't run

    Hi, I've just tried running Software Update on my iMac to install Safari 5.0.1. It downloaded it but stalled when running the installer scripts. I powered off the machine and restarted it, and there don't appear to be any issues with the system and I'm now using Safari 5.0.0 without problems. I run Software Update once a week and haven't had any such problems previously. Last night, Virus Barrier X6 also couldn't run its installer scripts on a weekly scheduled update, and I had to force quit the installer. My MacBook has run both of these successfully, just not my iMac.
    Can anyone help?
    Thanks

    Thanks, I know that is an option but I was more concerned that my iMac doesn't seem to want to run any installer scripts

  • Archlinux installer and dm_crypt

    Hello all,
    I'm a new convert to Archlinux and (I have a fully installed Arch system now but) I'm a little bit confused on how to set up an encrypted partition via the Archlinux install media (because I would really love to have an encrypted home partition, which currently I don't have).
    From the Archlinux wiki ( http://wiki.archlinux.org/index.php/Sys … 2009.08.29 ) one notes this statement:
    Since Arch Linux 2009.08 the installer supports dm_crypt and LVM (and combination of both) out of the box. Just run the installer as usual, i.e. follow the Official Arch Linux Install Guide or the Beginners' Guide. When you reach the "Prepare Hard Drive(s)" don't use "Auto-Prepare" but set up your partitions manually...
    At first select the device corresponding to your unencrypted /boot partition, choose e.g. ext2 as filesystem and select /boot as the mountpoint. For all other partitions you created and which you want to be encrypted select dm_crypt in the filesystem dialog.
    However, when configuring my partitions and then selecting a filesystem (by pressing "t") I am not offered dm_crypt?
    Thus I must ask: Is dm_crypt labeled something other then dm_crypt in the filesystem menu, or am I misunderstanding how to set up encrypting partitions via the Arch install media?
    If it's the latter can some kind soul help me understand what it is that I am misunderstanding, because it seems rather straight forward from the wiki?
    Thanks in advance,
    sintas

    Hello all,
    So like I figured out where my problem was...
    I mistakenly took cfdisk as the tool in which one sets the filesystem (press "t" while in cfdisk), but no there is another step after this (and others as well) in creating an encrypted partition via the Archlinux installer.
    Over all it was easy, really .
    However, there is one question I have...
    How does one figure out the exact megabytes needed to create a full (full as in all megabytes) partition?
    Because when one is setting up the lvm it only offers 5000 megs and it seems that there's a point, in that even though cfdisk states I have X-many megabytes I cannot fully use them, in that I use the exact amount of megs stated by cfdisk the creaction of the lvm partition fails.
    Is there a tool for converting disk space or something?
    Thanks,
    sintas

Maybe you are looking for