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.


Topics - adrianofnatal

Pages: [1]
1
CentOS-WebPanel Bugs / Problem installing PostgreSQL and phpPgAdmin
« on: March 18, 2024, 06:35:05 PM »
Hi!

Im using CWPPro and having some trouble with PostgreSQL and phpPgAdmin.
The installation of PostgreSQL database server was fine using root panel. I can create databases and users.
When I install phpPgAdmin using command /script/install_phpPgAdmin the command runs fine, no errors, but when I click in phpPgAdmin a PHP error occured telling me that I does'n have PHP module enabled.
I tried to enable module but with no success.

I found a site with another installing method that worked:
https://www.alphagnu.com/topic/321-how-to-enable-pgadmin/

But when I try to login in database, does not work. Always show "Login Failed" and this database log:
2024-03-18 17:54:23.515 GMT [523] LOG:  provided user name (XXXXX) and authenticated user name (cwpsvc) do not match
2024-03-18 17:54:23.515 GMT [523] FATAL:  Peer authentication failed for user "XXXXX"
2024-03-18 17:54:23.515 GMT [523] DETAIL:  Connection matched pg_hba.conf line 84: "local   all             all                                     peer"

Is this a bug?
I have to change some configuration file?

Thanks!


2
CentOS-WebPanel Bugs / SCP files upload in wrong permission
« on: June 01, 2018, 06:01:40 PM »
Hi!

I was using SCP to send files through ssh and I noticed that files upload are created in different permission than original permission of owner.
The FTP works well, but SCP dont.

Att,

3
Hi!

First, congrats for this panel. Its the best panel available at low cost.

Now, some suggestions.

I always have problem when installing Wildcard certificate, beacuse Wildcard works a little bit different from normal domain certificate. This is not so easy for non-technical people and I think with some not so hard changes, this will become easier.

First, when creating CSR for domain, we must use *.domain.com for Wildcard SSL. This will create the file with "*." in name, like "*.domain.com", for example. The panel shows error when it reads this file.

I suggest, if the domain starts with "*." chars, this is always a Wildcard domain, just ignore them. Create the file with domain name only, follow by ".cert", ".key" or ".csr".

Second, the Wildcard certificate is the same file for all subdomains that needs to be certificated. The panel creates a file for each domain, because it uses the domain name given in field "Domain:" on "SSL Cert Manager". This cause the user to copy and paste the certificate every time when he needs to use the cert. If this cert will be renewed, the user needs to update all these files.

I suggest use the same name when created the CSR file, without final part ".csr" of file. The domain is only used to apache configuration files. When need to renew this certificate, we just update one file with certificate and all subdomains is ok.

If there was a checkbox that tells to panel if this is a wildcard certificate, or if the panel identifies from domain having *. in the beggining, would help.

Sorry about the long post.

That's all, i think! :)

Thanks!


4
Information / PHP or Apache disabled functions
« on: August 28, 2017, 04:47:14 PM »
Hi everyone!

Does PHP or apache have disabled some functions by default in CWP?
I need to run "apache_get_modules" and nothing gets returned.
I found this issue running a Wordpress W3 Total Cache compatibility test, wich tell modules not installed in Apache, but they are installed.

I have done a search for "disabled_functions" in PHP ini files compiled through PHP Selector and nothing was found. There is other files with this option?

Thanks!

5
CentOS 7 Problems / Problem installing Wildcard SSL valid certificate
« on: August 22, 2017, 10:06:43 PM »
Im facing problem installating a valid Wildcard SSL.

When I generate the CSR using *.domain.com (*. because it is wildcard), the file generated contains *. in the name, causing problems with linux filesystem.
I think the . must be replaced in file names.

Pages: [1]