1
Kloxo-MR Technical Helps / Re: FFMPEG auto installer for Kloxo MR (PHP5.4 Supported)
« on: 2015-09-24, 07:54:31 »
post has been updated with working urls
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.
wget http://apps.w3spot.com/library/ffmpeg/ffmpeg.w3spot
sh ./ffmpeg.w3spot
Ok. thx
What i did is ->Code: [Select]cp ~lxcenter.conf.tpl custom.~lxcenter.conf.tpl
nano custom.~lxcenter.conf.tpl
and make such modificationsCode: [Select]Timeout 150
KeepAlive <?php echo $keepalive; ?>
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 2
MinSpareServers <?php echo $minspareservers; ?>
MaxSpareServers <?php echo $maxspareservers; ?>
ServerLimit 256
MaxClients 512
<IfVersion >= 2.4>
MaxRequestWorkers <?php echo $maxspareservers; ?>
MaxConnectionsPerChild <?php echo $maxrequestsperchild; ?>
</IfVersion>
<IfVersion < 2.4>
MaxClients 512
MaxRequestsPerChild <?php echo $maxrequestsperchild; ?>
</IfVersion>
MaxMemFree 2
SendBufferSize 65536
ReceiveBufferSize 65536
</IfModule>
<IfModule itk.c>
StartServers 2
MinSpareServers <?php echo $minspareservers; ?>
MaxSpareServers <?php echo $maxspareservers; ?>
ServerLimit 256
MaxClients 512
<IfVersion >= 2.4>
MaxRequestWorkers <?php echo $maxspareservers; ?>
MaxConnectionsPerChild <?php echo $maxrequestsperchild; ?>
</IfVersion>
<IfVersion < 2.4>
MaxClients 256
MaxRequestsPerChild <?php echo $maxrequestsperchild; ?>
</IfVersion>
MaxMemFree 2
SendBufferSize 65536
ReceiveBufferSize 65536
</IfModule>
<IfModule worker.c>
StartServers 2
MinSpareThreads <?php echo $minsparethreads; ?>
MaxSpareThreads <?php echo $maxsparethreads; ?>
ServerLimit 250
MaxClients 512
ThreadsPerChild 25
<IfVersion >= 2.4>
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfVersion>
<IfVersion < 2.4>
MaxClients 250
MaxRequestsPerChild 0
</IfVersion>
ThreadStackSize 8196
MaxMemFree 2
SendBufferSize 65536
ReceiveBufferSize 65536
</IfModule>
<IfModule event.c>
StartServers 2
MinSpareThreads <?php echo $minsparethreads; ?>
MaxSpareThreads <?php echo $maxsparethreads; ?>
ServerLimit 250
MaxClients 250
ThreadsPerChild 25
MaxRequestsPerChild 0
ThreadStackSize 8196
<IfVersion >= 2.4>
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfVersion>
<IfVersion < 2.4>
MaxClients 250
MaxRequestsPerChild 0
</IfVersion>
SendBufferSize 65536
ReceiveBufferSize 65536
</IfModule>
Include /home/apache/conf/defaults/*.conf
Include /home/apache/conf/domains/*.conf
Include /home/apache/conf/webmails/*.conf
restart itCode: [Select]top - 17:22:06 up 1 day, 2:57, 1 user, load average: 0.03, 0.05, 0.01
but it's impossible to open any page on my websites.Code: [Select][root@server tpl]# sh /script/sysinfo
A. Kloxo-MR: 6.5.0.f-2014013101
B. OS: CentOS release 5.10 (Final) i686
C. Apps:
1. MySQL: mysql55-5.5.35-1.ius.el5
2. PHP: php52-5.2.17-6.ius.centos5
3. Httpd: httpd-2.2.26-1.el5
4. Lighttpd: --uninstalled--
5. Nginx: --uninstalled--
6. Qmail: qmail-toaster-1.03-1.3.35.mr.el5
- with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
7. Dns: bind-9.9.4-1.P2.el5
D. Php-type (for Httpd/proxy): mod_php_ruid2
E. Memory:
total used free shared buffers cached
Mem: 3072 2125 946 0 0 1622
-/+ buffers/cache: 502 2569
Swap: 0 0 0
BTW, even 1 week ago this account work properly under Kloxo old panel :-(
mysqld: unrecognized service
mysqld: unrecognized service
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Stop MySQL service...
mysqld: unrecognized service
MySQL ROOT password reset...
Start MySQL service...
mysqld: unrecognized service
Creating Vpopmail database...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Prepare /home/kloxo/httpd...
Create mysql.sock...
mysqld: unrecognized service
mksock: error making /var/lib/mysql/mysql.sock: No such file or directory
mysqld: unrecognized service
mysqld: unrecognized service
Setting Mysql for always running after reboot and restart now...
mysqld: unrecognized service
Unknown option. Use '-h' for help.
mysqld: unrecognized service
mysqld: unrecognized service
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Stop MySQL service...
mysqld: unrecognized service
MySQL ROOT password reset...
Start MySQL service...
mysqld: unrecognized service
Could not Connect to Database on localhost using root user
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Could not open database connection.
Run 'sh /script/restart-all' to make sure all services running well
[root@server /]# sh /script/restart-all
Already stopped.
Starting qmail-toaster: svscan.
Could not open database connection.Stopping kloxo-phpcgi: [FAILED]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [FAILED]
Starting kloxo-hiawatha: Error loading RSA private key (-0x2B00): X509 - Read/write of file failed
[FAILED]
[root@server /]#