Author Topic: httpd: Syntax error on line 4 of /usr/local/apache/conf.d/vhosts (c\xc3\xb3pia).  (Read 7738 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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?

Offline
*
what the hell is  (c \ xc3 \ xb3pia)