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

Pages: 1 2 [3] 4 5 6
31
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 23, 2017, 06:48:35 PM »
Rebuilt apache twice now and made sure the following flags were included:
--with-apr=/usr/local/apr
--with-apr-util=/usr/local/apr
 
After installing mod_security I'm still still getting:

#service httpd start
Starting httpd: httpd: Syntax error on line 507 of /usr/local/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: apr_crypto_block_cleanup
                                                           [FAILED]

Apache will fail to start after mod_sec is installed, but if you start it from the command line it will start, but only once. Every time after I get the above error message.

Still no mod_security

have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp

32
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 17, 2017, 07:05:22 PM »
Still no mod_security

have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp

33
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 16, 2017, 08:59:08 PM »
have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp 

34
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 06:57:00 PM »
Well apache is configured with

--with-apr=/usr/local/apr
--with-apr-util=/usr/local/apr

That directory exists and there's directories in it:
bin  build-1  include  lib

if I 'locate apr' there's a bunch of /usr/local/src/cwp/.... entries ¯\_(ツ)_/¯
I looked and I can't find the flag for mod_security on the apache rebuild. I'd assume it looks something like --enable-mod_security but I don't know.

35
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 15, 2017, 02:54:01 PM »
Ok, I did all this and after a little wresting (not too much, my server IP was changed some time ago and it looks like I changed the vhost file directly, then when I rebuilt, the old IP was still in the user account configs, got that all cleared up) I got my wordpress sites up and running. Yay!

I do have a problem now however. When I install mod_sec I get:
Starting httpd: httpd: Syntax error on line 507 of /usr/local/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: apr_crypto_block_cleanup
 [FAILED]

Nothing in the apache error log

Apache version: Apache/2.4.25
PHP version: 5.6.27 [PHP Switcher]
MySQL version: 5.5.54
FTP version: 1.0.36

Distro Name: CentOS release 6.8 (Final)
Kernel Version: 2.6.32-642.13.1.el6.x86_64

CWP version: 0.9.8.188

36
Well I deleted 3.5GB of ioncube loaders with no obvious ill effects. Still wondering why so many copies were created. ???

37
PHP / Re: Lib JPEG Support php-gd
« on: December 05, 2016, 02:43:35 PM »
m3th3lesh, work!
Thx, man!

Just REcompile and add this

--with-jpeg-dir \
--enable-gd-native-ttf \
--with-freetype-dir \

hello, Where do I write these commands? thank you.

In CWP under PHP Settings, go to PHP selector. click on Edit flags, add these settings to the top window (you won't need the \), check the box and click Start Compiler.

Similar instructions if using the PHP Switcher to compile. Select PHP version, click next, add flags to top window, start compiler.

38
Apache / Re: Apache is running but I can`t access my site on port 80
« on: December 03, 2016, 08:01:12 PM »
on the server try the following command:

>curl <servers's IP address>

where (obv) you replace <servers's IP address> with the actual IP of the server that apache is bound to (if it's bound to all just listening on port 80 then the ip of the NIC should do).

If you get some html code (test page, site, anything really) apache is up and running and something else is blocking it. If not, then apache isn't running or configured correctly.

39
Apache / Re: Apache is running but I can`t access my site on port 80
« on: December 01, 2016, 08:42:39 PM »
As far as I know CWP Requires CentOS 6.x and doesn't work properly on 7.

40
Over 200 of them! Anybody else seeing this? Are they necessary? Some are created on different days but at the same time that day give or take.  ???

Code: [Select]
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.10
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.100
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.101
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.102
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.103
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.104
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.105
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.106
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.107
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.108
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.109
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.11
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.110
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.111
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.112
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.113
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.114
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.115
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.116
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.117
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.118
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.119
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.12
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.120
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.121
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.122
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.123
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.124
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.125
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.126
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.127
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.128
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.129
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.13
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.130
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.131
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.132
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.133
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.134
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.135
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.136
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.137
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.138
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.139
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.14
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.140
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.141
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.142
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.143
-rw-r--r--   1 root root 8.7M Sep 29 11:16 ioncube_loaders_lin_x86-64.tar.gz.144
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.145
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.146
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.147
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.148
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.149
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.15
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.150
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.151
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.152
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.153
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.154
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.155
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.156
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.157
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.158
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.159
-rw-r--r--   1 root root 8.7M Sep 16 09:35 ioncube_loaders_lin_x86-64.tar.gz.16
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.160
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.161
-rw-r--r--   1 root root 8.7M Oct  7 09:40 ioncube_loaders_lin_x86-64.tar.gz.162

41
PHP / Re: Some add-ons are not working
« on: November 30, 2016, 06:04:19 PM »
Looks like a php image manipulation problem. Make sure the GD module is installed (it should show up in the CWP PHPinfo page) and make sure you compile PHP with '--with-jpeg-dir --enable-gd-native-ttf --with-freetype-dir''.

42
PHP / Re: Some add-ons are not working
« on: November 23, 2016, 06:34:03 PM »
Are you using mod_security in apache? is it throwing an error in /usr/local/apache/logs/error_log ? Try using the plugin again, then run '#>tail /usr/local/apache/logs/error_log' and copy/paste the results here.

43
Backup / Re: User backup feature is not working
« on: October 01, 2016, 03:58:33 PM »
look in /backup

44
CentOS-WebPanel Bugs / Re: /usr/local/cwpsrv/htdocs/admin
« on: September 25, 2016, 05:16:24 AM »
Ok, yes I can confirm that you can go to http://you_server:2030/design/ and NOT LOGGED IN see these directories.  :o 

A work around that's not the greatest is to edit /usr/local/cwpsrv/conf/httpd.conf on line 146 where it says:

Options Idexes FollowSymLinks

Remove Indexes so it just says:

Options FollowSymLinks

Then service cwpsrv restart and you won't get the directory listing anymore. However, this is obviously just another layer of obscurity and security through obscurity is never the best policy.

45
How to / Re: how to use swap
« on: September 25, 2016, 04:52:08 AM »
ideally you don't want a LAMP server using swap. If you're swapping you need more memory.

Pages: 1 2 [3] 4 5 6