Score:0

koha installation problem?

ธง sr

i am new on ubuntu os and on top of that i am trying to install koha on ubuntu 21.10. this is what i get at some point:

Setting up apache2 (2.4.48-3.1ubuntu3) ...
info: Executing deferred 'a2enconf javascript-common' for package javascript-com
mon
Job for apache2.service failed because the control process exited with error cod
e.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for
 details.
apache-htcacheclean.service is a disabled or a static unit not running, not star
ting it.
Setting up libnet-oauth2-authorizationserver-perl (0.28-1) ...
Setting up erlang-inets (1:23.2.6+dfsg-1build1) ...
Setting up libmodule-runtime-conflicts-perl (0.003-1.1) ...
Setting up libsql-abstract-perl (1.87-1) ...
Setting up libclass-load-perl (0.25-1) ...
Setting up libspecio-perl (0.47-1) ...
Setting up libparallel-forkmanager-perl (2.02-1) ...
Setting up libemail-date-perl (1.104-2) ...
Setting up libpackage-deprecationmanager-perl (0.17-1.1) ...
Setting up libdevel-overloadinfo-perl (0.005-1) ...
Setting up libclass-load-xs-perl (0.10-1build6) ...
Setting up libmoox-types-mooselike-perl (0.29-1.1) ...
Setting up libparams-validate-perl:amd64 (1.30-1build2) ...
Setting up libb-hooks-endofscope-perl (0.24-1.1) ...
Setting up libpackage-variant-perl (1.003002-1.1) ...
Setting up libcrypt-eksblowfish-perl (0.009-2build6) ...
Setting up rabbitmq-server (3.8.9-3ubuntu1) ...
Setting up libthrowable-perl (0.200013-1.1) ...
Setting up libsql-translator-perl (1.62-1) ...
Setting up libmoose-perl (2.2014-2) ...
Setting up libemail-sender-perl (1.300035-1) ...
Setting up libnamespace-clean-perl (0.27-1) ...
Setting up libnamespace-autoclean-perl (0.29-1) ...
Setting up libdatetime-locale-perl (1:1.31-1) ...
Setting up libmoosex-nonmoose-perl (0.26-1.1) ...
Setting up libstring-toidentifier-en-perl (0.12-1) ...
Setting up libdbix-class-perl (0.082841-1) ...
Setting up libdevel-partialdump-perl (0.20-1) ...
Setting up libsearch-elasticsearch-perl (7.30-1) ...
Setting up libdatetime-timezone-perl (1:2.47-1+2021a) ...
Setting up libemail-stuffer-perl (0.018-1) ...
Setting up libmoosex-markasmethods-perl (0.15-2) ...
Setting up libdbix-class-schema-loader-perl (0.07049-1) ...
Setting up liblog-dispatch-perl (2.70-1) ...
Setting up libdatetime-perl:amd64 (2:1.54-1) ...
Setting up libdatetime-set-perl (0.3900-1.1) ...
Setting up libdatetime-format-mail-perl (0.4030-1.1) ...
Setting up libdatetime-format-strptime-perl (1.7800-1) ...
Setting up libdatetime-format-w3cdtf-perl (0.08-1) ...
Setting up libdatetime-event-recurrence-perl (0.19-1) ...
Setting up libdatetime-event-ical-perl (0.13-1) ...
Setting up libxml-rss-perl (1.62-1) ...
Setting up libdatetime-format-builder-perl (0.8300-1) ...
Setting up libdatetime-format-mysql-perl (0.06-1) ...
Setting up libdatetime-format-ical-perl (0.09-2.1) ...
Setting up koha-common (21.05.05-3) ...
failed to load external entity "/etc/koha/sites/library/koha-conf.xml"
Upgrading database schema for library
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4
/Context.pm line 188.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4
/Context.pm line 188.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4
/Context.pm line 188.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/C4
/Context.pm line 188.
Use of uninitialized value $db_name in concatenation (.) or string at /usr/share
/koha/lib/Koha/Database.pm line 91.
Use of uninitialized value $db_host in concatenation (.) or string at /usr/share
/koha/lib/Koha/Database.pm line 91.
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('d
atabase=;host=;port=','',...) failed: Can't connect to local MySQL server throug
h socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storag
e/DBI.pm line 1517. at /usr/share/koha/lib/Koha/Database.pm line 109
dpkg: error processing package koha-common (--configure):
 installed koha-common package post-installation script subprocess returned erro
r exit status 2
Processing triggers for libc-bin (2.34-0ubuntu3) ...
Processing triggers for ufw (0.36.1-1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu3) ...
Errors were encountered while processing:
 koha-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

What can i do ??

Someone avatar
my flag
โพสต์ผลลัพธ์ของ `ls /var/cache/apt/archives/`
Someone avatar
my flag
ติดตั้งแพ็คเกจ koha ของคุณแล้ว แต่ dpkg พัง
Someone avatar
my flag
อาจลองเรียกใช้ `sudo apt --fix-broken install`
Someone avatar
my flag
รัน `sudo rm -rf /var/cache/apt/archives/*.deb` ด้วย
sr flag
ฉันลอง sudo apt --fix-broken install และฉันได้รับ: ล้มเหลวในการโหลดเอนทิตีภายนอก "/etc/koha/sites/library/koha-conf.xml" และการเชื่อมต่อ DBI ล้มเหลว
sr flag
นอกจากนี้: sudo ls /var/cache/apt/archives/ ล็อคบางส่วน
sr flag
sudo dpkg-reconfigure koha-common /usr/sbin/dpkg-reconfigure: koha-common ใช้งานไม่ได้หรือติดตั้งไม่เสร็จสมบูรณ์ ฉันจะทำอย่างไรต่อไป ?
คำถามนี้เป็นภาษาอื่นๆ:

โพสต์คำตอบ

คนส่วนใหญ่ไม่เข้าใจว่าการถามคำถามมากมายจะปลดล็อกการเรียนรู้และปรับปรุงความสัมพันธ์ระหว่างบุคคล ตัวอย่างเช่น ในการศึกษาของ Alison แม้ว่าผู้คนจะจำได้อย่างแม่นยำว่ามีคำถามกี่ข้อที่ถูกถามในการสนทนา แต่พวกเขาไม่เข้าใจความเชื่อมโยงระหว่างคำถามและความชอบ จากการศึกษาทั้ง 4 เรื่องที่ผู้เข้าร่วมมีส่วนร่วมในการสนทนาด้วยตนเองหรืออ่านบันทึกการสนทนาของผู้อื่น ผู้คนมักไม่ตระหนักว่าการถามคำถามจะมีอิทธิพลหรือมีอิทธิพลต่อระดับมิตรภาพระหว่างผู้สนทนา