Huhu, ich habe folgende Progs. auf meinem vServer installiert. Diese sind: Apache2 & PHP5. Jedoch zeigt er mir immer Error´s an. Wie z.B den hier: ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
Oder hat er alles richtig installiert?
Code
Checking for corrupt, not cleanly closed and upgrade needing tables..
Setting up libhtml-template-perl (2.9-2) ...
Setting up mysql-client (5.1.49-3) ...
Setting up mysql-server (5.1.49-3) ...
Setting up php5-mysql (5.3.3-7+squeeze14) ...
Errors were encountered while processing:
apache2.2-common
apache2-mpm-prefork
apache2
libapache2-mod-php5
php5
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vserver862:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dbconfig-common javascript-common libjs-mootools php5-gd php5-mcrypt wwwconfig-common
Suggested packages:
postgresql-client apache apache-ssl
The following NEW packages will be installed:
dbconfig-common javascript-common libjs-mootools php5-gd php5-mcrypt phpmyadmin wwwconfig-common
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 42.9 kB/5158 kB of archives.
After this operation, 21.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.debian.org/debian/ squeeze/main javascript-common all 7 [3810 B]
Get:2 http://ftp.debian.org/debian/ squeeze/main php5-gd amd64 5.3.3-7+squeeze14 [39.1 kB]
Fetched 42.9 kB in 0s (516 kB/s)
Preconfiguring packages ...
Selecting previously deselected package dbconfig-common.
(Reading database ... 30204 files and directories currently installed.)
Unpacking dbconfig-common (from .../dbconfig-common_1.8.46+squeeze.0_all.deb) ...
Selecting previously deselected package wwwconfig-common.
Unpacking wwwconfig-common (from .../wwwconfig-common_0.2.1_all.deb) ...
Selecting previously deselected package javascript-common.
Unpacking javascript-common (from .../javascript-common_7_all.deb) ...
Selecting previously deselected package libjs-mootools.
Unpacking libjs-mootools (from .../libjs-mootools_1.2.4.0~debian1-1_all.deb) ...
Selecting previously deselected package php5-gd.
Unpacking php5-gd (from .../php5-gd_5.3.3-7+squeeze14_amd64.deb) ...
Selecting previously deselected package php5-mcrypt.
Unpacking php5-mcrypt (from .../php5-mcrypt_5.3.3-7+squeeze14_amd64.deb) ...
Selecting previously deselected package phpmyadmin.
Unpacking phpmyadmin (from .../phpmyadmin_4%3a3.3.7-7_all.deb) ...
Processing triggers for man-db ...
Setting up apache2.2-common (2.2.16-6+squeeze8) ...
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.16-6+squeeze8); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.16-6+squeeze8) | apache2-mpm-prefork (= 2.2.16-6+squeeze8) | apache2-mpm-event (= 2.2.16-6+squeeze8) | apache2-mpm-itk (= 2.2.16-6+squeeze8); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not installed.
apache2 depends on apache2.2-common (= 2.2.16-6+squeeze8); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.3.3-7+squeeze14) | libapache2-mod-php5filter (>= 5.3.3-7+squeeze14) | php5-cgi (>= 5.3.3-7+squeeze14); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
Setting up dbconfig-common (1.8.46+squeeze.0) ...
Setting up wwwconfig-common (0.2.1) ...
Setting up javascript-common (7) ...
Setting up libjs-mootools (1.2.4.0~debian1-1) ...
Setting up php5-gd (5.3.3-7+squeeze14) ...
Setting up php5-mcrypt (5.3.3-7+squeeze14) ...
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapache2-mod-php5 | php5-cgi | php5; however:
Package libapache2-mod-php5 is not configured yet.
Package php5-cgi is not installed.
Package php5 is not configured yet.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
Errors were encountered while processing:
apache2.2-common
apache2-mpm-prefork
apache2
libapache2-mod-php5
php5
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vserver862:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
phpmyadmin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up apache2.2-common (2.2.16-6+squeeze8) ...
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.16-6+squeeze8); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.16-6+squeeze8) | apache2-mpm-prefork (= 2.2.16-6+squeeze8) | apache2-mpm-event (= 2.2.16-6+squeeze8) | apache2-mpm-itk (= 2.2.16-6+squeeze8); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not installed.
apache2 depends on apache2.2-common (= 2.2.16-6+squeeze8); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.3.3-7+squeeze14) | libapache2-mod-php5filter (>= 5.3.3-7+squeeze14) | php5-cgi (>= 5.3.3-7+squeeze14); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapacconfigured to not write apport reports
he2-mod-php5 | php5-cgi | php5; however:
Package libapache2-mod-php5 is not configured yet.
Package php5-cgi is not installed.
Package php5 is not configured yet.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
apache2-mpm-prefork
apache2
libapache2-mod-php5
php5
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vserver862:~# echo Include /etc/phpmyadmin/apache.conf >> /etc/apache2/apache2.conf
root@vserver862:~# /etc/init.d/apache2 restart
apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
failed!
root@vserver862:~# apt-get install myphpadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package myphpadmin
root@vserver862:~# /etc/init.d/apache2 restart
apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
failed!
root@vserver862:~# /etc/init.d/apache2 restarte2-mod-php5
php5
Usage: /etc/init.d/apache2 {start|stop|graceful-stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean|status}.
root@vserver862:~# php5
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vserver862:~# apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
phpmyadmin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up apache2.2-common (2.2.16-6+squeeze8) ...
ERROR: Config file dir.conf not properly enabled: /etc/apache2/mods-enabled/dir.conf is a real file, not touching it
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.16-6+squeeze8); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.16-6+squeeze8) | apache2-mpm-prefork (= 2.2.16-6+squeeze8) | apache2-mpm-event (= 2.2.16-6+squeeze8) | apache2-mpm-itk (= 2.2.16-6+squeeze8); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not installed.
apache2 depends on apache2.2-common (= 2.2.16-6+squeeze8); however:
Package apache2.2-common is not configured yet.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
configured to not write apport reports
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.3.3-7+squeeze14) | libapache2-mod-php5filter (>= 5.3.3-7+squeeze14) | php5-cgi (>= 5.3.3-7+squeeze14); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapacconfigured to not write apport reports
he2-mod-php5 | php5-cgi | php5; however:
Package libapache2-mod-php5 is not configured yet.
Package php5-cgi is not installed.
Package php5 is not configured yet.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
apache2-mpm-prefork
apache2
libapache2-mod-php5
php5
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vserver862:~# echo Include /etc/phpmyadmin/apache.conf >> /etc/apache2/apache2.conf
root@vserver862:~# /etc/init.d/apache2 restart
apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Failed loading /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so: /usr/lib/php5/20090626/ioncube_loader_lin_5.3.so: cannot open shared object file: No such file or directory
^C
root@vserver862:~#
Alles anzeigen