Installation problem on CentOS 5.1 - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Installation problem on CentOS 5.1 (/thread-2714.html) Pages: 1 2 |
Installation problem on CentOS 5.1 - rickygestalt - 03-12-2008 09:04 PM Hi all in the Forum, On centOs 5.1 I'm installed ispcp but I stoped when I run the setup ( ./ispcp-setup) the error is : > ERROR: Undefined intput data, bt: |{PHP_VERSION}|, et: |{PHP_VERSION}|, src ! can U help me? thanks advanced This is my config file : # # ispCP ω (OMEGA) a Virtual Hosting Control Panel # Copyright © 2006-2008 by isp Control Panel # http://isp-control.net # # # Misc config variables # BuildDate = 20080308 Version = 1.0.0 RC4 OMEGA CodeName = Priamos DEFAULT_ADMIN_ADDRESS = ricky@gestalt.it SERVER_HOSTNAME = server.gestalt.it BASE_SERVER_IP = 192.168.1.111 BASE_SERVER_VHOST = admin.server.gestalt.it MR_LOCK_FILE = /var/run/ispcp.lock # # File system variables # CMD_AWK = /bin/awk CMD_BZCAT = /usr/bin/bzcat CMD_BZIP = /usr/bin/bzip2 CMD_CHOWN = /bin/chown CMD_CAT = /bin/cat CMD_CHMOD = /bin/chmod CMD_CP = /bin/cp CMD_DIFF = /usr/bin/diff CMD_DU = /usr/bin/du CMD_ECHO = /bin/echo CMD_GZCAT = /bin/zcat CMD_GZIP = /bin/gzip CMD_GREP = /bin/grep CMD_GROUPADD = /usr/sbin/groupadd CMD_GROUPDEL = /usr/sbin/groupdel CMD_HOSTNAME = /bin/hostname CMD_IFCONFIG = /sbin/ifconfig CMD_IPTABLES = /sbin/iptables CMD_LN = /bin/ln CMD_MYSQL = /usr/bin/mysql CMD_MV = /bin/mv CMD_PS = /bin/ps CMD_RM = /bin/rm CMD_SHELL = /bin/bash CMD_TAR = /bin/tar CMD_TOUCH = /bin/touch CMD_USERADD = /usr/sbin/useradd CMD_USERDEL = /usr/sbin/userdel CMD_WC = /usr/bin/wc PEAR_DIR = /usr/share/pear # # SQL backend variables # # Don't change this one DATABASE_TYPE = mysql DATABASE_HOST = localhost DATABASE_NAME = ispcp DATABASE_PASSWORD = ******* DATABASE_USER = root DATABASE_DIR = /var/lib/mysql CMD_MYSQLDUMP = /usr/bin/mysqldump DATABASE_UTF8 = yes # # Main variables # CONF_DIR = /etc/ispcp LOG_DIR = /var/log/ispcp PHP_STARTER_DIR = /var/www/fcgi ROOT_DIR = /var/www/ispcp ROOT_USER = root ROOT_GROUP = root GUI_ROOT_DIR = /var/www/ispcp/gui APACHE_WWW_DIR = /var/www/virtual SCOREBOARDS_DIR = /var/www/scoreboards # Select Zipping Algorithm for Backups # Supported: gzip, bzip2 ZIP = bzip2 # # PHP FastCGI data # #PHP4_FASTCGI_BIN = /usr/bin/php4-cgi PHP5_FASTCGI_BIN = /usr/bin/php-cgi PHP_VERSION = 5 # # ProFTPd data # FTPD_CONF_FILE = /etc/proftpd.conf # # BIND data # BIND_CONF_FILE = /var/named/chroot/etc/named.conf BIND_DB_DIR = /var/named/chroot/var/named/data/ SECONDARY_DNS = # # AWSTATS data # AWSTATS_ACTIVE = no # could be 'dynamic' = 0 or 'static' = 1 AWSTATS_MODE = 0 AWSTATS_CACHE_DIR = /var/cache/awstats AWSTATS_CONFIG_DIR = /etc/awstats AWSTATS_ENGINE_DIR = /usr/bin/ AWSTATS_WEB_DIR = /var/www/awstats/ AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats # # APACHE data # APACHE_NAME = httpd APACHE_RESTART_TRY = 3 APACHE_CONF_DIR = /etc/httpd APACHE_CMD = /usr/sbin/httpd APACHE_LOG_DIR = /var/log/httpd APACHE_BACKUP_LOG_DIR = /var/log/httpd/backup APACHE_USERS_LOG_DIR = /var/log/httpd/users APACHE_MODS_DIR = /etc/httpd/conf.d APACHE_SITES_DIR = /etc/httpd/vhosts APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/httpd/ispcp APACHE_SUEXEC_USER_PREF = vu APACHE_SUEXEC_MIN_GID = 2000 APACHE_SUEXEC_MIN_UID = 2000 APACHE_USER = apache APACHE_GROUP = apache # # Postfix MTA Data # POSTFIX_CONF_FILE = /etc/postfix/main.cf POSTFIX_MASTER_CONF_FILE = /etc/postfix/master.cf MTA_LOCAL_MAIL_DIR = /var/mail MTA_VIRTUAL_MAIL_DIR = /var/mail/virtual MTA_LOCAL_ALIAS_HASH = /etc/aliases MTA_VIRTUAL_CONF_DIR = /etc/postfix/ispcp MTA_VIRTUAL_ALIAS_HASH = /etc/postfix/ispcp/aliases MTA_VIRTUAL_DMN_HASH = /etc/postfix/ispcp/domains MTA_VIRTUAL_MAILBOX_HASH = /etc/postfix/ispcp/mailboxes MTA_TRANSPORT_HASH = /etc/postfix/ispcp/transport MTA_SENDER_ACCESS_HASH = /etc/postfix/ispcp/sender-access MTA_MAILBOX_MIN_UID = 500 MTA_MAILBOX_UID = 500 MTA_MAILBOX_UID_NAME = vmail MTA_MAILBOX_GID = 12 MTA_MAILBOX_GID_NAME = mail MTA_SASLDB_FILE = /var/spool/postfix/etc/sasldb2 ETC_SASLDB_FILE = /etc/sasldb2 CMD_SASLDB_LISTUSERS2 = /usr/sbin/sasldblistusers2 CMD_SASLDB_PASSWD2 = /usr/sbin/saslpasswd2 CMD_POSTMAP = /usr/sbin/postmap CMD_NEWALIASES = /usr/bin/newaliases # # Courier IMAP/POP3 data # COURIER_CONF_DIR = /etc/courier AUTHLIB_CONF_DIR = /etc/authlib CMD_MAKEUSERDB = /usr/sbin/makeuserdb # # Crontab delayed tasks # BACKUP_HOUR = 23 BACKUP_MINUTE = 40 BACKUP_ISPCP = yes BACKUP_DOMAINS = yes BACKUP_ROOT_DIR = /var/www/ispcp/engine/backup CMD_CRONTAB = /usr/bin/crontab # # Service manager # # Either no or path to the amavis-daemon (usually: /etc/init.d/amavis) CMD_AMAVIS = no CMD_AUTHD = /etc/init.d/courier-authlib CMD_FTPD = /etc/init.d/proftpd CMD_HTTPD = /usr/sbin/apachectl CMD_IMAP = /usr/lib/courier/sbin/imapd CMD_IMAP_SSL = /usr/lib/courier/sbin/imapd-ssl CMD_MTA = /etc/init.d/postfix CMD_NAMED = /etc/init.d/named CMD_POP = /usr/lib/courier/sbin/pop3d CMD_POP_SSL = /usr/lib/courier/sbin/pop3d-ssl CMD_ISPCPD = /etc/init.d/ispcp_daemon CMD_ISPCPN = /etc/init.d/ispcp_network # # Virtual traffic manager # CMD_PFLOGSUM = /usr/sbin/maillogconvert.pl TRAFF_LOG_DIR = /var/log FTP_TRAFF_LOG = /proftpd/ftp_traff.log MAIL_TRAFF_LOG = mail.log PREV_TRAFF_LOG_MAX_SIZE = 70391808 TRAFF_ROOT_DIR = /var/www/ispcp/engine/traffic TOOLS_ROOT_DIR = /var/www/ispcp/engine/tools QUOTA_ROOT_DIR = /var/www/ispcp/engine/quota # # AMaViS data # MAIL_LOG_INC_AMAVIS = 0 # # GUI config # USER_INITIAL_THEME = omega_original FTP_USERNAME_SEPARATOR = @ FTP_HOMEDIR = /var/www/virtual IPS_LOGO_PATH = ../themes/user_logos ISPCP_SUPPORT_SYSTEM_PATH = support_system.php ISPCP_SUPPORT_SYSTEM_TARGET = MYSQL_PREFIX = no # '' for MYSQL_PREFIX = no, # 'infront' or 'behind' for MYSQL_PREFIX = yes MYSQL_PREFIX_TYPE = WEBMAIL_PATH = ../tools/webmail/ WEBMAIL_TARGET = _blank PMA_PATH = ../tools/pma/ PMA_TARGET = _blank FILEMANAGER_PATH = ../tools/filemanager/ FILEMANAGER_TARGET = _blank DATE_FORMAT = d.m.Y RKHUNTER_LOG = /var/log/rkhunter.log CHKROOTKIT_LOG = /var/log/chkrootkit.log # Here you can set an additional anti-rootkit tool log file OTHER_ROOTKIT_LOG = # # htaccess management # HTACCESS_USERS_FILE_NAME = .htpasswd HTACCESS_GROUPS_FILE_NAME = .htgroup HTPASSWD_CMD = /usr/bin/htpasswd # # backup management # BACKUP_FILE_DIR = /var/www/ispcp/backups # # Developer Mode # DEBUG = 0 RE: Installation problem on CentOS 5.1 - StevenE - 03-12-2008 09:22 PM hi, I'm fighting myself but perhaps I can help you here. When did the Error occurs? directly after ./ispcp-setup or are there things done first? If there is nothing done before DATABASE_PASSWORD should be empty also check your php_starter paths are they similiar to the config file? which php is installed? RE: Installation problem on CentOS 5.1 - rickygestalt - 03-12-2008 09:49 PM Hi StevenE, The error occurs after the ultimate the completation of all fields request. I notice that ispCP is done: Database changed mysql> show tables; +-----------------+ | Tables_in_ispcp | +-----------------+ | admin | | auto_num | | config | | custom_menus | | domain | | domain_aliasses | | domain_traffic | | email_tpls | | error_pages | | ftp_group | | ftp_users | | hosting_plans | | htaccess | | htaccess_groups | | htaccess_users | | lang_English | | log | | login | | mail_users | | orders | | orders_settings | | quotalimits | | quotatallies | | reseller_props | | server_ips | | server_traffic | | sql_database | | sql_user | | straff_settings | | subdomain | | suexec_props | | tickets | | user_gui_props | +-----------------+ 33 rows in set (0.00 sec) The php versione is 5. Thanks StevenE Wrote:hi, RE: Installation problem on CentOS 5.1 - joximu - 03-12-2008 10:12 PM maybe you can set "DEBUG = 1" in ispcp.conf and rerun the setup (before: do a reset-setup...) Then hopefully you see, where the error occurs.. /J RE: Installation problem on CentOS 5.1 - rickygestalt - 03-13-2008 01:38 AM I set "DEBUG=1" in ispcp.conf and I rerun the setup, this is result: [root@gestalt setup]# ./ispcp-setup Welcome to ispCP '1.0.0 RC4 OMEGA' Setup Dialog. This program will set up ispCP OMEGA system on your server. Please enter fully qualified hostname. [gestalt.it]: Please enter system network address. [192.168.1.111]: Please enter the domain name where ispCP OMEGA will run on [admin.gestalt.it]: Please enter SQL server host. [localhost]: Please enter system SQL database. [ispcp]: Please enter system SQL user. [root]: Please enter system SQL password. [none]: Please repeat system SQL password: Please enter ispCP ftp SQL user. [vftp]: Please enter ispCP ftp SQL user password. [auto generate]: ispCP ftp SQL user password set to: $ypjU``NW2qoQeHN$j< Please enter ispCP phpMyAdmin Control user. [pma]: Please enter ispCP phpMyAdmin Control user password. [auto generate]: phpMyAdmin Control user password set to: $jY8gLXFjHn[^_U>TTM Please enter administrator login name. [admin]: Please enter administrator password: Please repeat administrator password: Please enter admininistrator email address: ricky@gestalt.it Use which PHP Version? (4 or 5). [5]: 5 IP of Secondary DNS. (optional) []: Use MySQL Prefix. Possible values: [i]nfront, [b]ehind, [n]one. [none]: Activate AWStats. [no]: Starting Installation... ERROR: Undefined intput data, bt: |{PHP_VERSION}|, et: |{PHP_VERSION}|, src ! [root@gestalt setup]# Some suggestions?? thanks joximu Wrote:maybe you can set "DEBUG = 1" in ispcp.conf and rerun the setup (before: do a reset-setup...) RE: Installation problem on CentOS 5.1 - StevenE - 03-13-2008 01:44 AM seems not any diffrent to me, did you change the debug=0 to 1 or did you just write a new line? take a look at the last line of ispcp.conf I think if debug works you should see something like Code: > DEBUG: push_el() sub_name: get_tag(), msg: Starting... and so on.... RE: Installation problem on CentOS 5.1 - rickygestalt - 03-13-2008 02:21 AM I post the last lines of the system debug: DEBUG: push_el() sub_name: gen_sys_rand_num(), msg: NOTICE: new entropy pool size is 1711 DEBUG: push_el() sub_name: gen_sys_rand_num(), msg: Ending... DEBUG: push_el() sub_name: get_tpl(), msg: Starting... DEBUG: push_el() sub_name: get_file(), msg: Starting... DEBUG: push_el() sub_name: get_file(), msg: Ending... DEBUG: push_el() sub_name: get_tpl(), msg: Ending... DEBUG: push_el() sub_name: prep_tpl(), msg: Starting... DEBUG: push_el() sub_name: repl_var(), msg: Starting... DEBUG: push_el() sub_name: repl_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{HOSTNAME}' eq '{HOSTNAME}', missing '{HOSTNAME}' in src ! DEBUG: push_el() sub_name: repl_var(), msg: Ending... DEBUG: push_el() sub_name: repl_var(), msg: Starting... DEBUG: push_el() sub_name: repl_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TMP_DIR}' eq '{TMP_DIR}', missing '{TMP_DIR}' in src ! DEBUG: push_el() sub_name: repl_var(), msg: Ending... DEBUG: push_el() sub_name: repl_var(), msg: Starting... DEBUG: push_el() sub_name: repl_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PMA_PASS}' eq '{PMA_PASS}', missing '{PMA_PASS}' in src ! DEBUG: push_el() sub_name: repl_var(), msg: Ending... DEBUG: push_el() sub_name: repl_var(), msg: Starting... DEBUG: push_el() sub_name: repl_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{PMA_USER}' eq '{PMA_USER}', missing '{PMA_USER}' in src ! DEBUG: push_el() sub_name: repl_var(), msg: Ending... DEBUG: push_el() sub_name: repl_var(), msg: Starting... DEBUG: push_el() sub_name: repl_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BLOWFISH}' eq '{BLOWFISH}', missing '{BLOWFISH}' in src ! DEBUG: push_el() sub_name: repl_var(), msg: Ending... DEBUG: push_el() sub_name: prep_tpl(), msg: Ending... DEBUG: push_el() sub_name: store_file(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Ending... DEBUG: push_el() sub_name: store_file(), msg: Ending... DEBUG: push_el() sub_name: setup_sql(), msg: Ending... DEBUG: push_el() sub_name: setup_crontab(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending... DEBUG: push_el() sub_name: setup_crontab(), msg: Ending... DEBUG: push_el() sub_name: setup_resolver(), msg: Starting... DEBUG: push_el() sub_name: setup_resolver(), msg: Not doing anything because of security concerns DEBUG: push_el() sub_name: setup_resolver(), msg: Ending... DEBUG: push_el() sub_name: setup_hosts(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending... DEBUG: push_el() sub_name: store_file(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Ending... DEBUG: push_el() sub_name: store_file(), msg: Ending... DEBUG: push_el() sub_name: setup_hosts(), msg: Ending... DEBUG: push_el() sub_name: setup_named(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending... DEBUG: push_el() sub_name: get_file(), msg: Starting... DEBUG: push_el() sub_name: get_file(), msg: Ending... DEBUG: push_el() sub_name: sys_command(), msg: Starting... DEBUG: push_el() sub_name: sys_command('/bin/cp -p /etc/ispcp/bind/backup/named.conf.ispcp /etc/named.conf'), msg: Ending... DEBUG: push_el() sub_name: store_file(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Ending... DEBUG: push_el() sub_name: store_file(), msg: Ending... DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting... DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending... DEBUG: push_el() sub_name: setup_named(), msg: Ending... DEBUG: push_el() sub_name: setup_php_master_user_dirs(), msg: Starting... DEBUG: push_el() sub_name: make_dir(), msg: Starting... DEBUG: push_el() sub_name: make_dir(), msg: '/var/www/fcgi/master/php4' exists ! Setting its permissions... DEBUG: push_el() sub_name: setfmode(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Ending... DEBUG: push_el() sub_name: make_dir(), msg: Ending... DEBUG: push_el() sub_name: make_dir(), msg: Starting... DEBUG: push_el() sub_name: make_dir(), msg: '/var/www/fcgi/master/php5' exists ! Setting its permissions... DEBUG: push_el() sub_name: setfmode(), msg: Starting... DEBUG: push_el() sub_name: setfmode(), msg: Ending... DEBUG: push_el() sub_name: make_dir(), msg: Ending... DEBUG: push_el() sub_name: setup_php_master_user_dirs(), msg: Ending... DEBUG: push_el() sub_name: setup_php(), msg: Starting... DEBUG: push_el() sub_name: get_tpl(), msg: Starting... DEBUG: push_el() sub_name: get_file(), msg: Starting... DEBUG: push_el() sub_name: get_file(), msg: Ending... DEBUG: push_el() sub_name: get_tpl(), msg: Ending... DEBUG: push_el() sub_name: prep_tpl(), msg: Starting... DEBUG: push_el() sub_name: repl_var(), msg: Starting... DEBUG: push_el() sub_name: repl_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: Starting... DEBUG: push_el() sub_name: get_tag(), msg: ERROR: Undefined intput data, bt: |{PHP_VERSION}|, et: |{PHP_VERSION}|, src ! DEBUG: pop_el() sub_name: get_tag(), msg: ERROR: Undefined intput data, bt: |{PHP_VERSION}|, et: |{PHP_VERSION}|, src ! ERROR: Undefined intput data, bt: |{PHP_VERSION}|, et: |{PHP_VERSION}|, src ! [root@gestalt setup]# RE: Installation problem on CentOS 5.1 - joximu - 03-13-2008 11:40 AM ich habs glauib: da fehlt was im Makefile: cp ./fastcgi2.conf $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf kannst du einerseits herausfinden, ob für CentOS die fastcgi.conf oder fastcgi2.conf gilt. diese Datei kommt dann schlussendlich nach /etc/ispcp/apache/working/fastcgi_ispcp.conf dann sollte es klappen. Gruss J RE: Installation problem on CentOS 5.1 - jmeyerdo - 03-13-2008 05:31 PM Beschreib mal genau, mit welchen Config-Files Du die Installation gestartet hast. Für mich funktionierte allerdings auch die Installation für CentOS (mit den speziellen CentOS-Konfigs) nicht ohne einige Detail-Anpassungen. Ich bin kürzlich noch dem Howto von Sw1fty gefolgt: http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/ Das ist schon mal sehr hilfreich... Viele Grüße, Jens RE: Installation problem on CentOS 5.1 - RatS - 03-13-2008 06:05 PM Das HowTo ist im übrigen auch in die INSTALL eingeflossen |