Current time: 11-23-2024, 01:56 PM Hello There, Guest! (LoginRegister)


Post Reply 
1.0.7 postinst configure problem
Author Message
thewiizard Offline
Newbie
*

Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #1
1.0.7 postinst configure problem
Having a problem on FBSD 8.2 isCP 1.0.7 OMEGA

from /var/log/iscp/setup/iscp-setup.log
Code:
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 127
getCmdExitValue()              | Ending...
sys_command()                  | [ERROR] External command '/bin/sh postinst configure' exited with value 127 !

If I run '/bin/sh postinst configure' I see 'Version: not found'

If I run '/usr/local/bin/bash postinst configure' I see
./maintainer-helper.sh: line 71: Version: command not found

also, the setup failed on a few files being missing but managed to find these in trunk.

database/database.sql
pma/config.inc.tpl
pma/working/config.inc.tpl

Also doesn't like UTC as a time zone.

Any suggestions?
03-10-2011 11:20 AM
Find all posts by this user Quote this message in a reply
thewiizard Offline
Newbie
*

Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #2
RE: 1.0.7 postinst configure problem
OK so more digging as I'd like to get to the bottom of this.

snippet from maintainer-helper.sh lines 79-83
Code:
# Reading needed entries from ispcp.conf
for a 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} | $CMD_SED 's/\s*=\s*\(.*\)/="\1"/') ; do
     eval $a
done

eval $a seems to throw the error out below

Code:
./maintainer-helper.sh: line 71: Version: command not found

If I then comment out 'eval $a'

Code:
./maintainer-helper.sh: line 78: [: -eq: unary operator expected
sed: 1: "s/\s\+\|[a-z]//gi
": bad flag in substitute command: 'i'
(This post was last modified: 03-10-2011 10:44 PM by thewiizard.)
03-10-2011 10:30 PM
Find all posts by this user Quote this message in a reply
thewiizard Offline
Newbie
*

Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #3
RE: 1.0.7 postinst configure problem
OK I think I may have gotten around this error by running the 'reset-setup' script in the ispcp/engine/setup/ directory.

It's now failing on

GUI setup
* ispCP GUI Bind9 configuration: [ Failed ]

Code:
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...
03-10-2011 11:33 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)