Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 06:17:32

Show Posts

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


Messages - chrisf

Pages: 1 ... 55 56 [57] 58 59
841
Kloxo-MR Technical Helps / Re: kloxo php master process
« on: 2013-07-12, 19:05:35 »
This process is not running on a fresh install.  I had added a slave to mess around and see how it worked :)  but later deleted it.

I believe that something in kloxo is still thinking that it should be listening for the slave... advise how to turn this off.

Thank you

842
Kloxo-MR Technical Helps / kloxo php master process
« on: 2013-07-12, 08:49:06 »
My firewall is reporting this file as a resource problem - it has been running for 43400 seconds (700+ minutes) - it appears to be listening to the master/slave ports, but I have no slave (I deleted it).  Is there some config option that didn't get set right?  Is there a database setting?

Please advise.

PID:     8978 (Parent PID:8978)
Account: lxlabs
Uptime:  43400 seconds
Executable:
/usr/local/lxlabs/ext/php/bin/php
Command Line (often faked in exploits):
/usr/local/lxlabs/ext/php/bin/php -c /usr/local/lxlabs/ext/php/etc/
php.ini /usr/local/lxlabs/kloxo/sbin/kloxo.php master

Network connections by the process (if any):
tcp: 0.0.0.0:7779 -> 0.0.0.0:0
tcp: 127.0.0.1:7776 -> 0.0.0.0:0

Files open by the process (if any):
/dev/null
/dev/null
/dev/null

843
Kloxo-MR Technical Helps / Re: Repo Issue when installing
« on: 2013-07-11, 22:07:22 »
Tried to install again, clean install.  I changed the repo line before running installer.

Does not work.

sysinfo displays mysql: --not installed--

Not listing MariaDB

I can not get kloxo-mr to install on a new server.

Will this be fixed soon Mustafa?  Please advise

844
Kloxo-MR Technical Helps / Re: Kloxo-mr + CSF (II)
« on: 2013-07-11, 21:00:17 »
csf does much more than iptable blocking.  It watches resource use, process integrity, memory usage, load protection (alert if at load 30% longer than 5 sec - or whatever you set) port scan temporary ip blocking, syn flood protection, smtp pop3 protection, change file by md5 hash protection - configure to watch a dirctory for changes....

That is just part of it.  CSF is very robust... so much more than simple iptable firewall. :)

Plus, on any event it will send an email if you wish.  I have these sent to my sms gateway for my mobile phone.  This way if something is wrong with my server I know instantly. :)

845
Kloxo-MR Technical Helps / Re: Repo Issue when installing
« on: 2013-07-11, 20:53:27 »
Mustafa, even with MariaDB enabled I am unable to install kloxo-mr on fresh install.

I am unable to login to kloxo.

Run: resetpassword master (pass)
returns error.

I have tried numerous times.  Kloxo install is broke.

Please advise soon!

Thank you

846
Kloxo-MR Technical Helps / Re: Kloxo-mr + CSF (II)
« on: 2013-07-10, 03:45:57 »
My post is concerning CSF.

User WISTFUL advised to use user: pignore config option to ignore all processes from all users on the server.  

Although this will stop the alerts, it will also stop your process protection.

There is no problem if you are not using CSF or if you use something else - I like CSF - it is very robust and very protective of your server.

If you use nginx as your webserver CSF will do what mod_evasive did for apache.  Plus so much more.

I use directory protection and other CSF options that make me sleep easy :)

847
Kloxo-MR Technical Helps / Re: Kloxo-mr + CSF (II)
« on: 2013-07-09, 21:25:24 »
@WISTFUL - NEVER NEVER do what you suggested by ignoring users - that command is very dangerous and stops csf from watching those users for any exploits.

exe and pexe should be used.  secondly cmd and pcmd.

Example:  to stop getting php-fpm alerts for the pool, add this to csf.pignore
pcmd:php-fpm: pool.*

For most qmail alerts:
pexe:/var/qmail/bin/qmail-.*

Also I would raise the memory limit for alerts to 300, even 350 on heavy systems.  If you are running a media server or something just add an exclusion to the alert in csf.pignore through the exe: directive.

csf is VERY good firewall, but you have to take time to work through the false positives.

I have other exclusions on kloxo-mr install, but can't remember them all.  I know mysql was one and the kloxo.httpd was another - but as you get alerts add them to csf.pignore :)

Always issue this after changes:
csf -r;service lfd restart

All good :)  Regards

848
Mustafa, donations will always be slow when software is incomplete.  frustrating for you, since you work hard, yet, frustrating to users who don't understand why something doesn't work.  I can use cpanel for 10.00 a month.  It appears you have a few people posting here who have large servers running 1000's of sites - THEY should be donating since it is them who are benefiting from opensource.

I am a programmer.  Server admin is something I am learning.

Roadmap.  Kloxo-MR should stop developing new features and fix all bugs.  This project is in version 6 and Total Disk and Quotas do not work?  This makes NO sense to me since this is a major part of web hosting.

I understand not all vps have quotas installed.  but if they do. this is fastest way to control disk usage and get on the fly results.  if not we need to develop a set of functions to handle this more transparently AND accurately.

I am familiar with boonex dolphin and joomla - when something happens or I need to do something I know where to look and what functions are being called etc, because of experience with programming these scripts - Kloxo is new, and I am simply trying to beat the learners curve by not searching through code.  But still have got no answers as to where all of this code is.  Where the web interface populates totdisk.  Libraries used, functions, etc - but... I will dig into the code and will find what I need.

I get paid to program as well.  I am willing to help with php tasks and testing.  I think that is what open source is all about.

849
Looks like I am just going to have to dig into the code.

850
mustafa - please answer my questions from original post :)

I have the two configured in master/slave and have been working on it.

I use php-fpm event - why not work?  the master is working fine, going to add sites to slave to test.  why not work on slave?

please answer questions 1 and 2 from first post and:

#3:
If I use the master as mmail - will all qmail traffic go through master?  If a php script on the slave sends mail it will be piped and sent from the master?

I can not find any good tutorials/information concerning kloxo master/slave.

Please advise. :)

851
Quote from: "Spacedust"
I've shared the code with Mustafa. It cost me $100.
Oh I see.  So will mustafa incorporate it?

The problem I see with this entire project, it is open source, but no open source programmers... so the weight falls on mustafa - eitherway to keep project moving I think we need to build more of a community of kloxo users and more help files etc.

I am new at server admin, this is true - but I have developed php scripts to do just about anything - I develop mainly in cms applications.  I am willing to help - I am willing to donate time.

I currently have 3 servers - 2 for production and a third I am playing with.  I am learning very fast.

If it is programming I can help with - I will.

I understand paying for code, it should be wrote off as donation to kloxo-mr project and shared - afterall, kloxo is open source and free.

Best regards :)

852
your developer used a php recursive count of all files?  I used the technique when writing a email client for cms system (boonex dolphin).  Sets max quota for disk space.  Eitherway - can you share the code?  Or at least explain where these numbers are pulled from.

php is simple.  i work 16 hour days and develope outside that time.  I am willing to help as well - just easier not to have to hunt if you direct me to functions, files, and so forth.

I would like totdisk to populate.

I used a similar solution on a file sharing script i worked on project for.  to keep resources in check we used a cron that ran every 20 minutes and updated 200 user disk space quotas at a run.  So 600 users processed an hour.  No linux commands - php recursive read dir and add byte value of files.  saved in database and checked against quota for banning purposes.

When a user logged in it updated his total space used to be accurate.  furthermore, on upload and what not we updated the totals.

There are many ideas and solutions.

853
Kloxo-MR Technical Helps / master/slave kloxo-mr questions
« on: 2013-07-07, 23:11:00 »
I would appreciate some clarification on a few things concerning kloxo-mr in master slave cluster.  Please when answering my questions add the # so I know which part you are answering :)

#1:
do I have to update all custom. tpl files on slave or will the master custom templates be used? (for domain, php-fpm, etc)

#2:
If I am only using mysql on master, and on server roles for slave I have deleted mysql - can I uninstall mysql on slave?

I have more questions but start here :)

Thank you

854
Quote from: "Spacedust"
Quote from: "chrisf"
will try now - what about disk usage??  Seems a problem under domains as well.

Disk usage under domains never worked :/
Well, this shouldn't be too big of a problem to fix.  We simply get the directory size for the user under /home - I have a few efficient ways to do it under php.

Since I hate searching, Mustafa direct me to which files in kloxo-mr that:
1. responsible for getting directory totals
2. where the total disk is populated (which php file displays it to web)

are we worried about windows users?  does kloxo-mr work on windows?

Most efficient is simple popen in php.  I can do it easily and have code posted or files uploaded.

855
will try now - what about disk usage??  Seems a problem under domains as well.

Pages: 1 ... 55 56 [57] 58 59

MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.05 seconds with 17 queries.

web stats analysis