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
Information / Re: Payment made but Web panel says unpaid invoice
« on: November 14, 2022, 11:26:57 AM »
Update:
Support fixed the issue.
Support fixed the issue.
2
Information / Re: Payment made but Web panel says unpaid invoice
« on: November 14, 2022, 09:39:42 AM »
Same here although I was trying to prolong the CWP Pro. Wrote them a ticket and waiting for the reply for the fourth day. And as I see trying to repeat the payment wouldn't help either. Currently stuck being unable to create new accounts because free limit to 10.
3
CentOS-WebPanel Bugs / Adding a subdomain from user panel creates a directory with 640 permissions
« on: September 27, 2019, 01:36:19 PM »
CWP version 0.9.8.894
Steps:
1. Go to user panel.
2. Add new subdomain.
Result:
A directory created for the subdomain has permissions 640. This prevents apache (in my case) from accessing the directory and files in it, results in a 403 error.
403 error can be fixed by `chmod a+rx subdomain_directory`
Expected result:
The subdomain directory created with 644 permissions.
Steps:
1. Go to user panel.
2. Add new subdomain.
Result:
A directory created for the subdomain has permissions 640. This prevents apache (in my case) from accessing the directory and files in it, results in a 403 error.
403 error can be fixed by `chmod a+rx subdomain_directory`
Expected result:
The subdomain directory created with 644 permissions.
4
CSF Firewall / adding rules for OpenVPN breaks user-panel login
« on: April 24, 2018, 07:25:49 AM »
I don't have a slightest idea how this is related to each other, but when i add iptables rules to the FORWARD chain and nat table POSTROUTING chain through csfpre.sh/csfpost.sh, they break user panel login (2082, 2083 ports): when you enter valid credentials login page just reloads.
Here are the rules:
Here are the rules:
Code: [Select]
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
iptables -t nat -A POSTROUTING -j SNAT --to-source 12.34.56.78 #real server ip is here instead
5
CentOS-WebPanel GUI / Re: Can Not Log in Client Side
« on: March 09, 2018, 09:32:13 AM »well, i tried, but it did nothing, as i expected.Code: [Select]sh /script/update_cwp
my situation is the same as OP's: this issue appeared after i applied the update, which changed the user panel to 208{2,3} port and apparently introduced the new user panel written in php7, thus we now have cwpphp package.
6
CentOS-WebPanel GUI / Re: Can Not Log in Client Side
« on: March 07, 2018, 01:14:20 PM »
Same here CWP6, when trying to log in to user's panel (2083 port) get the login page again.
relevant error_log (domain.com is fake, not the real one used):
deleting the session file, the new one was created with the same permissions.
ensured that /tmp is not full.
upd:
have also a CWP7 server, checked it's error_log and it has the same permission errors about the session files but user login works fine there, so this is not the cause of login failure.
relevant error_log (domain.com is fake, not the real one used):
Code: [Select]
2018/03/07 14:39:02 [info] 1817#0: *518 client closed connection while waiting for request, client: 127.0.0.1, server: 127.0.0.1:2302
2018/03/07 14:39:02 [info] 1816#0: *520 client closed connection while waiting for request, client: 127.0.0.1, server: 127.0.0.1:2302
2018/03/07 14:39:02 [info] 1817#0: *521 client closed connection while waiting for request, client: 127.0.0.1, server: 127.0.0.1:2302
2018/03/07 14:39:02 [error] 1816#0: *516 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): open(/tmp/session/sess_8eincqamai531tm09jtle6jo11, O_RDWR) failed: Permission denied (13) in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined index: username in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning: strpos(): Empty needle in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning: Unknown: open(/tmp/session/sess_8eincqamai531tm09jtle6jo11, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/session) in Unknown on line 0" while reading response header from upstream, client: 5.248.17.23, server: localhost, request: "POST /av/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/av.sock:", host: "lamp1.domain.com:2083", referrer: "https://lamp1.domain.com:2083/"
the session file and parent directory:Code: [Select]
[root@lamp1 session]# ls -la
total 340
drwxr-xr-x 2 login login 163840 Mar 7 14:02 .
drwxrwxrwt. 9 root root 176128 Mar 7 14:39 ..
-rw------- 1 login login 0 Mar 7 14:02 sess_8eincqamai531tm09jtle6jo11
what i tried:deleting the session file, the new one was created with the same permissions.
ensured that /tmp is not full.
upd:
have also a CWP7 server, checked it's error_log and it has the same permission errors about the session files but user login works fine there, so this is not the cause of login failure.
Pages: [1]