Hello
First attempt to install virtualmin in FreeBSD 10, seems fails because pkg_add is missing:
roberto
root@nas1:~ # ./install.sh
Welcome to the Virtualmin GPL installer, version 1.1.0
WARNING:
The installation is quite stable and functional when run on a freshly
installed supported Operating System.
If you have existing websites, email users, or if you manually installed
Virtualmin via a Webmin ‘wbm’ module, you are likely to run into problems.
Please read the Virtualmin Administrators Guide before proceeding if
your system is not a freshly installed and supported OS.
This script is not intended to update your system! It should only be
used to perform your initial Virtualmin installation. If you have previously
run the Virtualmin installer, you can perform upgrades and updates from within
Virtualmin itself, or using your system’s package manager. Once Virtualmin is
installed, you never need to run this script again.
The systems currently supported by install.sh are:
CentOS and RHEL 5-6 on i386 and x86_64
Scientific Linux 6 on i386 and x86_64
Debian 6.0 and 7.0 on i386 and amd64
Ubuntu 8.04 LTS and 10.04 LTS, and 12.04 LTS on i386 and amd64
Amazon Linux 2012.03 on i386 and x86_64
FreeBSD 7.0 and 8 on i386 and amd64
If your OS is not listed above, this script will fail. More details
about the systems supported by the script can be found here:
http://www.virtualmin.com/os-support.html
Continue? (y/n) y
grep: /etc/mtab: No such file or directory
Checking for HTTP client…found /usr/bin/fetch
Checking for perl…found /usr/bin/perl
spinner 100% of 579 B 44 kBps 00m00s
Loading log4sh logging library…
log4sh 100% of 20 kB 120 kBps 00m00s
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname…
INFO - Hostname OK: fully qualified as nas1.contenidosonline.com.ar
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
oschooser.pl 100% of 4461 B 11 MBps 00m00s
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list…
os_list.txt 100% of 3735 B 9073 kBps 00m00s
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name: FreeBSD
INFO - Operating system version: 10.0
INFO - Detected IP 192.165.67.65
127.0.0.1 for …
sed: 1: “s%mDetected IP 192.16 …”: unescaped newline inside substitute pattern
grep: 127.0.0.1: No such file or directory
INFO - Adding new entry for hostname nas1.contenidosonline.com.ar on 192.165.67.65
127.0.0.1 to /etc/hosts.
sed: 1: “s%mAdding new entry f …”: unescaped newline inside substitute pattern
INFO - Configuring package manager for FreeBSD 10.0…
INFO - Installing Apache from ports…
cd: /usr/ports/www/apache22: No such file or directory
make: don’t know how to make install. Stop
make: stopped in /tmp/.virtualmin-848
INFO - Installing mod_fcgid using ports…
cd: /usr/ports/www/mod_fcgid: No such file or directory
make: don’t know how to make install. Stop
make: stopped in /tmp/.virtualmin-848
INFO - Installing Subversion using ports…
cd: /usr/ports/devel/subversion: No such file or directory
make: don’t know how to make install. Stop
make: stopped in /tmp/.virtualmin-848
INFO - Installing cyrus-sasl2-saslauthd from ports…
cd: /usr/ports/security/cyrus-sasl2-saslauthd: No such file or directory
make: don’t know how to make install. Stop
make: stopped in /tmp/.virtualmin-848
INFO - Installing postfix from ports…
cd: /usr/ports/mail/postfix23: No such file or directory
make: don’t know how to make install. Stop
make: stopped in /tmp/.virtualmin-848
INFO - Installing dependencies using command:
INFO - for i in p5-Mail-SpamAssassin procmail p5-Class-DBI-Pg p5-Class-DBI-mysql openssl p5-Net-SSLeay python mailman ruby mysql50-server mysql50-client mysql50-scripts postgresql81-server postgresql81-client logrotate awstats webalizer php5 php5-mysql php5-mbstring php5-xmlrpc php5-mcrypt php5-gd php5-dom php5-pgsql php5-session clamav dovecot proftpd unzip p5-IO-Tty mod_perl2; do pkg_add -r $i; done
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
./install.sh: pkg_add: not found
WARN - Something went wrong during installation: 0
WARN - FreeBSD pkd_add cannot reliably detect failures, or successes,
WARN - so we’re going to proceed as if nothing bad happened.
WARN - This may lead to problems later in the process, and
WARN - some packages may not have installed successfully.
WARN - You may wish to check /root/virtualmin-install.log for details.
INFO - Copying default my.cnf and initializing database…
cp: /usr/local/share/mysql/my-medium.cnf: No such file or directory
./install.sh: /usr/local/etc/rc.d/mysql-server: not found
INFO -
cp: /usr/local/etc/mail/spamassassin/local.cf.sample: No such file or directory
INFO - Initializing the clamav database. This may take a long time…
./install.sh: freshclam: not found
cp: /usr/local/www/awstats/cgi-bin/awstats.model.conf: No such file or directory
chpass: user information updated
INFO - Installing procmail-wrapper.
fetch: http://software.virtualmin.com/gpl/freebsd/10.0/amd64/procmail-wrapper: Not Found
FATAL - Fatal Error Occurred: Failed to download http://software.virtualmin.com/gpl/freebsd/10.0/amd64/procmail-wrapper.
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log
root@nas1:~ #