MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: South on 2018-10-06, 00:05:58

Title: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-06, 00:05:58
Hello do anyone know how to switch mysql meaning MariaDB to mysqld so I can use php 52 from the php pool,the situation is that I want to use mysql 5.0 and is really installed the php52 but mariadb dont allow me to use it,or are there other settings in order to use php 52?
Title: Re: Super fresh install trying to switch MariaDB
Post by: azzureal on 2018-10-10, 12:35:33
sh /script/mariadb-to-mysql
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-12, 06:15:23
Thank you very much that means that on kloxo php52 will never work with mariaDB,yes and I also have the problem that even though on server configuration you choose httpd it never catches back when restarting all services it stays put on aionawawa or that thing
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-14, 23:31:31
When restarting apache I get
Stopping httpd:                                            [  OK  ]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 88.17.20.127:22
no listening sockets available, shutting down
Unable to open logs




By the way thank you
Title: Re: Super fresh install trying to switch MariaDB
Post by: azzureal on 2018-10-15, 04:16:36
netstat -na

Please check 90 port.

or killall -9 httpd

and then start httpd.
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-18, 05:13:08
netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                                                 e
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LIST                                                 EN
tcp        0      0 55.44.288.100:22             150.200.345.333:9437         ESTA                                                 BLISHED
tcp        0     64 55.44.288.100:22             140.244.345.235:50037        ESTA                                                 BLISHED
tcp        0      0 55.44.288.100:22             155.200.342.775:58103        ESTA                                                 BLISHED
tcp        0      0 :::22                       :::*                        LIST                                                 EN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     2530143707 @/com/ubuntu/upstar                                                 t
unix  2      [ ]         DGRAM                    2533144109 @/org/kernel/udev/u                                                 devd
unix  3      [ ]         DGRAM                    2533145924 /dev/log
unix  2      [ ]         DGRAM                    2534015576
unix  3      [ ]         DGRAM                    2533144203
unix  3      [ ]         DGRAM                    2533144242
Starting httpd: (98)Address already in use: make_sock: could not bind to address 140.244.345.235:22
no listening sockets available, shutting down
Unable to open logs

cant kill -9 no process
Im trying to restart apache 2.2 as is the most suitable for the php 5.2.17 that appear on kloxo php pool

Thank you plentis

Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-27, 02:58:04
Should have known Apache runs on port 80 sure not saying nobody here is bichiee with me
Title: Re: Super fresh install trying to switch MariaDB
Post by: azzureal on 2018-10-27, 04:41:30
https://askubuntu.com/questions/277162/apache-fails-to-start-address-already-in-use-but-not-really
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-28, 00:31:34
Thank you very much Im at the point where I dont know if I should install Kloxo on top of my existing centos 6 configuration,I just deleted this install since I could not marry by the kloxo panel php 5.2.17 to apache and mysqld as well ,and it was a bit the same on cwp ,so I decided it to go free of burdens and do it ala webmin almost with nothing but this time it was exactlly like riding a horse with no saddle,TOTALLY LOOSED AND FREE.

Actually I dont have a panel but I installed php 5.2.17 succesfully it restarts on apache it says it has its module loaded ,I also have apache life on my server of 2.2,and I have mysqld restarting allright ,the only catch I have is that I dont know the proper syntax in order to run bind with ipv4 ,so my domain also has apache life and I know this thing of bind aint something we mind on kloxo since we only go to DNS or ip configuration and set A records but with bind theres a sheet for our domain where you set A records so Im pretty with some sort of wilt to install kloxo on top but Im worried it installing mariaDB server again will bring the same problem back again,tough I would have the lovely advantage of 1 click lovely backup service.

Thank you for reading
Title: Re: Super fresh install trying to switch MariaDB
Post by: azzureal on 2018-10-29, 03:55:25
if u want php5.2 by main, you need to give up to use kloxo mr. If u can get kloxo, you can use php 5.2, but i think it is difficult to get.

if u want to use php 5.2, you need install all manually.
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-29, 22:06:30
I actually got it on past install,it was included on kloxos php fpm pool,it never catched up to apache or mysqld.

Now I have php 5.2.17  compleately installed as well as php52 and mysqld fully working do you think that if I install kloxo on top will affect me catch back my actual configuration?,is it a good idea?



Thank you
Title: Re: Super fresh install trying to switch MariaDB
Post by: azzureal on 2018-10-31, 06:58:32
I do not recommend
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-10-31, 21:48:43
Of course you are not saying that kloxo will delete anything are you?


thank you
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-11-09, 08:58:10
Your not sure if previous configuration is deleted ,if it just was stopped so it might later be restarted there wouldnt be a problem for us so we could pick it up from there but I guees on linux configuration problems arise it might not be kloxo tough it might make harder to recover configuration for things that are not amended here
Title: Re: Super fresh install trying to switch MariaDB
Post by: South on 2018-11-11, 14:46:54
Another move I could do before installing kloxo on top of my apache 2.2 config would be writing a piece of code on top of my installation lines that would adopt as native the pre-existing configuration that the server owns and simply disallows MariaDB to take over in new installation of kloxo.This could be achieved maybe by going to kloxo repo file and put 0 to MariaDB or something else MR could bring  which never was explained on this lovely forum