MRatWork Forum by Mustafa Ramadhan
Language Specific Discussions => Indonesia Users => Topic started by: ar1246 on 2015-09-28, 04:51:55
-
Pak ini knapa yah?
ketika jalanin fixweb:
[root@property ~]# sh /script/fixweb
- For help, type '/script/fixweb [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing Web server config
- 'defaults' pages at 'localhost'
- remove all domains configs at 'localhost'
- 'mtsaliqnacisaga.sch.id' ('aliqna') at 'localhost'
sh: httpd: command not found
sh: httpd: command not found
- 'ppdb.mtsaliqnacisaga.sch.id' ('aliqna') at 'localhost'
sh: httpd: command not found
- 'arif.awalud.in' ('arif') at 'localhost'
sh: httpd: command not found
- 'awalud.in' ('arif') at 'localhost'
sh: httpd: command not found
saya jalanin upcp adayg salah ketika fixweb:
Fix services
- Fix dns services
- Fix webcache services
- Fix web services
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
sh: httpd: command not found
- Fix php services
-
Coba 'yum reinstall httpd* -y'.
-
Works well pa. Eror ablumnya ilang. Tp ada yg baru:
Last login: Sun Sep 27 21:35:53 2015 from 61.94.201.152
[root@property ~]# sh /script/restart-web -y
Stopping php-fpm: [ OK ]
pkill to make sure stopped
Starting php-fpm: [ OK ]
-------------------------------------------------------------------
/script/restart.inc: /etc/init.d/httpd: /bin/bash^M: bad interpreter: No such file or directory
-------------------------------------------------------------------
- For help, type '/script/restart-web [--help|-h]'
[root@property ~]#
[root@property ~]#
Knapa lg yah
-
Coba lakukan fixweb atau cleanup.
-
Masih pak :(
-
COba reboot.
-
Sudah pak, masih
Reboot, cleanup, fix all, restart-all -y, upcp
Tp masih :(
-
Pa saya menemukan maslah ini lagi.
kan masalahnya sh: httpd: command not found
ada yg aneh d bagian bawah
[root@property ~]# yum reinstall httpd* -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Reinstall Process
No Match for argument: httpd*
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: centos.sonn.com
* mratwork-epel: mirrors.cat.pdx.edu
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-webtatic: us-east.repo.webtatic.com
* updates: centos.sonn.com
0 packages excluded due to repository protections
Package(s) httpd* available, but not installed.
Error: Nothing to do
[root@property ~]# yum reinstall httpd* -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Reinstall Process
No Match for argument: httpd*
Loading mirror speeds from cached hostfile
* base: centos.sonn.com
* extras: centos.sonn.com
* mratwork-epel: mirrors.cat.pdx.edu
* mratwork-ius-stable: ord.mirror.rackspace.com
* mratwork-webtatic: us-east.repo.webtatic.com
* updates: centos.sonn.com
0 packages excluded due to repository protections
Package(s) httpd* available, but not installed.
Error: Nothing to do
[root@property ~]# yum clean all
Loaded plugins: fastestmirror, priorities, protectbase, replace
Cleaning repos: base extras mod-pagespeed mratwork-epel mratwork-ius-archive mratwork-ius-stable mratwork-mariadb-32 mratwork-mariadb-64 mratwork-nginx mratwork-nginx-stable
: mratwork-release-neutral-noarch mratwork-release-version-arch mratwork-varnish-3.0 mratwork-webtatic updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@property ~]# yum install httpd* -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Install Process
Determining fastest mirrors
mratwork-epel/metalink | 12 kB 00:00
* base: mirror.tocici.com
* extras: mirror.tocici.com
* mratwork-epel: mirrors.cat.pdx.edu
* mratwork-ius-stable: dl.iuscommunity.org
* mratwork-webtatic: us-east.repo.webtatic.com
* updates: mirror.tocici.com
base | 3.7 kB 00:00
base/primary_db | 3.6 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 30 kB 00:00
mod-pagespeed | 951 B 00:00
mod-pagespeed/primary | 2.5 kB 00:00
mod-pagespeed 12/12
mratwork-epel | 4.3 kB 00:00
mratwork-epel/primary_db | 4.9 MB 00:00
mratwork-ius-archive | 2.3 kB 00:00
mratwork-ius-archive/primary_db | 3.0 MB 00:00
mratwork-ius-stable | 2.2 kB 00:00
mratwork-ius-stable/primary_db | 160 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 | 17 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 | 69 kB 00:00
mratwork-release-neutral-noarch 235/235
mratwork-release-version-arch | 951 B 00:00
mratwork-release-version-arch/primary | 113 kB 00:00
mratwork-release-version-arch 286/286
mratwork-varnish-3.0 | 951 B 00:00
mratwork-varnish-3.0/primary | 5.4 kB 00:00
mratwork-varnish-3.0 20/20
mratwork-webtatic | 3.6 kB 00:00
mratwork-webtatic/primary_db | 172 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.1 MB 00:01
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-devel.i386 0:2.2.31-1.mr.el6 will be installed
--> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.31-1.mr.el6.i386
--> Processing Dependency: apr-devel for package: httpd-devel-2.2.31-1.mr.el6.i386
---> Package httpd-itk.i686 0:2.2.22-7.el6 will be installed
---> Package httpd-manual.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-tools.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd24.i686 0:1-6.mr.el6 will be installed
---> Package httpd24-apr.i686 0:1.5.2-1.mr.el6 will be installed
---> Package httpd24-apr-devel.i686 0:1.5.2-1.mr.el6 will be installed
---> Package httpd24-apr-util.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-devel.i686 0:1.5.4-1.mr.el6 will be installed
--> Processing Dependency: openldap-devel(x86-32) for package: httpd24-apr-util-devel-1.5.4-1.mr.el6.i686
--> Processing Dependency: expat-devel(x86-32) for package: httpd24-apr-util-devel-1.5.4-1.mr.el6.i686
---> Package httpd24-apr-util-ldap.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-mysql.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-nss.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-odbc.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-openssl.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-pgsql.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-apr-util-sqlite.i686 0:1.5.4-1.mr.el6 will be installed
---> Package httpd24-build.i686 0:1-6.mr.el6 will be installed
--> Processing Dependency: scl-utils-build for package: httpd24-build-1-6.mr.el6.i686
---> Package httpd24-httpd.i686 0:2.4.16-1.mr.el6 will be installed
--> Processing Dependency: policycoreutils-python for package: httpd24-httpd-2.4.16-1.mr.el6.i686
---> Package httpd24-httpd-devel.i686 0:2.4.16-1.mr.el6 will be installed
---> Package httpd24-httpd-tools.i686 0:2.4.16-1.mr.el6 will be installed
---> Package httpd24-mod_auth_kerb.i686 0:5.4-30.mr.el6 will be installed
---> Package httpd24-mod_fcgid.i686 0:2.3.9-1.el6.cloudlinux will be installed
---> Package httpd24-mod_hostinglimits.i686 0:1.0-21.el6.cloudlinux will be installed
---> Package httpd24-mod_ldap.i686 0:2.4.16-1.mr.el6 will be installed
---> Package httpd24-mod_proxy_html.i686 1:2.4.16-1.mr.el6 will be installed
---> Package httpd24-mod_session.i686 0:2.4.16-1.mr.el6 will be installed
---> Package httpd24-mod_ssl.i686 1:2.4.16-1.mr.el6 will be installed
---> Package httpd24-mod_suphp.i686 0:0.7.2-3.el6.cloudlinux will be installed
--> Processing Dependency: php for package: httpd24-mod_suphp-0.7.2-3.el6.cloudlinux.i686
---> Package httpd24-runtime.i686 0:1-6.mr.el6 will be installed
--> Processing Dependency: scl-utils for package: httpd24-runtime-1-6.mr.el6.i686
---> Package httpd24u.i686 0:2.4.17-1.ius.el6 will be installed
---> Package httpd24u-debuginfo.i686 0:2.4.17-1.ius.el6 will be installed
---> Package httpd24u-devel.i686 0:2.4.17-1.ius.el6 will be installed
--> Processing Dependency: apr15u-util-devel >= 1.5.0 for package: httpd24u-devel-2.4.17-1.ius.el6.i686
--> Processing Dependency: apr15u-devel >= 1.5.0 for package: httpd24u-devel-2.4.17-1.ius.el6.i686
---> Package httpd24u-filesystem.noarch 0:2.4.17-1.ius.el6 will be installed
---> Package httpd24u-manual.noarch 0:2.4.17-1.ius.el6 will be installed
---> Package httpd24u-tools.i686 0:2.4.17-1.ius.el6 will be installed
--> Running transaction check
---> Package apr-devel.i386 0:1.5.2-1.mr.el6 will be installed
---> Package apr-util-devel.i386 0:1.5.4-1.mr.el6 will be installed
---> Package apr15u-devel.i686 0:1.5.2-1.ius.el6 will be installed
---> Package apr15u-util-devel.i686 0:1.5.4-3.ius.el6 will be installed
---> Package expat-devel.i686 0:2.0.1-11.el6_2 will be installed
---> Package openldap-devel.i686 0:2.4.40-7.el6_7 will be installed
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel-2.4.40-7.el6_7.i686
---> Package php56u.i686 0:5.6.16-1.ius.el6 will be installed
--> Processing Dependency: php56u-common(x86-32) = 5.6.16-1.ius.el6 for package: php56u-5.6.16-1.ius.el6.i686
--> Processing Dependency: php56u-cli(x86-32) = 5.6.16-1.ius.el6 for package: php56u-5.6.16-1.ius.el6.i686
---> Package policycoreutils-python.i686 0:2.0.83-24.el6 will be installed
--> Processing Dependency: libsemanage-python >= 2.0.43-4 for package: policycoreutils-python-2.0.83-24.el6.i686
--> Processing Dependency: audit-libs-python >= 1.4.2-1 for package: policycoreutils-python-2.0.83-24.el6.i686
--> Processing Dependency: setools-libs-python for package: policycoreutils-python-2.0.83-24.el6.i686
--> Processing Dependency: libselinux-python for package: policycoreutils-python-2.0.83-24.el6.i686
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.0.83-24.el6.i686
---> Package scl-utils.i686 0:20120927-27.el6_6 will be installed
---> Package scl-utils-build.i686 0:20120927-27.el6_6 will be installed
--> Processing Dependency: iso-codes for package: scl-utils-build-20120927-27.el6_6.i686
--> Running transaction check
---> Package audit-libs-python.i686 0:2.3.7-5.el6 will be installed
---> Package cyrus-sasl-devel.i686 0:2.1.23-15.el6_6.2 will be installed
---> Package iso-codes.noarch 0:3.16-2.el6 will be installed
--> Processing Dependency: xml-common for package: iso-codes-3.16-2.el6.noarch
---> Package libcgroup.i686 0:0.40.rc1-16.el6 will be installed
---> Package libselinux-python.i686 0:2.0.94-5.8.el6 will be installed
---> Package libsemanage-python.i686 0:2.0.43-5.1.el6 will be installed
---> Package php56u-cli.i686 0:5.6.16-1.ius.el6 will be installed
---> Package php56u-common.i686 0:5.6.16-1.ius.el6 will be installed
--> Processing Dependency: php56u-pecl-jsonc(x86-32) for package: php56u-common-5.6.16-1.ius.el6.i686
---> Package setools-libs-python.i686 0:3.3.7-4.el6 will be installed
--> Processing Dependency: setools-libs = 3.3.7-4.el6 for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libsefs.so.4(VERS_4.0) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libsefs.so.4 for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libseaudit.so.4(VERS_4.2) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libseaudit.so.4(VERS_4.1) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libseaudit.so.4 for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libqpol.so.1(VERS_1.4) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libqpol.so.1(VERS_1.3) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libqpol.so.1(VERS_1.2) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libqpol.so.1 for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libpoldiff.so.1(VERS_1.3) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libpoldiff.so.1(VERS_1.2) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libpoldiff.so.1 for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libapol.so.4(VERS_4.1) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libapol.so.4(VERS_4.0) for package: setools-libs-python-3.3.7-4.el6.i686
--> Processing Dependency: libapol.so.4 for package: setools-libs-python-3.3.7-4.el6.i686
--> Running transaction check
---> Package php56u-pecl-jsonc.i686 0:1.3.9-1.ius.el6 will be installed
--> Processing Dependency: php56u-pear for package: php56u-pecl-jsonc-1.3.9-1.ius.el6.i686
--> Processing Dependency: php56u-pear for package: php56u-pecl-jsonc-1.3.9-1.ius.el6.i686
---> Package setools-libs.i686 0:3.3.7-4.el6 will be installed
---> Package xml-common.noarch 0:0.6.3-33.el6 will be installed
--> Running transaction check
---> Package php56u-pear.noarch 1:1.10.1-1.ius.el6 will be installed
--> Processing Dependency: php56u-xml for package: 1:php56u-pear-1.10.1-1.ius.el6.noarch
--> Processing Dependency: php56u-posix for package: 1:php56u-pear-1.10.1-1.ius.el6.noarch
--> Running transaction check
---> Package php56u-process.i686 0:5.6.16-1.ius.el6 will be installed
---> Package php56u-xml.i686 0:5.6.16-1.ius.el6 will be installed
--> Processing Conflict: php56u-xml-5.6.16-1.ius.el6.i686 conflicts php-xml < 5.6
--> Processing Conflict: httpd24u-devel-2.4.17-1.ius.el6.i686 conflicts httpd-devel < 2.4.17
--> Processing Conflict: httpd24u-2.4.17-1.ius.el6.i686 conflicts httpd < 2.4.17
--> Processing Conflict: php56u-process-5.6.16-1.ius.el6.i686 conflicts php-process < 5.6
--> Processing Conflict: php56u-common-5.6.16-1.ius.el6.i686 conflicts php-common < 5.6
--> Processing Conflict: php56u-cli-5.6.16-1.ius.el6.i686 conflicts php-cli < 5.6
--> Processing Conflict: httpd24u-manual-2.4.17-1.ius.el6.noarch conflicts httpd-manual < 2.4.17
--> Processing Conflict: httpd24u-tools-2.4.17-1.ius.el6.i686 conflicts httpd-tools < 2.4.17
--> Finished Dependency Resolution
Error: php56u-process conflicts with php54-process-5.4.45-1.ius.el6.i686
Error: php56u-cli conflicts with php54-cli-5.4.45-1.ius.el6.i686
Error: httpd24u conflicts with httpd-2.2.31-1.mr.el6.i386
Error: php56u-xml conflicts with php54-xml-5.4.45-1.ius.el6.i686
Error: php56u-common conflicts with php54-common-5.4.45-1.ius.el6.i686
Error: httpd24u-devel conflicts with httpd-devel-2.2.31-1.mr.el6.i386
Error: httpd24u-manual conflicts with httpd-manual-2.2.31-1.mr.el6.i386
Error: httpd24u-tools conflicts with httpd-tools-2.2.31-1.mr.el6.i386
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
tengine-2.1.0-2.mr.el6.i386 has missing requires of nginx-filesystem
apa karena banyak konflik?
web yang jalan cuma apache murni aja
-
Coba pilih 'nginx' dan kemudian kembalikan ke 'apache' untuk web di 'switch programs'.
-
Tetep gk mau pak,
Pokonya web jalan hanya ketika pake apache saja,
sudah saya coba switch ke none semua, kemudian switch ke nginx. "fix web" dan "restart -y" gk mau.
kalo saya coba re install nginx katanya ada tangine nya, konflik, saya remove gk bisa, begitupun ketika install tangine, katanya harus ada file system nginx. mereka kaya yg saling tuduh, mati enggan hidup tak mau.
begitupun ketika pilih hiawatha maupun proxy.
tapi ketika pilih apache mah, setelah fixweb dan restart langsung lancar webnya.
[root@property ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2015122501
- Web: hiawatha-10.0.0-f.6.mr.el6.i686
- PHP: php54s-5.4.44-1.ius.el6 (cgi mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) i686
- Hostname: property.arif.awalud.in
C. Services:
1. MySQL: MariaDB-server-10.0.23-1.el6.i686
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.i686
- Multiple:
* php52m-5.2.17-102.mr.el6
* php53m-5.3.29-1.ius.el6
* php54m-5.4.44-1.ius.el6
* php55m-5.5.28-1.ius.el6
* php56m-5.6.11-1.ius.el6
- Used: --Use PHP Branch--
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-2.mr.el6.i386
7. Cache: --uninstalled--
8. Dns: nsd-4.1.7-1.mr.el6.i686
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 1139 754 28 126 611
-/+ buffers/cache: 400 1492
Swap: 255 0 255
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 20G 12G 7.0G 63% /
*** Process Time: 00:00:00:04.4185 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
[root@property ~]#
-
Anda remove dulu tengine dengan 'yum remove tengine* -y' baru kemudian anda install nginx.
-
[root@property ~]# yum remove tengine* -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package tengine.i386 0:2.1.0-2.mr.el6 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Removing:
tengine i386 2.1.0-2.mr.el6 installed 1.7 M
Transaction Summary
==================================================================================================================================================================================
Remove 1 Package(s)
Installed size: 1.7 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
error reading information on service nginx: No such file or directory
/var/tmp/rpm-tmp.fyaaDu: line 4: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.fyaaDu: line 4: `fi'
error: %preun(tengine-2.1.0-2.mr.el6.i386) scriptlet failed, exit status 2
Error in PREUN scriptlet in rpm package tengine
tengine-2.1.0-2.mr.el6.i386 was supposed to be removed but is not!
Verifying : tengine-2.1.0-2.mr.el6.i386 1/1
Failed:
tengine.i386 0:2.1.0-2.mr.el6
Complete!
[root@property ~]#
nah pak, kalo remove jawabnya ky gt. :(
-
Coba remove tengine dengan 'rpm -e tengine --noscripts'.
-
Coba remove tengine dengan 'rpm -e tengine --noscripts'.
Waaah, saya 'rpm -e tengine --noscripts' dan kemudian saya install nginx.
skarang works well pak
Pake ssl di nginx proxy juga lancar jaya