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

Pages: [1]
1
CSF Firewall / too many connections (8) from this ip
« on: October 09, 2018, 05:17:50 PM »
Hello, I am using centos 6 + cwp and a client is trying to make the backups of it through filezilla and CobianBackup and after uploading 5 files the server disappears and the error "too many connections ( 8 ) from this ip" appears.
How can I release full access to it?
I already put his IP on the white list, but it did not solve

Iḿ using centos 6

2
CentOS 7 Problems / Problem after installing PostGreSql
« on: July 20, 2017, 01:48:04 AM »
Hello, after I installed PostGreSql, when I access the network server by ip 192.168.0.10 it no longer accesses the Document Root, it accesses an aleatory folder of /home. I have two systems running inside /usr/local/apache/htdocs and I can not run anymore.

How can I solve this?
I already tried to reinstall by the commands below:

Code: [Select]
Cd/usr/local/src
Wget http://centos-webpanel.com/cwp-el7-latest
Sh cwp-el7-latest

My version is:

Quote
CPU Model: Intel (R) Core (TM) 2 Quad CPU Q6600 @ 2.40GHz
CPU Details: 4 Core (1600 MHz)
Distro Name: CentOS Linux release 7.3.1611 (Core)
Kernel Version: 3.10.0-514.26.2.el7.x86_64
Platform: x86_64 [Dedicated]
CWP version: 0.9.8.331

3
SSL / How to set a SSL on DocumentRoot?
« on: June 04, 2017, 01:09:39 PM »
Hi everyone I need to configure a SSL on my server, but I use only the documentroot. I see that I can put a SSL on my domains, but I use a domains only to backup thru a FTP, not work with web site.

How can i Do?

Thanks

4
Suggestions / Nadios on CWP
« on: January 17, 2017, 11:36:08 PM »
Does Nadios run well with cwp? Does anyone have a tutorial?

Link: https://www.nagios.org/

5
Good evening everyone.
I programmed the server at home and he works normal however apache does not start and the following error message in other place with other IP

Quote
httpd: Syntax error on line 4 of /usr/local/apache/conf.d/vhosts (c \ xc3 \ xb3pia) conf:
The address or port is invalid

When I access the vhosts file with Panel the following message

 
Quote
WARNING! File /usr/local/apache/conf.d/vhosts does NOT exist!

When access the vhosts.conf I have the following file

Code: [Select]
# vhost_start rick
<VirtualHost ######:80>
ServerName rick
ServerAlias www.rick
ServerAdmin my-email
DocumentRoot "/home/rick/public_html"
ScriptAlias /cgi-bin/ "/home/rick/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/rick/rick/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup rick rick
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup rick rick
        suPHP_ConfigPath /home/rick
</IfModule>

<Directory "/home/rick/public_html">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end rick

# vhost_start joao
<VirtualHost ######:80>
ServerName joao
ServerAlias www.joao
ServerAdmin my-email
DocumentRoot "/home/joao/public_html"
ScriptAlias /cgi-bin/ "/home/joao/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/joao/joao/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup joao joao
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup joao joao
        suPHP_ConfigPath /home/joao
</IfModule>

<Directory "/home/joao/public_html">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end joao
###### -> Is my share IP like 187.48.58.45
my-email -> I my email like contac@website.com


curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
Code: [Select]
[root@localhost ~]# curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   792  113   792    0     0    711      0  0:00:01  0:00:01 --:--:--  3458
===============================================
Kernel:
Linux localhost.localdomain 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 18:30:56 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz

Release:
CentOS release 6.8 (Final)

Arch:
x86_64

Virtualization Type:

Memory:
             total       used       free     shared    buffers     cached
Mem:          3823        605       3218         23         27        351
-/+ buffers/cache:        225       3597
Swap:         4999          0       4999

MySQL info:
mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1

Disk Info:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       454G  9,6G  421G   3% /
tmpfs           1,9G   72K  1,9G   1% /dev/shm
/dev/sdb1       917G   16G  855G   2% /backup


#
# /etc/fstab
# Created by anaconda on Thu Aug  4 15:42:39 2016
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=4d249edb-4ac9-4dd8-a913-19fe91535e0f /                       ext4    defaults,usrquota,grpquota        1 1
UUID=d6b36b58-a95c-48d0-a01b-9c8788cf6e4f /backup                 ext4    defaults        1 2
UUID=2efce80f-60f4-4406-92d2-b134be793320 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

Apache PHP info
PHP 5.4.45 (cli) (built: Aug  8 2016 18:08:12)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.2, Copyright (c) 2002-2016, by ionCube Ltd.

Apache start script check
httpd=${HTTPD-/usr/local/apache/bin/httpd}

CWP Admin check
/usr/local/cwpsrv/htdocs/admin
===============================================

What's going wrong for httpd does not start?

6
How to / How do I create a sub-domain in the document root?
« on: August 04, 2016, 04:43:25 PM »
How do I create a sub-domain in the document root?
If I create a sub-domain in the document root that I can change the .htaccess?
I have software that needs to be changed .htaccess to work and I have to put the system in three different folders, they are 3 different companies that will run it, with different database.

7
FTP / How can i create a ftp account to access document root?
« on: August 02, 2016, 11:36:10 PM »
How can i create a ftp account to access document root (/usr/local/apache/htdocs) to maintenence te local server??

I need to access this folder because I have a software in PHP designed to run local and web.

8
DNS / no-ip
« on: August 02, 2016, 11:24:05 PM »
Can I use no-ip to access a website set up on my server?
I tried to create an account on the server you but the error:

"A general error has occurred. Reason: Perhaps you are trying to view a page that you are not allowed to view, or that one of the filters has detected an injection attack. If you are seeing this message, there's a good chance we haven't written a decent error message yet. "

9
Good night, after performing maintenance changed the permissions of the htdocs folder, I can not return to normal, you could help me?

tail -f /usr/local/apache/logs/error_log

Quote
[Mon Jul 25 21:18:06 2016] [error] [client 127.0.0.1] SoftException in Application.cpp:249: File "/usr/local/apache/htdocs/index.php" is writeable by group
[Mon Jul 25 21:18:06 2016] [error] [client 127.0.0.1] Premature end of script headers: index.php

I have been to fix the cwp and not solved.

Pages: [1]