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

Pages: 1 [2]
16
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: July 18, 2017, 07:48:05 PM »
try checking your httpd.conf file, maybe you have some double include values
We have 2 servers with the old CWP version (0.9.8.154).

Before doing the update on the production server, I created a virtual machine and installed CWP 0.9.8.154 to test ...

This a clean install of CWP version 0.9.8.154. the only thing I did before updating, was to create some users ( CWP.admin > User Accounts > New Account ).

Is there anything else I can do to try to solve the problem?

17
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: July 18, 2017, 12:43:20 PM »
Hi, I did the update but apache does not start... I'll explain.

1. After "sh apache.sh" i got:
Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
                                                                 [FAILED]
Apache has been upgraded

Solution to the above error...
I edited the file '/usr/local/apache/conf/httpd.conf' and added the line below:
Code: [Select]
LoadModule unixd_module modules/mod_unixd.so
2. I tried to start Apache again and I got...
Code: [Select]
AH00526: Syntax error on line 119 of /usr/local/apache/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

Solution to the above error...
Code: [Select]
LoadModule access_compat_module modules/mod_access_compat.so
3. Third try to start Apache and I got...
Code: [Select]
Tue Jul 18 09:13:18.217682 2017] [core:warn] [pid 24901:tid 139660178646784] AH00117: Ignoring deprecated use of DefaultType in line 286 of /usr/local/apache/conf/httpd.conf.
AH00526: Syntax error on line 10 of /usr/local/apache/conf/extra/httpd-userdir.conf:
Invalid command 'UserDir', perhaps misspelled or defined by a module not included in the server configuration

Solution to the above error...
Code: [Select]
LoadModule mod_userdir modules/mod_userdir.so
4. Fourth attempt to start Apache...
Code: [Select]
httpd: Syntax error on line 57 of /usr/local/apache/conf/httpd.conf: Can't locate API module structure `mod_userdir' in file /usr/local/apache/modules/mod_userdir.so: /usr/local/apache/modules/mod_userdir.so: undefined symbol: mod_userdir
I'm doing something wrong?

Info:
SO: CentOS 6.8
CWP previous version: 0.9.8.154
CWP after update: cwpsrv-1.10.2-4.x86_64
ApacheServer version: Apache/2.4.26 (Unix) / Server built: Jun 30 2017 03:36:15
MySQL: mysql  Ver 14.14 Distrib 5.7.18, for Linux (x86_64) using  EditLine wrapper
PHP: PHP 5.6.24 (cli) (built: Jul 14 2017 15:04:39)

18
CentOS-WebPanel GUI / Re: How to change domain name from user account?
« on: October 19, 2016, 12:03:07 PM »
I know it's old but ..

I changed the domain in:
CWP.admin> Apache Settings> Edit Apache vhosts

and then in the CWP database...
CWP.admin> SQL Services> phpMyAdmin> root_cwp> user

19
Installation / Change default place of user public_html
« on: February 26, 2015, 05:22:24 PM »
Hi,
By default the user public_html is created in /home/USER/public_html.
My server has only 4GB in /home, how can i setup CWP to create the users public_html in /var/www/?


Pages: 1 [2]