![]() |
Mail Problem [courier] - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Mail Problem [courier] (/thread-9331.html) Pages: 1 2 |
RE: Mail Problem [courier] - sebby - 01-30-2010 01:36 AM set-gui-permissions.sh: Command not found. RE: Mail Problem [courier] - kilburn - 01-30-2010 01:39 AM /var/www/ispcp/engine/setup/set-gui-permissions.sh must exist on your system or you have a faulty incomplete installation. Try again. RE: Mail Problem [courier] - sebby - 01-30-2010 01:46 AM That file exists but when i execute it i get that reply and this is the path: /usr/local/www/ispcp/engine/setup/set-gui-permissions.sh EDIT: found the set-gui-permissions.sh problem the bash path is set to /bin/bash but it is /usr/local/bin/bash (i hope will be fixed in other versions ...found manny scripts using instend of /usr/local ... other path) RE: Mail Problem [courier] - kilburn - 01-30-2010 01:52 AM You have to learn how to execute programs that are *not* in your path. This is a basic linux sysadmin skill, and there are two ways to do it: 1. Input the file *with the full path*. This is, just write "/var/www/ispcp/engine/setup/set-gui-permissions.sh" in your terminal. 2. Go to the directory first ("cd /var/www/ispcp/engine/setup") and then execute the file, using a relative path: "./set-gui-permissions.sh" RE: Mail Problem [courier] - sebby - 01-30-2010 02:02 AM I set the path in script and it worked BUT in a bad way, now i can`t access my pannel instand i have permission error ![]() Warning: require_once(/usr/local/www/ispcp/gui/include/ispcp-db-keys.php) [function.require-once]: failed to open stream: Permission denied in /usr/local/www/ispcp/gui/include/ispcp-lib.php on line 67 Fatal error: require_once() [function.require]: Failed opening required '/usr/local/www/ispcp/gui/include/ispcp-db-keys.php' (include_path='.:/ispcp-db-keys.php:/usr/local/share/pear') in /usr/local/www/ispcp/gui/include/ispcp-lib.p And it didn`t FIXED the webmail problem (and i remind you i`m on FreeBSD, is similar to Linux but different) RE: Mail Problem [courier] - kilburn - 01-30-2010 02:04 AM paste the contents of the set-gui-permissions.sh script please RE: Mail Problem [courier] - sebby - 01-30-2010 02:09 AM #!/usr/local/bin/bash # ispCP ?? (OMEGA) a Virtual Hosting Control Panel # Copyright © 2001-2006 by moleSoftware GmbH - http://www.molesoftware.com # Copyright © 2006-2009 by isp Control Panel - http://ispcp.net # # Version: $Id: set-gui-permissions.sh 2450 2009-12-23 20:19:20Z nuxwin $ # # The contents of this file are subject to the Mozilla Public License # Version 1.1 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations # under the License. # # The Original Code is "VHCS - Virtual Hosting Control System". # # The Initial Developer of the Original Code is moleSoftware GmbH. # Portions created by Initial Developer are Copyright © 2001-2006 # by moleSoftware GmbH. All Rights Reserved. # Portions created by the ispCP Team are Copyright © 2006-2009 by # isp Control Panel. All Rights Reserved. # # The ispCP ?? Home Page is: # # http://isp-control.net # . $(dirname "$0")/ispcp-permission-functions.sh # for spacing echo -en " Setting GUI Permissions: "; if [ $DEBUG -eq 1 ]; then echo ""; fi # By default, gui files must be readable by both the panel user (php files are # run under this user) and apache (static files are served by it). recursive_set_permissions "$ROOT_DIR/gui/" \ $PANEL_USER $APACHE_GROUP 0550 0440 # But the following folders must be writable by the panel user, because # php-generated or uploaded files will be stored there. recursive_set_permissions "$ROOT_DIR/gui/phptmp" \ $PANEL_USER $APACHE_GROUP 0750 0640 recursive_set_permissions "$ROOT_DIR/gui/themes/user_logos" \ $PANEL_USER $APACHE_GROUP 0750 0640 recursive_set_permissions "$ROOT_DIR/gui/tools/filemanager/temp" \ $PANEL_USER $APACHE_GROUP 0750 0640 recursive_set_permissions "$ROOT_DIR/gui/tools/webmail/data" \ $PANEL_USER $APACHE_GROUP 0750 0640 recursive_set_permissions \ "$ROOT_DIR/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer" \ $PANEL_USER $APACHE_GROUP 0750 0640 # Decryption keys allow root access to the database, so they must only be # accessible by the panel user. set_permissions "$ROOT_DIR/gui/include/ispcp-db-keys.php" \ $PANEL_USER $PANEL_GROUP 0400 # Main virtual webhosts directory must be owned by root and readable by all # the domain-specific users. set_permissions $APACHE_WWW_DIR $ROOT_USER $ROOT_GROUP 0555 # Main fcgid directory must be world-readable, because all the domain-specific # users must be able to access its contents. set_permissions "$PHP_STARTER_DIR" $ROOT_USER $ROOT_GROUP 0555 # Required on centos set_permissions "$PHP_STARTER_DIR/master" $PANEL_USER $PANEL_GROUP 0755 echo " done"; exit 0 EDIT: After is chmod +r ispcp-db-keys.php i was able to see the panel login again CONSIDER THIS PROBLEM SOLVED I fixed manually the permission problem to webmail to RE: Mail Problem [courier] - kilburn - 01-30-2010 03:26 AM Are you using mod_php? RE: Mail Problem [courier] - sebby - 01-30-2010 10:31 AM Now i run into other mail problem: I can send mail only to my root user and sebby (shell uses) and to othes i can`t (i meen in my webmail shows sent but i isn`t sent) (gmail,yahoo, or even to my box users from /var/mail/virtual) here is the log whit some warning/errors http://pastebin.com/f4a744d48 RE: Mail Problem [courier] - joximu - 01-30-2010 07:39 PM better hide the cleartext passwords... there are so many warnings and errors - I never saw them on an ispcp installation. Even a BSD installation should not be that complex... theese are many problems: Quote:Jan 29 23:12:37 localhost postfix/qmgr[36818]: warning: connect to transport private/courier: No such file or directory I *really* suggest you to make your experience with a more common OS, try Debian 5. Otherwise I recommend you to find a person who is familiar with your BSD. The errors are not very ispcp specific. /J |