This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Installer 1.0.1 on CentOS7
#1
Installer 1.0.1 on CentOS7
Im using CentOS7 on VPS OVH

When ever I install it i get this:

-- Installing Postfix
ERROR 1071 (42000) at line 115: Specified key was too long; max key length is 1000 bytes


# Building suhosin
2015-02-23 12:54:54 URL:https://codeload.github.com/stefanesser/suhosin/zip/0.9.37.1 [238480] -> "suhosin.zip" [1]
Installing shared extensions: /usr/lib64/php/modules/
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.

For now, there is no problem with sentora - but I probably didnt test all of it tools.
Should I be worried with ERROR 1071?
I didn't have any sendmail/postfix before instaling sentora

The second error im ignoring because apache (httpd) started without any problem and working ok (but im writing about it so it can be fixed with newer version of sentora installer)
Reply
Thanks given by:
#2
RE: Installer 1.0.1 on CentOS7
This error seem related to MySQL

http://dba.stackexchange.com/questions/4...-mysql-5-6

we are still investigating it.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Installer 1.0.1 on CentOS7
Dear Me.B,

I manage to find the problem (you probably too).
sentora_postfix.sql
this database structure script is executed till 115 line which is "CREATE TABLE 'quota' (" anything after that table including that table aint created so probably postfix is broken.

Probably because usernamer is VarChar255 and Path is 100; the primary key is on both so:
255 * 3 + 100 * 3 = 1065 which is more than 1000;
Reply
Thanks given by:
#4
RE: Installer 1.0.1 on CentOS7
Yep likely installer will be updater quickly
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#5
RE: Installer 1.0.1 on CentOS7
(02-24-2015, 05:49 PM)Me.B Wrote: This error seem related to MySQL

http://dba.stackexchange.com/questions/4...-mysql-5-6

we are still investigating it.

(02-24-2015, 07:53 PM)Me.B Wrote: Yep likely installer will be updater quickly


im hoping that it will be fixed with some kind of script and there wont be need for reinstall centos to make clean sentora installation.
Reply
Thanks given by:
#6
RE: Installer 1.0.1 on CentOS7
ok a patch is easy to set too. Checking my own centos 7 installs

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#7
RE: Installer 1.0.1 on CentOS7
was it a success ?
could you shear the script ?
Reply
Thanks given by:
#8
RE: Installer 1.0.1 on CentOS7
Hi, I have same problem with fresh install on Centos 7 VPS.

There are two errors in script sentora_postfix.sql:
1. in table quota engine is set MyISAM and for keys bigger than 1000 bytes just use Engine=InnoDB
2. in table vacation_notification there is foreign key on col on_vacation to table vacation (email). But email is defined as utf8 varchar and on_vacation is latin1 varchar which leads to error
#1005 - Can't create table 'sentora_postfix.vacation_notification' (errno: 150)
Reply
Thanks given by: sapsa , thefantas
#9
RE: Installer 1.0.1 on CentOS7
(03-04-2015, 12:03 AM)AdamG4Corps Wrote: Hi, I have same problem with fresh install on Centos 7 VPS.

There are two errors in script sentora_postfix.sql:
1. in table quota engine is set MyISAM and for keys bigger than 1000 bytes just use Engine=InnoDB
2. in table vacation_notification there is foreign key on col on_vacation to table vacation (email). But email is defined as utf8 varchar and on_vacation is latin1 varchar which leads to error
#1005 - Can't create table 'sentora_postfix.vacation_notification' (errno: 150)

Thanka for this information. This probably is workaround but I would like to get official fix, so I wont have problem in future. Its been over two weeks now... support it probably hard coding the solution...... Me.B had probably some issues with this... I will still wait because you never knew what outcomes your will get with not official workarounds.
Reply
Thanks given by:
#10
RE: Installer 1.0.1 on CentOS7
The official fix will be the same likely.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
PLZ Help me install ssl in my own VPS Centos7 Sentora panel younessesoft 1 4 ,524 05-26-2020, 07:34 PM
Last Post: 5050
Rebuild sentora installer gozfly 1 5 ,425 11-01-2017, 06:25 AM
Last Post: Me.B
Debian 7 & 8 Support installer issues chwn21 19 65 ,045 05-18-2016, 04:42 AM
Last Post: TomThomson

Forum Jump:


Users browsing this thread: 9 Guest(s)