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.
136
Apache / Re: Nginx configure
« on: June 17, 2022, 02:34:27 AM »
if you mean that it's a PHP page, you need FPM for nginx to use php.
137
CentOS Configuration / Re: 403 error on facebook
« on: June 16, 2022, 12:43:04 AM »
check the modsecurity log to find out the rule number that is causing the issue. Then put an exemption into modsecurity.
138
E-Mail / Re: Mail sending Issue : connect to alt1.aspmx.l.google.com: Network is unreachable
« on: June 12, 2022, 05:03:23 AM »
Don't use GMAIL as your admin email address. After about 100 emails a day, they start reporting your server as a spam server and start blocking it. There is no way around it. Setup an email account on your server, and in gmail, have it check the pop/imap of the admin email account to receive them in gmail.
139
E-Mail / Re: Roundcube update not working due to php version of cwpsrv
« on: June 04, 2022, 04:26:29 PM »
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
140
CentOS-WebPanel GUI / Re: Graphs issues & Inode limit
« on: June 01, 2022, 04:37:26 AM »
The negative values is most definitely some sort of bug. As for Inode limites, you have to have quota's enabled for them to take any effect.
141
MySQL / Re: CWP CentOS 7 installer with MySQL without MariaDB
« on: May 31, 2022, 07:00:56 AM »
CWP requires MariaDB. You could however install MySQL in a docker or lxc enviroment.
142
Backup / Re: Restore a backup of an account
« on: May 27, 2022, 03:40:54 AM »
admin/index.php?module=restore_backups
or
/admin/index.php?module=backup_manager2
depending on which backup system you use
or
/admin/index.php?module=backup_manager2
depending on which backup system you use
143
DNS / Re: going crazy please help!
« on: May 25, 2022, 09:41:03 PM »
Create a new nginx config file in /etc/nginx/conf.d/vhosts/(domainname).conf
the following should work. Of course you can add the appropriate lines to add SSL options
the following should work. Of course you can add the appropriate lines to add SSL options
Code: [Select]
server {
listen (LAN IP of this computer):80;
server_name (domainname) www.(domainname)
location / {
add_header X-Cache "HIT from Backend";
add_header Strict-Transport-Security "max-age=31536000";
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
proxy_pass http://(Private IP of other server):80;
include proxy.inc;
}
location ~ /\.ht {deny all;}
location ~ /\.svn/ {deny all;}
location ~ /\.git/ {deny all;}
location ~ /\.hg/ {deny all;}
location ~ /\.bzr/ {deny all;}
location /.well-known/acme-challenge {
default_type "text/plain";
alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
}
location /.well-known/pki-validation {
default_type "text/plain";
alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
}
}
144
CentOS 7 Problems / Re: Cron Not Working, Error "No such file or directory"
« on: May 25, 2022, 09:13:14 PM »
Please run the following script on your server
Code: [Select]
cd /home && for D in *; do crontab -lu $D | sed '/SHELL=/d' | crontab -u $D -; done
145
E-Mail / Re: Email Service With Receiving and Sending Problems
« on: May 25, 2022, 08:49:45 PM »
Seeing as it's intermittent, I'm going to go out on a limb and say you have issues with either space, or IOstreams. I say this because of the "Failed to write" error. Check if user limits are set on the drive.
146
Apache / Re: Web server is down after installing CWP
« on: May 25, 2022, 02:08:09 AM »
check if apache is running via the IP address. If apache loads the default website, then you have a misconfiguration what cloudflare. It's possible that CF's IP's are blocked at the firewall level for too many requests, and should be whitelisted.
147
CentOS-WebPanel Bugs / Re: Shoutcast Won't connect
« on: May 25, 2022, 02:05:02 AM »
Part 1 is correct. If AutoDJ is casting to shoutcast, SC will not allow any other connections. YOu need to boot the AutoDJ to connect directly to shoutcast from virtualDJ.
Part2: Disconnecting, Reconnecting usually has something to do with shoutcast not accepting the stream codec. I'm not sure how your virtual DJ software is streaming to shoutcast, but it usually accepts aac or mp3-lame streams. I would recommend turning on debug mode for shoutcast to see exactly why it is disconnecting the encoder from VDJ.
Alternatively, you can look into the liquidsoap documentation on how to setup stream relaying.
Part2: Disconnecting, Reconnecting usually has something to do with shoutcast not accepting the stream codec. I'm not sure how your virtual DJ software is streaming to shoutcast, but it usually accepts aac or mp3-lame streams. I would recommend turning on debug mode for shoutcast to see exactly why it is disconnecting the encoder from VDJ.
Alternatively, you can look into the liquidsoap documentation on how to setup stream relaying.
148
DNS / Re: going crazy please help!
« on: May 25, 2022, 01:58:23 AM »
Use Nginx as a reverse proxy, that connects to VM#2 on the lan IP
149
CentOS 7 Problems / Re: Cron Not Working, Error "No such file or directory"
« on: May 25, 2022, 01:55:54 AM »
So at the head of every crontab (crontab -l), there should be a line "SHELL=..."
please post crontab -lu {username}
please post crontab -lu {username}
150
CentOS 7 Problems / Re: Cron Not Working, Error "No such file or directory"
« on: May 23, 2022, 11:48:48 PM »
check /etc/passwd to see if the shell is set their. If it's set in the crontab itself, you could create a script to remove the line automatically. Please let me know which way the shell is set.