ispCP - Board - Support
ispCP 1.0.7 new installation problem, FreeBSD 8 - 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: ispCP 1.0.7 new installation problem, FreeBSD 8 (/thread-12315.html)

Pages: 1 2


ispCP 1.0.7 new installation problem, FreeBSD 8 - RedX - 12-02-2010 07:43 PM

Hello,
I try to install ispcp 1.0.7 on FreeBSD 8.

During the installation I receive next error message:

Code:
GUI setup
         * ispCP GUI Bind9 configuration:                            [ Failed ]

        [FATAL] An error occurred during setup process!
        Correct it and re-run this program.

in the /var/log/ispcp/setup/ispcp-setup.log

Code:
setup_gui_cfg()                | Starting...
setup_gui_named()              | Starting...
setup_gui_named_cfg_data()     | Starting...
setup_gui_named_cfg_data()     | [FATAL] Undefined Input Data...
exit_msg()                     | Starting...
exit_msg()                     | Ending...
del_file()                     | Starting...
del_file()                     | Ending...

and if I enable DEBUG mode, so I receive next:

Code:
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: Starting...
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 0
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: Ending...
[DEBUG] pop_el() sub_name: sys_command('/usr/local/bin/mysql --host='localhost' --user='root' --pass='my,pass2010' < /tmp/db.sql'), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Starting...
[DEBUG] pop_el() sub_name: del_file(), msg: Ending...
[DEBUG] pop_el() sub_name: setup_ispcp_database(), msg: Ending...
[DEBUG] pop_el() sub_name: exit_msg(), msg: Starting...
[DEBUG] pop_el() sub_name: exit_msg(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Starting...
[DEBUG] pop_el() sub_name: del_file(), msg: Ending...
[DEBUG] pop_el() Empty 'EL' Stack !

Somebody can help me, please.


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - BeNe - 12-02-2010 11:54 PM

I did not test 1.0.7 under FreeBSD so far.
The maintainscript need some changes i thing.
Hope i have some time on the weekend.

Greez BeNe


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - RedX - 12-03-2010 03:17 AM

Hello BeNe,
I'll be very glad if you can help me with troubleshooting.

I installed the ispcp according this instruction: http://isp-control.net/documentation/doku.php?id=start:installation:freebsd

During setup I had the problems that some files were not created in the folders.
For example, the during the installation the folder "database" isn't created in the /usr/local/etc/ispcp/ folder. And all *.sql files in this folder isn't created too.

It would be great if you can help me to find a solution... Smile


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - RatS - 12-03-2010 04:21 AM

(12-03-2010 03:17 AM)RedX Wrote:  During setup I had the problems that some files were not created in the folders.
For example, the during the installation the folder "database" isn't created in the /usr/local/etc/ispcp/ folder. And all *.sql files in this folder isn't created too.

Hi RedX, it looks like the BSDmakefile is wrong, could you please test the following:

/configs/common/BSDmakefile
PHP Code:
.ifdef $(OSTYPE)==FreeBSD
.include <../../Makefile.fbsd>
.else
.include <../../
Makefile.inc>
.endif

install:
    
cp -./database $(SYSTEM_CONF)
    
cp -./pma $(SYSTEM_CONF)

uninstall:
    
rm -rf $(SYSTEM_CONF)/database
    rm 
-rf $(SYSTEM_CONF)/pma

.PHONYinstall uninstall 



RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - RedX - 12-05-2010 04:47 PM

Hello RatS,
tried to use the changed BSDmakefile.
Now it create all folders but still stop installation with the same error:


Code:
GUI setup
         * ispCP GUI Bind9 configuration:                            [ Failed ]

        [FATAL] An error occurred during setup process!
        Correct it and re-run this program.



RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - RatS - 12-05-2010 09:22 PM

can you please provide the logfile, too (generated in /tmp/)


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - RedX - 12-06-2010 12:35 AM

Sorry, but I can't find any log in the /tmp/ or /tmp/ispcp/


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - rurk - 12-06-2010 07:33 AM

I try to set 1.0.7 on FreeBSD 7.2, reached to the error which can not decide :" Post - installation tasks for freeBSD
Version: not found"! As I understood "maintainer-helper.sh" is not worked. If take "maintainer - helper.sh" from a version 1.0.5 that comes to the section of "Patch AWStats & PHP Temp - Script:" and in log`s
writes that does not find ispcpphptemp.sh. Can you help me?


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - RatS - 12-06-2010 10:42 AM

are you sure, that your make install was running well? It looks like

Code:
    if test -f ./preinst.$(HOST_OS) || test -f ./postinst.$(HOST_OS) ; then \
        $(CMD_INSTALL) ./maintainer-helper.sh $(SYSTEM_SETUP_ROOT)/; \
    fi

    if test -f ./preinst.$(HOST_OS) ; then \
        $(CMD_INSTALL) ./preinst.$(HOST_OS) $(SYSTEM_SETUP_ROOT)/preinst; \
    fi

    if test -f ./postinst.$(HOST_OS) ; then \
        $(CMD_INSTALL) ./postinst.$(HOST_OS) $(SYSTEM_SETUP_ROOT)/postinst; \
    fi

in ./maintscripts/BSDMakefile was not executed. Could you please verify in /tmp/ispcp/var/www/ispcp/engine/setup/ there should be the files "maintainer-helper.sh" and "preinst"


RE: ispCP 1.0.7 new installation problem, FreeBSD 8 - rurk - 12-07-2010 07:55 PM

in a directory /tmp/ispcp/var/www/ispcp/engine/setup/ files are present except for "preinst", because in FreeBSD because its not plugged. When I start "maintainer - helper.sh" from a version 1.0.7 he gives out an error which I wrote in a fast higher, from a version 1.0.5 passes normally. Here this section is in 1.0.7 "
Code:
for an in $(grep - E '^(AMAVIS|APACHE_|BASE_SERVER_IP|CMD_|DEBUG|DATABASE_HOST|DEFAULT_ADMIN_ADDRESS|​ETC_|LOG_DIR|MTA_|ROOT_|PHP_FASTCGI|SPAMASSASSIN|Version)' \
${CONF_FILE} | sed 's/\s*=\s*\(.*\) /="\1"/') ; do  eval $a
done
" does not work. File of "ispcpphptemp.sh" in an archive absents