Foros del Web » Administración de Sistemas » Unix / Linux »

ubuntu, xampp y apache

Estas en el tema de ubuntu, xampp y apache en el foro de Unix / Linux en Foros del Web. hola, tengo el paquete xampp en linux instalado y funcionando sin problemas. El tema es que ahora quiero utilizar servidores java y le pongo el ...
  #1 (permalink)  
Antiguo 26/11/2007, 08:12
Avatar de rameau1982  
Fecha de Ingreso: febrero-2007
Ubicación: Barcelona
Mensajes: 111
Antigüedad: 17 años, 2 meses
Puntos: 0
ubuntu, xampp y apache

hola, tengo el paquete xampp en linux instalado y funcionando sin problemas. El tema es que ahora quiero utilizar servidores java y le pongo el addon del tomcat. Se descomprime el paquete y ningún problema, hago los retoques que me dice el readme y todo ok. Pero al iniciarlo: ./lampp start me da errores de compilación! o sea, como si el shell script del start estubiera mal, además en líneas rarísimas. Alguna sujerencia?

Bueno, como lo del xampp no me mola del todo, he pensado en instalar apache, php, mysql, phpmyadmin y tomcat todo por separado.... pero no me sale, sólo ponerle: apt-get install apache me dice que no encuentra el problema. En el gestor de paquetes synaptic no encuentro nada que se parezca a apache.... alguna idea?

gracias.
  #2 (permalink)  
Antiguo 26/11/2007, 08:25
Avatar de _Lucifer_  
Fecha de Ingreso: junio-2006
Mensajes: 1.662
Antigüedad: 17 años, 10 meses
Puntos: 28
Re: ubuntu, xampp y apache

En primer lugar te recomiendo que coloques un poco mas de información acerca de los errores que te aparecen, en linux no he usado en xammp, simplemente instalo las aplicaciones desde los repositorios de mi distribucion y ya.
Código:
$ sudo aptitude update
$ sudo aptitude install apache2 php5 mysql....

Saludos.
__________________
Si crees que no tiene sentido, etonces probablemente lo tenga... :arriba:
  #3 (permalink)  
Antiguo 27/11/2007, 11:22
Avatar de rameau1982  
Fecha de Ingreso: febrero-2007
Ubicación: Barcelona
Mensajes: 111
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: ubuntu, xampp y apache

bueno, hago el update (ubuntu 7.10) y despues el install. para el apache2 me dice que no lo encuentra y que coge otro similar... pero entonces me dice que este paquete depende de unas librerias que no se pueden instalar. lo mismo con todo lo otro.
que se puede hacer?
  #4 (permalink)  
Antiguo 27/11/2007, 11:31
Avatar de _Lucifer_  
Fecha de Ingreso: junio-2006
Mensajes: 1.662
Antigüedad: 17 años, 10 meses
Puntos: 28
Re: ubuntu, xampp y apache

Ayudaría mucho que mostraras la salida, así podré diagnosticar mejor el problema en caso de haber alguno.

Agrego: Revisa tu lista de repositorios, porque me extraña que no lo consiga. /etc/apt/sources.list
Saludos
__________________
Si crees que no tiene sentido, etonces probablemente lo tenga... :arriba:
  #5 (permalink)  
Antiguo 27/11/2007, 11:32
Avatar de rameau1982  
Fecha de Ingreso: febrero-2007
Ubicación: Barcelona
Mensajes: 111
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: ubuntu, xampp y apache

ok, ahora no estoy con el pc problemático, luego lo pongo todo. Gracias
  #6 (permalink)  
Antiguo 27/11/2007, 13:55
Avatar de rameau1982  
Fecha de Ingreso: febrero-2007
Ubicación: Barcelona
Mensajes: 111
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: ubuntu, xampp y apache

esta es la salida:

Código:
 aptitude install apache2
S'està llegint la llista de paquets... Fet 
S'està construint l'arbre de dependències       
Reading state information... Fet           
Reading extended state information      
Initializing package states... Fet
Building tag database... Fet      
Note: selecting "apache2-mpm-itk" instead of the
      virtual package "apache2"
The following packages are BROKEN:
  apache2-mpm-itk 
The following packages have been kept back:
  firefox firefox-gnome-support 
0 packages upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 174kB of archives. After unpacking 438kB will be used.
The following packages have unmet dependencies:
  apache2-mpm-itk: Depén: apache2.2-common (= 2.2.4-3build1) which is a virtual package.
                   Depén: libapr1 which is a virtual package.
                   Depén: libaprutil1 which is a virtual package.
                   Depén: libpq5 which is a virtual package.
Resolving dependencies...
Unable to resolve dependencies!  Giving up...
Abort.
y esto es el sources.list:
Código:
root@rameau-desktop:~# apt-get install apache2
S'està llegint la llista de paquets... Fet 
S'està construint l'arbre de dependències       
Reading state information... Fet           
Nota: s'està seleccionant apache2-mpm-itk en comptes de apache2
No s'han pogut instal·lar alguns paquets. Això pot ser degut a que vàreu
requerir una situació imposible o a que esteu usant la distribució
unstable i alguns paquets requerits encara no han estat creats o bé
encara no els hi han afegit.

Degut a que sols heu requerit una única operació, serà molt
probable que el paquet no sigui instal·lable i que s'hagi d'emetre
un informe d'error en contra d'aquest per a arxivar-lo.
La següent informació pot ajudar-vos a resoldre la situació:

Els següents paquets tenen dependències sense satisfer:
  apache2-mpm-itk: Depén: apache2.2-common (= 2.2.4-3build1) però no és instal·lable
                   Depén: libapr1 però no és instal·lable
                   Depén: libaprutil1 però no és instal·lable
                   Depén: libpq5 però no és instal·lable
E: Paquets trencats


deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://es.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://es.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://archive.ubuntu.com/ubuntu/ gutsy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy universe main multiverse restricted #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main multiverse restricted
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
espero que sirva de algo... gracias

Última edición por rameau1982; 27/11/2007 a las 14:08
  #7 (permalink)  
Antiguo 27/11/2007, 22:11
Avatar de arthpix  
Fecha de Ingreso: diciembre-2003
Ubicación: Cancún
Mensajes: 2.340
Antigüedad: 20 años, 4 meses
Puntos: 93
Re: ubuntu, xampp y apache

Elimina la # de todas las lineas que comienzan con "deb http:/" y añádeselo a la que empieza con "deb cdrom:"

desde consola:
$ sudo gedit /etc/apt/sources.list
Guarda los cambios y actualiza:
$ sudo aptitude update
$ sudo aptitude dist-upgrade

Y después intenta de nuevo instalar los paquetes que deseas. como te comentó Lucifer. Procura que no hayan líneas duplicadas, o sea que digan exactamente lo mismo.

Pero, veo que los repositorios tienen un comentario que dice algo como "Línea comentada por el instalador por que falló al verificar:" ¿Instalaste sin internet o tuviste problemas al instalar con la conexión a internet? Y si es asi, asumimos que ahora tienes conexión funcional a internet¿¿??
__________________
Antes de hacer rabietas infórmate: Linux != Windows
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:54.