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

Pages: [1] 2
1
The issue has been fixed after updating, the version is still 0.9.8.1168 though!

2
The "Databases" submenu within the user panel is currently devoid of content, mirroring the situation in the dashboard's databases section. Consequently, users are unable to access any components associated with database management. It functions as intended in the root panel.

I don't see and errors in the browser console. I am using CWPpro version: 0.9.8.1166

3
Nginx / Re: Nginx service start error during boot on Rocky Linux
« on: November 06, 2022, 04:41:35 PM »
The problem still persists in RockyLinux 8.6 (Green Obsidian), CWP version: 0.9.8.1147 in the fix to the systemd service file still applies.

4
After selecting the domain and clicking install, it shows the following error:

Error...!
An error occurred generating your certificate, please try again!

Here is what I have found in the logs:

$ tail /usr/local/cwpsrv/logs/error_log

[error] 9240#0: *4872 FastCGI sent in stderr: "PHP message: PHP Notice:  Trying to get property 'status' of non-object in /usr/local/cwpsrv/var/services/user_files/modules/letsencrypt/index.php on line 0
PHP message: PHP Warning:  First parameter must either be an object or the name of an existing class in /usr/local/cwpsrv/var/services/user_files/modules/letsencrypt/index.php on line 0" while reading response header from upstream, client: **.**.**.**, server: localhost, request: "POST /cwp_************/*****/*****/index.php?module=letsencrypt&acc=addssl HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/****.sock:", host: "*********:2083", referrer: "https://*********:2083/cwp_*********/******/?module=letsencrypt"

5
Why there is an editor there if the admin is not supposed to change the vHost file? The editor gives you a sense that you can edit it and it stays there! On the other hand, an static viewer gives you a sense that you can just see the contents and there is another way to edit it!

When I apply the custom templates via the "WebServers Domain Conf" page, I get 50x error. I can not restart apache if I select the default all_methods template. The spacing in that file is not correct. I only described one scenario for Nginx_apache, I have other problems on another VM where I try to change the Nginx vhost conf for my NodeJS app.

Lets just repeat that if I clone the default tpl file without any changes, I can not make it work. I've tried both "Nginx -> apache -> PHP-CGI" and "Nginx -> apache -> proxy" option. Maybe you need to give it a try yourself and give me more insights. Please note that I dont have php-fpm. I am using php switcher v2.

6
I am using Apache-Nginx as the webserver. I want to allow all the HTTP methods (PUT, DELETE) on a host by changing the vHost file. When I change that via the "WebServers Configuration Editor" to add a line, it reverts to the template file after a while.

I tried adding a configuration via the "Manage WebServers Configuration" page, but the "All_methods" tpl file does not work. I can't successfully restart the httpd service, it complains about the conf file. I tried cloning the default tpl file to create my own template, but I can't make it work with my web current web serv Apache_nginx.

As the last option, I tried to edit the default.tpl and default.stpl file, it worked but I am just surprised that its back to the orig file now!

7
Nginx / Re: Nginx service start error during boot on Rocky Linux
« on: November 19, 2021, 10:42:45 PM »
nginx: [emerg] bind() to x.x.x.x:80 failed (99: Cannot assign requested address)

8
Another update: installing the "Development Tools" using the dnf package manager before selecting the nginx/apache as the webserver fixes this issue! to do that, execute:

dnf group install "Development Tools"

9
I am using node manager to run a node.js app and noticed that its using apache's mod_proxy to reverse proxy to the node app. I've selected nginx/apache as the webserver and I guess it would be better if the reverse proxy is defined in the nginx vhost conf, not apache! Thats how I did it manually in the past without the manager.

CWP version: 0.9.8.1099

10
Nginx / Nginx service start error during boot on Rocky Linux
« on: November 12, 2021, 11:10:34 AM »

11
After saving the configs (changing bind-address) at the settings page in mysql_manager, mysql failed to restart, checked the contents of /etc/my.cnf.d/server.cnf and saw that the setting is like this

[server]
 = 3306

I had to add "port" to this line to start the mysql (mariadb 10.4.22) again:

[server]
port = 3306

12
After commenting the contents of rpaf.conf and starting apache, I set the the webserver back to apache, then enabled the apache_nginx webserver again and this time the mod_rpaf.so gets installed! This seems to be the quick fix for now. I can uncomment the contents of rpaf.conf and restart apache.

Here is part of the install log after re selecting the Nginx/apache

Nginx installation Done
...

/usr/lib64/apr/build-1/libtool --mode=install install mod_rpaf.la /usr/local/apache/modules/
libtool: install: install .libs/mod_rpaf.so /usr/local/apache/modules/mod_rpaf.so
libtool: install: install .libs/mod_rpaf.lai /usr/local/apache/modules/mod_rpaf.la
libtool: install: install .libs/mod_rpaf.a /usr/local/apache/modules/mod_rpaf.a
libtool: install: chmod 644 /usr/local/apache/modules/mod_rpaf.a
libtool: install: ranlib /usr/local/apache/modules/mod_rpaf.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/apache/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

13
After setting the web server to Nginx/apache on multiple fresh Rocky Linux installs (v8.4 kernel 4.18.0-305.25.1.el8_4.x86_64), apache fails to start because mod_rpaf.so in not in /usr/local/apache/modules/ and I have to comment the contents of /usr/local/apache/conf.d/rpaf.conf

CWP version: 0.9.8.1099
Apache version: Apache/2.4.51
Web Servers: nginx-apache

14
Here is a video created to promote CWP as an alternative for paid control panels like cPanel, DirectAdmin, Plesk, etc. Thanks for all the development and support. Just wanted to share it with the community.

https://www.youtube.com/watch?v=mJj1cCFkogE

15
CentOS-WebPanel GUI / Clearing the log files
« on: August 12, 2020, 01:51:39 PM »
Is there a way to clear the log files? When I check access and Error logs, I want to clear them to see if the errors are regenerated again.

Also the formatting is not very good, there is no line breaks in the log file viewer. Some coloring is also nice!

Pages: [1] 2