LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-27-2004, 03:52 PM   #1
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Bug#227357 Debian upgrade Woody -> Sarge, Apache broken


I am experiencing THIS bug:
http://lists.debian.org/debian-apach.../msg00243.html

I have a "Syntax OK" from apachectl configtest. Any attempt to start Apache from /etc/init.d or apachectl fails. NOTHING is logged to /var/log/apache/error.log or syslog/messages.

This is Server version: Apache/1.3.29 (Debian GNU/Linux)

I even went the horrible, reprehensible way and rebooted to make sure there were no locks or pids hanging around. Same problem: won't start.

Here's the end of strace apache -X -F:

Code:
connect(6, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=316, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404c0000
read(6, "127.0.0.1\tllamakc\tlocalhost\n192."..., 4096) = 316
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x404c0000, 4096)                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 6
connect(6, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=316, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404c0000
read(6, "127.0.0.1\tllamakc\tlocalhost\n192."..., 4096) = 316
close(6)                                = 0
munmap(0x404c0000, 4096)                = 0
stat64("/dev/urandom", {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Ideas?

llamakc
 
Old 01-28-2004, 07:03 AM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Original Poster
Rep: Reputation: 31
Fixed. I used /etc/apt/preferences

Code:
Package: *
Pin: release a=stable
Pin-Priority: 1001

Package: *
Pin: release a=testing
Pin-Priority: 900
...edited /etc/apt/sources.list to point back to Stable, and did apt-get update && apt-get dist-upgrade. For those crazy enough to try this let me warn you it is a bumpy ride. You will need to dpkg -i --force-overwrite /path/to/foo.deb several packages and hammer away with apt-get -f install and apt-get dist-upgrade several times.

MySQL, Mailman, and Apache were b0rKed and took some tinkering to get back running.

Every time I try Debian Testing I am disappointed. I have had more luck with bugs being fixed on Unstable time and time again.

(posted for the archives)
 
Old 01-28-2004, 04:05 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
i upgraded to testing with no problem. after pointing sources.list to testing, apt-get update, i first upgraded libc6, perl, etc. :

# apt-get upgrade libc6 perl dpkg apt-utils apt

then the apt-get dist-upgrade, and then install/upgrade apache and my other apps. worked like a charm.

afaik, testing is pretty stable, isn't it? and are you saying if you change the sources.list back to stable and then dist-upgrade, you can actually revert your system and apps to a previous debian? (debian ) thanks
 
Old 01-28-2004, 04:14 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Original Poster
Rep: Reputation: 31
Yep, you can downgrade, but its a real PITA. The upgrade was no big deal other than the apache error that had a bug report filed against it. Though your way was successful, Debian should successfully upgrade w/o extra steps by just the dist-upgrade. However I encountered that problem.

Anyway, I'm back to stable and I've pinned Mailman to 2.1.3-2 and all is working.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems upgrading from debian woody to sarge sketelsen Debian 13 06-08-2005 11:57 AM
anyone done a recent upgrade from woody to sarge? deuce868 Debian 1 04-05-2005 03:11 PM
Upgrade from Woody to Sarge? - Debian trotsky Linux - Newbie 1 11-27-2004 11:47 AM
[Debian] Stable: Woody or Sarge? e11 Linux - Newbie 1 10-20-2004 01:06 AM
Debian Woody, Sarge or Sid? Zaskar Debian 6 03-01-2004 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration