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

Pages: [1] 2
1
the error persist even after updates. I updated yum manager all linux packages and updated cwp to the latest version.
in newly fresh installations this error does not happens.

2
Hi.
I am using CWP Pro.
Today I updated all yum packages and ran update script to update my CWP.

When I login to user account and click on phpMyAdmin on dashboard the page stays blank showing nothing and in logs there are some errors:

2020/01/18 00:11:05 [error] 6255#0: *623 FastCGI sent in stderr: "PHP message: PHP Warning:  scandir(): open_basedir restriction in effect. File(/usr/local/cwpsrv/var/services/user_files/modules/) is not within the allowed path(s): (/home/roplast:/tmp:/usr/local/cwpsrv/var/services/users:/usr/local/cwpsrv/var/services/twig/:) in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  scandir(/usr/local/cwpsrv/var/services/user_files/modules/): failed to open dir: Operation not permitted in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  scandir(): (errno 1): Operation not permitted in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  main(): open_basedir restriction in effect. File(/usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php) is not within the allowed path(s): (/home/roplast:/tmp:/usr/local/cwpsrv/var/services/users:/usr/local/cwpsrv/var/services/twig/:) in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  main(/usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php): failed to open stream: Operation not permitted in /usr/local/cwpsrv/var/services/users/index.php on line 0
PHP message: PHP Warning:  Missing argument 1 for PreferencesHandler::__construct(), called in /usr/local/cwpsrv/var/services/users/index.php on line 0 and defined in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Notice:  Undefined variable: curl in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Notice:  Undefined index: view_band_graph in /usr/local/cwpsrv/var/services/user_files/modules/preferences/index.php on line 0
PHP message: PHP Fatal error:  Uncaught Twig_Error_Loader: Unable to find template "/js/modules/pma.js.twig

3
and, for some reason, after changed some things inside panel, like webserver domain conf, it stopped working again.
same problem again.

4
Ok, I discovered looking log files that is just port 2302 that was not in CSF configuration TCP_IN and OUT...
Fresh installs is affected too, if user enable firewall clients can't login at port 2083 because api port 2302 is not acccessible.

worked just for new accounts, existing ones continue with problem. =(

5
Ok, I discovered looking log files that is just port 2302 that was not in CSF configuration TCP_IN and OUT...
Fresh installs is affected too, if user enable firewall clients can't login at port 2083 because api port 2302 is not acccessible.

6
error log show these lines:

2019/07/29 11:04:43 [error] 4686#0: *127 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: token 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 Warning:  file_exists(): open_basedir restriction in effect. File(/home//.conf/tmp33) is not within the allowed path(s): (/home/toledone:/tmp:/var/softtmp:/usr/local/cwpsrv/var/services/users:/usr/local/cwpsrv/var/services/user_files/modules:/usr/local/cwpsrv/var/services/twig:) 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: token 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: token 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: code 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 Warning:  file_exists(): open_basedir restriction in effect. File(/home//.conf/logout) is not within the allowed path(s): (/home/toledone:/tmp:/var/softtmp:/usr/local/cwpsrv/var/services/users:/usr/local/cwpsrv/var/services/user_files/modules:/usr/local/cwpsrv/var/services/twig:) 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 index: retu
2019/07/29 11:04:43 [notice] 4685#0: *166 "^/v1/([^/]+)/?$" matches "/v1/loginfail/", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2019/07/29 11:04:43 [notice] 4685#0: *166 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2019/07/29 11:04:43 [info] 4685#0: *166 client 127.0.0.1 closed keepalive connection

7
did you run sh /scripts/update_cwp?

Yes, I ran update, and when I try to login with user credentials on port 2083 it only refreshes the page and come back to login page after I type  user and password and click login.

8
Hi.
I am using CWP Pro in some servers and since last updates I can't enable shell access and modify process limit and file limits because the settings does not update when I click update. It show that was sucessfull updated but when I edit the user account again I see that was not updated.

Users can not login at port 2083, when they type login and password and click to login the page refreshes instead of openning user panel.

I am running CWP Pro 0.9.8.854.

9
sh /scripts/update_cwp

worked for me too, thanks!

10
Hi guys!
Solved just rebooting the server.

11
CentOS-WebPanel Bugs / Can't login with new user account in user panel
« on: October 29, 2018, 05:52:09 PM »
Hi.
I am with a problem that started to happen some days ago. When I create a new user account and go to https://my-centos-url:2083 I type user and password and when press login nothing happen. The button changes for waiting and still there.

Someone has any idea on how to start investigating or what can doing this?

12
I can confirm that just changing /var/vmail with user vmail and group mail solved the issue.
 :) ;) ;D

13
I created folder manually inside /var/vmail and change owner to user vmail and group to vmail and everything worked for that account. I am still looking how to fix /var/vmail permission without causing other problems.

14
More info, I created manually the domain folder inside /var/vmail and changed user to vmail and group to mail and now I can login and use the email.

I am looking how to change entire vmail permission without causing other problems.

15
adding more info.
when looking for /var/vmail permission the folder was with some account name "bemestar" but it should be "1061".
looking /etc/passwd I found that users start to be created with code 1018...1019... and 1061 is now some client account created throught cwp panel.

how to fix it?
old users are working because inside /var/vmail the accounts are showing with owner vmail and group mail.

any documentation or fix arount this issue?

Pages: [1] 2