Zarafa mail Server

About Zarafa appliance or Zarafa managed by Artica

Zarafa mail Server

New postby zetar » Tue Apr 29, 2014 10:45 am

Hello.
Since this morning the server does not work attached the screenshot of the problem and restart the various manuals I've done, but to no avail ..
What can 'be successful.
Thank you for your help.

root@xxxxxxxx:~# /etc/init.d/zarafa-server restart Stopping......: 12:39:59[INIT]: zarafa-server already stopped...
Starting......: 12:39:59 [INIT]: zarafa-server reconfiguring
Starting......: 12:40:00 [INIT]: zarafa-server Engine OpenLDAP server is running...
Starting......: 12:40:00 [INIT]: zarafa-server Engine Failed, Zarafa Database is not running
Starting......: 12:40:00 [INIT]: zarafa-server Engine reconfigure...
Starting zarafa..............: Zarafa-server major version :7 minor version :1
Starting zarafa..............: Zarafa-server user safe mode:no
Starting zarafa..............: Zarafa-server store attachments in "/var/lib/zarafa"
Starting zarafa..............:Starting zarafa..............: MAJOR:7, MINOR:1, REV:7
Starting zarafa..............: 7.1.3 version or above...
Starting zarafa..............: LDAP config done (exec.zarafa.build.stores.php)
Zarafa-server NTLM Mode is disabled
Starting zarafa..............: Zarafa-server Using the Dedicate MySQL service using Unix socket
Starting zarafa..............: Zarafa-server plugin path: /usr/lib/zarafa
Starting zarafa..............: 7.1 Adding plugins configuration in dAgent
Starting zarafa..............: /etc/zarafa/dagent.cfg done...
Starting......: 12:40:01 [INIT]: Starting zarafa-server daemon
Starting......: 12:40:02 [INIT]: zarafa-server daemon wait 0/5
Starting......: 12:40:03 [INIT]: zarafa-server daemon wait 1/5
Starting......: 12:40:04 [INIT]: zarafa-server daemon wait 2/5
Starting......: 12:40:05 [INIT]: zarafa-server daemon wait 3/5
Starting......: 12:40:06 [INIT]: zarafa-server daemon wait 4/5
Starting......: 12:40:07 [INIT]: zarafa-server daemon failed to start
Starting......: 12:40:07 [INIT]: /usr/bin/zarafa-server --config=/etc/zarafa/server.cfg --ignore-database-version-conflict --ignore-unknown-config-options --ignore-attachment-storage-conflict

root@xxxxxxxx:~# /etc/init.d/zarafa-db restart
Stopping......: 12:41:30[INIT]: MySQL daemon already stopped...
Starting......: 12:41:30 [INIT]: Starting Task Already running PID 15701 since 0mn

root@zzzzz:~# /etc/init.d/mysql start
Starting......: 12:42:16 MySQL already running PID "4400" since 72Mn


root@xxxxxx:~# /etc/init.d/zarafa-db start
Starting......: 12:44:38 [INIT]: Starting Task Already running PID 21963 since 0mn
Attachments
Sreenshot-68 Apr. 29 12.28.png
Sreenshot-68 Apr. 29 12.28.png (51.3 KiB) Viewed 6903 times
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Zarafa mail Server

New postby admin » Tue Apr 29, 2014 12:45 pm

Could you show the output of

cat /home/zarafa-db/error.log
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Zarafa mail Server

New postby zetar » Tue Apr 29, 2014 12:59 pm

HI David.
Output.
root@mail2-fel1:~# cat /home/zarafa-db/error.log
140429 14:55:11 [Note] Plugin 'FEDERATED' is disabled.
140429 14:55:11 InnoDB: The InnoDB memory heap is disabled
140429 14:55:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140429 14:55:11 InnoDB: Compressed tables use zlib 1.2.7
140429 14:55:11 InnoDB: Using Linux native AIO
140429 14:55:11 InnoDB: Initializing buffer pool, size = 1.9G
140429 14:55:11 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file /home/zarafa-db/data/ibdata_dir/ibdata1 <<<<<<<in origin which is the path.
140429 14:55:11 InnoDB: Could not open or create data files.
140429 14:55:11 InnoDB: If you tried to add new data files, and it failed here,
140429 14:55:11 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140429 14:55:11 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140429 14:55:11 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140429 14:55:11 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140429 14:55:11 InnoDB: remove old data files which contain your precious data!
140429 14:55:11 [ERROR] Plugin 'InnoDB' init function returned error.
140429 14:55:11 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140429 14:55:11 [ERROR] Unknown/unsupported storage engine: innodb
140429 14:55:11 [ERROR] Aborting

140429 14:55:11 [Note] /usr/sbin/mysqld: Shutdown complete
Thanks.
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Zarafa mail Server

New postby admin » Tue Apr 29, 2014 2:51 pm

Do this

Code: Select all
mkdir -p  /home/zarafa-db/data/ibdata_dir/
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Zarafa mail Server

New postby zetar » Tue Apr 29, 2014 3:44 pm

Thank you.
Because the command does not sign now more 'to the web interface
this and 'the Zarafa database restart.

root@xxxxxx:~# mkdir -p /home/zarafa-db/data/ibdata_dir/
root@xxxxxxx:~# /etc/init.d/zarafa-db restart
Stopping......: 17:39:46[INIT]: MySQL daemon already stopped...
Starting......: 17:39:46 [INIT]: writing init.d
Starting......: 17:39:47 [INIT]: zarafa-db Server available memory `5985MB`
Starting......: 17:39:47 [INIT]: zarafa-db Server available swap `475MB`
Starting......: 17:39:47 [INIT]: Architecture: 64 bits
Starting......: 17:39:47 [INIT]: zarafa-db MySQL Main binary........: /usr/sbin/mysqld
Starting......: 17:39:47 [INIT]: zarafa-db Working directory........: /home/zarafa-db
Starting......: 17:39:47 [INIT]: zarafa-db Architecture.............: 64 bits
Starting......: 17:39:47 [INIT]: zarafa-db Memory...................: 5985M
Starting......: 17:39:47 [INIT]: zarafa-db Max allowed packet.......: 196M
Starting......: 17:39:47 [INIT]: zarafa-db Max connections..........: 100 cnxs
Starting......: 17:39:47 [INIT]: zarafa-db Key Buffer size..........: 300M
Starting......: 17:39:47 [INIT]: zarafa-db Sort Buffer size.........: 300M
Starting......: 17:39:47 [INIT]: zarafa-db Bulk Insert Buffer Size..: 204M
Starting......: 17:39:47 [INIT]: zarafa-db Tables Open cache........: 256 tables
Starting......: 17:39:47 [INIT]: zarafa-db Thread Cache Size........: 64
Starting......: 17:39:47 [INIT]: zarafa-db TMP Table size...........: 128M
Starting......: 17:39:47 [INIT]: zarafa-db Read RND Buffer Size.....: 6M
Starting......: 17:39:47 [INIT]: zarafa-db Net Read Timeout.........: 120 seconds
Starting......: 17:39:47 [INIT]: zarafa-db Net Write Timeout........: 120 seconds
Starting......: 17:39:47 [INIT]: zarafa-db Skip innodb stats (metada: 1
Starting......: 17:39:47 [INIT]: zarafa-db sort_buffer_size..........: 10240000 bytes
Starting......: 17:39:47 [INIT]: zarafa-db key_buffer_size...........: 307200000 bytes
Starting......: 17:39:47 [INIT]: zarafa-db read_buffer_size..........: 0 bytes
Starting......: 17:39:47 [INIT]: zarafa-db max_connections...........: 100 cnx
Starting......: 17:39:47 [INIT]: zarafa-db Memory usage will be......: 1300M
Starting......: 17:39:47 [INIT]: zarafa-db Memory on server..........: 5986M/max:3289M
Starting......: 17:39:47 [INIT]: zarafa-db InnoDB: log file size...: 1496M
Starting......: 17:39:47 [INIT]: zarafa-db InnoDB: buffer pool size: 1995M
Starting......: 17:39:47 [INIT]: zarafa-db InnoDB: log buffer size.: 32M
Starting......: 17:39:47 [INIT]: zarafa-db InnoDB: Force home innodb log to /home/zarafa-db/data/ibdata_dir
Starting......: 17:39:47 [INIT]: Starting MySQL daemon
Starting......: 17:39:49 [INIT]: Checking potentials errors
Starting......: 17:39:49 [INIT]: Analyze 23 line(s)
Starting......: 17:39:49 [INIT]: InnoDB: Error: space header page consists of zero bytes in data file /home/zarafa-db/data/ibdata_dir/ibdata1
Starting......: 17:39:49 [INIT]: MySQL daemon wait 0/10
Starting......: 17:39:50 [INIT]: MySQL daemon wait 1/10
Starting......: 17:39:51 [INIT]: MySQL daemon wait 2/10
Starting......: 17:39:52 [INIT]: MySQL daemon wait 3/10
Starting......: 17:39:53 [INIT]: MySQL daemon wait 4/10
Starting......: 17:39:54 [INIT]: MySQL daemon wait 5/10
Starting......: 17:39:55 [INIT]: MySQL daemon wait 6/10
Starting......: 17:39:56 [INIT]: MySQL daemon wait 7/10
Starting......: 17:39:57 [INIT]: MySQL daemon wait 8/10
Starting......: 17:39:58 [INIT]: MySQL daemon wait 9/10
Starting......: 17:39:59 [INIT]: MySQL daemon failed to start
Starting......: 17:39:59 [INIT]: /usr/sbin/mysqld --defaults-file=/home/zarafa-db/my.cnf --user=root --pid-file=/var/run/zarafa-db.pid --basedir=/home/zarafa-db --datadir=/home/zarafa-db/data --socket=/var/run/mysqld/zarafa-db.sock --general-log-file=/home/zarafa-db/general_log.log --slow-query-log-file=/home/zarafa-db/slow-query.log --log-error=/home/zarafa-db/error.log --innodb-fast-shutdown=0 --innodb-file-per-table --innodb-buffer-pool-size=1995M --innodb-log-file-size=1496M --innodb-log-buffer-size=32M --innodb-flush-log-at-trx-commit=0 --innodb-data-home-dir=/home/zarafa-db/data/ibdata_dir --max-allowed-packet=196M --net_buffer_length=196M --max-connections=100 --connect_timeout=60 --interactive_timeout=57600 --myisam_repair_threads=4 --key_buffer_size=307200000 --query_cache_type=1 --table_open_cache=256 --myisam_use_mmap=0 --max_user_connections=0 --myisam_sort_buffer_size=307200000 --bulk_insert_buffer_size=208896000 --read_rnd_buffer_size=6144000 --thread_cache_size=64 --tmp_table_size=131072000 --max_heap_table_size=131072000 --sort_buffer_size=10240000 --thread_stack=1024000 --skip-innodb-stats-on-metadata --big-tables --tmpdir=/home/artica/tmp --log-warnings=2 --default-storage-engine=innodb --port=34056 --skip-name-resolve

root@xxxxx:~# cat /home/zarafa-db/error.log
140429 17:43:23 [Note] Plugin 'FEDERATED' is disabled.
140429 17:43:23 InnoDB: The InnoDB memory heap is disabled
140429 17:43:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140429 17:43:23 InnoDB: Compressed tables use zlib 1.2.7
140429 17:43:23 InnoDB: Using Linux native AIO
140429 17:43:23 InnoDB: Initializing buffer pool, size = 1.9G
140429 17:43:24 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file /home/zarafa-db/data/ibdata_dir/ibdata1
140429 17:43:24 InnoDB: Could not open or create data files.
140429 17:43:24 InnoDB: If you tried to add new data files, and it failed here,
140429 17:43:24 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140429 17:43:24 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140429 17:43:24 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140429 17:43:24 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140429 17:43:24 InnoDB: remove old data files which contain your precious data!
140429 17:43:24 [ERROR] Plugin 'InnoDB' init function returned error.
140429 17:43:24 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140429 17:43:24 [ERROR] Unknown/unsupported storage engine: innodb
140429 17:43:24 [ERROR] Aborting

140429 17:43:24 [Note] /usr/sbin/mysqld: Shutdown complete
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Zarafa mail Server

New postby zetar » Tue Apr 29, 2014 4:04 pm

Do not leave me more 'access to the web, because I do not understand what happened, it was absolutely fine and suddenly did this, sigh sigh.
Doing tests, I realized that the server is running as smtp and pop, but does not recognize any user.
Else how is it that in this given directory there is a file that heavy filled with new partition Var
4,6G /var/lib/mysql/ibdata1
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Zarafa mail Server

New postby admin » Tue Apr 29, 2014 5:21 pm

perform these commands:

Code: Select all
df -i 2>&1 >/root/data.txt
df -h 2>&1 >> /root/data.txt
stat /home/zarafa-db/data/ibdata_dir >>/root/data.txt


post the results of
Code: Select all
cat /root/data.txt
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Zarafa mail Server

New postby zetar » Tue Apr 29, 2014 8:25 pm

output
root@mxxxxxxx:~# cat /root/data.txt
File system Inode IUsati ILiberi IUso% Montato su
rootfs 125184 76137 49047 61% /
udev 764614 366 764248 1% /dev
tmpfs 766199 368 765831 1% /run
/dev/disk/by-uuid/25c44617-0b5b-4b3e-a591-fc4d2bb587f3 125184 76137 49047 61% /
tmpfs 766199 3 766196 1% /run/lock
tmpfs 766199 3 766196 1% /run/shm
/dev/sda1 24096 240 23856 1% /boot
/dev/sda11 34734080 61086 34672994 1% /home
/dev/sda6 61056 26 61030 1% /tmp
/dev/sda9 305216 65717 239499 22% /usr
/dev/sda10 36560 15879 20681 44% /usr/share/artica-postfix
/dev/sda7 366480 14027 352453 4% /var
/dev/sda8 183264 681 182583 1% /var/log
tmpfs 766199 36 766163 1% /var/lib/php5
File system Dim. Usati Dispon. Uso% Montato su
rootfs 1,9G 1,3G 550M 70% /
udev 10M 0 10M 0% /dev
tmpfs 599M 1,3M 598M 1% /run
/dev/disk/by-uuid/25c44617-0b5b-4b3e-a591-fc4d2bb587f3 1,9G 1,3G 550M 70% /
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 1,3G 0 1,3G 0% /run/shm
/dev/sda1 92M 24M 64M 27% /boot
/dev/sda11 522G 7,3G 488G 2% /home
/dev/sda6 938M 18M 874M 2% /tmp
/dev/sda9 4,6G 1,8G 2,6G 42% /usr
/dev/sda10 563M 269M 266M 51% /usr/share/artica-postfix
/dev/sda7 5,5G 5,5G 0 100% /var
/dev/sda8 2,8G 695M 2,0G 26% /var/log
tmpfs 728M 132K 728M 1% /var/lib/php5
File: "/home/zarafa-db/data/ibdata_dir"
Dim.: 4096 Blocchi: 8 Blocco di IO: 4096 directory
Device: 80bh/2059d Inode: 29360265 Coll.: 2
Accesso: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Accesso : 2014-04-29 16:28:38.002827236 +0200
Modifica : 2014-04-29 16:28:37.894825152 +0200
Cambio : 2014-04-29 16:28:37.894825152 +0200
Creazione: -

Update:
class.system.nics.inc
Function:CheckUnconfigured
Line:323
Error localhost:3306 () Unknown storage engine 'InnoDB'
called by class.system.nics.inc CheckUnconfigured() line 62 class.mysql.inc on line 633
Error localhost:3306 () Unknown storage engine 'InnoDB'
called by system.nic.edit.php SaveNic() line 606 class.mysql.inc on line 633
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Zarafa mail Server

New postby admin » Tue Apr 29, 2014 9:13 pm

very strange, nothing appears bad...
Access to the server ?
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Zarafa mail Server

New postby zetar » Wed Apr 30, 2014 10:35 am

Hello david.
Please, where he writes the IP address permanently so that you can find it at startup.
The server IP keeps for a few minutes and it seems to work well, but for a little then stops
network configuration does not do error:

class.system.nics.inc
Function:CheckUnconfigured
Line:323
Error localhost:3306 () Unknown storage engine 'InnoDB'
called by class.system.nics.inc CheckUnconfigured() line 62 class.mysql.inc on line 633
Error localhost:3306 () Unknown storage engine 'InnoDB'
called by system.nic.edit.php SaveNic() line 606 class.mysql.inc on line 633

Thank you.
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee


Return to Zarafa mail server

Who is online

Users browsing this forum: No registered users and 3 guests