ISPCP durch install script zerschossen - koepie - 07-05-2010 06:29 PM
Hi,
habe mein ISPCP ausversehen zerschossen als ich Asterisk installiet habe
bin auf der falschen vm gewesen und habe dummerweise auf der vm mit dem ISPCP das script ausgeführt was irgendwas am webserver verändert hat.
Die ist wahrscheinlich der entscheidende Befehl der alles zerstört hat
wie kann ich das am besten wieder rückgängig machen?
Code:
aptitude install -y apache2 php5 php5-cli mysql-server-5.0 php-pear php5-mysql php-db libapache2-mod-php5 php5-gd php5-curl
Hier nochmal des gesamte Script
Code:
#!/bin/bash
VER_ASTERISK="1.4.21.2";
VER_ZAPTEL="1.4.11";
VER_LIBPRI="1.4.4";
VER_ADDONS="1.4.7";
VER_FREEPBX="2.4.1";
CHECK_VER_DEBIAN="4.0";
CHECK_VER_KERNEL="2.6.18";
echo "##################################################################"
echo "# Automated installer for Asterisk with FreePBX #"
echo "# #"
echo "# Yoann QUERET - yoann@queret.net #"
echo "# http://www.queret.net/asterisk/ #"
echo "# #"
echo "# == CONTRIBUTORS == #"
echo "# Serge Berney - s.berney@kinonline.net #"
echo "# Neil Stone - nstone@freewayprojects.com #"
echo "# #"
echo "### ---------------------------------------------------------- ###"
echo "-> Asterisk ${VER_ASTERISK}"
echo "-> Zaptel ${VER_ZAPTEL}"
echo "-> Libpri ${VER_LIBPRI}"
echo "-> Addons ${VER_ADDONS}"
echo "-> FreePBX ${VER_FREEPBX} (+ apache2 php5 mysql5)"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
echo "##################################################################"
echo "# == SYSTEM CONFIGURATION REQUIRED == #"
echo "# Debian ${CHECK_VER_DEBIAN} with kernel ${CHECK_VER_KERNEL} #"
echo "# #"
echo "# File /etc/apt/sources.list must be up to date #"
echo "# #"
echo "# == NETWORK CONFIGURATION REQUIRED == #"
echo "# Your server must be connected to internet, and must be use #"
echo "# aptitude and wget command. #"
echo "# #"
echo "# #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
echo "+----------------------------------------------------------------+"
echo "| System check (Debian and Kernel version) |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
KERNEL_VERSION=`uname -r`
KERNEL_VERSION=`echo ${KERNEL_VERSION} | sed -e "s/\-\(.*\)//"`
if [ ${KERNEL_VERSION} != ${CHECK_VER_KERNEL} ]; then
echo " ERROR : This script must be used with a Debian kernel ${CHECK_VER_KERNEL}."
echo " Also, you use kernel : ${KERNEL_VERSION}"
echo " Installation stopped !"
exit
fi
DEBIAN_VERSION=`cat /etc/debian_version`
if [ ${DEBIAN_VERSION} != ${CHECK_VER_DEBIAN} ]; then
echo " ERROR : This script must be used with Debian ${CHECK_VER_DEBIAN}."
echo " Also, you use Debian : ${DEBIAN_VERSION}"
echo " Installation stopped !"
exit
fi
echo " You use Debian ${DEBIAN_VERSION}, with kernel ${KERNEL_VERSION}."
echo " We can continu installation."
echo " Press <enter> to continue"
read
clear
echo "##################################################################"
echo "# PART 1 - Asterisk installation #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
echo "+----------------------------------------------------------------+"
echo "| Download sources to /tmp/asterisk/ |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
mkdir /tmp/asterisk/
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-${VER_ASTERISK}.tar.gz -O /tmp/asterisk/asterisk-${VER_ASTERISK}.tar.gz
wget http://downloads.digium.com/pub/zaptel/releases/zaptel-${VER_ZAPTEL}.tar.gz -O /tmp/asterisk/zaptel-${VER_ZAPTEL}.tar.gz
wget http://downloads.digium.com/pub/libpri/releases/libpri-${VER_LIBPRI}.tar.gz -O /tmp/asterisk/libpri-${VER_LIBPRI}.tar.gz
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-${VER_ADDONS}.tar.gz -O /tmp/asterisk/asterisk-addons-${VER_ADDONS}.tar.gz
echo "+----------------------------------------------------------------+"
echo "| Installing required packages |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
aptitude update
aptitude -y install linux-source-2.6.18 kernel-package g++ libncurses5-dev linux-kernel-headers sqlite libnewt-dev libusb-dev zlib1g-dev libmysqlclient15-dev libsqlite0-dev
echo "+----------------------------------------------------------------+"
echo "| Configuring of kernel sources |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/
tar xvjf linux-source-2.6.18.tar.bz2
ln -s /usr/src/linux-source-2.6.18 /usr/src/linux
cd /usr/src/linux/
make oldconfig
make prepare
make prepare scripts
echo "+----------------------------------------------------------------+"
echo "| Decompresing sources in /usr/src/ |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/
tar zxvf /tmp/asterisk/asterisk-${VER_ASTERISK}.tar.gz
tar zxvf /tmp/asterisk/asterisk-addons-${VER_ADDONS}.tar.gz
tar zxvf /tmp/asterisk/libpri-${VER_LIBPRI}.tar.gz
tar zxvf /tmp/asterisk/zaptel-${VER_ZAPTEL}.tar.gz
echo "+----------------------------------------------------------------+"
echo "| Compiling Zaptel |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/zaptel-${VER_ZAPTEL}
./configure
echo "== ATTENTION =="
echo "If you don't understand next question, choose NO."
echo "--"
while [ "$key" != "y" ] && [ "$key" != "n" ];do
echo ""
read -n 1 -p "Do you want to select Zaptel modules to install (make menuconfig) ? [y/N]" key
done
if [ $key == "y" ]; then
make menuconfig
fi
make
make install
make config
echo "+----------------------------------------------------------------+"
echo "| Compiling libpri |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/libpri-${VER_LIBPRI}
make install
echo "+----------------------------------------------------------------+"
echo "| Compiling Asterisk |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/asterisk-${VER_ASTERISK}
./configure
MAKEOPTS="/usr/src/asterisk-${VER_ASTERISK}/menuselect.makeopts"
echo 'MENUSELECT_APPS=app_ivrdemo app_osplookup app_rpt app_skel' >> ${MAKEOPTS}
echo 'MENUSELECT_CDR=cdr_odbc cdr_pgsql cdr_radius cdr_tds' >> ${MAKEOPTS}
echo 'MENUSELECT_CHANNELS=chan_alsa chan_gtalk chan_h323 chan_misdn chan_nbs chan_vpb' >> ${MAKEOPTS}
echo 'MENUSELECT_CODECS=codec_ilbc codec_speex' >> ${MAKEOPTS}
echo 'MENUSELECT_FORMATS=format_ogg_vorbis' >> ${MAKEOPTS}
echo 'MENUSELECT_FUNCS=func_curl func_odbc' >> ${MAKEOPTS}
echo 'MENUSELECT_PBX=pbx_gtkconsole' >> ${MAKEOPTS}
echo 'MENUSELECT_RES=res_config_odbc res_config_pgsql res_crypto res_jabber res_odbc res_snmp' >> ${MAKEOPTS}
echo 'MENUSELECT_OPTS_app_voicemail=' >> ${MAKEOPTS}
echo 'MENUSELECT_CFLAGS=LOADABLE_MODULES' >> ${MAKEOPTS}
echo 'MENUSELECT_EMBED=apps cdr channels codecs formats funcs pbx res' >> ${MAKEOPTS}
echo 'MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-WAV CORE-SOUNDS-EN-ULAW CORE-SOUNDS-EN-ALAW CORE-SOUNDS-EN-GSM CORE-SOUNDS-EN-G729 CORE-SOUNDS-EN-G722' >> ${MAKEOPTS}
echo 'MENUSELECT_MOH=MOH-FREEPLAY-WAV MOH-FREEPLAY-ULAW MOH-FREEPLAY-ALAW MOH-FREEPLAY-GSM MOH-FREEPLAY-G729 MOH-FREEPLAY-G722' >> ${MAKEOPTS}
echo 'MENUSELECT_EXTRA_SOUNDS=EXTRA-SOUNDS-EN-WAV EXTRA-SOUNDS-EN-ULAW EXTRA-SOUNDS-EN-ALAW EXTRA-SOUNDS-EN-GSM EXTRA-SOUNDS-EN-G729 EXTRA-SOUNDS-EN-G722' >> ${MAKEOPTS}
echo 'MENUSELECT_BUILD_DEPS=res_adsi chan_local res_indications app_meetme res_monitor res_smdi res_features' >> ${MAKEOPTS}
echo "== ATTENTION =="
echo "If you don't understand next question, choose NO."
echo "--"
while [ "$key" != "y" ] && [ "$key" != "n" ];do
echo ""
read -n 1 -p "Do you want to select Asterisk modules to install (make menuconfig) [y/N]" key
done
if [ $key == "y" ]; then
make menuconfig
fi
make install
make samples
echo "+----------------------------------------------------------------+"
echo "| Compiling Asterisk Addons |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/asterisk-addons-${VER_ADDONS}
./configure
echo "== ATTENTION =="
echo "If you don't understand next question, choose NO."
echo "--"
while [ "$key" != "y" ] && [ "$key" != "n" ];do
echo ""
read -n 1 -p "Do you want to select Asterisk Addons modules to install (make menuconfig) ? [y/N]" key
done
if [ $key == "y" ]; then
make menuconfig
fi
make install
echo "+----------------------------------------------------------------+"
echo "| Creating symlinks (Modules) |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
ln -s /lib/modules/2.6.18/ /lib/modules/`uname -r`/asterisk
depmod
echo "+----------------------------------------------------------------+"
echo "| Loading ztdummy at boot time |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
echo ztdummy >> /etc/modules
echo "##################################################################"
echo "# PART1 : Asterisk installation : Done #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
###################################################################################################
###################################################################################################
###################################################################################################
clear
echo "##################################################################"
echo "# PART 2 - FreePBX installation #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
echo "+----------------------------------------------------------------+"
echo "| Installing packages |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
aptitude update
aptitude install -y apache2 php5 php5-cli mysql-server-5.0 php-pear php5-mysql php-db libapache2-mod-php5 php5-gd php5-curl
echo "+----------------------------------------------------------------+"
echo "| Downloading source to /tmp/freepbx/ |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
mkdir /tmp/freepbx/
wget http://mirror.freepbx.org/freepbx-${VER_FREEPBX}.tar.gz -O /tmp/freepbx/freepbx-${VER_FREEPBX}.tar.gz
echo "+----------------------------------------------------------------+"
echo "| Decompresing FreePBX sources in /usr/src/ |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src
tar zxvf /tmp/freepbx/freepbx-${VER_FREEPBX}.tar.gz
echo "+----------------------------------------------------------------+"
echo "| Changing maximum upload limit in PHP |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cp /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini-orig
sed -i "s/\(upload_max_filesize *= *\)\(.*\)/\120M/" /etc/php5/apache2/php.ini
echo "+----------------------------------------------------------------+"
echo "| Music on hold (symlink) |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
ln -s /var/lib/asterisk/moh /var/lib/asterisk/mohmp3
echo "+----------------------------------------------------------------+"
echo "| Setting permissions for asterisk user |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
adduser asterisk --disabled-password --gecos "asterisk PBX" --home /var/lib/asterisk
adduser www-data asterisk
echo "+----------------------------------------------------------------+"
echo "| Changing apache user and group to 'asterisk' |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf-orig
sed -i "s/\(^User *\)\(.*\)/\1asterisk/" /etc/apache2/apache2.conf
sed -i "s/\(^Group *\)\(.*\)/\1asterisk/" /etc/apache2/apache2.conf
echo "+----------------------------------------------------------------+"
echo "| MySQL |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
echo "create database asteriskcdrdb;" | mysql -u root
echo "create database asterisk;" | mysql -u root
echo "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'amp109';" | mysql -u root
echo "GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'amp109';" | mysql -u root
mysql -u asteriskuser -pamp109 asteriskcdrdb < /usr/src/freepbx-${VER_FREEPBX}/SQL/cdr_mysql_table.sql
mysql -u asteriskuser -pamp109 asterisk < /usr/src/freepbx-${VER_FREEPBX}/SQL/newinstall.sql
echo "+----------------------------------------------------------------+"
echo "| Configuring Asterisk to use FreePBX |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cp /etc/asterisk/asterisk.conf /etc/asterisk/asterisk.conf.orig
sed -i "s/\(astrundir *=> *\)\(.*\)/\1\/var\/run\/asterisk/" /etc/asterisk/asterisk.conf
mkdir /var/run/asterisk
chown -R asterisk:asterisk /var/run/asterisk
echo "+----------------------------------------------------------------+"
echo "| Loading Asterisk Post Installation |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
/usr/sbin/asterisk
echo "+----------------------------------------------------------------+"
echo "| Modifying FreeBBX configuration files |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
#$webroot = "/var/www/html";
cp /usr/src/freepbx-${VER_FREEPBX}/install_amp /usr/src/freepbx-${VER_FREEPBX}/install_amp-orig
sed -i "s/\(^\$webroot*\)\(.*\)/\1 = \"\/var\/www\";/" /usr/src/freepbx-${VER_FREEPBX}/install_amp
chmod 755 /usr/src/freepbx-${VER_FREEPBX}/install_amp
LOCAL_IP=`/sbin/ifconfig eth0`
LOCAL_IP=`echo ${LOCAL_IP} | sed -e "s/\ Bcast:\(.*\)//"`
LOCAL_IP=`echo ${LOCAL_IP} | sed -e "s/\(.*\)\ inet addr://"`
sed -i "s/xx.xx.xx.xx/${LOCAL_IP}/g" "/usr/src/freepbx-${VER_FREEPBX}/install_amp"
chmod 755 /usr/src/freepbx-${VER_FREEPBX}/install_amp
echo "+----------------------------------------------------------------+"
echo "| Installation of FreePBX |"
echo "+----------------------------------------------------------------+"
echo "| Simply press <Enter> at each question. |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cd /usr/src/freepbx-${VER_FREEPBX}/
./install_amp
/usr/src/freepbx-${VER_FREEPBX}/apply_conf.sh
echo "+----------------------------------------------------------------+"
echo "| Stop Asterisk Post Installation |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
asteriskPID=$(cat /var/run/asterisk/asterisk.pid)
kill -9 $(cat /var/run/asterisk/asterisk.pid)
echo "+----------------------------------------------------------------+"
echo "| Remove Apache2 Redirect |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
sed -i "s/\(RedirectMatch*\)\(.*\)//" /etc/apache2/sites-enabled/000-default
echo "+----------------------------------------------------------------+"
echo "| Reload apache |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
/etc/init.d/apache2 restart
echo "+----------------------------------------------------------------+"
echo "| Changing permissions |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
chown -R asterisk:asterisk /etc/asterisk
chmod 770 /etc/asterisk/
chown -R asterisk:asterisk /var/lib/asterisk/
chmod 770 /var/lib/asterisk/
chown -R asterisk:asterisk /var/www/
echo "+----------------------------------------------------------------+"
echo "| Copying missing images |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
cp /var/www/admin/modules/dashboard/images/notify_* /var/www/admin/images/
echo "+----------------------------------------------------------------+"
echo "| Startup script (Asterisk+FrePBX) |"
echo "| /etc/init.d/freepbx [start|stop|restart] |"
echo "+----------------------------------------------------------------+"
echo " Press <enter> to continue"
read
STARTUP_SCRIPT="/etc/init.d/freepbx";
echo "Creating file ${STARTUP_SCRIPT} ...";
echo '#!/bin/bash' > ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo 'AMPORTAL_BIN=/usr/local/sbin/amportal' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo 'if [ ! -x ${AMPORTAL_BIN} ]; then' >> ${STARTUP_SCRIPT}
echo ' echo "error : amportal binary can not be found (${AMPORTAL_BIN})"' >> ${STARTUP_SCRIPT}
echo ' exit 0' >> ${STARTUP_SCRIPT}
echo 'fi' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo 'start() {' >> ${STARTUP_SCRIPT}
echo ' echo "Starting FreePBX ..."' >> ${STARTUP_SCRIPT}
echo ' ${AMPORTAL_BIN} start' >> ${STARTUP_SCRIPT}
echo '}' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo 'stop() {' >> ${STARTUP_SCRIPT}
echo ' echo "Stopping FreePBX ..."' >> ${STARTUP_SCRIPT}
echo ' ${AMPORTAL_BIN} stop' >> ${STARTUP_SCRIPT}
echo '}' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo 'case "$1" in' >> ${STARTUP_SCRIPT}
echo ' start)' >> ${STARTUP_SCRIPT}
echo ' start' >> ${STARTUP_SCRIPT}
echo ' ;;' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo ' stop)' >> ${STARTUP_SCRIPT}
echo ' stop' >> ${STARTUP_SCRIPT}
echo ' ;;' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo ' restart)' >> ${STARTUP_SCRIPT}
echo ' stop' >> ${STARTUP_SCRIPT}
echo ' start' >> ${STARTUP_SCRIPT}
echo ' ;;' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo ' *)' >> ${STARTUP_SCRIPT}
echo ' echo $"Usage: $0 {start|stop|restart}"' >> ${STARTUP_SCRIPT}
echo ' exit 1' >> ${STARTUP_SCRIPT}
echo 'esac' >> ${STARTUP_SCRIPT}
echo '' >> ${STARTUP_SCRIPT}
echo 'exit 0' >> ${STARTUP_SCRIPT}
chmod 755 ${STARTUP_SCRIPT}
echo "Update services loading at boot time..."
update-rc.d freepbx defaults
echo "##################################################################"
echo "# PART 2 - FreePBX installation : Done #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
###################################################################################################
###################################################################################################
###################################################################################################
clear
echo "##################################################################"
echo "# PART 3 - Security #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
echo "+----------------------------------------------------------------+"
echo "| Change passwords for asterisk SQL user |"
echo "| > Change AMPDBPASS=amp109 in /etc/amportal.conf |"
echo "| > Change SQL PASSWORD |"
echo "+----------------------------------------------------------------+"
read -p "NEW asteriskuser SQL password ? " key
echo $key
sed -i "s/\(^AMPDBPASS=*\)\(.*\)/\1$key/" /etc/amportal.conf
echo "SET PASSWORD FOR 'asteriskuser'@'localhost' = PASSWORD('$key');" | mysql -u root
echo "+----------------------------------------------------------------+"
echo "| Change the default password for Asterisk Manager |"
echo "| > Change secret = amp111 in /etc/asterisk/manager.conf |"
echo "| > Change AMPMGRPASS=amp111 in /etc/amportal.conf |"
echo "+----------------------------------------------------------------+"
read -p "NEW Asterisk Manager password ? " key
echo $key
sed -i "s/\(^secret = *\)\(.*\)/\1$key/" /etc/asterisk/manager.conf
sed -i "s/\(^AMPMGRPASS=*\)\(.*\)/\1$key/" /etc/amportal.conf
echo "+----------------------------------------------------------------+"
echo "| ATTENTION : Do not forget to change the root user MySQL |"
echo "| password. By default it is blank |"
echo "| -------------------------------------------------------------- |"
echo "| SET PASSWORD FOR 'root'@'localhost' = PASSWORD('<password>'); |"
echo "+----------------------------------------------------------------+"
echo ""
echo "##################################################################"
echo "# PART 3 - Security : Done #"
echo "### ---------------------------------------------------------- ###"
echo "# Press <enter> to continue #"
echo "##################################################################"
read
clear
echo "+----------------------------------------------------------------+"
echo "| Asterisk with FreePBX installation is finish. |"
echo "| For running asterisk+freepbx you must be use this command : |"
echo "| # /etc/init.d/freepbx start |"
echo "| |"
echo "| !! NEVER LOAD ASTERISK DIRECTLY !! |"
echo "+----------------------------------------------------------------+"
echo "+----------------------------------------------------------------+"
echo "| Done, enjoy |"
echo "+----------------------------------------------------------------+"
habe die geänderten konfigurationsdatein schon mit
cp /etc/php5/apache2/php.ini-orig /etc/php5/apache2/php.ini
cp /etc/apache2/apache2.conf-orig /etc/apache2/apache2.conf
zurückgesetzt
Vielen Dank schon mal im voraus.
RE: ISPCP durch install script zerschossen - BeNe - 07-05-2010 07:10 PM
Prüfe mal ob deine ispcp.conf noch geladen wird bzw irgendwo ist.
--> /etc/apache2/sites-enabled/
Was kommst denn jetzt für eine Seite ?
Greez BeNe
RE: ISPCP durch install script zerschossen - joximu - 07-05-2010 08:16 PM
ohne das gross studiert zu haben_
im prinzip dürfte es reichen, mod-php wieder rauszunehmen und ggf. mod-f(ast)cgi(d) wieder zu installieren.
Die Konfig wird ja gesichert und sollte noch vorhanden sein...
/J
RE: ISPCP durch install script zerschossen - koepie - 07-05-2010 08:29 PM
Es kommt error 500 und error 503 im Wechsel
Die beiden configs hab ich ja wieder hergestellt:
/etc/php5/apache2/php.ini
/etc/apache2/apache2.conf
a2enmod fcgid hab ich schon gemacht.
Das sind alle module die laufen:
actions alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex cgi deflate dir env fcgid fcgid_ispcp mime negotiation rewrite setenvif status suexec
ispcp.conf ist in /etc/apache2/sites-enabled/ vorhanden und unverändert
was muss denn in der /etc/apache2/apache2.conf drinne stehen?
bei mir sieht die so aus:
Code:
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/apache2/foo.log"
# with ServerRoot set to "" will be interpreted by the
# server as "//var/log/apache2/foo.log".
#
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at <URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/apache2"
#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#<IfModule !mpm_winnt.c>
#<IfModule !mpm_netware.c>
LockFile /var/lock/apache2/accept.lock
#</IfModule>
#</IfModule>
#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain
#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog /var/log/apache2/error.log
#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
#
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#
#
# Putting this all together, we can internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections. We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line:
#
# Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /usr/share/apache2/error/include/ files and copying them to /your/include/path/,
# even on a per-VirtualHost basis. The default include files will display
# your Apache version number and your ServerAdmin email address regardless
# of the setting of ServerSignature.
#
# The internationalized error documents require mod_alias, mod_include
# and mod_negotiation. To activate them, uncomment the following 30 lines.
# Alias /error/ "/usr/share/apache2/error/"
#
# <Directory "/usr/share/apache2/error">
# AllowOverride None
# Options IncludesNoExec
# AddOutputFilter Includes html
# AddHandler type-map var
# Order allow,deny
# Allow from all
# LanguagePriority en cs de es fr it nl sv pt-br ro
# ForceLanguagePriority Prefer Fallback
# </Directory>
#
# ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
# ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
# ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
# ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
# ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
# ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
# ErrorDocument 410 /error/HTTP_GONE.html.var
# ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
# ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
# ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
# ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
# ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
# ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
# ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
# ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
# ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
# ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.
# Include generic snippets of statements
Include /etc/apache2/conf.d/
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
RE: ISPCP durch install script zerschossen - BeNe - 07-05-2010 09:17 PM
Quote:was muss denn in der /etc/apache2/apache2.conf drinne stehen?
Das sieht schon so OK aus. Kann mal nichts schlimmes erkennen.
Was steht den in den ApacheLogs zum Error 500 bzw Error 503 ?
Greez BeNe
RE: ISPCP durch install script zerschossen - koepie - 07-05-2010 09:36 PM
da steht sowas
Code:
[Mon Jul 05 13:46:51 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:46:52 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:46:52 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20694) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:46:52 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20693) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:46:52 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20692) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:46:53 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:46:54 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:46:55 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:46:56 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:46:56 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20698) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:46:56 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20697) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:46:56 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20696) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:46:56 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20695) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:00 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20699) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:04 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:05 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:06 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:07 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:08 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:08 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20703) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:08 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20702) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:08 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20701) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:08 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20700) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:12 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20704) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:19 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:20 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:20 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20705) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:23 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:24 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:24 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20707) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:24 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20706) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:28 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20708) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:31 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:32 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 13:47:32 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20709) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 13:47:32 2010] [warn] mod_fcgid: can't apply process slot for /var/www/ispcp/gui/index.php
[Mon Jul 05 13:47:38 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(20710) exit(server exited), terminated by calling exit(), return code: 120
ok ich weiß jetzt woran es liegt
da alle datein in /var/www der gruppe asterisk und dem benutzer asterisk gehören.
wie muss ich die berechtigung für die unterordner setzen?
RE: ISPCP durch install script zerschossen - joximu - 07-05-2010 10:43 PM
dh, das war eher der fehler im Asterix-Script:
chown -R asterisk:asterisk /var/www/
für ispcp gibt'szwei set-permissions scripte im engine/setup Verzeichnis - ruf die mal auf.
für die Kunden-Webs: das sind die Owner jeweils die Kunden.
/J
RE: ISPCP durch install script zerschossen - koepie - 07-05-2010 11:01 PM
(07-05-2010 10:43 PM)joximu Wrote: dh, das war eher der fehler im Asterix-Script:
chown -R asterisk:asterisk /var/www/
für ispcp gibt'szwei set-permissions scripte im engine/setup Verzeichnis - ruf die mal auf.
für die Kunden-Webs: das sind die Owner jeweils die Kunden.
/J
Es kommen immer noch solche fehler :
Code:
[Mon Jul 05 15:00:04 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 15:00:05 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 15:00:05 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(23749) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 15:00:08 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 15:00:09 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 15:00:09 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(23751) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 15:00:09 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(23750) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 15:00:12 2010] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Mon Jul 05 15:00:13 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(23752) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 15:00:16 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 15:00:17 2010] [notice] mod_fcgid: call /var/www/ispcp/gui/index.php with wrapper /var/www/fcgi/master/php5-fcgi-starter
suexec policy violation: see suexec log for more details
[Mon Jul 05 15:00:17 2010] [notice] mod_fcgid: process /var/www/ispcp/gui/index.php(23753) exit(server exited), terminated by calling exit(), return code: 120
[Mon Jul 05 15:00:17 2010] [warn] mod_fcgid: can't apply process slot for /var/www/ispcp/gui/index.php
RE: ISPCP durch install script zerschossen - ZooL - 07-05-2010 11:03 PM
hast du denn fcgid wieder am laufen oder apache2-php-mod ?
sind permissions nun im var/www wieder korrekt ?
mfg
RE: ISPCP durch install script zerschossen - koepie - 07-05-2010 11:07 PM
in /var/www
soweit richtig für des ispcp gui ja
der suexec log schaut so aus
Code:
[2010-07-05 12:16:01]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:02]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:02]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:12]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:12]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:13]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:13]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:14]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:14]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:21]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:21]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:22]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:22]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:25]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:25]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:26]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:26]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:33]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:33]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:34]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:34]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:16:37]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:16:37]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:18:17]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-07-05 12:18:17]: target uid/gid (2000/2000) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:19:09]: uid: (2007/vu2007) gid: (2007/vu2007) cmd: php5-fcgi-starter
[2010-07-05 12:19:09]: target uid/gid (2007/2007) mismatch with directory (1002/1001) or program (1002/1001)
[2010-07-05 12:19:10]: uid: (2007/vu2007) gid: (2007/vu2007) cmd: php5-fcgi-starter
[2010-07-05 12:19:10]: target uid/gid (2007/2007) mismatch with directory (1002/1001) or program (1002/1001)
na wo stell ich denn ein welchen mod ich nehme über a2enmod?
welchen soll ich nehemen?
ich hab einfach mal des probiert weil danach gings bei mir schonmal
Code:
aptitude install apache2-mpm-prefork
a2dismod fcgid_ispcp
a2enmod fastcgi_ispcp
/etc/init.d/apache2 restart
ich hab mal ne user seite mal die richtige gruppe(vuX) und user(vuX) zugeordnet jetzt steht da
Code:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
|