Current time: 04-19-2024, 10:05 AM Hello There, Guest! (LoginRegister)


Post Reply 
in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
Author Message
schmel Offline
Junior Member
*

Posts: 65
Joined: May 2010
Reputation: 0
Post: #1
in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
Ticket #2566

After the installer\update does not launch ispcp gui panel. Opens 403 error page. Ispcp Omega 1.1.0 beta1

Log - here: http://isp-control.net/ispcp/attachment/...update.log

In folder /usr/local/www/ispcp/engine/setup/ appeared new empty folders:

0755
root
wheel
-m
-g
(This post was last modified: 06-13-2011 05:32 PM by schmel.)
06-13-2011 05:31 PM
Find all posts by this user Quote this message in a reply
Obi_Wan Offline
Junior Member
*****
Dev Team

Posts: 64
Joined: Sep 2007
Reputation: 0
Post: #2
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
What is your default shell under FreeBSD? I could imagine that the command interpreter doesn't understand what to do with the shell scripts.
06-14-2011 01:15 AM
Find all posts by this user Quote this message in a reply
schmel Offline
Junior Member
*

Posts: 65
Joined: May 2010
Reputation: 0
Post: #3
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
My shell is default shell FreeBSD - csh.
06-14-2011 05:42 AM
Find all posts by this user Quote this message in a reply
Obi_Wan Offline
Junior Member
*****
Dev Team

Posts: 64
Joined: Sep 2007
Reputation: 0
Post: #4
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
I can't run the shell scripts by using csh. Would it be possible to install bash on your system and change the head of the set-gui-permissions.sh to "/bin/bash" instead of "/bin/sh"?

Just to test. Or I'll try to setup a FreeBSD testserver at home Smile
06-14-2011 06:03 AM
Find all posts by this user Quote this message in a reply
schmel Offline
Junior Member
*

Posts: 65
Joined: May 2010
Reputation: 0
Post: #5
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
I have not used bash for this reason -
http://isp-control.net/documentation/sta...on/freebsd

4. Compile ispCP
Quote::!: Be sure that you are in the FreeBSD default Shell-Session (csh) and NOT BASH. Otherwise the $OSTYPE Version differs and the make won´t work.

I change the head of the set-gui-permissions.sh to "/bin/bash"
Now the following errors:
Code:
[root@web /usr/local/www/ispcp/engine/setup]# ./ispcp-permission-functions.sh
./ispcp-permission-functions.sh: line 39: MR_LOCK_FILE: command not found
./ispcp-permission-functions.sh: line 40: CMD_AWK: command not found
./ispcp-permission-functions.sh: line 41: CMD_BZCAT: command not found
./ispcp-permission-functions.sh: line 42: CMD_BZIP: command not found
./ispcp-permission-functions.sh: line 43: CMD_CHOWN: command not found
./ispcp-permission-functions.sh: line 44: CMD_CAT: command not found
./ispcp-permission-functions.sh: line 45: CMD_CHMOD: command not found
./ispcp-permission-functions.sh: line 46: CMD_CP: command not found
./ispcp-permission-functions.sh: line 47: CMD_DIFF: command not found
./ispcp-permission-functions.sh: line 48: CMD_CMP: command not found
./ispcp-permission-functions.sh: line 49: CMD_DF: command not found
./ispcp-permission-functions.sh: line 50: CMD_DU: command not found
./ispcp-permission-functions.sh: line 51: CMD_ECHO: command not found
./ispcp-permission-functions.sh: line 52: CMD_EGREP: command not found
./ispcp-permission-functions.sh: line 53: CMD_GZCAT: command not found
./ispcp-permission-functions.sh: line 54: CMD_GZIP: command not found
./ispcp-permission-functions.sh: line 55: CMD_GREP: command not found
./ispcp-permission-functions.sh: line 56: CMD_GROUPADD: command not found
./ispcp-permission-functions.sh: line 57: CMD_GROUPDEL: command not found
./ispcp-permission-functions.sh: line 58: CMD_HOSTNAME: command not found
./ispcp-permission-functions.sh: line 59: CMD_IFCONFIG: command not found
./ispcp-permission-functions.sh: line 60: CMD_IPTABLES: command not found
./ispcp-permission-functions.sh: line 61: CMD_LN: command not found
./ispcp-permission-functions.sh: line 62: CMD_LZMA: command not found
...................................
06-14-2011 04:36 PM
Find all posts by this user Quote this message in a reply
Obi_Wan Offline
Junior Member
*****
Dev Team

Posts: 64
Joined: Sep 2007
Reputation: 0
Post: #6
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
I'll try something later or tomorrow at home.

Thanks for the test Smile
06-14-2011 04:42 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #7
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
ispcp-permission-functions.sh must also be changed to bash if you do that, otherwise this sub-script would run under csh and crash horribly as you've seen.
06-14-2011 05:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
schmel Offline
Junior Member
*

Posts: 65
Joined: May 2010
Reputation: 0
Post: #8
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
Under the bash just does not work.
06-14-2011 08:16 PM
Find all posts by this user Quote this message in a reply
schmel Offline
Junior Member
*

Posts: 65
Joined: May 2010
Reputation: 0
Post: #9
RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page
postinstall screenshot


Attached File(s) Thumbnail(s)
   
06-17-2011 08:18 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)