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

Pages: 1 ... 10 11 [12] 13 14 ... 55
166
Use https://hostname:2031

It's possible the proxy get's broken.

YOu can also add your hostnames IP to the /etc/csf/csf.allow, but I believe that will open up the system to the possibility of brute force attacks again

167
Installation / Re: Can I Install It On Canonical Ubuntu 20.04
« on: April 18, 2022, 01:30:46 AM »
Alternatively, you can install lxd and create a CentOS vps on the server.

168
Softaculous / Re: Softaclous disk space issue
« on: April 14, 2022, 12:59:49 PM »
In that case, I'm going to say that it's a bug with softaculous.  But seeing as it's showing 3GB  or space, which is more than enough to install the script, I wouldn't worry about it too much.  I think it's more  of a visual bug than a functional one.

169
CentOS-WebPanel Bugs / Re: Bug with CWP - Template Editor Pages
« on: April 14, 2022, 12:54:32 PM »
you could make a cronjob to check if the file is modified, and copy your template if it's reverted.

Probably the easiest way to do this, is in your modified index.html file, add "  <meta name="modified">  "

then in a bash script do the following:
Code: [Select]
if [ "$(grep -c '<meta name="modified"' /usr/local/apache/htdocs/index.html)" == 0 ] ; then
                cp /usr/local/apache/htdocs/index.tpl /usr/local/apache/htdocs/index.html
        fi

then just make your changes in /usr/local/apache/htdocs/index.tpl

make sure to chmod your shell script 755, and add a cronjob to run as often as you want to point to that script

170
CentOS-WebPanel Bugs / Re: Bug with CWP - Template Editor Pages
« on: April 14, 2022, 12:19:52 PM »
When CWP updates, it overwrites all changes you make to the files that come with the software.  Unfortunately, there is no way around this.

171
Softaculous / Re: Softaclous disk space issue
« on: April 14, 2022, 12:14:09 PM »
I believe the 3GB space it shows is the account based limit you set in the packaging and features.  Meaning that account is allowed to use 3GB of the 190GB your system actually has.

172
Postfix / Re: how to stop spam
« on: April 12, 2022, 11:23:11 PM »
Your server may not be sending them.  SMTP sends the reply to the MX assigned to a domain, even if the original spam didn't originate from your server.

The other emails are probably being sent via PHP.  Most likely your have an insecure script on your server.  If you don't use the server for email at all, you can close the ports for SMTP ( port 25 mainly ), and disable all of the mail software.

173
I can build it / Re: Want to hire - Postfix blacklist manager
« on: April 11, 2022, 09:56:24 PM »
It's completely doable.  However, you could also use SQL for the blacklist, much like the rest of CWP uses.  Something to consider.

174
CentOS 7 Problems / Re: 503 Service unavailable
« on: April 10, 2022, 11:16:56 PM »
try
systemctl restart php-fpm81

175
CentOS 7 Problems / Re: 503 Service unavailable
« on: April 08, 2022, 01:48:48 PM »
systemctl start php-fpm80

176
CentOS 7 Problems / Re: Hostname ssl issue
« on: April 08, 2022, 01:20:01 AM »
Make sure to restart cwpsrv, nginx, and/or apache for new certs to take affect.  If after restart, it doesn't work, please respond.

177
SSL / Re: How to secure my shoutcast server/streams with https
« on: April 08, 2022, 01:17:13 AM »
Example Config:

server {

    listen {radio ip or any ip}:{Port for sll} ssl;
    server_name {radio.whateverdomain.you.want, or comment out}
    ssl_certificate {full chain certificate};
    ssl_certificate_key {certificat key};
    ssl_session_cache builtin:1000 shared:SSL:10m;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
    ssl_prefer_server_ciphers on;


    location / {

            proxy_set_header Host $http_host;
            proxy_set_header X-NginX-Proxy true;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            proxy_pass http://{radio ip}:{radio port};
    }

178
Log in via ssh, and try to manually upload the file via the command line "ftp" program.

ftp backup.host
cd /ZEUS-BACKUP/full/daily/Tuesday/accounts/
put /home/tmp_bak/.backup_temp/zupomeg/zupomeg.tar.gz

Also check the other sides logs for clues.  It could be that /ZEUS-BACKUP/full/daily/Tuesday/accounts/ doesn't exist, and ftp doesn't automatically mkdir's

179
check the log file /var/log/cwp/cron_backup.log for clues as to why it's not uploading

180
CentOS Configuration / Re: server time : timezone not applied
« on: April 05, 2022, 05:38:59 AM »
Try restarting the crond service  ( systemctl restart crond ).  It could be that it's still using UTC because the system has not been restarted since setting the timezone

Pages: 1 ... 10 11 [12] 13 14 ... 55