vps server kurulumdaki hata

Başlatan beken, 30 Eylül 2016 - 13:45:21

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

beken

Merhaba Arkadaşlar
Ben sizlerden bir yardım almak istiyorum
Benim bir tane vps server var ve ben buna LAMP (Linux + Apache + Mysql + Php) Server Kurulum yapıyorum ve hoş çalışıyor
Fakat kurulum yaparken şöyle bir hata alıyorum ve konun acemisi oldugumdan ne yapacağımı bilemiyorum
Net üzerinden araçtırıyorum ama iş bilmediğim için çok fazlasıyla hata yapıyorum hangi kod bulsam ssh üzerinden yükleyerekden hatayı gidiremeye calıyorum(hoş hata üzerine hata yaıyorum) daha çok katıştırıyorum
Benim ögrenmek istediğim yani aldığım hata
E: Sub-process /usr/bin/dpkg returned an error code (1)
ben bu hatayı nasıl düzeltebilirim
Ubuntu 12.04 (LTS) 32 Bit
Ubuntu 12.04 (LTS) 64 Bit
Ubuntu 14.04 (LTS) 64 Bit

Bu konuda bana bir yol gösterirseniz sevinirim

bugra9

Merhaba,

Girdiğin komutu ve tüm çıktılarını yani hata iletisinin tamamını aktarmadığın sürece hatanın ne olduğunu bilemeyiz.

beken

#2
yeni kurulum (sifir)
apt-get update

apt-get install apache2

yükleme bittiğinde aldığım hata

E: Sub-process /usr/bin/dpkg returned an error code (1)



Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 01 Ekim 2016 - 17:38:32

arkadaşlar lütfen bir yardım ya
LAMP (Linux + Apache + Mysql + Php) Server Kurulumu yaparken ilk içlemde hata alıyorum ve bir türlü çözüm bulamadım
linux da cok fazlasıyla acemiyim
Yaptıgım işlemleri sırasıyla sizlere yazayım tekrardan

1-vps server üzerinden Ubuntu 12.04 (LTS) 32 Bit kuruyorum yükleme yapıyor

2-ssh üzerinden root olarak bağlanıyorum ve komutlara başlıyorum

3-apt-get update (sorunsuz ok)

4-apt-get upgrade (sorunsuz ok)

5-apt-get install apache2 (sorunsuz ok)

ama MSQL yüklerken hata alıyorum

6-apt-get install mysql-server php5-mysql (yükleme yapıyor şifre istiyor giriyorum ve yüklemeye başlıyor
yükleme bittiğinde hata alıyorum  aldığım hata

root@91:~# apt-get install mysql-server mysql-client
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libclass-isa-perl libdbd-mysql-perl libdbi-perl libgdbm3
  libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl
  libswitch-perl libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5
  mysql-common mysql-server-5.5 mysql-server-core-5.5 perl perl-base
  perl-modules
Suggested packages:
  libipc-sharedcache-perl libcompress-zlib-perl tinyca mailx perl-doc
  libterm-readline-gnu-perl libterm-readline-perl-perl make
  libpod-plainer-perl
The following NEW packages will be installed:
  libclass-isa-perl libdbd-mysql-perl libdbi-perl libgdbm3
  libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl
  libswitch-perl libterm-readkey-perl mysql-client mysql-client-5.5
  mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5
  mysql-server-core-5.5 perl perl-modules
The following packages will be upgraded:
  perl-base
1 upgraded, 19 newly installed, 0 to remove and 40 not upgraded.
Need to get 35.5 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main perl-base i386 5.14.2-6ubuntu2.5 [1472 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main libgdbm3 i386 1.8.3-10 [35.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.52-0ubuntu0.12.04.1 [12.6 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 i386 5.5.52-0ubuntu0.12.04.1 [921 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/main libswitch-perl all 2.16-2 [19.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/main libclass-isa-perl all 0.36-3 [11.9 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise-updates/main perl-modules all 5.14.2-6ubuntu2.5 [3397 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise-updates/main perl i386 5.14.2-6ubuntu2.5 [3694 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise/main libdbi-perl i386 1.616-1build2 [849 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl i386 4.020-1build2 [104 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 i386 5.5.52-0ubuntu0.12.04.1 [1868 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl i386 2.30-4build3 [28.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 i386 5.5.52-0ubuntu0.12.04.1 [8101 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 i386 5.5.52-0ubuntu0.12.04.1 [6043 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 i386 5.5.52-0ubuntu0.12.04.1 [8730 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client all 5.5.52-0ubuntu0.12.04.1 [10.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server all 5.5.52-0ubuntu0.12.04.1 [10.8 kB]
Fetched 35.5 MB in 2s (15.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 10776 files and directories currently installed.)
Preparing to replace perl-base 5.14.2-6ubuntu2.4 (using .../perl-base_5.14.2-6ubuntu2.5_i386.deb) ...
Unpacking replacement perl-base ...
Setting up perl-base (5.14.2-6ubuntu2.5) ...
Selecting previously unselected package libgdbm3.
(Reading database ... 10776 files and directories currently installed.)
Unpacking libgdbm3 (from .../libgdbm3_1.8.3-10_i386.deb) ...
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.5.52-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.52-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-3_all.deb) ...
Selecting previously unselected package perl-modules.
Unpacking perl-modules (from .../perl-modules_5.14.2-6ubuntu2.5_all.deb) ...
Selecting previously unselected package perl.
Unpacking perl (from .../perl_5.14.2-6ubuntu2.5_i386.deb) ...
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.616-1build2_i386.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_i386.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.52-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package libterm-readkey-perl.
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build3_i386.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.52-0ubuntu0.12.04.1_i386.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.52-0ubuntu0.12.04.1_i386.deb) ...
Setting up mysql-common (5.5.52-0ubuntu0.12.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 12591 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.52-0ubuntu0.12.04.1_i386.deb) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Configuring mysql-server-5.5
----------------------------

While not mandatory, it is highly recommended that you set a password for the
MySQL administrative "root" user.

If this field is left blank, the password will not be changed.

New password for the MySQL "root" user:



Repeat password for the MySQL "root" user:


Selecting previously unselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ...
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.5.52-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.52-0ubuntu0.12.04.1_all.deb) ...
Setting up libgdbm3 (1.8.3-10) ...
Setting up libmysqlclient18 (5.5.52-0ubuntu0.12.04.1) ...
Setting up libclass-isa-perl (0.36-3) ...
Setting up mysql-client-core-5.5 (5.5.52-0ubuntu0.12.04.1) ...
Setting up mysql-server-core-5.5 (5.5.52-0ubuntu0.12.04.1) ...
Setting up libswitch-perl (2.16-2) ...
Setting up perl-modules (5.14.2-6ubuntu2.5) ...
Setting up perl (5.14.2-6ubuntu2.5) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode.
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.616-1build2) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up libterm-readkey-perl (2.30-4build3) ...
Setting up mysql-client-5.5 (5.5.52-0ubuntu0.12.04.1) ...
Setting up mysql-server-5.5 (5.5.52-0ubuntu0.12.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 144: logger: command not found
ATTENTION: An error has occured. More info is in the syslog!
/var/lib/dpkg/info/mysql-server-5.5.postinst: line 233: logger: command not found
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up libhtml-template-perl (2.10-1) ...
Setting up mysql-client (5.5.52-0ubuntu0.12.04.1) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
  Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


hHATA:E: Sub-process /usr/bin/dpkg returned an error code (1)
aldığım hata kodu

Lütfen bu konuda bana bir yardım
Gerekirse uzak yardım ile bağlantı verebilirim
şimdi den çok teşekkürler

bugra9

Aşağıdaki bağlantıda aynı sorun yaşanmış görünüyor. Orada önerilen çözümü dener misin.
http://askubuntu.com/questions/384234/e-mysql-server-5-5-installation-error

afeser

Böyle bir şeyle karşılaşmadım ama biri şöyle çözmüş:
Alıntı Yap...Thanks, for the links, reinstalling bsdutils fixed the problem...
Kaynak: https://ubuntuforums.org/showthread.php?t=2246433

Ayrıca istersen direk indirip kurabilirsin: https://dev.mysql.com/downloads/mysql/
Gelecek illa ki gelecek, önemli olan kimin getirdiği...

LinuxHacisi

sadece mysql-server kur hata vermeyecektir. daha sonradan clienti dahil edebilirsin
Linux And Windows System Specialist , Linux Hacısı, #DevOps #Linux #Windows #SysAdmin #GNU #Researcher

beken

Arkadaşlar verdiğiniz cevağlar için çok teşekkür erderim
Hiç biri işe yaramıyor.Ne yaptımsa olmadı
Anti parantez sunu belirtmek istiyorum
vps server  debian 8 lamp kuruyırum sorunsuz sekilde çalışıryor.centos kuruyorum sorunsuz çalışıyor Ama ne zama ubuntu yüklesem
hep aynı hatayı alıyorum.Kafayı yiyeceğim

ubuntuda E: Sub-process /usr/bin/dpkg returned an error code (1) bu hatadan hiç bir şekilde kurtulamıyorum

bugra9

@beken, ilk yazdığım iletiyi tekrarlıyorum. Sen hata çıktılarını paylaşmadığın sürece sorunun ne olduğunu anlayamayız. Denedim olmadı diyorsun ama çıktıları burada paylaşmamışsın dolayısıyla biz de neden olmadığını anlayamıyoruz.

Bir de,
E: Sub-process /usr/bin/dpkg returned an error code (1)
çıktısı sadece hata ile karşılaştığını söylüyor ama hatanın ne olduğunu söylemiyor. Hatanın ne olduğu üst satırlarda yazıyor ama sen paylaşmadığın için biz ne olduğunu bilemiyoruz.