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.
Pages: [1]
1
SSL / CWP SHOUTcasters Stream Ultimate Guide: Implementing SSL
« on: August 10, 2024, 08:20:19 PM »
SHOUTcasters guide to implementing SSL on your audio stream
Web browsers have increased security measures on content and streaming audio now requires SSL, absolutely crucial to be able to stream on any browser and not limit your exposure. Although CWP can create SSL for websites it does not automatically secure SHOUTcast audio streams. Command lines and configuration of files are required to be able to secure a stream in CWP. It has been done based on comments and crosstalk between techs who know the Linux framework, but no input for layman assistance has been offered. I have yet to find a complete LINE-LINE walk-through for this SSL implementation. So I'm putting this together as part Journal and part "hey ya help me out" Maybe I can get pointed to the right resources I need to look into.
STUNNEL seems most promising with fewer steps for those not too comfortable with line code and file modification. I saw a couple post on this forum referencing stunnel. the following link breaks down the STUNNEL fix
I have not implemented, i am still in the gatherin information phase and not sure if the code changed any
https://forums.winamp.com/forum/shoutcast/shoutcast-discussions/314734-stunnel-and-shoutcast-https-ssl-streaming-setup
I feel my Partner HUBUFM when he said there are no up-to-date instructions and that this implementation is for those on limited budgets. That's why I'm here on CWP.
-------------------------------------------------------------------------
OTHER Potential Resources with LINE CODE steps.
I have yet to review all links to be able to compare differences in steps and code the guide above provides the most context to the process and procedure.
all links should be reviewed to get a broader view of the process and issues that others had with SSL implementation with STUNNEL. this is my process and how I can post the fixes that I put a lot of research into.
https://www.radioforge.com/faqs/stunnel-ssl-to-shoutcast/
https://support.aivahthemes.com/forums/topic/setup-ssl-streams-for-shoutcast/
https://www.interserver.net/tips/kb/using-stunnel-to-add-ssl-to-shoutcast-or-any-service-that-does-not-have-ssl/
https://community.letsencrypt.org/t/using-stunnel-to-add-ssl-to-shoutcast-in-ovh-vps-help/35266
https://www.stunnel.org/mailman3/hyperkitty/list/stunnel-users@stunnel.org/thread/FVKQIQNVODQ757HFWPU4GPEOVLPFHAHR/
https://www.reddit.com/r/linuxadmin/comments/c7ovsv/anyone_here_using_stunnel/?rdt=36990
Posted: 18 November 2021, 16:59: https://forums.winamp.com/forum/shoutcast/shoutcast-technical-support/315804-perfect-ssl-shoutcast-server
I will continue to edit this post with relevant information about FORUM SUPPORTS LINKS and others.
This post will also be updated with my line code and my results.
If you have implemented SSL with Stunnel for the SHOUTcast stream please share your STEP BY STEP LINE CODE and tips for implementation.
Thanks a million on behalf of CWP SHOUTcasters
Web browsers have increased security measures on content and streaming audio now requires SSL, absolutely crucial to be able to stream on any browser and not limit your exposure. Although CWP can create SSL for websites it does not automatically secure SHOUTcast audio streams. Command lines and configuration of files are required to be able to secure a stream in CWP. It has been done based on comments and crosstalk between techs who know the Linux framework, but no input for layman assistance has been offered. I have yet to find a complete LINE-LINE walk-through for this SSL implementation. So I'm putting this together as part Journal and part "hey ya help me out" Maybe I can get pointed to the right resources I need to look into.
STUNNEL seems most promising with fewer steps for those not too comfortable with line code and file modification. I saw a couple post on this forum referencing stunnel. the following link breaks down the STUNNEL fix
I have not implemented, i am still in the gatherin information phase and not sure if the code changed any
https://forums.winamp.com/forum/shoutcast/shoutcast-discussions/314734-stunnel-and-shoutcast-https-ssl-streaming-setup
Quote
Posted 2 March 2020, 03:06--------------------------------------------------------------------------
I just discovered Stunnel and using it with Shoutcast for https (SSL) streaming without having to have a Shoutcast for Business (Premium) account. Basically, Stunnel takes the Shoutcast server and makes it https (SSL) without having to make any changes to the Shoutcast DNAS config itself. It turned out to be a lot easier than I thought it would be. The biggest hurdle I faced was finding up to date directions. This was done on a dedicated server with: CentOS 6. Also, Shoutcast DNAS and Stunnel were already installed and the port I used for https (SSL) streaming was already open and NOT used by another service.
1. Login to the server as root using SSH.
2. Follow the instructions to create a Let's Encrypt SSH key for Stunnel to use (even if you don't have a Shoutcast for Business account). When I did this, I had several dependencies that needed to be installed before I could actually run the certbot-auto command: https://help.shoutcast.com/hc/en-us/...rver-Software-
3. Go to the Stunnel directory (cd /etc/stunnel/)
4. Create stunnel.conf file (nano stunnel.conf). Add the following lines and save (CTRL - X):
accept=port that https (SSL) stream should go out on
connect=current domain and port of where your current Shoutcast server is (mine is on the same server which is why I use localhost
cert and key=replace your domain name used in step #2
code:
client=no
[shoutcast]
accept=8000
connect=localhost:8000
cert = /etc/letsencrypt/live/yourdomainhere.com/fullchain.pem
key = /etc/letsencrypt/live/yourdomainhere.com/privkey.pem
5. Start Stunnel (/usr/bin/stunnel)
6. Go to https://yourdomain.com:<port used for Stunnel> and you should see your Shoutcast v2 page if everything worked correctly.
(PS: I hope that the Shoutcast admins will not remove this post post, especially for us with very limited budgets trying to reach the largest audience possible.)
a followup post said this:
If you can't bind to a port, it indicates that port is already in use. You're probably already using port 443 with a webserver or other service. You don't need to change anything in shoutcast's configs, keep all those the same. The HTTPS work here is being done by stunnel. All the info you need is in the original post..
> accept=port that https (SSL) stream should go out on;
I suggest you try port 8443 here instead, i.e.
accept=8443
> connect=current domain and port of where your current Shoutcast server
If you're running default configs and streaming on port 8000, as above put localhost:8000 (or whatever domain is serving your stream; yourradiostation.com:8000), otherwise change the port number to whatever you're using.
Start stunnel.
Open up http://yourradiostation.com:8000 (or wherever your admin pages are located).
Open up https://yourradiostation.com:8443 and you should see your admin pages proxied through SSL/TLS.
Now just change your stream urls from http:// to https:// and the port from 8000 to 8443. Job done
I feel my Partner HUBUFM when he said there are no up-to-date instructions and that this implementation is for those on limited budgets. That's why I'm here on CWP.
-------------------------------------------------------------------------
OTHER Potential Resources with LINE CODE steps.
I have yet to review all links to be able to compare differences in steps and code the guide above provides the most context to the process and procedure.
all links should be reviewed to get a broader view of the process and issues that others had with SSL implementation with STUNNEL. this is my process and how I can post the fixes that I put a lot of research into.
https://www.radioforge.com/faqs/stunnel-ssl-to-shoutcast/
https://support.aivahthemes.com/forums/topic/setup-ssl-streams-for-shoutcast/
https://www.interserver.net/tips/kb/using-stunnel-to-add-ssl-to-shoutcast-or-any-service-that-does-not-have-ssl/
https://community.letsencrypt.org/t/using-stunnel-to-add-ssl-to-shoutcast-in-ovh-vps-help/35266
https://www.stunnel.org/mailman3/hyperkitty/list/stunnel-users@stunnel.org/thread/FVKQIQNVODQ757HFWPU4GPEOVLPFHAHR/
https://www.reddit.com/r/linuxadmin/comments/c7ovsv/anyone_here_using_stunnel/?rdt=36990
Posted: 18 November 2021, 16:59: https://forums.winamp.com/forum/shoutcast/shoutcast-technical-support/315804-perfect-ssl-shoutcast-server
I will continue to edit this post with relevant information about FORUM SUPPORTS LINKS and others.
This post will also be updated with my line code and my results.
If you have implemented SSL with Stunnel for the SHOUTcast stream please share your STEP BY STEP LINE CODE and tips for implementation.
Thanks a million on behalf of CWP SHOUTcasters
2
Suggestions / Dedicated Shoutcast/ICEcast Topic on Forum;Add Audio Stream Engineer to CWP Team
« on: August 10, 2024, 07:31:36 PM »
Audio/Video Streaming Hosts are underserved by many webpanels. CWP Please Promote your audio hosting capabilities. I'm not sure if you have video streaming capabilities. Streaming is poised to greatly increase through the years......
I used to have my Audio Hosting and Web Hosting on different panels. I move to CWP to reduce my SERVER overhead by using my own VPS. I gave CWP a try for WEBPANEL FUNCTIONALITY, during the exploration phase of the software I noticed the SHOUTcast feature, I was excited, I didn't even know SHOUTCAST was a feature when I installed CWP(THERE IS NO MENTION OF THE AUDIO STREAMING CAPABILITIES ANYWHERE ON THE CWP HOMEPAGE), but left it for later. Later became almost 4 years, and I'm upset I did not implement my SHOUTCAST server on CWP sooner. I had a learning curve in setting up a panel on a VPS from scratch with very little Linux understanding. I am glad I gave CWP a try.
I appreciate being able to remove the need for a separate panel for hosting SHOUTcast, although I do miss their streaming analytics function. Hence this post.
Hosting audio is another world on its own, Not sure if CWP sees their audio streaming function as something small but integrating the audio streaming capabilities of Shoutcast/ICEcast is a POWER MOVE by CWP. I hope they can recruit more audio streaming engineers to the CWP team to drive development in the SHOUTcast/ICEcast and the POWERHOUSE of audio/video hosting.
Dedicated "SHOUTCAST/ICEcast" or "AUDIO/VIDEO Hosting" TOPIC on Forum (not sure if CWP supports video hosting)
To help better centralize the issues of SHOUT/ICEcast (Audio/Video) hosts that can be developed into solutions for GUI. Example: 1. Auto SLL for streams Example 2. Enable SLL via STUNNEL through GUI.
I used to have my Audio Hosting and Web Hosting on different panels. I move to CWP to reduce my SERVER overhead by using my own VPS. I gave CWP a try for WEBPANEL FUNCTIONALITY, during the exploration phase of the software I noticed the SHOUTcast feature, I was excited, I didn't even know SHOUTCAST was a feature when I installed CWP(THERE IS NO MENTION OF THE AUDIO STREAMING CAPABILITIES ANYWHERE ON THE CWP HOMEPAGE), but left it for later. Later became almost 4 years, and I'm upset I did not implement my SHOUTCAST server on CWP sooner. I had a learning curve in setting up a panel on a VPS from scratch with very little Linux understanding. I am glad I gave CWP a try.
I appreciate being able to remove the need for a separate panel for hosting SHOUTcast, although I do miss their streaming analytics function. Hence this post.
Hosting audio is another world on its own, Not sure if CWP sees their audio streaming function as something small but integrating the audio streaming capabilities of Shoutcast/ICEcast is a POWER MOVE by CWP. I hope they can recruit more audio streaming engineers to the CWP team to drive development in the SHOUTcast/ICEcast and the POWERHOUSE of audio/video hosting.
Dedicated "SHOUTCAST/ICEcast" or "AUDIO/VIDEO Hosting" TOPIC on Forum (not sure if CWP supports video hosting)
To help better centralize the issues of SHOUT/ICEcast (Audio/Video) hosts that can be developed into solutions for GUI. Example: 1. Auto SLL for streams Example 2. Enable SLL via STUNNEL through GUI.
3
Updates / YUP UPDATE wont resolve repository hosts after July 1 2027, Solved updated URLs
« on: August 03, 2024, 01:15:11 AM »
CentosOS7
Yum update was not working found this
as of July 1 repos url changed to VAULT archive repositories
Had to change Centos-Base.repo with following command:
vi /etc/yum.repos.d/CentOS-Base.repo
---------------then SNIP image of current config for safe keeping incase.
In file Replace everything under [base]
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Then Command:
yum clean all
Yum Update
Successful resolve and update of REPOS.
I followed this guide and got my YUM update to work with new URLs:
https://serverfault.com/questions/904304/could-not-resolve-host-mirrorlist-centos-org-centos-7
Yum update was not working found this
as of July 1 repos url changed to VAULT archive repositories
Had to change Centos-Base.repo with following command:
vi /etc/yum.repos.d/CentOS-Base.repo
---------------then SNIP image of current config for safe keeping incase.
In file Replace everything under [base]
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Then Command:
yum clean all
Yum Update
Successful resolve and update of REPOS.
I followed this guide and got my YUM update to work with new URLs:
https://serverfault.com/questions/904304/could-not-resolve-host-mirrorlist-centos-org-centos-7
4
How to / How to uninstall Dos2Unix Converter and restore VIM commands
« on: June 15, 2024, 10:23:42 PM »
While trying to install IMAGICK and tried following the following tutorial. It failed now I can't run any SUDO or VIM commands.
How to unintall Dos2UNIX converter
https://www.bullten.com/knowledgebase/33/Install-Imagick-Maldet-and-net2ftp-in-CWP.html
*****************The installation failed with the following*******************
[root@cwp ~]# dos2unix /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick
dos2unix: converting file /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick to Unix format ...
[root@cwp ~]# sh /scripts/install_imagick
CWP Imagick Installer
################################
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.us.oneandone.net
* epel: mirror-mci.yuki.net.uk
* extras: mirror.grid.uchicago.edu
* updates: mirror.team-cymru.com
varnishcache_varnish5/x86_64/signature | 836 B 00:00:00
varnishcache_varnish5/x86_64/signature | 1.0 kB 00:00:00 !!!
varnishcache_varnish5-source/signature | 836 B 00:00:00
varnishcache_varnish5-source/signature | 1.0 kB 00:00:00 !!!
Package ImageMagick-6.9.10.68-7.el7_9.x86_64 already installed and latest version
Package ImageMagick-devel-6.9.10.68-7.el7_9.x86_64 already installed and latest version
Package ImageMagick-perl-6.9.10.68-7.el7_9.x86_64 already installed and latest version
Nothing to do
--2024-06-15 22:12:56-- http://static.cdn-cwp.com/files/php/pecl/imagick-3.1.0RC2.tgz
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 151.80.90.199, 198.27.104.40, 137.74.148.116, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|151.80.90.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93264 (91K) [application/octet-stream]
Saving to: ‘imagick-3.1.0RC2.tgz’
100%[=======================================================================================================================================================================================================>] 93,264 274KB/s in 0.3s
2024-06-15 22:12:57 (274 KB/s) - ‘imagick-3.1.0RC2.tgz’ saved [93264/93264]
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
ln: failed to create symbolic link ‘/usr/local/include/ImageMagick’: File exists
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.9.10 Q16
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
extension=imagick.so
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Imagick NOT Installed !
[root@cwp ~]# sudo apt-get update
sudo: apt-get: command not found
[root@cwp ~]# vim new_project.c
-bash: vim: command not found
[root@cwp ~]# vimtutor
-bash: vimtutor: command not found
How to unintall Dos2UNIX converter
https://www.bullten.com/knowledgebase/33/Install-Imagick-Maldet-and-net2ftp-in-CWP.html
*****************The installation failed with the following*******************
[root@cwp ~]# dos2unix /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick
dos2unix: converting file /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick to Unix format ...
[root@cwp ~]# sh /scripts/install_imagick
CWP Imagick Installer
################################
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.us.oneandone.net
* epel: mirror-mci.yuki.net.uk
* extras: mirror.grid.uchicago.edu
* updates: mirror.team-cymru.com
varnishcache_varnish5/x86_64/signature | 836 B 00:00:00
varnishcache_varnish5/x86_64/signature | 1.0 kB 00:00:00 !!!
varnishcache_varnish5-source/signature | 836 B 00:00:00
varnishcache_varnish5-source/signature | 1.0 kB 00:00:00 !!!
Package ImageMagick-6.9.10.68-7.el7_9.x86_64 already installed and latest version
Package ImageMagick-devel-6.9.10.68-7.el7_9.x86_64 already installed and latest version
Package ImageMagick-perl-6.9.10.68-7.el7_9.x86_64 already installed and latest version
Nothing to do
--2024-06-15 22:12:56-- http://static.cdn-cwp.com/files/php/pecl/imagick-3.1.0RC2.tgz
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 151.80.90.199, 198.27.104.40, 137.74.148.116, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|151.80.90.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93264 (91K) [application/octet-stream]
Saving to: ‘imagick-3.1.0RC2.tgz’
100%[=======================================================================================================================================================================================================>] 93,264 274KB/s in 0.3s
2024-06-15 22:12:57 (274 KB/s) - ‘imagick-3.1.0RC2.tgz’ saved [93264/93264]
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
ln: failed to create symbolic link ‘/usr/local/include/ImageMagick’: File exists
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.9.10 Q16
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
extension=imagick.so
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Imagick NOT Installed !
[root@cwp ~]# sudo apt-get update
sudo: apt-get: command not found
[root@cwp ~]# vim new_project.c
-bash: vim: command not found
[root@cwp ~]# vimtutor
-bash: vimtutor: command not found
5
CentOS-WebPanel GUI / Missing my "redirect" under domains options. Now shows "clear cache' instead.
« on: December 03, 2020, 10:17:08 PM »
I originally had it working on install. I was able to redirect, I had an issue with DNS but restored that now that I'm trying to add a new domain redirect, It doesn't show it the option under the client panel domain submenu. How can I restore the "redirect option"?
6
Installation / New Install - Home Server- cant access login 4 panel but IP- test page OK (FIX)
« on: October 14, 2020, 12:49:09 AM »
Virtualbox - Centos 7 - CWP new install
Haven't found much to that provides a thorough explanation. But hope this helps!.
Found the below ports information and put it off the side for referencing while TS.
CWP Admin Panel Link (by hostname) if this is at home and you have no domain pointing to your external IP then use your IP. Google what is my IP. example.
http://serverip:2030.. etc.
CWP Admin Panel Link: http://server.com:2030
CWP Admin Panel Link: http://server.com:2086
CWP Admin Panel SSL Link: https://server.com:2031
CWP Admin Panel SSL Link: https://server.com:2087
CWP User Panel Link (by hostname)
CWP User Panel Link: http://server.com:2082
CWP User Panel SSL Link: https://server.com:2083
Ran update with command:
sh /scripts/update_cwp
Checked yougetsignal.com and shows port 80 and 2030 as open.
Only opened port 2030 in router initially, then.....
I noticed that the port 2030 automatically forwarded to 2031, so I went back to my router port forwarding and added port 2031. Then the admin login worked.
Admin Login screen for panel now shows. Then tested 2086 and it didn't work. Added port 2086 to the router like I did port 2031 and nothing. So then I added 2087 and then the admin login screen worked. Then added an open port rule in router that ranged from 2082-2083 for the client-side instead of having the rules separate, but I was just proof of concept that both ports need to be open at the same time, so one open port rule should be enough for sequential ports that need to be opened...
Conclusion. You must have both admin ports (2030,2031) or admin (2086,2087) and client (2082,2083), login ports pairs open at same time for that login screen to be accessed. One port forwarding rule per pair would be enough. I originally only opened port 2030 and so it wasnt working up until I opened its corresponding "https" port.
Good luck guys!
Haven't found much to that provides a thorough explanation. But hope this helps!.
Found the below ports information and put it off the side for referencing while TS.
CWP Admin Panel Link (by hostname) if this is at home and you have no domain pointing to your external IP then use your IP. Google what is my IP. example.
http://serverip:2030.. etc.
CWP Admin Panel Link: http://server.com:2030
CWP Admin Panel Link: http://server.com:2086
CWP Admin Panel SSL Link: https://server.com:2031
CWP Admin Panel SSL Link: https://server.com:2087
CWP User Panel Link (by hostname)
CWP User Panel Link: http://server.com:2082
CWP User Panel SSL Link: https://server.com:2083
Ran update with command:
sh /scripts/update_cwp
Checked yougetsignal.com and shows port 80 and 2030 as open.
Only opened port 2030 in router initially, then.....
I noticed that the port 2030 automatically forwarded to 2031, so I went back to my router port forwarding and added port 2031. Then the admin login worked.
Admin Login screen for panel now shows. Then tested 2086 and it didn't work. Added port 2086 to the router like I did port 2031 and nothing. So then I added 2087 and then the admin login screen worked. Then added an open port rule in router that ranged from 2082-2083 for the client-side instead of having the rules separate, but I was just proof of concept that both ports need to be open at the same time, so one open port rule should be enough for sequential ports that need to be opened...
Conclusion. You must have both admin ports (2030,2031) or admin (2086,2087) and client (2082,2083), login ports pairs open at same time for that login screen to be accessed. One port forwarding rule per pair would be enough. I originally only opened port 2030 and so it wasnt working up until I opened its corresponding "https" port.
Good luck guys!
7
DNS / HELP! I jack up my dns by deleting the "has no IP address zones"
« on: October 11, 2020, 07:12:57 AM »
I lookedup my dns because I was having issues with my email being flag for spam. I found something like these,
Below was posted by another user, any idea how I can restore/recover/rebuild those DNS zones...
named.ca has address: 103.224.182.216
named.empty has no address
named.localhost has no address
named.loopback has no address
the zones that I deleted all start with "NAME." One had a bunch of root servers and what seems to be listed in alphabetical order. Now non of my websites resolved. Is this generic. If I can't restore. anywhere I can find a copy of that zone file to create it manually? My Bind DNS Server has stopped. Below is the status...
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2020-10-11 03:44:31 EDT; 43s ago
Process: 9367 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Oct 11 03:44:31 cwp bash[9367]: zone sp.shoutcastradiohosting.com/IN: loaded serial 2020072600
Oct 11 03:44:31 cwp bash[9367]: zone jnavarro.co/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone navarrogroup.co/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone rockenespanol.co/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone showcartrends.com/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone katylifeinsurance.com/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp systemd[1]: named.service: control process exited, code=exited status=1
Oct 11 03:44:31 cwp systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Oct 11 03:44:31 cwp systemd[1]: Unit named.service entered failed state.
Oct 11 03:44:31 cwp systemd[1]: named.service failed.
Clicked on report issue and got this message from robot:
Hi, I'm AI-Robot, I will try to recover your named service.
Service Recovery FAILED!! "Unable to find a solution" I'm reporting this issue to main CWP artificial intelligence system!
I'm still learning please give me some time to learn about all issues.
Below was posted by another user, any idea how I can restore/recover/rebuild those DNS zones...
named.ca has address: 103.224.182.216
named.empty has no address
named.localhost has no address
named.loopback has no address
the zones that I deleted all start with "NAME." One had a bunch of root servers and what seems to be listed in alphabetical order. Now non of my websites resolved. Is this generic. If I can't restore. anywhere I can find a copy of that zone file to create it manually? My Bind DNS Server has stopped. Below is the status...
● named.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2020-10-11 03:44:31 EDT; 43s ago
Process: 9367 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
Oct 11 03:44:31 cwp bash[9367]: zone sp.shoutcastradiohosting.com/IN: loaded serial 2020072600
Oct 11 03:44:31 cwp bash[9367]: zone jnavarro.co/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone navarrogroup.co/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone rockenespanol.co/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone showcartrends.com/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone katylifeinsurance.com/IN: loaded serial 2020101121
Oct 11 03:44:31 cwp systemd[1]: named.service: control process exited, code=exited status=1
Oct 11 03:44:31 cwp systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Oct 11 03:44:31 cwp systemd[1]: Unit named.service entered failed state.
Oct 11 03:44:31 cwp systemd[1]: named.service failed.
Clicked on report issue and got this message from robot:
Hi, I'm AI-Robot, I will try to recover your named service.
Service Recovery FAILED!! "Unable to find a solution" I'm reporting this issue to main CWP artificial intelligence system!
I'm still learning please give me some time to learn about all issues.
8
How to / How to enable special character (eg.ñ)support when adding domains.
« on: July 26, 2020, 11:01:37 PM »
How to enable special character support when adding domains. I had no problem registering the domain with register but when CWP adds the domain it leaves out the special character "ñ."
Pages: [1]