MRatWork Forum by Mustafa Ramadhan
Language Specific Discussions => Indonesia Users => Topic started by: ar1246 on 2014-02-28, 13:18:42
-
Pak yang terbaru versi brp sih?
saya coba update dengan perintah yum update
tp munculnya:yum update
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirror.compevo.com
* extras: centos-distro.cavecreek.net
* mratwork-epel: mirror.compevo.com
* mratwork-ius: mirror.sothatswhy.org.uk
* updates: mirrors.usc.edu
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
mratwork-centalt | 951 B 00:00
mratwork-centalt/primary | 88 kB 00:01
mratwork-centalt 272/272
mratwork-epel | 4.2 kB 00:00
mratwork-google-mod-pagespeed | 951 B 00:00
mratwork-ius | 2.1 kB 00:00
mratwork-ius/primary_db | 131 kB 00:00
mratwork-ius-c5 | 2.1 kB 00:00
mratwork-ius-c5/primary_db | 453 kB 00:00
mratwork-litespeed | 951 B 00:00
mratwork-litespeed-update | 951 B 00:00
mratwork-release-neutral-arch | 951 B 00:00
mratwork-release-neutral-noarch | 951 B 00:00
mratwork-release-version-arch | 951 B 00:00
mratwork-release-version-noarch | 951 B 00:00
mratwork-varnish-3.0 | 951 B 00:00
updates | 3.4 kB 00:00
updates/primary_db | 2.1 MB 00:00
vz-base | 951 B 00:00
vz-updates | 951 B 00:00
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package gd.x86_64 0:2.0.35-11.el6 will be updated
--> Processing Dependency: libgd.so.2()(64bit) for package: webalizer-2.23_05-5. mr.el6.x86_64
---> Package gd.x86_64 0:2.1.0-1.el6 will be an update
---> Package libtiff.x86_64 0:3.9.4-9.el6_3 will be updated
---> Package libtiff.x86_64 0:3.9.4-10.el6_5 will be an update
---> Package nginx.x86_64 0:1.5.10-1.el6 will be updated
---> Package nginx.x86_64 0:1.5.10-2.el6 will be an update
---> Package spamdyke.x86_64 0:4.3.1-3.mr.el6 will be updated
---> Package spamdyke.x86_64 0:5.0.0-1.mr.el6 will be an update
---> Package spamdyke-utils.x86_64 0:4.3.1-3.mr.el6 will be updated
---> Package spamdyke-utils.x86_64 0:5.0.0-1.mr.el6 will be an update
--> Finished Dependency Resolution
Error: Package: webalizer-2.23_05-5.mr.el6.x86_64 (@mratwork-release-version-arc h)
Requires: libgd.so.2()(64bit)
Removing: gd-2.0.35-11.el6.x86_64 (@base)
libgd.so.2()(64bit)
Updated By: gd-2.1.0-1.el6.x86_64 (mratwork-centalt)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
apakah ada yang salah?
-
Baca http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tips)-trouble-with-gd-when-running-%27yum-update%27/
-
Its works, thanks so much sir!!
-
Pak, saya mau melakukan yum update
tapi ada eror:
--> Running transaction check
---> Package kernel.i686 0:2.6.32-504.8.1.el6 will be erased
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
--> Processing Conflict: mysql56u-libs-5.6.26-1.ius.el6.i686 conflicts mysql-libs < 5.6
--> Finished Dependency Resolution
Error: mysql56u-libs conflicts with mysql55-libs-5.5.45-1.ius.el6.i686
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
pdns-backend-mysql-3.3.1-101.mr.el6.i386 has missing requires of pdns = ('0', '3.3.1', '101.mr.el6')
tengine-2.1.0-3.mr.el6.i386 is a duplicate with tengine-2.1.0-2.mr.el6.i386
[root@property ~]#
ko kaya dobel gitu yah?
[root@property ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015072602
- Web: hiawatha-9.14.0-f.6.mr.el6.i386
- PHP: php53s-5.3.29-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.6 (Final) i686
- Hostname: property.arif.awalud.in
C. Services:
1. MySQL: mysql55-5.5.44-2.ius.el6.i686
2. PHP:
- Branch: php54-cli-5.4.43-1.ius.el6.i686
- Multiple:
* php52m-5.2.17-102.mr.el6
* php53m-5.3.29-1.ius.el6
* php54m-5.4.43-1.ius.el6
* php55m-5.5.27-1.ius.el6
* php56m-5.6.11-1.ius.el6
- Used: php54m
3. Httpd: httpd-2.2.31-1.mr.el6.i386
- PHP Type: php-fpm_event
4. Lighttpd: --uninstalled--
5. Hiawatha: --unused--
6. Nginx: tengine-2.1.0-3.mr.el6.i386
7. Cache: --uninstalled--
8. Dns: --uninstalled--
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
total used free shared buffers cached
Mem: 1893 1039 853 59 223 388
-/+ buffers/cache: 427 1466
Swap: 255 2 253
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 20G 9.9G 8.6G 54% /
-
Coba:
yum clean all
yum reinstall glibc glibc-common libgcc
yum upgrade
yum install yum-utils
package-cleanup --problems
package-cleanup --dupes
-
Pak, pas yum upgrade masih eror d ujungnya
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
--> Processing Conflict: mysql56u-libs-5.6.26-1.ius.el6.i686 conflicts mysql-libs < 5.6
--> Finished Dependency Resolution
Error: mysql56u-libs conflicts with mysql55-libs-5.5.45-1.ius.el6.i686
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
pdns-backend-mysql-3.3.1-101.mr.el6.i386 has missing requires of pdns = ('0', '3.3.1', '101.mr.el6')
tengine-2.1.0-3.mr.el6.i386 is a duplicate with tengine-2.1.0-2.mr.el6.i386
[root@property ~]#
-
Tambahkan 'exclude=mysql56*' pada /etc/yum.conf dan kemudian jalankan perintah sebelumnya.
-
Seperti inikah jadinya?
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
exclude=mysql56*
saat yum upgrade ujungnya:
86 0:5.5.44-2.ius.el6 will be updated
---> Package mysql55-libs.i686 0:5.5.44-2.ius.el6 will be updated
--> Processing Conflict: mysql55-libs-5.5.45-1.ius.el6.i686 conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: mysql55-libs conflicts with MariaDB-compat-10.0.21-1.el6.i686
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
pdns-backend-mysql-3.3.1-101.mr.el6.i386 has missing requires of pdns = ('0', '3.3.1', '101.mr.el6')
tengine-2.1.0-3.mr.el6.i386 is a duplicate with tengine-2.1.0-2.mr.el6.i386
[root@property ~]# nano /etc/yum.conf
-
Kloxo-MR anda adalah 6.5 yang di-update ke 7.0?. Jika benar, apakah sudah jalankan 'sh /script/upcp -y'?.
Jika bukan update dari Kloxo-MR 6.5, maka terjadi sesuatu yang aneh karena mestinya tidak terjadi dan yang dipakai adalah MariaDB (bukan MySQL 5.5).
-
Saya fresh install pak,
apakan masalah akan selesai jika saya jalankan 'sh /script/upcp -y' pak?
-
Ini aneh karena mestinya mysql5x termasuk yang di-exclude.
Coba infokan 'yum list mysql* MariaDB*; dir -l /etc/yum.repos.d'.
-
[root@property ~]# yum list mysql* MariaDB*; dir -l /etc/yum.repos.d
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
* base: mirrors.cat.pdx.edu
* extras: mirror.supremebytes.com
* mratwork-epel: ftp.osuosl.org
* mratwork-ius-stable: dl.iuscommunity.org
* updates: mirror.web-ster.com
0 packages excluded due to repository protections
Installed Packages
mysql55.i686 5.5.44-2.ius.el6 @mratwork-ius-stable
mysql55-libs.i686 5.5.44-2.ius.el6 @mratwork-ius-stable
mysql55-server.i686 5.5.44-2.ius.el6 @mratwork-ius-stable
mysqlclient16.i686 5.1.61-4.ius.el6 @mratwork-ius-stable
Available Packages
MariaDB-Galera-server.i686 10.0.20-1.el6 mratwork-mariadb-32
MariaDB-Galera-test.i686 10.0.20-1.el6 mratwork-mariadb-32
MariaDB-cassandra-engine.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-client.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-common.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-compat.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-connect-engine.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-devel.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-oqgraph-engine.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-server.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-shared.i686 10.0.21-1.el6 mratwork-mariadb-32
MariaDB-test.i686 10.0.21-1.el6 mratwork-mariadb-32
MySQL-python.i686 1.2.3-0.3.c1.1.el6 base
MySQL-zrm.noarch 3.0-6.el6 mratwork-epel
mysql.i686 5.1.73-5.el6_6 base
mysql++.i686 3.0.9-3.el6 mratwork-epel
mysql++-devel.i686 3.0.9-3.el6 mratwork-epel
mysql++-manuals.i686 3.0.9-3.el6 mratwork-epel
mysql-bench.i686 5.1.73-5.el6_6 base
mysql-connector-java.noarch 1:5.1.17-6.el6 base
mysql-connector-odbc.i686 5.1.5r1144-7.el6 base
mysql-connector-python.noarch 1.1.6-1.el6 mratwork-epel
mysql-devel.i686 5.1.73-5.el6_6 base
mysql-embedded.i686 5.1.73-5.el6_6 base
mysql-embedded-devel.i686 5.1.73-5.el6_6 base
mysql-libs.i686 5.1.73-5.el6_6 base
mysql-mmm.noarch 2.2.1-2.el6 mratwork-epel
mysql-mmm-agent.noarch 2.2.1-2.el6 mratwork-epel
mysql-mmm-monitor.noarch 2.2.1-2.el6 mratwork-epel
mysql-mmm-tools.noarch 2.2.1-2.el6 mratwork-epel
mysql-proxy.i686 0.8.5-1.el6 mratwork-epel
mysql-proxy-devel.i686 0.8.5-1.el6 mratwork-epel
mysql-server.i686 5.1.73-5.el6_6 base
mysql-test.i686 5.1.73-5.el6_6 base
mysql-utilities.noarch 1.3.6-1.el6 mratwork-epel
mysql55.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-bench.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-debuginfo.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-devel.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-embedded.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-embedded-devel.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-libs.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-server.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysql55-test.i686 5.5.45-1.ius.el6 mratwork-ius-stable
mysqlclient16-debuginfo.i686 5.1.61-4.ius.el6 mratwork-ius-stable
mysqlclient16-devel.i686 5.1.61-4.ius.el6 mratwork-ius-stable
mysqlreport.noarch 3.5-4.el6 mratwork-epel
mysqltuner.noarch 1.1.1-1.el6 mratwork-epel
total 44
-rw-r--r--. 1 root root 1991 Oct 23 2014 CentOS-Base.repo
-rw-r--r--. 1 root root 647 Oct 23 2014 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 289 Oct 23 2014 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 Oct 23 2014 CentOS-Media.repo
-rw-r--r--. 1 root root 5394 Oct 23 2014 CentOS-Vault.repo
-rw-r--r-- 1 root root 121 Nov 25 2014 mod-pagespeed.repo
-rw-r--r-- 1 root root 7880 Jul 15 14:37 mratwork.repo
-rw-r--r-- 1 root root 7414 Jul 2 02:05 mratwork.repo.rpmsave
[root@property ~]#
-
Apakah anda merubah agar MariaDB diganti dengan MySQL?.
Jika tetap ingin memakai mysql55 maka tambahkan 'exclude=MariaDB* mysql56* mysql-*'. Jika ingin pakai MariaDB, lakukan 'sh /script/mysql-to-mariadb'.
-
Ia pak, saya ingin MySQL aja lah
itu nambahinnya d manakah?
-
Tambahkan 'exclude=MariaDB* mysql56* mysql-*' di /etc/yum.conf.
-
masih nyangkut :(
end-mysql-3.3.3-101.mr.el6.i386 (mratwork-release-version-arch)
Requires: libmysqlclient.so.18(libmysqlclient_18)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
pdns-backend-mysql-3.3.1-101.mr.el6.i386 has missing requires of pdns = ('0', '3.3.1', '101.mr.el6')
tengine-2.1.0-3.mr.el6.i386 is a duplicate with tengine-2.1.0-2.mr.el6.i386
[root@property ~]#
ini file /etc/yum.conf bener gk pak?
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
exclude=MariaDB* mysql56* mysql-
-
Coba:
yum clean all
rpm --rebuilddb
yum update -y
yum clean all
yum reinstall glibc glibc-common libgcc -y
yum upgrade -y
yum install yum-utils -y
package-cleanup --problems
package-cleanup --dupes
-
pas update -y masih pak
--> Package kernel.i686 0:2.6.32-504.8.1.el6 will be erased
---> Package pdns-backend-mysql.i386 0:3.3.3-101.mr.el6 will be an update
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18) for package: pdns-backend-mysql-3.3.3-101.mr.el6.i386
--> Finished Dependency Resolution
Error: Package: pdns-backend-mysql-3.3.3-101.mr.el6.i386 (mratwork-release-version-arch)
Requires: libmysqlclient.so.18(libmysqlclient_18)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
pdns-backend-mysql-3.3.1-101.mr.el6.i386 has missing requires of pdns = ('0', '3.3.1', '101.mr.el6')
tengine-2.1.0-3.mr.el6.i386 is a duplicate with tengine-2.1.0-2.mr.el6.i386
[root@property ~]#
-
COba lakukan 'yum replace mysql55 --replace-with=mysql56u'.
-
[root@property ~]# yum replace mysql55 --replace-with=mysql56u
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Determining fastest mirrors
mratwork-epel/metalink | 11 kB 00:00
* base: mirrors.sonic.net
* extras: mirrors.xmission.com
* mratwork-epel: ftp.osuosl.org
* mratwork-ius-stable: dl.iuscommunity.org
* updates: mirror.hmc.edu
base | 3.7 kB 00:00
base/primary_db | 3.6 MB 00:03
extras | 3.4 kB 00:00
extras/primary_db | 26 kB 00:00
mod-pagespeed | 951 B 00:00
mod-pagespeed/primary | 1.8 kB 00:00
mod-pagespeed 5/5
mratwork-epel | 4.3 kB 00:00
mratwork-epel/primary_db | 4.9 MB 00:04
mratwork-ius-archive | 2.3 kB 00:00
mratwork-ius-archive/primary_db | 2.8 MB 00:02
mratwork-ius-stable | 2.2 kB 00:00
mratwork-ius-stable/primary_db | 182 kB 00:00
mratwork-mariadb-32 | 2.9 kB 00:00
mratwork-mariadb-32/primary_db | 21 kB 00:00
mratwork-mariadb-64 | 2.9 kB 00:00
mratwork-mariadb-64/primary_db | 22 kB 00:00
mratwork-nginx | 2.9 kB 00:00
mratwork-nginx/primary_db | 12 kB 00:00
mratwork-nginx-stable | 2.9 kB 00:00
mratwork-nginx-stable/primary_db | 6.8 kB 00:00
mratwork-release-neutral-noarch | 951 B 00:00
mratwork-release-neutral-noarch/primary | 63 kB 00:00
mratwork-release-neutral-noarch 208/208
mratwork-release-version-arch | 951 B 00:00
mratwork-release-version-arch/primary | 109 kB 00:00
mratwork-release-version-arch 277/277
mratwork-varnish-3.0 | 951 B 00:00
mratwork-varnish-3.0/primary | 5.4 kB 00:00
mratwork-varnish-3.0 20/20
updates | 3.4 kB 00:00
updates/primary_db | 1.3 MB 00:01
0 packages excluded due to repository protections
Error: No Package Matching mysql56u
pak masih :(
-
Coba kasih ke saya akses ssh dan Kloxo-MR panel. PM saja.
-
Pak jadi intingpya gk bsa pk tengine y?
-
Mestinya tidak ada masalah. Coba ubah nginx ke tengine pakai 'yum replace nginx --replace-with=tengine'.
-
[root@property ~]# yum replace nginx --replace-with=tengine
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Error: Package 'nginx' is not installed.
[root@property ~]#
.
Apa karena dulu pernah melakukan replace nginx jd tengine karena nginx proxy gk bisa jalanin ssl. Nah jd lancar ketika pk nginx proxy.
Tp kmrn ngonx proxy gk bisa jalanin ssl pak