in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page (/thread-14168.html) |
in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - schmel - 06-13-2011 05:31 PM 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/ticket/2566/ispcp-update.log In folder /usr/local/www/ispcp/engine/setup/ appeared new empty folders: 0755 root wheel -m -g RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - Obi_Wan - 06-14-2011 01:15 AM What is your default shell under FreeBSD? I could imagine that the command interpreter doesn't understand what to do with the shell scripts. RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - schmel - 06-14-2011 05:42 AM My shell is default shell FreeBSD - csh. RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - Obi_Wan - 06-14-2011 06:03 AM 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 RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - schmel - 06-14-2011 04:36 PM I have not used bash for this reason - http://isp-control.net/documentation/start/installation/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 RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - Obi_Wan - 06-14-2011 04:42 PM I'll try something later or tomorrow at home. Thanks for the test RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - kilburn - 06-14-2011 05:03 PM 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. RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - schmel - 06-14-2011 08:16 PM Under the bash just does not work. RE: in FreeBSD 8.2 not work set-gui-permissions.sh, 403 page - schmel - 06-17-2011 08:18 PM postinstall screenshot |