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.
361
Information / Re: Regarding API
« on: January 03, 2018, 03:15:02 AM »
It worked.
The solution is very simple, just execute the command:
sh /scripts/install_api
Regards,
Netino
The solution is very simple, just execute the command:
sh /scripts/install_api
Regards,
Netino
362
New Modules / Where post translation..?!
« on: December 23, 2017, 09:55:45 PM »
Where post translations..??!!
I have translated the user panel to the brazilian portuguese, but seems attachments are forbidden on this forum.
Regards,
Netino
I have translated the user panel to the brazilian portuguese, but seems attachments are forbidden on this forum.
Regards,
Netino
363
Addons / Re: LETSENCRYPT CENTOS7
« on: December 23, 2017, 09:25:08 PM »
I'm running LetsEncrypt normally under Centos7.
Regards,
Netino
Regards,
Netino
364
Addons / Re: Language Edit
« on: December 23, 2017, 09:23:15 PM »
As showed, is under "Plugins" menu.
365
Information / Re: Regarding API
« on: December 20, 2017, 01:21:41 AM »
If you do:
# cat /ADMINUSERNAME/.conf/apikey
ShortName|@|127.0.0.1|@|blablablablablablablablablablalblablalblabla|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,pack_add,pack_udp,pack_del,pack_list,emailadmin_list,changepack_udp,mysqlbd_add,mysqlbd_del,mysqlbd_list,mysqlbd_susp,mysqlb_unsp,mysqluser_add,mysqluser_del,mysqluser_list,typeserver_list,detailaccount_list,accountquo_list,cronuser_add,cronuser_del,cronuser_list,quotalimt_list,changpass_udp,|@|JSON|@|1
You can note there are several api names, old style.
So, you can try:
curl -k https://myip:PORT/api/ -d api=accout_list -d key=blablablablabla
Using PORTs 2031 and 2087, I get the answer:
Failed to include API File!!!
No solution, still.
# cat /ADMINUSERNAME/.conf/apikey
ShortName|@|127.0.0.1|@|blablablablablablablablablablalblablalblabla|@|accout_add,accout_upd,accout_del,accout_list,accout_susp,accout_unsp,pack_add,pack_udp,pack_del,pack_list,emailadmin_list,changepack_udp,mysqlbd_add,mysqlbd_del,mysqlbd_list,mysqlbd_susp,mysqlb_unsp,mysqluser_add,mysqluser_del,mysqluser_list,typeserver_list,detailaccount_list,accountquo_list,cronuser_add,cronuser_del,cronuser_list,quotalimt_list,changpass_udp,|@|JSON|@|1
You can note there are several api names, old style.
So, you can try:
curl -k https://myip:PORT/api/ -d api=accout_list -d key=blablablablabla
Using PORTs 2031 and 2087, I get the answer:
Failed to include API File!!!
No solution, still.
366
Information / Re: Regarding API
« on: December 20, 2017, 12:31:34 AM »
CWP-7..?? are you meaning Centos7..??
Try:
curl -k https://myip:2304/v1/packages -d key=blablablablabla -d action=list
The -k parameter is to curl not to claim about selfsigned certificates.
The parameter -d is to pass parameters via POST method.
The problem is I'm trying like you, but no answer.
Searching for ports with 'netstat', I just find port 2302, not 2304.
But likewise, trying with port 2302 doesn't work too.
Try:
curl -k https://myip:2304/v1/packages -d key=blablablablabla -d action=list
The -k parameter is to curl not to claim about selfsigned certificates.
The parameter -d is to pass parameters via POST method.
The problem is I'm trying like you, but no answer.
Searching for ports with 'netstat', I just find port 2302, not 2304.
But likewise, trying with port 2302 doesn't work too.
367
Information / Re: Translate to Portuguese
« on: December 17, 2017, 01:43:52 AM »
Hello,
There is a module in the admin where you can edit, clone or create new languages, the path of this module is:
-> Admin Panel -> Plugins -> Themes and Languages -> Languages ->
Clone the English language first, and change the translation.
After, we can contribute with more translation.
There is a module in the admin where you can edit, clone or create new languages, the path of this module is:
-> Admin Panel -> Plugins -> Themes and Languages -> Languages ->
Clone the English language first, and change the translation.
After, we can contribute with more translation.
368
I can build it / Re: Translate template to brazilian portuguese
« on: December 17, 2017, 01:40:54 AM »
Hello,
There is a module in the admin where you can edit, clone or create new languages, the path of this module is:
-> Admin Panel -> Plugins -> Themes and Languages -> Languages ->
Clone the English language first, and change the translation.
After, we can contribute with more translations.
There is a module in the admin where you can edit, clone or create new languages, the path of this module is:
-> Admin Panel -> Plugins -> Themes and Languages -> Languages ->
Clone the English language first, and change the translation.
After, we can contribute with more translations.
369
How to / Re: how to create domain alias
« on: December 02, 2017, 07:53:07 PM »
To make an alias to your domain, you can use the ServerAlias directive of apache server, in the file '/usr/local/apache/conf.d/vhosts.conf'.
If you have, for example:
----------------------------------------------
ServerAlias domainexample.com
----------------------------------------------
you can manually edit to:
--------------------------------------------------------------------------------------
ServerAlias domainexample.com server2.domainexample.com
--------------------------------------------------------------------------------------
or:
------------------------------------------------------------------------------------------------------------------------------
ServerAlias domainexample.com server2.domainexample.com server3.domainexample.com
------------------------------------------------------------------------------------------------------------------------------
or:
------------------------------------------------------
ServerAlias *.domainexample.com
------------------------------------------------------
etc.
The only question I have is, if editing manually, the changes would be overwritten by changes made via panel, ou updates.
Regards,
Netino
If you have, for example:
----------------------------------------------
ServerAlias domainexample.com
----------------------------------------------
you can manually edit to:
--------------------------------------------------------------------------------------
ServerAlias domainexample.com server2.domainexample.com
--------------------------------------------------------------------------------------
or:
------------------------------------------------------------------------------------------------------------------------------
ServerAlias domainexample.com server2.domainexample.com server3.domainexample.com
------------------------------------------------------------------------------------------------------------------------------
or:
------------------------------------------------------
ServerAlias *.domainexample.com
------------------------------------------------------
etc.
The only question I have is, if editing manually, the changes would be overwritten by changes made via panel, ou updates.
Regards,
Netino
370
How to / Re: how to create domain alias
« on: December 02, 2017, 07:35:42 PM »
The .htaccess simply is not an answer.
To apache interpret the .htaccess file, the access MUST be arrived at the server, within the path, to interpret this file fontent.
If the access of the alias domain already comes to a directory on the server, the .htaccess should be not needed anymore.
The question is exactly how to make the apache server direct the access of that domain alias to a directory on the server.
To apache interpret the .htaccess file, the access MUST be arrived at the server, within the path, to interpret this file fontent.
If the access of the alias domain already comes to a directory on the server, the .htaccess should be not needed anymore.
The question is exactly how to make the apache server direct the access of that domain alias to a directory on the server.
371
Updates / Re: Update for openSSL is important!
« on: December 01, 2017, 01:57:02 AM »
CWP is running a customized version of apache/mod_ssl (cwp-httpd).
Checking that version we discover:
---------------------------------------
# strings /usr/local/apache/modules/mod_ssl.so | egrep '^mod_ssl\/|^OpenSSL '
OpenSSL 1.0.1e 11 Feb 2013
OpenSSL 1.0.1e 11 Feb 2013
---------------------------------------
So, this update seems is a must update!
When we would have a updated version of CWP?
Checking that version we discover:
---------------------------------------
# strings /usr/local/apache/modules/mod_ssl.so | egrep '^mod_ssl\/|^OpenSSL '
OpenSSL 1.0.1e 11 Feb 2013
OpenSSL 1.0.1e 11 Feb 2013
---------------------------------------
So, this update seems is a must update!
When we would have a updated version of CWP?
372
SSL / Re: Why? "[NOT IN USE ANYMORE, PLEASE USE SSL Cert Manager and AutoSSL]"
« on: October 21, 2017, 06:20:39 PM »
There are some problem with the pointing of the certificate.
I spend three days working on this.
The program creates correctly the certificates at '/etc/pki/tls/certs/', but the certificate directive in the file '/usr/local/cwpsrv/conf/cwpsrv.conf' with:
-----------------------------------------------------------
ssl_certificate /etc/pki/tls/certs/hostname.crt;
-----------------------------------------------------------
when my server is working only with:
-----------------------------------------------------------
ssl_certificate /etc/pki/tls/certs/hostname.bundle;
-----------------------------------------------------------
It's a bug..??!!
I spend three days working on this.
The program creates correctly the certificates at '/etc/pki/tls/certs/', but the certificate directive in the file '/usr/local/cwpsrv/conf/cwpsrv.conf' with:
-----------------------------------------------------------
ssl_certificate /etc/pki/tls/certs/hostname.crt;
-----------------------------------------------------------
when my server is working only with:
-----------------------------------------------------------
ssl_certificate /etc/pki/tls/certs/hostname.bundle;
-----------------------------------------------------------
It's a bug..??!!
373
SSL / Re: Why? "[NOT IN USE ANYMORE, PLEASE USE SSL Cert Manager and AutoSSL]"
« on: October 18, 2017, 02:56:28 AM »
Ok, I've tried the following:
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
but that page is not updated.
Seems the correct menu has changed:
Instead:
In cwp.admin left menu go to –> CWP Settings –> Change Hostname save there your hostname...
read:
In cwp.admin left menu go to –> Server Settings –> Change Hostname save there your hostname.
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
but that page is not updated.
Seems the correct menu has changed:
Instead:
In cwp.admin left menu go to –> CWP Settings –> Change Hostname save there your hostname...
read:
In cwp.admin left menu go to –> Server Settings –> Change Hostname save there your hostname.
374
SSL / Re: Why? "[NOT IN USE ANYMORE, PLEASE USE SSL Cert Manager and AutoSSL]"
« on: October 18, 2017, 02:21:38 AM »
We have the option to ANY domain on that menu, but NOT to the main domain, the hostname domain.
(as 'hostname domain' I'm regarding the process to get the certificate from LetsEncrypt)
This was definitely disabled...??!!
There are videos on youtube, but this option simply don't work anymore like that.
(as 'hostname domain' I'm regarding the process to get the certificate from LetsEncrypt)
This was definitely disabled...??!!
There are videos on youtube, but this option simply don't work anymore like that.
375
Information / Re: install and configure Spamassassin
« on: September 03, 2017, 04:01:29 AM »
My SSD disk was fulfilled completely in a week, with logfile '/spamfilter.log' (at root directory) with the logs like:
=================================================================
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27838
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27839
Thu Aug 17 00:05:54 2017 [27838] error: spamd: cannot run as nonexistent user or root with -u option
Thu Aug 17 00:05:54 2017 [27835] info: prefork: child states: SS
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27840
Thu Aug 17 00:05:54 2017 [27835] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 27840 started.
Thu Aug 17 00:05:54 2017 [27839] error: spamd: cannot run as nonexistent user or root with -u option
Thu Aug 17 00:05:54 2017 [27835] info: prefork: child states: SSS
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27841
Thu Aug 17 00:05:54 2017 [27835] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 27841 started.
=================================================================
Seems the criptical is the "error:" line, claiming "spamd: cannot run as nonexistent user or root with -u option".
I don't know where to correct it.
Regards,
Netino
=================================================================
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27838
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27839
Thu Aug 17 00:05:54 2017 [27838] error: spamd: cannot run as nonexistent user or root with -u option
Thu Aug 17 00:05:54 2017 [27835] info: prefork: child states: SS
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27840
Thu Aug 17 00:05:54 2017 [27835] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 27840 started.
Thu Aug 17 00:05:54 2017 [27839] error: spamd: cannot run as nonexistent user or root with -u option
Thu Aug 17 00:05:54 2017 [27835] info: prefork: child states: SSS
Thu Aug 17 00:05:54 2017 [27835] info: spamd: server successfully spawned child process, pid 27841
Thu Aug 17 00:05:54 2017 [27835] info: prefork: adjust: 0 idle children less than 1 minimum idle children. Increasing spamd children: 27841 started.
=================================================================
Seems the criptical is the "error:" line, claiming "spamd: cannot run as nonexistent user or root with -u option".
I don't know where to correct it.
Regards,
Netino