Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-27-2004, 04:52 PM
|
#1
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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
|
|
|
01-28-2004, 08:03 AM
|
#2
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Original Poster
Rep:
|
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)
|
|
|
01-28-2004, 05:05 PM
|
#3
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
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
|
|
|
01-28-2004, 05:14 PM
|
#4
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|