On torsdagen den 5 september 2002 23.58 Jean-Michel Dault wrote: > As I said, there might be some conflicts while upgrading from your old > Contribs version to the new one. > > The best way to upgrade is to do: > rpm -qa|grep apache2|xargs rpm -e --nodeps libapr0 > > It's important no to forget libapr0 =)
This was a clean apache2 install..., look here: [root@cooker conf]# rpm -qa|grep apache [root@cooker conf]# rpm -qa|grep apr [root@cooker conf]# rm -rf /etc/httpd* [root@cooker conf]# rm -rf /usr/lib/apache* [root@cooker conf]# rm -rf /var/www* [root@cooker conf]# urpmi apache One of the following packages is needed: 1- apache-mod_perl-1.3.26_1.27-5mdk.i586 2- apache-1.3.26-5mdk.i586 3- apache2-2.0.40ADVX-8mdk.i586 What is your choice? (1-3) 3 To satisfy dependencies, the following packages are going to be installed (2 MB): apache2-2.0.40ADVX-8mdk.i586 apache2-common-2.0.40ADVX-8mdk.i586 apache2-conf-2.0.40ADVX-9mdk.i586 apache2-modules-2.0.40ADVX-8mdk.i586 libapr0-2.0.40ADVX-8mdk.i586 Is this OK? (Y/n) installing /mnt/contrib/i586/apache2-common-2.0.40ADVX-8mdk.i586.rpm /mnt/contrib/i586/apache2-conf-2.0.40ADVX-9mdk.i586.rpm /mnt/contrib/i586/libapr0-2.0.40ADVX-8mdk.i586.rpm /mnt/contrib/i586/apache2-modules-2.0.40ADVX-8mdk.i586.rpm /mnt/contrib/i586/apache2-2.0.40ADVX-8mdk.i586.rpm Preparing... ################################################## 1:apache2-conf ################################################## Migrating configuration to Apache 2.0 2:libapr0 ################################################## 3:apache2-common ################################################## 4:apache2-modules ################################################## 5:apache2 ################################################## Apache 2.0 detected [root@cooker conf]# ls -la /etc/httpd/conf/httpd2.conf -rw-r--r-- 1 root root 0 Sep 6 02:22 /etc/httpd/conf/httpd2.conf The /etc/httpd/conf/httpd2.conf file is zeroed. > Jean-Michel > > Le jeu 05/09/2002 � 19:20, Oden Eriksson a �crit : > > [root@cooker /]# /etc/rc.d/init.d/httpd start > > Starting httpd2: httpd2: Could not determine the server's fully qualified > > domain name, using 192.168.100.2 for ServerName > > no listening sockets available, shutting down > > [FAILED] > > > > root@cooker conf]# urpme apache2 > > To satisfy dependencies, the following packages are going to be removed > > (29 MB): > > apache2-mod_perl-2.0.40ADVX_1.99_05-2mdk > > apache2-mod_php-2.0.40ADVX_4.2.2-2mdk apache2-2.0.40ADVX-8mdk Is this OK? > > (Y/n) > > Apache 2.0 detected > > Apache 2.0 detected > > > > [root@cooker conf]# rpm -qa|grep apache2 > > apache2-conf-2.0.40ADVX-9mdk > > apache2-modules-2.0.40ADVX-8mdk > > apache2-devel-2.0.40ADVX-8mdk > > apache2-common-2.0.40ADVX-8mdk > > apache2-mod_ssl-2.0.40ADVX-8mdk > > apache2-manual-2.0.40ADVX-8mdk > > > > rm -rf /etc/http* > > > > [root@cooker conf]# urpmi apache2 > > To satisfy dependencies, the following packages are going to be installed > > (2 MB): > > apache2-2.0.40ADVX-8mdk.i586 > > apache2-common-2.0.40ADVX-8mdk.i586 > > apache2-conf-2.0.40ADVX-9mdk.i586 > > apache2-modules-2.0.40ADVX-8mdk.i586 > > Is this OK? (Y/n) > > installing /mnt/contrib/i586/apache2-common-2.0.40ADVX-8mdk.i586.rpm > > /mnt/contrib/i586/apache2-conf-2.0.40ADVX-9mdk.i586.rpm > > /mnt/contrib/i586/apache2-modules-2.0.40ADVX-8mdk.i586.rpm > > /mnt/contrib/i586/apache2-2.0.40ADVX-8mdk.i586.rpm > > > > Preparing... > > ################################################## 1:apache2-common > > ################################################## 2:apache2-conf > > ################################################## Migrating > > configuration to Apache 2.0 > > 3:apache2-modules > > ################################################## 4:apache2 > > ################################################## Apache 2.0 detected > > [root@cooker conf]# ls -la /etc/httpd/conf/ > > total 92 > > drwxr-xr-x 5 root root 4096 Sep 5 18:18 . > > drwxr-xr-x 5 root root 4096 Sep 5 18:18 .. > > drwxr-xr-x 2 root root 4096 Sep 5 14:58 addon-modules > > -rw-r--r-- 1 root root 7565 Sep 5 14:58 apache-mime.types > > drwxr-xr-x 2 root root 4096 Sep 5 18:18 bak > > -rw-r--r-- 1 root root 29564 Sep 5 14:58 commonhttpd.conf > > -rw-r--r-- 1 root root 0 Sep 5 18:18 httpd2.conf > > -rw-r--r-- 1 root root 0 Sep 5 18:18 httpd2-perl.conf > > lrwxrwxrwx 1 root root 11 Sep 5 18:18 httpd.conf -> > > httpd2.conf > > lrwxrwxrwx 1 root root 16 Sep 5 18:18 httpd-perl.conf > > -> httpd2-perl.conf > > -rw-r--r-- 1 root root 12441 Sep 5 14:58 magic > > -rw-r--r-- 1 root root 12441 Sep 5 14:58 magic.default > > drwxr-xr-x 2 root root 4096 Sep 5 18:18 vhosts > > > > > > > > -- > > Regards // Oden Eriksson > > Deserve-IT Networks -> http://d-srv.com -- Regards // Oden Eriksson Deserve-IT Networks -> http://d-srv.com
