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
The issue has been fixed after updating, the version is still though!

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:

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: in the fix to the systemd service file still applies.

After selecting the domain and clicking install, it shows the following 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"

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.

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!

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)

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"

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:

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

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

 = 3306

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

port = 3306

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 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 /usr/local/apache/modules/
libtool: install: install .libs/ /usr/local/apache/modules/
libtool: install: install .libs/mod_rpaf.lai /usr/local/apache/modules/
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:

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/'

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

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 in not in /usr/local/apache/modules/ and I have to comment the contents of /usr/local/apache/conf.d/rpaf.conf

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

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.

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