ubuntu server löst

Konfiguration av nätverk, hur man använder Ubuntu som server, och håller sin dator säker
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

ubuntu server löst

Inlägg av starwolf »

Installerade ubuntu server.
apache2
får följande fel
~$ sudo /etc/init.d/apache2 start
.: 44: Can't open /etc/apache2/envvars

hur rättar jag till det??

och hur ändrar jag så att www flyttas till home?
Senast redigerad av 1 starwolf, redigerad totalt 10 gånger.
Anon
Inlägg: 108
Blev medlem: 21 jan 2008, 09:19
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Furudal
Kontakt:

Re: ubuntu server

Inlägg av Anon »

så här gjorde jag för att användarna ska kunna få egna sidor på servern
cd ~
mkdir public_html
sudo ln -s ~/public_html /var/www/$USER
följde den här http://humanlanguage.wordpress.com/2006 ... on-ubuntu/
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server

Inlägg av starwolf »

Tack för ditt svar, MEN jag vill inte ha www där utan här /home/namnet/www
Användarvisningsbild
dmz
Inlägg: 3292
Blev medlem: 29 jul 2008, 19:42
OS: Arch Linux

Re: ubuntu server

Inlägg av dmz »

starwolf skrev:Tack för ditt svar, MEN jag vill inte ha www där utan här /home/namnet/www
Det får du också. ln -s skapar en symlink.
ǁ A: Because it obfuscates the reading.
ǁ Q: Why is top posting so bad?
Lars
Inlägg: 6191
Blev medlem: 14 jan 2007, 19:31
OS: Ubuntu
Utgåva: 22.10 Kinetic Kudu
Ort: Stockholm

Re: ubuntu server

Inlägg av Lars »

Det bästa sättet är att skapa filen /etc/apache2/sites-available/mindomän med följande innehåll (det mesta kopierat från filen default):

Kod: Markera allt

<VirtualHost *>
        ServerName mindomän.se
        DocumentRoot /home/namnet/www
        <Directory /home/namnet/www>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride none
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/domän_error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/domän_access.log combined
        ServerSignature On
</VirtualHost>
När man har skapat filen måste man köra a2ensite mindomän följt av apache2ctl graceful för att starta om Apache.

Om du inte har någon domän som pekar på din server och använder t.ex. http://localhost/ blir det lite annorlunda. Kopiera filen default till filen mindomän, ändra DocumentRoot och kör a2dissite default för att stänga av default och sedan a2ensite mindomän . Anledningen till att du helst inte ska ändra filen default direkt är att det bli lättare att uppgradera om du inte gör det, dessutom blir det snyggare om du vill lägga till fler domäner i framtiden.
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server

Inlägg av starwolf »

får detta svar:
apache2ctl graceful
apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server

Inlägg av starwolf »

nu får jag detta meddelande då jag skall starta phpmyadmin.
kan inte ladda mysqli-tillägg,
var god kontrollera PHP-konfigurationen.
får också detta
var/cache/apt/archives/dtc-postfix-courier_0.29.17-1_all.deb: underprocess nytt pre-removal-skript gav felkod 1

- MySQL funkar inte ger felkod hela tiden.
någon klok som vet vad som skall göras??
SakJur
Inlägg: 1358
Blev medlem: 31 mar 2007, 18:00
OS: Fedora
Utgåva: Vet inte/ingen utgåva passar
Ort: Västerås
Kontakt:

Re: ubuntu server

Inlägg av SakJur »

starwolf: Testa att skriva
sudo aptitude update
sudo aptitude full-upgrade (alt. safe-upgrade... beroende på hur feg du är och hur mycket uttrymme du har på disken xD)

Tänkte även kolla: Kör du en 8.04LTS-server eller en 8.10-server?

Detta ser du genom kommandot:
lsb_release -a

Det bör se ut ungefär så här:
user@dator:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
Jag är inte tyvärr inte särskilt aktiv längre.
sakjur@launchpad
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server

Inlägg av starwolf »

får detta fel

Fel http://ubuntu.org.ua getdeb/ Release.gpg
Kunde inte ansluta till ubuntu.org.ua:80 (91.193.124.193), anslutningen överskred tidsgräns
Fel http://ubuntu.org.ua getdeb/ Translation-sv_SE
Kunde inte ansluta till ubuntu.org.ua http:
Läser paketlistor... Färdig
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server

Inlägg av starwolf »

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
SakJur
Inlägg: 1358
Blev medlem: 31 mar 2007, 18:00
OS: Fedora
Utgåva: Vet inte/ingen utgåva passar
Ort: Västerås
Kontakt:

Re: ubuntu server

Inlägg av SakJur »

starwolf skrev:får detta fel

Fel http://ubuntu.org.ua getdeb/ Release.gpg
Kunde inte ansluta till ubuntu.org.ua:80 (91.193.124.193), anslutningen överskred tidsgräns
Fel http://ubuntu.org.ua getdeb/ Translation-sv_SE
Kunde inte ansluta till ubuntu.org.ua http:
Läser paketlistor... Färdig
Kan du skriva:
cat /etc/apt/sources.list

Kod: Markera allt

#deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Alpha i386 (20090312)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://se.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://se.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://se.archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://se.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://se.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://se.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://se.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
sakjur@yttrium:/etc/apt$ cat sources.list
#deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Alpha i386 (20090312)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://se.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://se.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://se.archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://se.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://se.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://se.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://se.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
Sådär borde det se ut på ett ungefär...
Bor du i Ukraina f.ö.?
Jag är inte tyvärr inte särskilt aktiv längre.
sakjur@launchpad
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server

Inlägg av starwolf »

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release Candidate i386 (20081022)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Alpha i386 (20090409)]/ jaunty main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://se.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports restricted main multiverse universe #Added by software-properties
deb http://ubuntu.org.ua/ getdeb/
deb http://ppa.launchpad.net/baudm/ubuntu intrepid main

deb http://ppa.launchpad.net/team-xbmc-intrepid/ubuntu intrepid main
deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu intrepid main
deb http://ppa.launchpad.net/xbmc-addons/ubuntu intrepid main


jag bor i Skåne.

Ställer in libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4) ...
Error: The new file /usr/share/php5/php.ini-dist does not exist!
dpkg: fel vid hantering av libapache2-mod-php5 (--configure):
underprocess post-installation script gav felkod 1
Ställer in php5-cli (5.2.6.dfsg.1-3ubuntu4) ...
Error: The new file /usr/share/php5/php.ini-dist.cli does not exist!
dpkg: fel vid hantering av php5-cli (--configure):
underprocess post-installation script gav felkod 1
dpkg: beroendeproblem förhindrar konfigurering av php-pear:
php-pear är beroende av php5-cli | php4-cli, men:
Paketet php5-cli har inte konfigurerats ännu.
Paketet php4-cli är ej installerat.
dpkg: fel vid hantering av php-pear (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php-crypt-cbc:
php-crypt-cbc är beroende av php-pear, men:
Paketet php-pear har inte konfigurerats ännu.
dpkg: fel vid hantering av php-crypt-cbc (--configure):
beroendeproblem - lämnar okonfigurerad
Ställer in php5-cgi (5.2.6.dfsg.1-3ubuntu4) ...
Ingen apport-rapport skrevs därför att felmeddelandet indikerar att den är en uppföljning till ett tidigare problem.
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Error: The new file /usr/share/php5/php.ini-dist does not exist!
dpkg: fel vid hantering av php5-cgi (--configure):
underprocess post-installation script gav felkod 1
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
dpkg: beroendeproblem förhindrar konfigurering av php5:
php5 är beroende av libapache2-mod-php5 (>= 5.2.6.dfsg.1-3ubuntu4) | libapache2-mod-php5filter (>= 5.2.6.dfsg.1-3ubuntu4) | php5-cgi (>= 5.2.6.dfsg.1-3ubuntu4), men:
Paketet libapache2-mod-php5 har inte konfigurerats ännu.
Paketet libapache2-mod-php5filter är ej installerat.
Paketet php5-cgi har inte konfigurerats ännu.
dpkg: fel vid hantering av php5 (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php-fpdf:
php-fpdf är beroende av php5 | php5-cli, men:
Paketet php5 har inte konfigurerats ännu.
Paketet php5-cli har inte konfigurerats ännu.
dpkg: fel vid hantering av php-fpdf (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-curl:
php5-curl är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej installerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfIngen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
s, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-curl (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-gd:
php5-gd är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej installerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-gd (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-mcrypt:
php5-mcrypt är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej instIngen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
allerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-mcrypt (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-mysql:
php5-mysql är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej installerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-mysql (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av dtc-common:
dtc-common är beroende av libapache2-mod-php5 | libapache-mod-php5, men:
Paketet libapache2-mod-php5 har inte konfigurerats ännu.
Paketet libapache-mod-php5 är ej installerat.
dtc-common är beroende av php5, men:
Paketet php5 har inte konfigurerats ännu.
dtc-common är beroende av php5-cli, men:
Paketet php5-cli har inte konfigurerats ännu.
dtc-common är beroende av php5-gd, men:
Paketet php5-gd har inte konfigurerats ännu.
dtc-common är beroende av php5-mysql, men:
Paketet php5-mysql har inte konfigurerats ännu.
dtc-common är beroende av php-pear, men:
Paketet php-pear har inte konfigurerats ännu.
dtc-common är beroende av php-fpdf, men:
Paketet php-fpdf har inte konfigurerats ännu.
dtc-common är beroende av php-crypt-cbc, men:
Paketet php-crypt-cbc har inte konfigurerats ännu.
dtc-common är beroende av php5-curl, men:
Paketet php5-curl har inte konfigurerats ännu.
dpkg: fel vid hantering av dtc-common (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av phpmyadmin:
phpmyadmin är beroende av libapache2-mod-php5 | php5-cgi | php5, men:
Paketet libapache2-mod-php5 har inte konfigurerats ännu.
Paketet php5-cgi har inte konfigurerats ännu.
Paketet php5 har inte konfigurerats ännu.
phpmyadmin är beroende av php5-mysql | php5-mysqli, men:
Paketet php5-mysql har inte konfigurerats ännu.
Paketet php5-mysqli är ej installerat.
phpmyadmin är beroende av php5-mcrypt, men:
Paketet php5-mcrypt har inte konfigurerats ännu.
dpkg: fel vid hantering av phpmyadmin (--configure):
beroendeproblem - lämnar okonfigurerad
Fel uppstod vid hantering:
libapache2-mod-php5
php5-cli
php-pear
php-crypt-cbc
php5-cgi
php5
php-fpdf
php5-curl
php5-gd
php5-mcrypt
php5-mysql
dtc-common
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
SakJur
Inlägg: 1358
Blev medlem: 31 mar 2007, 18:00
OS: Fedora
Utgåva: Vet inte/ingen utgåva passar
Ort: Västerås
Kontakt:

Re: ubuntu server

Inlägg av SakJur »

starwolf skrev:# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release Candidate i386 (20081022)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Alpha i386 (20090409)]/ jaunty main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://se.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://se.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports restricted main multiverse universe #Added by software-properties
deb http://ubuntu.org.ua/ getdeb/
deb http://ppa.launchpad.net/baudm/ubuntu intrepid main

deb http://ppa.launchpad.net/team-xbmc-intrepid/ubuntu intrepid main
deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu intrepid main
deb http://ppa.launchpad.net/xbmc-addons/ubuntu intrepid main


jag bor i Skåne.

Ställer in libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4) ...
Error: The new file /usr/share/php5/php.ini-dist does not exist!
dpkg: fel vid hantering av libapache2-mod-php5 (--configure):
underprocess post-installation script gav felkod 1
Ställer in php5-cli (5.2.6.dfsg.1-3ubuntu4) ...
Error: The new file /usr/share/php5/php.ini-dist.cli does not exist!
dpkg: fel vid hantering av php5-cli (--configure):
underprocess post-installation script gav felkod 1
dpkg: beroendeproblem förhindrar konfigurering av php-pear:
php-pear är beroende av php5-cli | php4-cli, men:
Paketet php5-cli har inte konfigurerats ännu.
Paketet php4-cli är ej installerat.
dpkg: fel vid hantering av php-pear (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php-crypt-cbc:
php-crypt-cbc är beroende av php-pear, men:
Paketet php-pear har inte konfigurerats ännu.
dpkg: fel vid hantering av php-crypt-cbc (--configure):
beroendeproblem - lämnar okonfigurerad
Ställer in php5-cgi (5.2.6.dfsg.1-3ubuntu4) ...
Ingen apport-rapport skrevs därför att felmeddelandet indikerar att den är en uppföljning till ett tidigare problem.
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Error: The new file /usr/share/php5/php.ini-dist does not exist!
dpkg: fel vid hantering av php5-cgi (--configure):
underprocess post-installation script gav felkod 1
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
dpkg: beroendeproblem förhindrar konfigurering av php5:
php5 är beroende av libapache2-mod-php5 (>= 5.2.6.dfsg.1-3ubuntu4) | libapache2-mod-php5filter (>= 5.2.6.dfsg.1-3ubuntu4) | php5-cgi (>= 5.2.6.dfsg.1-3ubuntu4), men:
Paketet libapache2-mod-php5 har inte konfigurerats ännu.
Paketet libapache2-mod-php5filter är ej installerat.
Paketet php5-cgi har inte konfigurerats ännu.
dpkg: fel vid hantering av php5 (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php-fpdf:
php-fpdf är beroende av php5 | php5-cli, men:
Paketet php5 har inte konfigurerats ännu.
Paketet php5-cli har inte konfigurerats ännu.
dpkg: fel vid hantering av php-fpdf (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-curl:
php5-curl är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej installerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfIngen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
s, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-curl (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-gd:
php5-gd är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej installerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-gd (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-mcrypt:
php5-mcrypt är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej instIngen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
Ingen apport-rapport skrevs därför att MaxReports redan har nåtts
allerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-mcrypt (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av php5-mysql:
php5-mysql är beroende av phpapi-20060613+lfs, men:
Paketet phpapi-20060613+lfs är ej installerat.
Paketet libapache2-mod-php5, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cli, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
Paketet php5-cgi, som tillhandahåller phpapi-20060613+lfs, har inte konfigurerats ännu.
dpkg: fel vid hantering av php5-mysql (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av dtc-common:
dtc-common är beroende av libapache2-mod-php5 | libapache-mod-php5, men:
Paketet libapache2-mod-php5 har inte konfigurerats ännu.
Paketet libapache-mod-php5 är ej installerat.
dtc-common är beroende av php5, men:
Paketet php5 har inte konfigurerats ännu.
dtc-common är beroende av php5-cli, men:
Paketet php5-cli har inte konfigurerats ännu.
dtc-common är beroende av php5-gd, men:
Paketet php5-gd har inte konfigurerats ännu.
dtc-common är beroende av php5-mysql, men:
Paketet php5-mysql har inte konfigurerats ännu.
dtc-common är beroende av php-pear, men:
Paketet php-pear har inte konfigurerats ännu.
dtc-common är beroende av php-fpdf, men:
Paketet php-fpdf har inte konfigurerats ännu.
dtc-common är beroende av php-crypt-cbc, men:
Paketet php-crypt-cbc har inte konfigurerats ännu.
dtc-common är beroende av php5-curl, men:
Paketet php5-curl har inte konfigurerats ännu.
dpkg: fel vid hantering av dtc-common (--configure):
beroendeproblem - lämnar okonfigurerad
dpkg: beroendeproblem förhindrar konfigurering av phpmyadmin:
phpmyadmin är beroende av libapache2-mod-php5 | php5-cgi | php5, men:
Paketet libapache2-mod-php5 har inte konfigurerats ännu.
Paketet php5-cgi har inte konfigurerats ännu.
Paketet php5 har inte konfigurerats ännu.
phpmyadmin är beroende av php5-mysql | php5-mysqli, men:
Paketet php5-mysql har inte konfigurerats ännu.
Paketet php5-mysqli är ej installerat.
phpmyadmin är beroende av php5-mcrypt, men:
Paketet php5-mcrypt har inte konfigurerats ännu.
dpkg: fel vid hantering av phpmyadmin (--configure):
beroendeproblem - lämnar okonfigurerad
Fel uppstod vid hantering:
libapache2-mod-php5
php5-cli
php-pear
php-crypt-cbc
php5-cgi
php5
php-fpdf
php5-curl
php5-gd
php5-mcrypt
php5-mysql
dtc-common
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
OJ! Tror att det är bäst att installera om helt..
Jag är inte tyvärr inte särskilt aktiv längre.
sakjur@launchpad
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server löst

Inlägg av starwolf »

oj vad den gamle gubben är duktig nu har han själv ordnat det.
SakJur
Inlägg: 1358
Blev medlem: 31 mar 2007, 18:00
OS: Fedora
Utgåva: Vet inte/ingen utgåva passar
Ort: Västerås
Kontakt:

Re: ubuntu server löst

Inlägg av SakJur »

starwolf skrev:oj vad den gamle gubben är duktig nu har han själv ordnat det.
Kan du förklara vad du gjorde, i dokumentationssyfte? :D
Jag är inte tyvärr inte särskilt aktiv längre.
sakjur@launchpad
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server löst

Inlägg av starwolf »

f.n trodde inte du skulle fråga
-
-
-
-
--
-
-
-
-
-
-
-
-
-
-
-
-
-
-
---
-
-
-
-jag installerade allt igen, så nu funkar det. Fick en fråga om någon eller något som ville ha tillstånd att lägga in något i min burk och dum som jag är så läste jag inte ordentligt. så det var nog någon som gjorde något med burken för sedan så slutade den att funka normalt. Så nu svarar jag alltid NEJ, ingen gör något med min burk utan jag till 200% vet vad som göres.
SakJur
Inlägg: 1358
Blev medlem: 31 mar 2007, 18:00
OS: Fedora
Utgåva: Vet inte/ingen utgåva passar
Ort: Västerås
Kontakt:

Re: ubuntu server löst

Inlägg av SakJur »

starwolf skrev:f.n trodde inte du skulle fråga
jag installerade allt igen, så nu funkar det. Fick en fråga om någon eller något som ville ha tillstånd att lägga in något i min burk och dum som jag är så läste jag inte ordentligt. så det var nog någon som gjorde något med burken för sedan så slutade den att funka normalt. Så nu svarar jag alltid NEJ, ingen gör något med min burk utan jag till 200% vet vad som göres.
Okej :D
Smart, en dator ska man ha koll på, mycket kan hända :D
Jag är inte tyvärr inte särskilt aktiv längre.
sakjur@launchpad
starwolf
Inlägg: 715
Blev medlem: 11 jun 2008, 12:49
OS: Windows
Utgåva: Vet inte/ingen utgåva passar

Re: ubuntu server löst

Inlägg av starwolf »

du får ha tack i alla fall.
Skriv svar

Återgå till "Nätverk, säkerhet och servrar"