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-03-28, 21:15:28

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 - atljohnsen

Pages: 1 [2] 3 4 5
16
Kloxo-MR Tips and Tricks / FFMPEG in Centos 7
« on: 2019-07-21, 01:27:01 »
I have in earlier posts in this forum seen requests for help on installing FFmpeg. This issue is not so much directed to Kloxo-MR but many have a need for handling multimedia files on their server, and FFmpeg contains a set of useful audio and video libraries such as libavcodec, libavformat, and libavutil. With FFmpeg, you can convert between various video and audio formats, set sample rates, capture streaming audio/video and resize videos. Especially social community websites benefit from FFmpeg, if for example using JomSocial.
FFmpeg is not available in CentOS 7 core repositories or those distributed with Kloxo-MR. It must therefore be installed using yum from Nux Dextop repository as follows:

The Nux repository depends on the EPEL software repository. If it is not enabled on your system, enable it via SSH (you need SUDO privileges)

#yum install epel-release

Next, import the Repository GPG key and enable the Nux repositories by installing the rpm package:

#rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

#rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Once the repository is enabled, install FFmpeg:

#yum install ffmpeg ffmpeg-devel

Verify the FFmpeg installation by running the ffmpeg -version command:

#ffmpeg -version

That’s it. FFmpeg will be on your CentOS 7. But for third party software like JomSocial to function you would need exec/passthru/shell_exec/system access, so you would need to change that in Kloxo-MR Admin/Advanced PHP settings.

Thanks for an excellent Control Panel - maybe the best. I have donated.

17
1. Is it still recommended to use Centos 7 minimal OS ?
2. Is it still recommended to disable SELINUX

Tnx in advance

18
Kloxo-MR Technical Helps / Re: help dont see my website
« on: 2019-05-25, 11:17:38 »
Check your Kloxo-Mr panel if all necessary services are running:
Home - Services

From SSH run:
sh /script/restart-all

 

19
Latest update is: 7.0.0.c-2019051601

You have old version

20
It seems that the  FastCGI: neither POLLIN nor POLLOUT... error when using  php-fpm_type for PHP has gone away after last update.  ;D
Excellent   ;D

21
@nikobellicgamerin

If you use fastcgi_event or proxy_fcgid as PHP type in Webserver config then, as Mustafa have explained, you will most likely experience some file write issues, especially for files and directories used for various types of cache files. For example the cache directory located in the file sturcture below your domain root. This can be fixed as Mustafa has explained, by changing ownership to apache:apache for user and group for those directories & files concerned, by using the change ownership tool available in Kloxo-MR File Manager.   

22
Kloxo-MR Technical Helps / Opcache
« on: 2019-05-17, 08:50:33 »
I tried to enable opcache for phpXYm by renaming opcache.nonini in /opt/phpXYm/etc/php.d to 10-opcache_used.ini. (XY is the php version where opcache is needed). But when I did sh /script/cleanup I got error:

Failed loading /opt/phpXYm/usr/lib64/php/modules/opcache: Cannot open shared object file: No such file or directory.

So I modified 10-opcache_used.ini line 2 from
zend_extension=/opt/phpXYm/usr/lib64/php/modules/opcache
to
zend_extension=/opt/phpXYm/usr/lib64/php/modules/opcache.so

and this seem to work, - no error when I do sh /script/cleanup and also I see in Kloxo-MR Home - PHP Module Status that 10-Opcache is green.

23
Kloxo-MR Bugs and Requests / Re: Add PHP 7.2
« on: 2019-05-12, 13:44:09 »
Try sh/script/cleanup

24
I have 2 different VPS, both KVM-based, sysinfo is identical on both, and I have identical website on both.
When using proxy_fcgi_event one of the servers has no issues, but the other server have directory permission errors. On that server, if I set certain directory permissions to 777 there are no issues.

When I swithch both servers to php-fpm_event mode then domain error log shows [FastCGI: neither POLLIN nor POLLOUT...] [mydomain.com] at regular intervals on both servers.

With this error, do you thin that the response time will slow down significatly if there are many logged in to the domain at the same time ?

25
I use apache 2.4 and have similar error logged on all domains when using php-fpm_event in webserver configure

Error comes at regular intervals and looks like this:
[Mon Apr 22 10:39:49 2019] [fastcgi:error] [pid 15499] [mod_fastcgi.c(2241):] [FastCGI: neither POLLIN nor POLLOUT...] [mydomain.com]

If I switch to proxy_fcgi_event in webserver configure then error goes away.
So I believe the problem is caused by mod_fastcgi which is in use when using php-fpm mode.

AJ

26
Kloxo-MR Releases / Re: Latest version of Kloxo-MR?
« on: 2019-04-08, 00:16:24 »
Tnx for info. I tried ISPCONFIG for a while, but had some issues with this CP using Centos 7, so I  will try CWP.

27
Kloxo-MR Releases / Re: Latest version of Kloxo-MR?
« on: 2019-04-06, 17:20:52 »
Yes, you have the latest version. I love Kloxo-MR, and surely miss Mr Mustafa Ramadhan and his excellent work. He suddenly dissapaired from this forum after several years of outstanding work, but indicated that he would be back. But as you say, there is now 2 years since last update so I am not so optimistic and I am trying out alternative CPs. But none of these can match Kloxo-MR, and it is still working for me although there are a few bugs.

28
Have you tried to change php-type in Webserver configure? Change to fcgid_event and see if that helps.  If you do that you must also change .htaccess accordingly (as described in Kloxo.MR section of that file). Then run sh /script/fixphp; sh /script/fixweb; sh /script/restart-web -y; sh /script/restart-all
I tried this on my testsite and it worked, but I got some permission issues that needed to be changed for everytning to work fine.



29
@lenawaii

Thank you for sharing this information. Very interresting findings. I have had the same issue. But on my last VPS I did not change hostname from what was originally provided by the service provider, and after reboot it always stay the same.

30
@azzureal
I tried your suggestion to edit /etc/resolv.conf with other nameserver IPs like my static VPS IP, 127.0.0.1 and 8.8.8.8 but observed no change to my domain error log, where the following error is recorded exactly every 5 minutes:
[Tue Sep 04 04:45:06 2018] [fastcgi:error] [pid 1135] [mod_fastcgi.c(2241):] [FastCGI: neither POLLIN nor POLLOUT...] [mydomain.com]

Pages: 1 [2] 3 4 5

Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.031 seconds with 17 queries.

web stats analysis