MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Luis Carlos Eich on 2015-06-29, 16:11:03

Title: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:11:03
Hello!
performed the update (yum update), and now the apache not want to run. This is the sysinfo information

Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015062702
   - Web: hiawatha-9.13.0-f.6.mr.el6.i386
   - PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) i686
   - Hostname: ns1.informaticaitapiranga.com.br
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.i686
   2. PHP:
      - Branch: php54-cli-5.4.41-1.ius.el6.i686
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.29-2.mr.el6.i386
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.13.0-f.6.mr.el6.i386
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.i386
   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:          4017        573       3443          0         43        263
   -/+ buffers/cache:        265       3751
   Swap:         2015          0       2015
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_ns1-lv_root
                          37G  8,6G   27G  25% /

This is the message that appears when I try to run Apache

Code: [Select]
Starting httpd: no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

I've tried running the fix-web, fixweb-all, fixphp, and nothing resolved.
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 16:28:59
Try choose 'none' for all in 'switch programs' and then change to 'apache', 'none', 'nsd' and 'bogofilter'.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:37:09
not solved.
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 16:40:31
Try reboot.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:45:21
reboot, but not solved.
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 16:47:05
Inform here 'yum list installed httpd* mod*'.

Did you already add domain in panel?.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:48:40
Pacotes instalados
module-init-tools.i686                                                               3.9-24.el6                                                                @anaconda-CentOS-201410241409.i386/6.6


My server was functioning normally, I only update the Kloxo (yum update).
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 16:52:08
Inform here 'yum list installed httpd mod'.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:53:03
Code: [Select]
Error: Nenhum pacote correspondente a ser listado
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 16:55:37
Sorry, I mean 'yum list httpd* mod*'
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:56:11
Code: [Select]
Pacotes instalados
module-init-tools.i686                                                         3.9-24.el6                                                                      @anaconda-CentOS-201410241409.i386/6.6
Pacotes disponíveis
ModemManager.i686                                                              0.4.0-5.git20100628.el6                                                         base
httpd.i686                                                                     2.2.15-39.el6.centos                                                            base
httpd.i386                                                                     2.2.29-2.mr.el6                                                                 mratwork-release-version-arch
httpd-devel.i686                                                               2.2.15-39.el6.centos                                                            base
httpd-devel.i386                                                               2.2.29-2.mr.el6                                                                 mratwork-release-version-arch
httpd-itk.i686                                                                 2.2.22-7.el6                                                                    mratwork-epel
httpd-manual.noarch                                                            2.2.15-39.el6.centos                                                            base
httpd-manual.i386                                                              2.2.29-2.mr.el6                                                                 mratwork-release-version-arch
httpd-tools.i686                                                               2.2.15-39.el6.centos                                                            base
httpd-tools.i386                                                               2.2.29-2.mr.el6                                                                 mratwork-release-version-arch
httpd24u.i686                                                                  2.4.12-5.ius.el6                                                                mratwork-ius-stable
httpd24u-debuginfo.i686                                                        2.4.12-5.ius.el6                                                                mratwork-ius-stable
httpd24u-devel.i686                                                            2.4.12-5.ius.el6                                                                mratwork-ius-stable
httpd24u-filesystem.noarch                                                     2.4.12-5.ius.el6                                                                mratwork-ius-stable
httpd24u-manual.noarch                                                         2.4.12-5.ius.el6                                                                mratwork-ius-stable
httpd24u-tools.i686                                                            2.4.12-5.ius.el6                                                                mratwork-ius-stable
mod24u_ldap.i686                                                               2.4.12-5.ius.el6                                                                mratwork-ius-stable
mod24u_proxy_html.i686                                                         1:2.4.12-5.ius.el6                                                              mratwork-ius-stable
mod24u_ruid2.i386                                                              0.9.8-3.mr.el6                                                                  mratwork-release-version-arch
mod24u_session.i686                                                            2.4.12-5.ius.el6                                                                mratwork-ius-stable
mod24u_ssl.i686                                                                1:2.4.12-5.ius.el6                                                              mratwork-ius-stable
mod24u_suphp.i386                                                              0.7.2-3.mr.el6                                                                  mratwork-release-version-arch
mod_auth_cas.i686                                                              1.0.9.1-1.el6                                                                   mratwork-epel
mod_auth_kerb.i686                                                             5.4-13.el6                                                                      base
mod_auth_mellon.i686                                                           0.8.0-3.el6_6                                                                   updates
mod_auth_mysql.i686                                                            1:3.0.0-11.el6_0.1                                                              base
mod_auth_ntlm_winbind.i686                                                     0.0.0-0.10.20070129svn713.el6                                                   mratwork-epel
mod_auth_openid.i686                                                           0.7-2.el6                                                                       mratwork-epel
mod_auth_pgsql.i686                                                            2.0.3-10.1.el6                                                                  base
mod_auth_shadow.i686                                                           2.3-2.el6                                                                       mratwork-epel
mod_auth_token.i686                                                            1.0.5-2.el6                                                                     mratwork-epel
mod_auth_xradius.i686                                                          0.4.6-16.el6                                                                    mratwork-epel
mod_authnz_external.i686                                                       3.2.6-1.el6                                                                     mratwork-epel
mod_authnz_pam.i686                                                            0.9.2-1.el6                                                                     base
mod_authz_ldap.i686                                                            0.26-16.el6                                                                     base
mod_autoindex_mb.i686                                                          2.18.1-2.el6                                                                    mratwork-epel
mod_bw.i686                                                                    0.8-4.el6                                                                       mratwork-epel
mod_cluster.i686                                                               1.2.6-3.1.el6                                                                   mratwork-epel
mod_dav_svn.i686                                                               1.6.11-12.el6_6                                                                 updates
mod_define.i386                                                                2.2-3.mr.el6                                                                    mratwork-release-version-arch
mod_dnssd.i686                                                                 0.6-2.el6                                                                       base
mod_evasive.i686                                                               1.10.1-10.el6                                                                   mratwork-epel
mod_extract_forwarded.i686                                                     2.0.2-8.el6                                                                     mratwork-epel
mod_fastcgi.i386                                                               2.4.7-4.mr.el6                                                                  mratwork-release-version-arch
mod_fcgid.i686                                                                 2.3.9-1.el6                                                                     mratwork-epel
mod_fcgid.i386                                                                 2.3.9-1.mr.el6                                                                  mratwork-release-version-arch
mod_flvx.i686                                                                  0-0.1.20100525git.el6                                                           mratwork-epel
mod_form.i686                                                                  0.1-1.20131204svn145.el6                                                        mratwork-epel
mod_form-devel.i686                                                            0.1-1.20131204svn145.el6                                                        mratwork-epel
mod_geoip.i686                                                                 1.2.10-1.el6                                                                    mratwork-epel
mod_intercept_form_submit.i686                                                 0.9.7-1.el6                                                                     base
mod_limitipconn.i686                                                           0.23-3.el6                                                                      mratwork-epel
mod_log_post.i686                                                              0.1.0-2.el6                                                                     mratwork-epel
mod_lookup_identity.i686                                                       0.9.2-1.el6                                                                     base
mod_macro.i386                                                                 1.1.11-3.mr.el6                                                                 mratwork-release-version-arch
mod_mirrorbrain.i686                                                           2.18.1-2.el6                                                                    mratwork-epel
mod_nss.i686                                                                   1.0.8-21.el6                                                                    base
mod_passenger.i686                                                             3.0.21-11.el6                                                                   mratwork-epel
mod_perl.i686                                                                  2.0.4-11.el6_5                                                                  base
mod_perl-devel.i686                                                            2.0.4-11.el6_5                                                                  base
mod_process_security.i386                                                      1.0-2.mr.el6                                                                    mratwork-release-version-arch
mod_proxy_fcgi.i686                                                            2.4.10-1.20150415gitd45a11f.el6                                                 mratwork-epel
mod_proxy_html.i686                                                            3.1.2-6.el6                                                                     mratwork-epel
mod_proxy_uwsgi.i686                                                           2.0.9-7.el6                                                                     mratwork-epel
mod_python.i686                                                                3.3.1-16.el6                                                                    mratwork-epel
mod_qos.i686                                                                   10.24-1.el6                                                                     mratwork-epel
mod_revocator.i686                                                             1.0.3-10.el6                                                                    base
mod_rpaf.i686                                                                  0.6-4.mr.el6                                                                    mratwork-release-version-arch
mod_ruid2.i686                                                                 0.9.8-2.el6                                                                     mratwork-epel
mod_ruid2.i386                                                                 0.9.8-3.mr.el6                                                                  mratwork-release-version-arch
mod_security.i686                                                              2.7.5-1.mr.el6                                                                  mratwork-release-version-arch
mod_security_crs.noarch                                                        2.2.6-3.el6                                                                     mratwork-epel
mod_security_crs-extras.noarch                                                 2.2.6-3.el6                                                                     mratwork-epel
mod_speedycgi.i686                                                             2.22-8.el6                                                                      mratwork-epel
mod_ssl.i686                                                                   1:2.2.15-39.el6.centos                                                          base
mod_ssl.i386                                                                   1:2.2.29-2.mr.el6                                                               mratwork-release-version-arch
mod_suphp.i386                                                                 0.7.2-3.mr.el6                                                                  mratwork-release-version-arch
mod_wsgi.i686                                                                  3.2-7.el6                                                                       base
mod_xsendfile.i686                                                             0.12-3.el6                                                                      mratwork-epel
modcluster.i686                                                                0.16.2-29.el6                                                                   base
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 16:58:30
Now I switched to 'none' for all in 'switch programs' and restarted the server, but not the admin does not open anymore.
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 17:02:24
Look like httpd not installed. Inform here 'dir -l /etc/yum.repos.d'.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 17:03:47
Code: [Select]
-rw-r--r--. 1 root root 1991 Out 23  2014 CentOS-Base.repo
-rw-r--r--. 1 root root  647 Out 23  2014 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  289 Out 23  2014 CentOS-fasttrack.repo
-rw-r--r--. 1 root root  630 Out 23  2014 CentOS-Media.repo
-rw-r--r--. 1 root root 5394 Out 23  2014 CentOS-Vault.repo
-rw-r--r--  1 root root 7904 Jun 18 12:30 mratwork.repo
-rw-r--r--. 1 root root 7414 Mai 20 11:35 mratwork.repo.rpmsave
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 17:09:05
Try 'yum install httpd httpd-tools mod_ssl mod_rpaf mod_ruid2 mod_suphp mod_fastcgi mod_fcgid mod_define mod_perl -y'.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 17:21:55
the panel is now open, but the bind does not work, and neither apache.
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 17:48:10
I think you need reinstall with 'sh /script/upcp -y'. Before reinstall, try:
Code: [Select]
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
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 18:20:06
I performed all the steps, but the problem persists.
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 18:38:20
What's about if you choose nginx?. Also not work?.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 18:43:20
It does not work
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 18:45:32
I think something with your server. Try using diferent OS template for your VPS.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 18:48:20
I will reinstall the system on another machine, and restore the backup generated by Kloxo.

 :'( :'( :'(
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 19:15:45
Better using CentOS 6 64bit if you have 1GB RAM or more.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 19:28:04
if I restore the backup, will re-create all domains, emails, and everything?
Title: Re: Apache
Post by: MRatWork on 2015-06-29, 19:33:12
No re-create if you have restore your backup to server. Just need small adjustment (like IP adjustment if restore from different server).
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-29, 23:36:04
I reinstalled the whole system, and now do not show the network interfaces. the Kloxo does not present any network interface. I found this in the previous machine, which gave the whole problem, and the interfaces are not displayed. How do I proceed?
Title: Re: Apache
Post by: MRatWork on 2015-06-30, 05:16:10
Inform here 'ifconfig; dir -l /etc/sysconfig/network-scripts'.
Title: Re: Apache
Post by: Luis Carlos Eich on 2015-06-30, 05:37:00
Code: [Select]
eth0      Link encap:Ethernet  Endereço de HW 08:00:27:6C:53:2E
          inet end.: 177.125.244.35  Bcast:177.125.244.47  Masc:255.255.255.240
          endereço inet6: fe80::a00:27ff:fe6c:532e/64 Escopo:Link
          UP BROADCASTRUNNING MULTICAST  MTU:1500  Métrica:1
          RX packets:11123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10117 errors:0 dropped:0 overruns:0 carrier:0
          colisões:0 txqueuelen:1000
          RX bytes:1004067 (980.5 KiB)  TX bytes:1181125 (1.1 MiB)

eth1      Link encap:Ethernet  Endereço de HW 08:00:27:17:B1:1B
          inet end.: 177.125.244.36  Bcast:177.125.244.47  Masc:255.255.255.240
          endereço inet6: fe80::a00:27ff:fe17:b11b/64 Escopo:Link
          UP BROADCASTRUNNING MULTICAST  MTU:1500  Métrica:1
          RX packets:522 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          colisões:0 txqueuelen:1000
          RX bytes:47541 (46.4 KiB)  TX bytes:746 (746.0 b)

lo        Link encap:Loopback Local
          inet end.: 127.0.0.1  Masc:255.0.0.0
          endereço inet6: ::1/128 Escopo:Máquina
          UP LOOPBACKRUNNING  MTU:65536  Métrica:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          colisões:0 txqueuelen:0
          RX bytes:528 (528.0 b)  TX bytes:528 (528.0 b)

Code: [Select]
total 208
-rw-r--r--. 3 root root   312 Jun 29 18:50 ifcfg-eth0
-rw-r--r--. 3 root root   261 Jun 29 18:50 ifcfg-eth1
-rw-r--r--. 1 root root   254 Jul 22  2014 ifcfg-lo
lrwxrwxrwx. 1 root root    20 Mai 20 11:06 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x. 1 root root   627 Jul 22  2014 ifdown-bnep
-rwxr-xr-x. 1 root root  5511 Jul 22  2014 ifdown-eth
-rwxr-xr-x. 1 root root   781 Jul 22  2014 ifdown-ippp
-rwxr-xr-x. 1 root root  4168 Jul 22  2014 ifdown-ipv6
lrwxrwxrwx. 1 root root    11 Mai 20 11:06 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x. 1 root root  1481 Jul 22  2014 ifdown-post
-rwxr-xr-x. 1 root root  1064 Jul 22  2014 ifdown-ppp
-rwxr-xr-x. 1 root root   835 Jul 22  2014 ifdown-routes
-rwxr-xr-x. 1 root root  1465 Jul 22  2014 ifdown-sit
-rwxr-xr-x. 1 root root  1434 Jul 22  2014 ifdown-tunnel
lrwxrwxrwx. 1 root root    18 Mai 20 11:06 ifup -> ../../../sbin/ifup
-rwxr-xr-x. 1 root root 12532 Jul 22  2014 ifup-aliases
-rwxr-xr-x. 1 root root   859 Jul 22  2014 ifup-bnep
-rwxr-xr-x. 1 root root 10948 Nov  4  2014 ifup-eth
-rwxr-xr-x. 1 root root 11971 Jul 22  2014 ifup-ippp
-rwxr-xr-x. 1 root root 10490 Jul 22  2014 ifup-ipv6
lrwxrwxrwx. 1 root root     9 Mai 20 11:06 ifup-isdn -> ifup-ippp
-rwxr-xr-x. 1 root root   727 Jul 22  2014 ifup-plip
-rwxr-xr-x. 1 root root   954 Jul 22  2014 ifup-plusb
-rwxr-xr-x. 1 root root  2364 Jul 22  2014 ifup-post
-rwxr-xr-x. 1 root root  4154 Jul 22  2014 ifup-ppp
-rwxr-xr-x. 1 root root  1925 Jul 22  2014 ifup-routes
-rwxr-xr-x. 1 root root  3289 Jul 22  2014 ifup-sit
-rwxr-xr-x. 1 root root  2563 Jul 22  2014 ifup-tunnel
-rwxr-xr-x. 1 root root  3951 Jul 22  2014 ifup-wireless
-rwxr-xr-x. 1 root root  4623 Jul 22  2014 init.ipv6-global
-rwxr-xr-x. 1 root root  1219 Jul 22  2014 net.hotplug
-rw-r--r--. 1 root root 14426 Jul 22  2014 network-functions
-rw-r--r--. 1 root root 29853 Jul 22  2014 network-functions-ipv6
Title: Re: Apache
Post by: MRatWork on 2015-06-30, 05:47:44
Nothing wrong with ifconfig but using dual nic may make a trouble.