Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 05:48:06

Author Topic: Problems with installing  (Read 16075 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #15 on: 2014-01-25, 15:55:50 »
Can you give what's information from 'sh /script/sysinfo; sh /script/fix-all; sh /script/restart-all'.

You can save information to will like 'sh /script/sysinfo > /tmp/sysinfo.txt'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #16 on: 2014-01-25, 16:47:17 »
Here is, sysinfo is in attachment.
sh /script/fix-all
Code: [Select]


- For help, type '/script/fixdns --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing DNS server config

- For help, type '/script/fixphp --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing php.ini

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config

- For help, type '/script/fixftpuser --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing FTP User

Change qmail.init
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
--------------------------
--------------------------

- For help, type '/script/fixmail --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Mail accounts (also 'lists' if exists)
--------------------------
Horde webmail no exists
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort
Process Time: 00:00:00:03.3770 (dd:hh:mm:ss:xxxxxx)


sh /script/restart-all
Code: [Select]
Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
zone enisin.com/IN: NS 'pv1.domin.com' has no address records (A or AAAA)
zone enisin.com/IN: NS 'pv2.domain.com' has no address records (A or AAAA)
zone enisin.com/IN: not loaded due to errors.
_default/enisin.com/IN: bad zone
zone shopstyleicon.com/IN: loaded serial 2014012301
                                                           [FAILED]
Stopping httpd:                                            [  OK  ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using x.x.x.x for ServerName
                                                           [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #17 on: 2014-01-26, 08:29:22 »
There are still wrong in 'named' and 'httpd'.

For 'named', check your domain dns in intodns.com. For httpd, inform here 'hostname -f; hostname -s; cat /etc/hosts'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #18 on: 2014-01-26, 12:42:12 »
I check on intodns and i get only error

SOA Serial Your SOA serial number is: 2014231755. This can be ok if you know what you are doing.

For httpd:
Code: [Select]
# hostname -f; hostname -s; cat /etc/hosts
Enisin-2
Enisin-2
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
### begin - add by Kloxo-MR
x.x.x.x Enisin-2 Enisin-2
### end - add by Kloxo-MR
« Last Edit: 2014-01-26, 12:57:29 by XManager »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #19 on: 2014-01-26, 13:00:09 »
Your hostname is wrong. It's must in FQDN (full qualified domain name) like 'server.domain.com' instead 'server'. Use hostname based on your primary/main domain.

So, change hostname in your VPS panel, reboot your VPS and then running 'sh /script/cleanup'.

Also read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/%28tip%29-how-to-setup-qmail-on-kloxo-mr/
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #20 on: 2014-01-26, 13:15:15 »
sh /script/cleanup why is mysql doesnt want to start

I run hostname now its

Code: [Select]
Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
*** Restart services - END ***


Code: [Select]

Fixing Web server config
[root@server ~]# sh /script/convert-to-qmailtoaster

Mail server already use qmail-toaster

[root@server ~]# Mysql password reset
-bash: Mysql: command not found
[root@server ~]# sh /script/fix-chownchmod; sh /script/fixmail-all

- For help, type '/script/fix-chownchmod --help'
- No argument supplied. Defaulting to all

Fixing Chown and Chmod

Change qmail.init
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
--------------------------
--------------------------

- For help, type '/script/fixmail --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Mail accounts (also 'lists' if exists)
--------------------------
Horde webmail no exists
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #21 on: 2014-01-26, 13:28:58 »
So, something wrong with your mysql.

Inform here /etc/my.sql and attach your /var/log/mysql.log. If mysql.log so big, just enough 10 lines of content of mysql.log.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #22 on: 2014-01-26, 13:36:32 »

[root@server ~]# cat  /etc/my.sql
cat: /etc/my.sql: No such file or directory
[root@server ~]# cat /etc/my.sql
cat: /etc/my.sql: No such file or directory
[root@server ~]# cat /var/log/mysql.log
cat: /var/log/mysql.log: No such file or directory
[root@server ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #23 on: 2014-01-26, 13:40:13 »
Sorry, I mean /etc/my.cnf and /var/log/mysqld.log
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #24 on: 2014-01-26, 14:13:02 »
Code: [Select]
# cat /etc/my.cnf
[mysqld]
#OpenVZ AIO bug fix
innodb_use_native_aio=0
# Settings user and group are ignored when systemd is used (fedora >= 15).
# If you need to run mysqld under different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
user=mysql

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

# Semisynchronous Replication
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
# uncomment next line on MASTER
;plugin-load=rpl_semi_sync_master=semisync_master.so
# uncomment next line on SLAVE
;plugin-load=rpl_semi_sync_slave=semisync_slave.so

# Others options for Semisynchronous Replication
;rpl_semi_sync_master_enabled=1
;rpl_semi_sync_master_timeout=10
;rpl_semi_sync_slave_enabled=1

# http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html
;performance_schema


[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


Log in attachment.



Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #25 on: 2014-01-26, 14:16:05 »
Sorry wrong log.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #26 on: 2014-01-26, 14:17:55 »
Try add 'innodb_force_recovery = 2' under '[mysqld]' and try restart. If mysql running after restart that mean your certain database(s) are corrupt where this certain database(s) using innodb as storage-engine.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #27 on: 2014-01-26, 14:24:34 »
# service mysqld restart
Stopping mysqld:                                           [  OK  ]
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with installing
« Reply #28 on: 2014-01-26, 14:25:37 »
Try change 'innodb_force_recovery = 2' to 'innodb_force_recovery = 4'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline XManager

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Problems with installing
« Reply #29 on: 2014-01-26, 14:27:35 »
Again.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.089 seconds with 18 queries.

web stats analysis