[Musix-usuarios] corriendo apache...

Gilberto Borges bandacarona en yahoo.com.br
Dom Mar 23 01:06:28 CET 2008


Luego de hacer correr apache, como hice yo en el mail
anterior, mirá las configuraciones con:

root en cheguevara:/home/gilblack1234# apache -v
Server version: Apache/1.3.34 (Debian)
Server built:   Jan 18 2008 19:16:57


Me dice la versión 

================

root en cheguevara:/home/gilblack1234# apache -V
Server version: Apache/1.3.34 (Debian)
Server built:   Jan 18 2008 19:16:57
Server's Module Magic Number: 19990320:18
Server compiled with....
 -D EAPI
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D HAVE_FCNTL_SERIALIZED_ACCEPT
 -D HAVE_SYSVSEM_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D DYNAMIC_MODULE_LIMIT=64
 -D HARD_SERVER_LIMIT=4096
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/lib/apache/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache.pid"
 -D DEFAULT_SCOREBOARD="/var/run/apache.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/apache.lock"
 -D DEFAULT_ERRORLOG="/var/log/apache/error.log"
 -D TYPES_CONFIG_FILE="/etc/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"
 -D ACCESS_CONFIG_FILE="/etc/apache/access.conf"
 -D RESOURCE_CONFIG_FILE="/etc/apache/srm.conf"


Me dice la configuración...

===================================

root en cheguevara:/home/gilblack1234# apache -L

<salido mui extensa>

Me dice las diretivas el server...

====================================

root en cheguevara:/home/gilblack1234# apache -S
VirtualHost configuration:


Me dice las configuraciones de los virtual host. No
tiengo ninguno, pues estoy a correr apache hace pócos
minutos y esto se configura en httpd.conf

================================

root en cheguevara:/home/gilblack1234# apache -t
Syntax OK

hace una verificación en mi ficheros de
configuración... como viste... todo correcto...

================================

root en cheguevara:/home/gilblack1234# cat
/var/log/apache/error.log
[Sat Mar 22 20:11:25 2008] [notice] Apache/1.3.34
(Debian) configured -- resuming normal operations
[Sat Mar 22 20:11:25 2008] [notice] Accept mutex:
sysvsem (Default: sysvsem)
[Sat Mar 22 20:17:31 2008] [error] [client 127.0.0.1]
File does not exist: /var/www/favicon.ico

me dice los errores en el funcionamento de apache

=============================

root en cheguevara:/home/gilblack1234# cat
/var/log/apache/access.log
127.0.0.1 - - [22/Mar/2008:20:17:31 -0400] "GET /
HTTP/1.1" 200 4100 "-" "Mozilla/5.0 (X11; U; Linux
i686; pt-BR; rv:1.8.1.3) Gecko/20070310
Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)" "-"
127.0.0.1 - - [22/Mar/2008:20:17:31 -0400] "GET
/icons/debian/openlogo-25.jpg HTTP/1.1" 200 1258
"http://localhost/" "Mozilla/5.0 (X11; U; Linux i686;
pt-BR; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3
(Debian-2.0.0.3-1)" "-"
127.0.0.1 - - [22/Mar/2008:20:17:31 -0400] "GET
/icons/jhe061.gif HTTP/1.1" 200 17175
"http://localhost/" "Mozilla/5.0 (X11; U; Linux i686;
pt-BR; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3
(Debian-2.0.0.3-1)" "-"
127.0.0.1 - - [22/Mar/2008:20:17:31 -0400] "GET
/icons/apache_pb.gif HTTP/1.1" 200 2326
"http://localhost/" "Mozilla/5.0 (X11; U; Linux i686;
pt-BR; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3
(Debian-2.0.0.3-1)" "-"
127.0.0.1 - - [22/Mar/2008:20:17:31 -0400] "GET
/favicon.ico HTTP/1.1" 404 293 "-" "Mozilla/5.0 (X11;
U; Linux i686; pt-BR; rv:1.8.1.3) Gecko/20070310
Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)" "-"

Me dice los accessos al server

==============================


Suerte

Gilberto
                                    

--- Gilberto Borges <bandacarona en yahoo.com.br>
escreveu:

> Gilberto:
> >  
> >  luego de instalar apache con apt-get (y con
> > aptitude lo mismo) me dice que no existen los
> > archivos apachectl y apache2ctl, 
> 
> eso no se pasó en mi equipo:
> 
> apache            apache-ssl        apache-sslctl   
> 
> apachectl
> apache-modconf    apache-sslconfig  apacheconfig    
> 
> apagar
> 
> 
> 
> cosa que se
> > soluciona con un ln -s , pasado eso no encuentra
> el
> > archivo httpd.conf (y te lo digo dememoria porque
> lo
> > busquè mil veces). No he probado compilar apache,
> ya
> > tratarè. El tema es ocn apache y no con apache2
> > (pero campcaster necesita apache). 
> 
> El servicio no está corriendo!!!
> 
> Experimenta:
> gilblack1234 en cheguevara:~$ httpd -v
> bash: httpd: command not found
> 
> Vamos:
> 
> 01) Instalando apache en mi equipo r3tes4+parche:
> 
> root en cheguevara:/home/gilblack1234# apt-get install
> apache
> Reading package lists... Done
> Building dependency tree... Done
> The following extra packages will be installed:
>   apache-common apache2-utils libapr1 libaprutil1
> Suggested packages:
>   apache-doc apache-ssl apache-perl
> The following NEW packages will be installed:
>   apache apache-common apache2-utils libapr1
> libaprutil1
> 0 upgraded, 5 newly installed, 0 to remove and 179
> not
> upgraded.
> Need to get 1766kB of archives.
> After unpacking 4582kB of additional disk space will
> be used.
> Do you want to continue [Y/n]? Y
> =
> ====================
> 
> ... Habilitar suExec?
> 
> <SI>
> 
> ====================
> 
> mirá que bueno... he encontrado mi configuraciones
> de
> locales, pero ocurrio un fallo...
> 
> ===================
> 
> Get:1 ftp://ftp.fr.debian.org etch/main libapr1
> 1.2.7-8.2 [109kB]
> Get:2 ftp://ftp.fr.debian.org etch/main libaprutil1
> 1.2.7+dfsg-2 [68.5kB]
> Get:3 ftp://ftp.fr.debian.org etch/main
> apache2-utils
> 2.2.3-4+etch4 [342kB]
> Get:4 ftp://ftp.fr.debian.org etch/main
> apache-common
> 1.3.34-4.1+etch1 [855kB]
> Get:5 ftp://ftp.fr.debian.org etch/main apache
> 1.3.34-4.1+etch1 [391kB]
> Fetched 1766kB in 45s (38.5kB/s)
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale
> settings:
>         LANGUAGE = "pt_BR",
>         LC_ALL = (unset),
>         LC_MESSAGES = "pt_BR",
>         LANG = "pt"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale
> ("C").
> locale: Cannot set LC_CT
> 
> esto se puede resolver con 
> 
> export LC_ALL="pt_BR"
> 
> luego:
> 
> root en cheguevara:/home/gilblack1234# export
> LC_ALL="pt_BR"
> root en cheguevara:/home/gilblack1234# apache-modconf
> apache-perl
> root en cheguevara:/home/gilblack1234#    
> 
> mira que ahora configuró correctamente...
> 
> ================
> 
> 2) mirando la configuración,,
> 
> gilblack1234 en cheguevara:~$ httpd -v
> bash: httpd: command not found
> 
> nuevamente... no esta corriendo...
> 
> mirando...
> 
> root en cheguevara:/home/gilblack1234# apt-get install
> httpd
> Reading package lists... Done
> Building dependency tree... Done
> Package httpd is a virtual package provided by:
>   yaws 1.65-4
>   webfs 1.21-4.1
>   tntnet 1.5.3-2
>   thttpd 2.23beta1-5
>   mzscheme 1:352-6
>   mini-httpd 1.19-3
>   micro-httpd 20051212-3
>   mathopd 1.5p5-1
>   lighttpd 1.4.13-4etch4
>   fnord 1.10-2
>   dhttpd 1.02a-16
>   cherokee 0.5.5.dfsg-2
>   bozohttpd 20060517-4
>   boa 0.94.14rc21-0.2
>   apache2-mpm-worker 2.2.3-4+etch4
>   apache2-mpm-prefork 2.2.3-4+etch4
>   apache2-mpm-itk 2.2.3-01-2+b1
>   apache2-mpm-event 2.2.3-4+etch4
>   apache-ssl 1.3.34-4.1+etch1
>   apache-perl 1.3.34-4.1+etch1
>   apache 1.3.34-4.1+etch1
>   aolserver4 4.0.10-7
> You should explicitly select one to install.
> 
> Todos estos son servidores...
> 
> enconces:
> 
> root en cheguevara:/home/gilblack1234# ls -l
> /etc/apache
> total 52
> -rw-r--r-- 1 gilblack1234 root   285 May 30  2001
> access.conf
> lrwxrwxrwx 1 gilblack1234 root     1 Jan 11 17:32
> conf
> -> .
> drwxr-xr-x 2 gilblack1234 root   128 Mar 22 18:54
> conf.d
> -rw-r--r-- 1 root         root 35457 Mar 22 18:43
> httpd.conf
> lrwxrwxrwx 1 root         root    15 Mar 22 18:43
> mime.types -> /etc/mime.types
> -rw-r--r-- 1 root         root  1117 Mar 22 18:43
> modules.conf
> -rw-r--r-- 1 gilblack1234 root   297 Sep 24  2001
> srm.conf
> -rw-r--r-- 1 gilblack1234 root   297 May 30  2001
> srm.conf.0
> drwxr-xr-x 2 gilblack1234 root   104 Jun 24  2006
> ssl.crl
> drwxr-xr-x 2 gilblack1234 root   168 Jun 24  2006
> ssl.crt
> drwxr-xr-x 2 gilblack1234 root   112 Jun 24  2006
> ssl.csr
> drwxr-xr-x 2 gilblack1234 root   112 Jun 24  2006
> ssl.key
> drwxr-xr-x 2 gilblack1234 root    80 Jun 24  2006
> ssl.prm
> 
> Mira que httpd.conf esta en esto directorio!!!
> Tenemos
> en mente que apache es un servício, un daemon...
> debe
> tener algo en /etc/rc5.d, entonces:
> 
> -rw-r--r-- 1 root root 556 Jan 30  2007 README
> lrwxrwxrwx 1 root root  17 Jan 11 17:32 S05vbesave
> ->
> ../init.d/vbesave
> lrwxrwxrwx 1 root root  20 Jan 11 17:32 S15realtime
> ->
> /etc/init.d/realtime
> lrwxrwxrwx 1 root root  15 Feb 27 16:29 S19hplip ->
> ../init.d/hplip
> lrwxrwxrwx 1 root root  14 Feb 27 16:31 S19hpoj ->
> ../init.d/hpoj
> 
=== message truncated ===



      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/



Más información sobre la lista de distribución Musix-usuarios