Avatar billede ebe Praktikant
14. marts 2007 - 17:19 Der er 1 kommentar og
1 løsning

Apache skal geninstalleres under debian

Jeg skal reparere en apache installation under debian. Der siges at apachen har kørt før, men nu har vi checket at den ikke kører. jeg har undersøgt hvilke filer der er installeret, og prøver at geninstallere men der kommer en del fejlmeddelelser. Er der nogen som vil hjælpe mig med processen at få den op og køre igen?

Når jeg kører apt-get -f får jeg følgende fil:

Output from apt-get -f install ..


Reading Package Lists...
Building Dependency Tree...
Correcting dependencies... Done
The following extra packages will be installed:
  apache-common
Suggested packages:
  apache-ssl apache-perl
The following NEW packages will be installed:
  apache-common
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0B/860kB of archives.
After unpacking 3101kB of additional disk space will be used.
Selecting previously deselected package apache-common.
(Reading database ... 29673 files and directories currently installed.)
Unpacking apache-common (from .../apache-common_1.3.33-6sarge3_i386.deb) ...
Setting up apache-common (1.3.33-6sarge3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype

Setting up apache (1.3.33-6sarge3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 10
Setting up proftpd (1.2.10-15sarge4) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Couldn't reopen stdin(/dev/tty): No such device or address at /usr/sbin/update-inetd line 29.
dpkg: error processing proftpd (--configure):
subprocess post-installation script returned error exit status 6
Errors were encountered while processing:
apache
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)


Mange takker!!
Avatar billede ebe Praktikant
14. marts 2007 - 17:22 #1
når jeg prøver at installere apache2-common, får jeg følgende melding:

Installing package(s) with command apt-get -y -f install apache2-common ..

Reading Package Lists...
Building Dependency Tree...
apache2-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.33-6sarge3) ...
Setting up proftpd (1.2.10-15sarge4) ...

.. install failed!
Avatar billede ebe Praktikant
14. marts 2007 - 18:30 #2
lukker og prøver at spørge i småbidder
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Uanset kodesprog, så giver vi dig mulighederne for at udvikle det, du behøver.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester