MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Releases => Topic started by: MRatWork on 2014-01-31, 10:12:52

Title: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-01-31, 10:12:52
Please update 6.5.0.f/6.5.1.a to 2014013101. And then running 'sh /script/cleanup'.

Some changes:

1. Disable perl in all webserver config

This action need because still no 'elegance' solution for 'hardlinks' issue for perl. If user have custom template for webserver better modified according new template. To make enable perl is easy (example for apache):
a. copy /home/apache/tpl/domains.conf.tpl to /home/apache/tpl/custom.domains.conf.tpl
b. modified custom.domains.conf.tpl:
from:
Code: [Select]
    ### MR -- disable perl until fix hardlinks issue
    # ScriptAlias /cgi-bin/ "/home/<?php echo $user?>/<?php echo $domainname?>/cgi-bin/"
to:
Code: [Select]
    ### MR -- disable perl until fix hardlinks issue
    ScriptAlias /cgi-bin/ "/home/<?php echo $user?>/<?php echo $domainname?>/cgi-bin/"

For hiawatha, also modified /home/hiawatha/tpl/custom.domains.conf.tpl
For nginx and lighttpd, modified /home/<webserver/conf/globals/custom.generic.tpl

And then running 'sh /script/fixweb; sh /script/restart-web'.

2. Use 'spawn-fcgi for daemonize kloxo-phpcgi and it's make php52s for Kloxo-MR running under 'lxlabs:lxlabs'. For kloxo-hiawatha, already running under 'lxlabs:lxlabs'

NOTES:

1. For Kernel 3.6+ or patch for current Kernel, add:
Code: [Select]
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
kernel.kptr_restrict = 1
to /etc/sysctl.conf and then running 'sysctl -e -p'.
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-01-31, 10:20:51
Additional advice:
- Better give 'lxjailshell' instead regular 'shell' for client (reseller or customer) if needed.
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: bigdigillc on 2014-02-02, 05:18:57
Can't get seem to update. I've tried the following:
- yum update
- sh /script/upcp
- yum update kloxomr

but still says 6.5.0.f-2014020201. I'm wondering if I have the right repos. The only non Centos repo I have is maratwork.repo. Should there be another one?
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-02-02, 05:32:45
2014020201 (DATE-FORMAT YYYYMMDDCC) than 2014013101
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: bigdigillc on 2014-02-02, 05:36:56
Thanks, but how do i get it to update?
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-02-02, 05:50:25
Just running 'sh /script/cleanup' (becuase exist the code for update) or 'Update Home' in panel.
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: bigdigillc on 2014-02-02, 06:01:07
No update button in GUI and 'sh /script/cleanup/' doesnt seem to do it either it get's all the way through and I still get the "multilog: fatal: unable to switch to current directory: access denied" error at the end that I mentioned here

http://forum.mratwork.com/kloxo-mr-technical-helps/multilog-fatal-unable-to-switch-to-current-directory-access-denied/ (http://forum.mratwork.com/kloxo-mr-technical-helps/multilog-fatal-unable-to-switch-to-current-directory-access-denied/)

Which repo should I be using? mratwork.repo or kloxo-mr.repo?

Thanks!
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-02-02, 06:13:12
Try reboot and then 'sh /script/fixmail-all; sh /script/restart-all'.

If still not work, try 'yum reinstall *-toaster' and then 'sh /script/fixmail-all; sh /script/restart-all'.

Sometimes this error appear in update from Kloxo.
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: sIiiS on 2014-02-02, 12:53:48
Dear Mustafa,

What was changed in new release (2014020201) ?

I have 2014013101 and want to update but want to know change info

Also qmail in new version 1.3.35 had some issue!
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-02-02, 13:24:02
Not importance for existing user because update related install (fresh and update from Kloxo official) process.
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: KloxoLittleFish on 2014-02-04, 17:58:31
hello ...

i do :

Code: [Select]
sh /script/cleanup
and version still ...

Quote
sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2013121702
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: MRatWork on 2014-02-04, 19:53:39
To make sure, run 'yum clean all; yum update'. Update via cleanup only able in latest version.
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: KloxoLittleFish on 2014-02-04, 21:53:32
wops! my repo died ... to solve

Code: [Select]
wget https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm --no-check-certificate
rpm -ivh mratwork-release-0.0.1-1.noarch.rpm
yum update mratwork-release
Title: Re: [UPDATE] Please update to 6.5.0.f/6.5.1.a to 2014013101
Post by: sIiiS on 2014-02-05, 14:05:17
and what about this version ?

6.5.1.a-2014020301