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, 00:45:51

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - insanity

Pages: 1 [2] 3 4 ... 11
16
Kloxo-MR Development / Re: named not reload
« on: 2014-02-04, 16:36:56 »
Reloading named:                                           [  OK  ]

For now i add it in httpd

/etc/init.d/httpd graceful && /etc/init.d/named force-reload
Until i found the problem

17
Kloxo-MR Development / named not reload
« on: 2014-02-04, 15:55:08 »
Mustafa,
When i add domain named not reload/force-reload. I wait more than a hour and nothing...

16:51 Feb/04/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/httpd graceful' >/dev/null 2>&1 &
16:51 Feb/04/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/nginx reload' >/dev/null 2>&1 &
16:51 Feb/04/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/php-fpm reload' >/dev/null 2>&1 &

Only these services reload.

In /usr/local/lxlabs/kloxo/etc/process/named and bind have /etc/init.d/named force-reload insite but nothing...

18
Kloxo-MR Development / Re: kloxo-nginx
« on: 2014-02-03, 21:13:51 »
Yea i read it, the problem line was:

      location / {
         try_files $uri $uri/ /index.php;
      }

i remove it and now it work normal

19
Kloxo-MR Development / kloxo-nginx
« on: 2014-02-03, 18:57:42 »
Mustafa,
I start kloxo on nginx, now there is only 1 problem. When i click on update buton or flush in mail queue or dns etc, everything is updated but nginx redirect me to home page.

Can you tell me the rewrite rules for kloxo, because i can't convert it from hiawatha.

20
Kloxo-MR Development / Re: [INFO] Jailkit for Kloxo-MR
« on: 2014-02-03, 18:22:22 »
open: /usr/local/lxlabs/kloxo/httpdocs/driver/pserver/cronlib.php

find:
Code: [Select]
static function add($parent, $class, $param)

{
if (!($parent->isClass('pserver') || $parent->priv->isOn('cron_minute_flag'))) {
if (!is_numeric($param['minute'])) {
$param['minute'] = 0;
}
}
$param['username'] = $parent->username;
/*
if ($parent->is__table('pserver')) {
$param['syncserver'] = $parent->nname;
} else {
$param['syncserver'] = $parent->syncserver;
}
*/

change it to:

Code: [Select]
static function add($parent, $class, $param)

{
if (!($parent->isClass('pserver') || $parent->priv->isOn('cron_minute_flag'))) {
if (!is_numeric($param['minute'])) {
$param['minute'] = 0;
}
}
if (strpos($param['command'], 'ssh') !== false) {
throw new lxexception("ssh_is_not_allowed_cmd_for_cron", '', '');
}
$param['username'] = $parent->username;
/*
if ($parent->is__table('pserver')) {
$param['syncserver'] = $parent->nname;
} else {
$param['syncserver'] = $parent->syncserver;
}
*/

and voala. ssh cmd is disabled

if you want to disable more cmd it must be:

Code: [Select]
if (strpos($param['command'], 'cmd1', 'cmd2', 'cmd3') !== false) {

21
Kloxo-MR Development / Re: [INFO] Jailkit for Kloxo-MR
« on: 2014-02-03, 18:03:38 »
Mustafa,
Why not change cron in kloxo to be able to set only php or curl, for example php -q /cront/path/ or curl -I /cron/path/. If you try to add cron with ssh or other cmd error will be displayed ?

22
Yes, because all users are under apache group. If you create symlink in home/domain/symlink-folder and point it to home/domain2/some-folder you will be able to edit all files.

23
Kloxo-MR Development / Re: Mysql db remove
« on: 2014-01-29, 21:17:06 »
Why ?

24
Kloxo-MR Development / Mysql db remove
« on: 2014-01-29, 21:14:32 »
Removing mysql db does not remove and the user. If i create blabla_db and then i delete this db the user blabla_db still exist.

25
Kloxo-MR Development / Re: Delete buton not work
« on: 2014-01-26, 22:51:46 »
Yes its not save, thats why i wrote: "but then there will no verify check and you can set .. again for docroot."

26
Kloxo-MR Development / Re: Delete buton not work
« on: 2014-01-26, 18:40:49 »
There is some problem with symbols check i'm still investigate where can be.
You can enable docroot change if you change /usr/local/lxlabs/kloxo/httpdocs/driver/web/weblib.php

find:
Code: [Select]
function update($subaction, $param)
{
if ($subaction === 'docroot') {
validate_docroot($param['docroot']);
}
}

and replace it with:
Code: [Select]
/*
function update($subaction, $param)
{
if ($subaction === 'docroot') {
validate_docroot($param['docroot']);
}
}
*/

but then there will no verify check and you can set .. again for docroot.

27
Kloxo-MR Development / Re: Delete buton not work
« on: 2014-01-26, 18:32:07 »
@Spacedust,
Is it work for you, when you change it ?

28
Kloxo-MR Development / Re: Delete buton not work
« on: 2014-01-26, 11:41:57 »
You say that Development section is for 6.5.1, so yes it is for 6.5.1 alpha

29
Kloxo-MR Development / Re: Delete buton not work
« on: 2014-01-25, 22:55:06 »
I found the problem in /usr/local/lxlabs/kloxo/httpdocs/theme/htmllib.php

Found:
Code: [Select]
<?php
if ($checked !== 'disabled') {
?>

<input <?= $filteropacitystring ?> id="ckbox<?= $unique_name ?><?= $rowcount ?>" class="ch1" type="checkbox" <?= $checked ?> name="frm_accountselect" onclick="hiliteRowColor('tr<?= $unique_name ?><?= $rowcount ?>','tablerow<?= $count ?>',document.formselectall<?= $unique_name ?>.selectall<?= $unique_name ?>)" value="<?= $obj->nname ?>"> <?= $filteropacitystringspanend ?>
<?php
}
?>

and replace it with:
Code: [Select]
<input <?= $filteropacitystring ?> id="ckbox<?= $unique_name ?><?= $rowcount ?>" class="ch1" type="checkbox" <?= $checked ?> name="frm_accountselect" onclick="hiliteRowColor('tr<?= $unique_name ?><?= $rowcount ?>','tablerow<?= $count ?>',document.formselectall<?= $unique_name ?>.selectall<?= $unique_name ?>)" value="<?= $obj->nname ?>"> <?= $filteropacitystringspanend ?>

and it will work like a charm :)

30
Kloxo-MR Development / Delete buton not work
« on: 2014-01-25, 22:07:41 »
Mustafa,
Delete button not work for mysql/dns etc.

Pages: 1 [2] 3 4 ... 11

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.055 seconds with 17 queries.

web stats analysis