1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

About Me

Basic Information

About me
During the past 16 years, Michael has helped start and grow numerous companies in the IT sector. Prior to founding ClearCenter (an IT delivery platform) & ClearFoundation (an IT Linux distribution) he started DirectPointe (an IT service company) & DPFS (an IT financing company) he also helped launch and establish Calculated Research & Technology and Veritas Solutions (both IT solution companies). Michael is a creator and knows how to produce results by rounding-up great teams and helping them to focus on simple yet measurable, transparent goals. In addition, Michael has successfully acquired & integrated 6 great IT companies: Satel, Center7 (Helpdesk & NOC), STI, System Works, S3 & iTOK.

Whereabouts

State / Province
North Island
City / Town
Taranga
Country
New Zealand

Web Links

Facebook
http://facebook.com/michael.proper
LinkedIn
http://www.linkedin.com/in/michaelproper
Twitter
http://twitter.com/michaelproper
Web Site
http://blog.properfamily.com

Connections

346 connections
  • william
  • Marconi
  • Robert Thresher
  • kusuma
  • Gerson A. de la Cruz
  • Adam
  • Sigurd Kristvik
  • Leonardi
  • Stylus
  • tishri clarin
  • Robert Watson
  • Ujang Wijiono E.M.
Michael Proper
Michael Proper
Cranking on new Hybrid Cloud Service Provider offerings.
  • Karma
  • Member since
  • Wednesday, 08 July 2009 17:16
  • Last online
  • 36 days ago
  • Profile views
  • 4929 views
Today
Isal Faisal replied to the topic Re:Problem with antivirus filtering in the forums.
I try to find out the problem and try to see the service running on the system. My Question is: What service below that responsible for antispam and mail antivirus filtering?

Code:



[root@mail ~]# chkconfig --list
acpid           0:off   1:off   2:on    3:on    4:on    5:on    6:off
amavisd         0:off   1:off   2:off   3:off   4:off   5:off   6:off
avahi-daemon    0:off   1:off   2:off   3:off   4:off   5:off   6:off
avahi-dnsconfd  0:off   1:off   2:off   3:off   4:off   5:off   6:off
clamd           0:off   1:off   2:off   3:on    4:on    5:on    6:off
cpuspeed        0:off   1:on    2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
cups            0:off   1:off   2:off   3:off   4:off   5:off   6:off
cyrus-imapd     0:off   1:off   2:off   3:off   4:off   5:off   6:off
dansguardian-av 0:off   1:off   2:off   3:on    4:on    5:on    6:off
dnsmasq         0:off   1:off   2:on    3:on    4:on    5:on    6:off
fetchmail       0:off   1:off   2:off   3:off   4:off   5:off   6:off
firewall        0:off   1:off   2:on    3:on    4:on    5:on    6:off
freshclam       0:off   1:off   2:off   3:on    4:on    5:on    6:off
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
ipsec           0:off   1:off   2:off   3:off   4:off   5:off   6:off
iscsi           0:off   1:off   2:off   3:off   4:off   5:off   6:off
iscsid          0:off   1:off   2:on    3:on    4:on    5:on    6:off
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
l7-filter       0:off   1:off   2:off   3:off   4:off   5:off   6:off
ldap            0:off   1:off   2:off   3:on    4:on    5:on    6:off
ldapsync        0:off   1:off   2:off   3:on    4:on    5:on    6:off
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off
mcstrans        0:off   1:off   2:off   3:off   4:off   5:off   6:off
mdmonitor       0:off   1:off   2:off   3:off   4:off   5:off   6:off
mdmpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
messagebus      0:off   1:off   2:off   3:on    4:on    5:on    6:off
multipathd      0:off   1:off   2:off   3:off   4:off   5:off   6:off
mysqld          0:off   1:off   2:off   3:off   4:off   5:off   6:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
netplugd        0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
nmb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
nscd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
ntpd            0:off   1:off   2:off   3:on    4:on    5:on    6:off
openvpn         0:off   1:off   2:off   3:off   4:off   5:off   6:off
postfix         0:off   1:off   2:off   3:on    4:on    5:on    6:off
postgrey        0:off   1:off   2:off   3:off   4:off   5:off   6:off
pptpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
proftpd         0:off   1:off   2:off   3:off   4:off   5:off   6:off
rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
rdisc           0:off   1:off   2:off   3:off   4:off   5:off   6:off
restorecond     0:off   1:off   2:on    3:on    4:on    5:on    6:off
saslauthd       0:off   1:off   2:off   3:on    4:on    5:on    6:off
smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
snort           0:off   1:off   2:off   3:on    4:on    5:on    6:off
snortsam        0:off   1:off   2:off   3:on    4:on    5:on    6:off
spamassassin    0:off   1:off   2:off   3:off   4:off   5:off   6:off
squid           0:off   1:off   2:off   3:on    4:on    5:on    6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
suvad           0:off   1:off   2:on    3:on    4:on    5:on    6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
system-mysqld   0:off   1:off   2:on    3:on    4:on    5:on    6:off
syswatch        0:off   1:off   2:on    3:on    4:on    5:on    6:off
vpnwatchd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
webconfig       0:off   1:off   2:on    3:on    4:on    5:on    6:off
winbind         0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@mail ~]#
[root@mail ~]#


10:46 PM
angel replied to the topic Re:video streaming server in the forums.
Hi everyone,

I get errors in installing plexmedia server....

[root@system tmp]# yum install local plexmediaserver-0.9.7.28.33-f80a4a2.i386.rpm
Loading "protect-packages" plugin
Loading "kmod" plugin
Setting up Install Process
Parsing package install arguments
No package local available.
Examining plexmediaserver-0.9.7.28.33-f80a4a2.i386.rpm: plexmediaserver - 0.9.7.28.33-f80a4a2.i386
Marking plexmediaserver-0.9.7.28.33-f80a4a2.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package plexmediaserver.i386 0:0.9.7.28.33-f80a4a2 set to be updated
--> Processing Dependency: libc.so.6(GLIBC_2.10) for package: plexmediaserver
--> Processing Dependency: libc.so.6(GLIBC_2.11) for package: plexmediaserver
--> Processing Dependency: libc.so.6(GLIBC_2.6) for package: plexmediaserver
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package: plexmediaserver
--> Processing Dependency: libc.so.6(GLIBC_2.8) for package: plexmediaserver
--> Processing Dependency: libc.so.6(GLIBC_2.9) for package: plexmediaserver
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.11) for package: plexmediaserver
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.9) for package: plexmediaserver
--> Finished Dependency Resolution
Error: Missing Dependency: libc.so.6(GLIBC_2.8) is needed by package plexmediaserver
Error: Missing Dependency: libc.so.6(GLIBC_2.6) is needed by package plexmediaserver
Error: Missing Dependency: libstdc++.so.6(GLIBCXX_3.4.9) is needed by package plexmediaserver
Error: Missing Dependency: libc.so.6(GLIBC_2.11) is needed by package plexmediaserver
Error: Missing Dependency: libstdc++.so.6(GLIBCXX_3.4.11) is needed by package plexmediaserver
Error: Missing Dependency: libc.so.6(GLIBC_2.9) is needed by package plexmediaserver
Error: Missing Dependency: libc.so.6(GLIBC_2.7) is needed by package plexmediaserver
Error: Missing Dependency: libc.so.6(GLIBC_2.10) is needed by package plexmediaserver



This are the errors...
what would the problem on this???

tanx for reply,
angel
03:06 PM
Luke Healey replied to the topic Re:BackupPC causing system performance problems in the forums.
I firmly believe Clearfoundation need to come up with a reliable, easy, integrated local backup solution (i.e to USB or NAS)
cloud backup is hopeless for the small business with large storage requirements.!!!

Personally i feel cloud backup in general is pretty hopeless. It's simply relying on too many 3rd party systems and i think the decision by clearfoundation to push the cloud product is mis-guided.
12:12 PM
Luke Healey replied to the topic Re: BackupPC causing system performance problems in the forums.
Cheers Tim.

I suspect that would further increase the full backup time (which already exceeds 24hrs) but worth a go i guess.
I'm wondering if it's something to do with rsync and NFS?
12:03 PM
Luke Healey created a new topic BackupPC causing system performance problems in the forums.
Hi all

A clients' server suffers significant performance degredation while backupPC is running a backup job.

ClearOS 6.4 on an HP ML330 G5 (Xeon 2.26 / 4GB / HP Smart Array)
4x 1000GB SATA3 HDD, RAID10 volume
BackupPC backing up local to locally mounted NFS share (NAS Box)

When BackupPC runs, the entire system performance degrades noticeably.
Users are complaining that Zarafa is very slow to respond among other problems.
Even Webconfig is slow to access.
This is only a problem when the weekly full backup runs.
A full backup ~500gb takes over 24hrs which is unacceptable. i don't know what is wrong, or where to start looking.

Here's some stats:

Backup status - note backup#147 time - 1291.3min for a full
Code:

Backup#__FBTAB__ Type__FBTAB__ Filled__FBTAB__ Level__FBTAB__ Start Date__FBTAB__ Duration/mins__FBTAB__ Age/days__FBTAB__ Server Backup Path
147__FBTAB__ full__FBTAB__ yes__FBTAB__ 0__FBTAB__ 6/9 20:00__FBTAB__ 1291.3__FBTAB__ 9.8__FBTAB__/mnt/BackupPC//pc/localhost/147
148__FBTAB__ incr__FBTAB__ no__FBTAB__ 1__FBTAB__ 6/10 20:00__FBTAB__ 81.3__FBTAB__ 8.8__FBTAB__/mnt/BackupPC//pc/localhost/148




Code:

Totals__FBTAB__ Existing Files__FBTAB__ New Files
Backup#__FBTAB__ Type__FBTAB__ #Files__FBTAB__ Size/MB__FBTAB__ MB/sec__FBTAB__ #Files__FBTAB__ Size/MB__FBTAB__ #Files__FBTAB__ Size/MB
147__FBTAB__ full__FBTAB__ 230862__FBTAB__ 530403.4__FBTAB__ 6.85__FBTAB__ 230707__FBTAB__ 530166.2__FBTAB__ 466__FBTAB__ 238.6
148__FBTAB__ incr__FBTAB__ 654__FBTAB__ 473.6__FBTAB__ 0.10__FBTAB__ 443__FBTAB__ 12.9__FBTAB__ 469__FBTAB__ 460.8 



Here is Top while a backup job is running
top - 15:31:26 up 40 days, 7:51, 6 users, load average: 6.68, 5.56, 5.43
Tasks: 240 total, 1 running, 238 sleeping, 0 stopped, 1 zombie
Cpu(s): 22.2%us, 2.5%sy, 0.0%ni, 0.8%id, 71.5%wa, 0.2%hi, 2.7%si, 0.0%st
Mem: 3914396k total, 3791532k used, 122864k free, 8284k buffers
Swap: 8388576k total, 1845032k used, 6543544k free, 1518576k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13777 backuppc 20 0 332m 108m 1156 D 17.1 2.8 127:52.82 BackupPC_dump
12015 backuppc 20 0 280m 75m 1416 D 12.8 2.0 125:29.22 BackupPC_dump
12119 root 20 0 135m 6812 408 D 9.4 0.2 64:37.14 rsync


anyone want to offer an opinion or slice of experience?
11:25 AM
Peter Baldwin replied to the topic Re:Development Environment - Getting Started in the forums.
I'll write up a developer document on the topic. More to come!
10:49 AM
Ben Chambers created a new topic New Software RAID App Needs Beta Testers in the forums.
Finally got around to rewriting the software RAID app from 5.x to the new 6.x framework. In fact, it got a bit of an overhaul from what could be considered regex hell in the older API. To install:

yum --enablerepo=clearos-test app-raid

Hoping to get this app out to the Marketplace next week if no one finds any serious issues. Installing the app, IMO, to a production system is OK to do since the monitoring is just pulling (reading) data.

If you want to test removing a block device, re-adding, syncing etc., I would save that for a test machine. I've gone through the simulation of marking an array degraded, removing and re-adding via Webconfig and all seemed well. Regardless, if you have a RAID failure, you're probably going to drop down to the command line. I have not implemented copying partitioning from the good disk to a new one in the event of failure, so if you're going to that level of testing, you'll have to do this manually for now.

It's a pretty simple app, but for monitoring and alerting (don't forget to setup [img]http://www.clearcenter.com/marketplace/system/Mail_Notification.htmlmail notification[/img])..it should do that trick.

Cheers,

Ben
09:31 AM
Yesterday
Isal Faisal created a new topic Problem with antivirus filtering in the forums.
Dear All,

I've been using ClearOS 5.2 since 2010 and now I have an issue. The issue is Antivirus mail/web web filtering is not working anymore.
Users unable to browse internet when Antivirus filtering is ON. Users able to browse internet when Antivirus filtering is OFF.
MS Exchange unable to receive email when mail filter service in ON. MS Exchange able to receive email when I disable the mail filter service. The effect is spam brutally come to our exchange mailbox.

I have restarted the server and still antivirus service unable to start. I don't know. Maybe this is caused by the latest antivirus update so it damages Clearos antivirus service.

Please help me how to solve the problem. Where can I start to solve this problem.. ( i can use basic linux command via SSH/Putty port 81).

Thanks
09:48 AM
2 days ago
Ben Chambers replied to the topic Re:Recommendations on where to put Dropbox data folders? in the forums.
You'll need to use a login shell (PuTTY if you're a Windows guy), but knowing the output from the following would help us help you.
Code:

ps afxw | grep dropbox


Code:

cat /etc/clearos/dropbox.conf


Code:

service dropbox restart



B.
04:21 AM
3 days ago
Ben Chambers replied to the topic Re:New install, unable to login as root at local interface or webui in the forums.
Hmmm...I may have been wrong (not the first time!). See this bug tracker.

B.
04:03 PM
1 week ago
Peter Baldwin replied to the topic Re:Development Environment - Getting Started in the forums.
Debashis Chowdhury wrote:
I mean to say, after installation of an app, suppose i want to start or stop the working process of that app. How can i do so? For example, the content filter app has the facility to start and stop the working process.

Yup, the above PPTP example will show you the way.

Means, how can i execute a command in shell internally with the help of app which will enable or disable a process.For example, enabling/disabling a cron script by executing command internally through an app.

For normal daemons (in /etc/rc.d/init.d), follow the PPTP app as an example. In general, you can execute commands using the Shell class. Here's an example:

Code:


#!/usr/clearos/sandbox/usr/bin/php
<?php

///////////////////////////////////////////////////////////////////////////////
// B O O T S T R A P
///////////////////////////////////////////////////////////////////////////////

$bootstrap = getenv('CLEAROS_BOOTSTRAP') ? getenv('CLEAROS_BOOTSTRAP') : '/usr/clearos/framework/shared';
require_once $bootstrap . '/bootstrap.php';

///////////////////////////////////////////////////////////////////////////////
// D E P E N D E N C I E S
///////////////////////////////////////////////////////////////////////////////

use \clearos\apps\base\Shell as Shell;

clearos_load_library('base/Shell');

///////////////////////////////////////////////////////////////////////////////
// M A I N
///////////////////////////////////////////////////////////////////////////////

$shell = new Shell();
$shell->execute('/bin/ls', '/etc');
$output = $shell->get_output();

print_r($output);



Here are some API docs:
code.clearfoundation.com/api/classes/cle...apps.base.Shell.html
Jun 12
Peter Baldwin replied to the topic Re:SOGo, Outlook, Openchange and Samba4 on ClearOs 6.4.0 in the forums.
Most of that thread seems to cover Fedora. The SOGo document for Openchange install doesn't take Fedora into account, only RH/Cent and Debian, and even then it's unsure of Debian to some degree. I think the SOGo team will likely have done an install test on RH/Cent, so there's a possibility is could work on Clear.
The implementation will get done in Fedora before it trickles down into RHEL, hence the Fedora discussion. Samba 4 will certainly build, install and seem to run just fine on RHEL/CentOS/ClearOS (that has been in the case in ClearOS 6 since October). It's that library issue that's a show stopper.

The Kerberos issue mentions that the MIT and Heimdal implementations don't play well together in certain situations, so I'd need to know what those situations are. I'd be looking for any situations relating to a standalone mail server.
The repercussions are a bit murky to me too, but it's certainly something that stops us from shipping it as a commercial product.

I can understand why you wouldn't consider it for a production server
If there's hesitation by the Fedora team to ship Samba 4 with AD/DC support, then that's a red flag to me. It's not even ready for Fedora

As it seems I'd have to drop using OpenLDAP in favour of Samba 4 and its internal LDAP
Yup. That will make a lot of people hesitate. It's one of the reasons we went with a driver-based solution in ClearOS - pick OpenLDAP or Samba 4... most the apps support both out of the box.
Jun 12
Ben Chambers replied to the topic Re:Recommendations on where to put Dropbox data folders? in the forums.
You have the right idea...I usually think of a bind mountpoint as a sym link that is undetectable from the application's standpoint.

B.
Jun 11
Ben Chambers replied to the topic Re:video streaming server in the forums.
Sorry...I have no experience with MiniDLNA...I've come from Mediatomb.

B.
Jun 11
Peter Baldwin replied to the topic Re:Development Environment - Getting Started in the forums.
Hi Debashis,

We will continue to chip away at the developer documentation as time permits. It's a high priority, so it won't stay stagnant.

1) How apps establish connection with core function after installation? What is actually executing internally?
4) Where the form datas are being stored after submission?


I'm going to answer 1 and 4 together.

Take a look at the PPTP server app. It's simple to understand, but still has enough complexity to make it a good starting point. Ultimately, a web form submission runs a bunch of API calls. For example, when a user submits the PPTP settings through the web form, the CodeIgniter framework sends the information to the API with the following block of code in the controller/settings.php file:

Code:


    $this->pptpd->set_remote_ip($this->input->post('remote_ip'));
    $this->pptpd->set_local_ip($this->input->post('local_ip'));
    $this->pptpd->set_wins_server($this->input->post('wins'));
    $this->pptpd->set_dns_server($this->input->post('dns'));
    $this->pptpd->reset(TRUE);



The API (in library/PPTPd.php) does the actual configuration change. In other projects, configuration changes are written to some kind of internal database, and then the configuration file is re-generated. In ClearOS, the changes are written directly to the configuration file.

2) How to enable(start) and disable(stop) the working process of an app after installation?
Do you mean how do you start and stop a daemon? If so, take a look at the /var/clearos/base/daemon/pptpd.php file (if PPTP is installed) as an example. You will need to create a similar configuration file for your daemon. Next, follow the controllers/server.php example in the PPTP app. If you get stuck, just let me know -- this answer should really be a standalone document (not just a handful of sentences!)

3) How to enable / disable a core functionality with the help of an app?
I'm not sure what you mean here. What app are you building?

Keep the questions coming, I'm more than happy to help!
Jun 11
Ben Chambers replied to the topic Re:video streaming server in the forums.
I've been using Plex for the last few months...huge improvement over Mediatomb which I was using before.

Just finished watching a movie streaming from it to a browser in HTML5, but I much prefer going through the PS3.

Install was straightforward...I believe I downloaded the 64bit version from the website for CentOS and ran:
Code:

yum install local plexmediaserver-0.9.7.22.511-4b5280f.x86_64.rpm



and went to:

SERVER_IP:32400/web

B.
Jun 10

Wall

No wall post to show

Groups

Here is a short listing of the groups that the user has registered in.

My twitter updates

No Twitter updates or incorrect login info.