П.С: - еслиб знал как это все зделать не просил бы,а написал статью

Модератор: f0s
Код: Выделить всё
===> Returning to build of vhcs-2.4.6.2
===> Generating temporary packing list
===> Checking if www/vhcs already installed
/bin/mkdir -p /usr/local/etc
/bin/mkdir -p /var/log/apache2/users
/usr/bin/touch /usr/local/etc/userdb
/bin/chmod go-rwx /usr/local/etc/userdb
install -s -o root -g wheel -m 555 /usr/ports/www/vhcs/work/vhcs-install-2.4.6.2/var/www/vhcs2/daemon/vhcs2_daemon /usr/local/sbin
/bin/cp -rp /usr/ports/www/vhcs/work/vhcs-install-2.4.6.2/var/www/ /usr/local/www
/bin/cp -rp /usr/ports/www/vhcs/work/vhcs-install-2.4.6.2/etc/vhcs2 /usr/local/etc
/bin/cp -rp /usr/ports/www/vhcs/work/vhcs-install-2.4.6.2/etc/apache2/sites-available/vhcs2.conf /usr/local/etc/apache2/Includes
/bin/mkdir -p /usr/local/www/vhcs2/backups
/bin/mkdir -p /usr/local/www/data/virtual
/bin/mkdir -p /var/run/courier
/bin/chmod u+w /usr/local/www/vhcs2/gui/tools/webmail/database
/bin/chmod u+w /usr/local/www/vhcs2/gui/tools/webmail/database/_cached_templates
/bin/chmod u+w /usr/local/www/vhcs2/gui/tools/webmail/database/_sessions
/bin/chmod u+w /usr/local/www/vhcs2/gui/themes/user_logos
====> File authmodulelist doesn't exist. Generating a new (basic) one.
echo "authdaemon" > /usr/local/etc/courier-imap/authmodulelist
install -o root -g wheel -m 555 /usr/ports/www/vhcs/work/vhcs2_daemon.sh /usr/local/etc/rc.d/vhcs2_daemon.sh
install -o root -g wheel -m 444 /usr/ports/www/vhcs/work/vhcs-install-2.4.6.2/etc/vhcs2/vhcs2.conf /usr/local/etc/vhcs2/vhcs2.conf.dist
===> Fixing postfix enviroment for doing chroot and get working with sasldb2 stuff
# umask 022
/bin/mkdir -p /var/spool/postfix/etc /var/spool/postfix//usr/local/etc
/bin/chmod 755 /var/spool/postfix/etc
install -o root -g wheel -m 444 /etc/host.conf /var/spool/postfix/etc
install -o root -g wheel -m 444 /etc/localtime /var/spool/postfix/etc
install: /etc/localtime: No such file or directory
*** Error code 71
Stop in /usr/ports/www/vhcs.
Код: Выделить всё
===> !!! IMPORTANT - IMPORTANT - IMPORTANT !!! :
===> Do not forget to do the following before running
===> setup:
===> First, add the following to rc.conf:
apache2_enable="YES"
courier_authdaemond_enable="YES"
courier_imap_imapd_enable="YES"
courier_imap_pop3d_enable="YES"
mysql_enable="YES"
proftpd_enable="YES"
sendmail_enable="NONE"
vhcsd_enable="YES"
named_enable="YES"
===> Make sure you have the following lines in your PAM
===> configuration file so that ProFTPd's PAM module
===> can authenticate users correctly.
ftpd auth required pam_unix.so try_first_pass
ftpd account required pam_unix.so try_first_pass
ftpd session required pam_permit.so
===> Make sure you have the following lines in your PAM
===> configuration file so that Courier-Imap's PAM module
===> can authenticate users correctly.
imap auth required pam_unix.so try_first_pass
imap account required pam_unix.so try_first_pass
imap session required pam_permit.so
===> Next, postfix must be running with:
cd /usr/local/etc/rc.d
ln -s /usr/local/sbin/postfix postfix.sh
===> Finally, for postfix purposes, add to
===> /etc/periodic.conf:
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
===> Add to apache config (/usr/local/etc/apache2/httpd.conf):
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
===> Please, fire up your mysql server before doing
===> vhcs setup task, with something like this:
/usr/local/etc/rc.d/mysql-server.sh start
===> VHCS v2.4.6.2 installed successfully!.
===> You need to setup vhcs software with:
make setup
===> Registering installation for vhcs-2.4.6.2
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/vhcs2_daemon
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/vhcs2_daemon.sh
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.vhcs.net
vhcs-2.4.6.2: "/usr/ports/www/apache2" non-existent -- dependency list incomplete
===> Cleaning for apache-2.0.63_2
===> Cleaning for bash-3.2.48_1
===> Cleaning for expect-5.43.0_3
===> Cleaning for mysql-server-4.0.27
===> Cleaning for proftpd-vhcs2-1.3.2.r3_1
===> Cleaning for postfix-vhcs2-2.5.5,1
===> Cleaning for courier-imap-vhcs2-4.4.1,2
===> Cleaning for adodb-4.99.1
===> Cleaning for p5-DBI-1.60.4
===> Cleaning for p5-DBD-mysql40-4.006
===> Cleaning for p5-MIME-Tools-5.427,2
===> Cleaning for p5-Crypt-CBC-2.30
===> Cleaning for p5-Crypt-Blowfish-2.10
===> Cleaning for p5-Term-ReadPassword-0.11
===> Cleaning for php5-5.2.8
===> Cleaning for php5-mcrypt-5.2.8
===> Cleaning for php5-mysql-5.2.8
===> Cleaning for php5-session-5.2.8
===> Cleaning for php5-sockets-5.2.8
===> Cleaning for php5-ftp-5.2.8
===> Cleaning for php5-xml-5.2.8
===> Cleaning for autoconf-2.62
===> Cleaning for expat-2.0.1
===> Cleaning for tk-8.4.19,2
===> Cleaning for gcc-3.4.6_3,1
===> Cleaning for mysql-client-4.0.27
===> Cleaning for cyrus-sasl-2.1.22_2
===> Cleaning for courier-authlib-base-0.62.1
===> Cleaning for courier-authlib-userdb-0.62.1
===> Cleaning for p5-Storable-2.18
===> Cleaning for p5-Mail-Tools-2.04
===> Cleaning for p5-IO-stringy-2.110
===> Cleaning for p5-Convert-BinHex-1.119
===> Cleaning for p5-MIME-Base64-3.07
===> Cleaning for p5-File-Temp-0.20
===> Cleaning for libxml2-2.6.32_2
===> Cleaning for libmcrypt-2.5.8
===> Cleaning for libltdl-1.5.26
===> Cleaning for m4-1.4.11,1
===> Cleaning for help2man-1.36.4_2
===> Cleaning for autoconf-wrapper-20071109
===> Cleaning for libX11-1.1.3_1,1
===> Cleaning for tcl-8.4.19,1
===> Cleaning for bison-2.3_4,1
===> Cleaning for sysconftool-0.15_2
===> Cleaning for p5-TimeDate-1.16,1
===> Cleaning for p5-gettext-1.05_2
===> Cleaning for bigreqsproto-1.0.2
===> Cleaning for xcmiscproto-1.1.2
===> Cleaning for xextproto-7.0.2
===> Cleaning for xtrans-1.0.4
===> Cleaning for kbproto-1.0.3
===> Cleaning for inputproto-1.4.2.1
===> Cleaning for xf86bigfontproto-1.1.2
===> Cleaning for libXau-1.0.3_2
===> Cleaning for libXdmcp-1.0.2_1
===> Cleaning for xproto-7.0.10_1
===> Cleaning for automake-1.9.6_3
===> Cleaning for automake-wrapper-20071109
===> Cleaning for vhcs-2.4.6.2
я так понимаю это нужно добавить в конфигурационный файл демона? Буду очень признателен за пояснение и коментарии предыдущего поста!lines in your PAM configuration file
Код: Выделить всё
[][root][/usr/local/www/vhcs2/engine]>/usr/local/etc/rc.d/mysql-server start
apache2_enable: not found
courier_authdaemond_enable: not found
courier_imap_imapd_enable: not found
courier_imap_pop3d_enable: not found
mysql_enable: not found
proftpd_enable: not found
sendmail_enable: not found
vhcsd_enable: not found
named_enable: not found
Код: Выделить всё
crontab: no crontab for root
crontab: no crontab for root
crontab: no crontab for root
named not running? (check /var/run/named/pid).
Syntax error on line 22 of /usr/local/etc/apache2/Includes/vhcs2.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
wrote key file "/var/named/etc/namedb/rndc.key"
Starting named.
Syntax error on line 22 of /usr/local/etc/apache2/Includes/vhcs2.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
postfix/postfix-script: stopping the Postfix mail system
/usr/local/etc/rc.d/courier-authdaemond.sh: not found
/usr/local/etc/rc.d/courier-imap-imapd.sh: not found
/usr/local/etc/rc.d/courier-imap-pop3d.sh: not found
/usr/local/etc/rc.d/courier-authdaemond.sh: not found
/usr/local/etc/rc.d/courier-imap-imapd.sh: not found
/usr/local/etc/rc.d/courier-imap-pop3d.sh: not found
/usr/local/etc/rc.d/proftpd.sh: not found
/usr/local/etc/rc.d/proftpd.sh: not found
vhcsd not running?
postfix/postfix-script: starting the Postfix mail system
Congratulations !
VHCS2 '2.4 Spartacus' Setup completed successfully !
Please type http://192.168.0.128/vhcs2/ in your
browser!
Код: Выделить всё
Syntax error on line 22 of /usr/local/etc/apache2/Includes/vhcs2.conf:
Код: Выделить всё
<Directory /usr/local/www/vhcs2/gui/tools/filemanager>
php_flag register_globals On
php_admin_value open_basedir "/usr/local/www/vhcs2/gui/tools/filemanager/:/tmp/:/var/tmp/:/usr/local/share/pear/"
</Directory>
ошибки в скрипте:localhost (Port 9876)VHCS Daemon UP
localhost (Port 21) FTP DOWN
localhost (Port 22) SSH UP
localhost (Port 23) Telnet DOWN
localhost (Port 25) SMTP UP
localhost (Port 53) DNS UP
localhost (Port 80) HTTP UP
localhost (Port 110) POP3 DOWN
localhost (Port 143) IMAP DOWN
Код: Выделить всё
Warning: file(/proc/cpuinfo) [function.file]: failed to open stream: No such file or directory in
/usr/local/www/vhcs2/gui/admin/sysinfo.php on line 191
Warning: Invalid argument supplied for foreach() in /usr/local/www/vhcs2/gui/admin/sysinfo.php on
line 194
Notice: Undefined index: free in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 264
Notice: Undefined index: total in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 265
Notice: Undefined index: free in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 265
Notice: Undefined index: free in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 269
Warning: file(/proc/swaps) [function.file]: failed to open stream: No such file or directory
in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 272
Notice: Undefined index: free in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 442
Notice: Undefined index: total in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 443
Notice: Undefined index: free in /usr/local/www/vhcs2/gui/admin/sysinfo.php on line 445
localhost (Port 9876)VHCS Daemon UP
localhost (Port 21) FTP DOWN
localhost (Port 22) SSH UP
localhost (Port 23) Telnet DOWN
localhost (Port 25) SMTP UP
localhost (Port 53) DNS UP
localhost (Port 80) HTTP UP
localhost (Port 110) POP3 UP
localhost (Port 143) IMAP UP
Хостинг в krs-ix? Могу помощь в настройке.Sun писал(а):+ нашел версию посвежее попробую еще ее воткнуть,мож там че нить из проблем до ума доведено