qmail can't send email FROM uid=0 bin/qmail-queue: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied qmail-inject: fatal: qq temporary problem (#4.3.0) Can't send mail: sendmail process failed with error code 111 emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl eds emboss encode foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Please describe how to reproduce this, because I can send e-mails as root.
Just install from 2005.1 from stage3-pentium4 after emerge--sync; emerge-uD system emerge -uD world emerge apache, php, mod_php mod_ssl ecc. emerge qmail create the link send and smtp in /service rc-update add svscan default i just try to emerge -e qmail but nothing.with uid!=0 working good, but with uid=0 bin/qmail-queue: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied qmail-inject: fatal: qq temporary problem (#4.3.0) Can't send mail: sendmail process failed with error code 111 No log. i have also another PC (qmail working) i tried to copy the package form this and emerge with -k but i have the same error. just try the ~x86 qmail , but nothing. now, i'll try to do emerge -e world.
the other pc have 2005.0
try to emerge clamv smpassassin qmail-scanner. Same error. i'll try to emerge -e world
more /var/lib/portage/world sys-apps/logwatch mail-filter/spamassassin app-forensics/chkrootkit sys-process/vixie-cron net-mail/queue-fix sys-libs/glibc net-mail/qmail-notify www-client/lynx sys-kernel/linux-headers dev-db/mysql app-admin/sudo mail-client/mailx net-analyzer/traceroute mail-mta/qmail dev-db/phpmyadmin app-editors/vim net-dns/bind-tools sys-fs/quota net-mail/mailbase net-misc/dhcp net-www/mod_ssl net-fs/samba sys-libs/pam sys-apps/slocate net-www/apache sys-power/apcupsd net-misc/dhcpcd sys-apps/lm_sensors sys-boot/grub net-analyzer/tcptraceroute dev-util/ccache sys-apps/coldplug sys-apps/smartmontools app-admin/syslog-ng app-editors/nano sys-power/acpid app-arch/gzip sys-kernel/gentoo-sources net-dns/bind net-fs/nfs-utils net-misc/whois dev-php/mod_php sys-devel/gettext net-firewall/iptables app-portage/gentoolkit app-admin/ulogd sys-power/acpi mail-client/mailx-support mail-filter/qmail-scanner net-misc/ntp app-antivirus/clamav app-portage/mirrorselect sys-fs/quotatool
Can you try revdep-rebuild, please?
no broken lib.
just retray today. new install from 2005.1 emerge qmail only same problem !!!!!!
I think the problem in 2005.1 stage file. I try with some new installation. No tocuh USE Try with myself kernel and genkernel. Try without emerge
I think the problem in 2005.1 stage file. I try with some new installation. No tocuh USE Try with myself kernel and genkernel. Try without emergesync before and try again with emerge sync before emerge qmail Try with and without ebuild /var/db . And/or editing by hands me , locals, rcpt.. ecc At home i have qmail working. I try to copy the package buid home and emege with k. Nothing I try to copy /var/qmail from home, nothing.
What have you changed in conf-*?
On the last test install 2005.1 from live-cd 2005.1 x86 universal. only emerge gentoo-source build the kernel emerge grub qmail vixie-cron syslog-ng slocate dhcpcd dhcp bind couldplug ntpd rc-update couldplug boot and bind svscan syslog-ng vixie ntpd-client on default copy my server.local zone for bind (it's working) change clock (local) keymapd (it) resolv.conf (192.168.x.y my ip address) net (static address) ln -s ... qmail-send and qmail-smptd in /service ebuild /var/db/net-mta/qmailxxx-qmailxx config edit serv.. finish configure qmail by ebuild (create cert and me, local, plusdomain,rcpthost) emerge mailbase and mailx I have try that with 2 different PC (P4 478 and P4 775) with genkernel and myself kernel with 2005.1 same error Also tried without doing ebuild ... but just echo "server.local" in me, locals rcpthosts. Same error at home i have other 2 PC but installed from 2005.0 and they working good. Today i have tried to un-merge mailx and add mailutils and it saw /usr/sbin/sendmail not found ( but the link of sendmail there was) doing the last update yesterday to new glibc (r1?) but not solved try emerge -e world, same problem revdev-rebuild don't found anything to rebuild) this is my make.conf CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" same error with -O2
P.S. now i have also installed apache2 mysql samba and i don't have glibc error
at now i changed this files /etc/init.d/consolefont 7872372bf1393c4bde1987c711b8f847 /etc/bash/bash_logout 229ccc2980a94877f2e87f957e9da7bf /etc/conf.d/clock 4a2359d176bf2ac9b0e1639bb028a0d8 /etc/init.d/urandom 7b2d78f5daf6c767dbd5c57df1ab11fe /etc/updatedb.conf c4851bb3df3db96d82c744c6c5cd2958 /etc/conf.d/consolefont e8a4f42181bd18be8c3fc4f0a3e375c1 /etc/init.d/numlock 9f35e34b773eedb38861ec23da928249 /etc/man.conf 1b2a0c795bea68c439336399b586666e /etc/conf.d/keymaps 91acadf029a0841f5fbc14e07eb5fdcc /etc/inittab b3e11d2c99e3704e3b20ee8a64aaa04a /etc/conf.d/gpm b4799eacf092caf15f5c06558f73dfe3 /var/qmail/control/servercert.cnf cab514962524125fd83969a3751d2c6e /etc/init.d/halt.sh ed00a21c25834ce347eefda6621c6aa0 /etc/conf.d/iptables 956ebf5ab69e5a1e1d3983541eab643b /etc/tcprules.d/tcp.qmail-smtp fe86ebf974cc7cb1aaddff8311ae89bc /etc/conf.d/dhcp 5cde0a8fdf363490c4212726dfd06a38 /etc/rc.conf 06e012a1ccfa1989d8b5a63e7b5abe65 /etc/ssh/sshd_config 92f849a9ba37b178154e1697e3eaff41 /etc/init.d/modules 30dfb08683fac597c11aac6ae8753e19 /etc/init.d/localmount 912d2604032b0ac974d73c6024ea7d95 /etc/filesystems 1f8afe12c70eb4a45ebeb16b5aaad26c /etc/mysql/my.cnf 9946a8f7163970ec4f6a713c97eadbe0 /etc/init.d/hostname af6b54dffd4d18eaab03c5b048e1aa35 /etc/init.d/rmnologin 6bf848d1e6dfd31f7aa1f7594aaf3be2 /etc/init.d/keymaps 9970fa982d990154a16c0c4ba734fe48 /etc/conf.d/rc 94ca2b9fe4ccadaa67fde3a031e8d64d /etc/skel/.bashrc 6dcc418c7812b5f8ebf2f6562eb2e57c /etc/init.d/netmount 62ef6f1ce036e32926d87fe627477dc3 /etc/pam.d/cron 83144cbbd67c226a855da47c8a37f083 /etc/conf.d/apache2 228b5a816ea5534287be3c5e1d6ec7cd /etc/gentoo-release 526a37cd2a9d1d47479e09835c82ea70 /etc/conf.d/named 21e3efd21e18f4c660155978105f8ebe /etc/init.d/mysql 08f1246e8107e4140378d429ff9773af /etc/init.d/checkroot 9cbab96e0d2c89142958d95e838611fd /etc/pam.d/system-auth c3d3871612bfb718a50454c8fba54b64 /etc/conf.d/hostname 7be9775da40c453bcb90c04079c8fc49 /etc/init.d/local 4154a6b81ee70486fb5463c40ea80d6b /etc/networks 84065417a3403e76755bcff16fcddeb3 /etc/init.d/clock 9834f98c79fe324062e54f4215f01469 /etc/skel/.bash_profile d76b9aa6b733175df21c2bb6afe8900d /etc/services 5c1f5567b43fa87aa81f24c0d2c669fc /etc/modules.autoload.d/kernel-2.6 0ebee485f48a675d70ae8fe17a6ff046 /etc/conf.d/domainname 92289218c1d7e096ad2e2169b3b97042 /etc/modules.autoload.d/kernel-2.4 8b2c890fca89a0b8ff435e2af5858bce /etc/bind/named.conf e9bb1e01cf0b7597e739e889499ddd7a /etc/bash/bashrc addd22b9c7174a5220a350dc84cb738f /etc/init.d/iptables be57c10dd117e845d0367ac4abfdc6d2 /etc/conf.d/local.stop 6c6b7e0b38e38c2e8a5dfa6eb14c6c9f /etc/init.d/net.lo 09e5588df03b3291a2b653f4f92e4bc9 /etc/apache2/conf/apache2.conf 77785d5ff6e5a7a21425dc69a6162779 /etc/protocols ce271f81f8771fc777954953ec26366b /etc/sysctl.conf 0da2611c7fec48cca76ee25ef77d92d6 /etc/init.d/reboot.sh 1066221dc9c4fbb7b7db0d76e794a205 /etc/hotplug/net.agent a2cde38465456e9c34ecf70c52fb9f12 /etc/profile 059ff3014205750225ae743b6821c0bd /etc/mail.rc 2bd8160a85f53c20e55ebd375fc89431 /etc/DIR_COLORS 562be8875293fa477947cff0cc46d37e /etc/conf.d/net.example 0d8276882555d9d3829062bfa753bcec /etc/tcprules.d/tcp.qmail-qmqp b7e7c96254dabacdec5bf5904957c7b2 /etc/ulogd.conf e9c0782387f15d6f3b9807135600d9fc /etc/init.d/bootmisc f95416a04aad9c520eb790ccf148d89e /etc/conf.d/local.start 3a98ad1a14ba12c011ddfb13e447f84a /etc/shells 59b2a974c9b2f498ab9b07f594299fd6 /etc/skel/.bash_logout 7d8a8ef90c1818a0cd66808ac2740638 /etc/init.d/domainname b703a062fdc11552377446d5ec12e45e /etc/init.d/checkfs b69e12ab97c56d7575f16757ca46bebb /etc/tcprules.d/tcp.qmail-qmtp 2d3271eba444e0c0ad2bd39626ba9156 /etc/init.d/shutdown.sh ca9983dc85e00886a81a2aa2cbd20733 /etc/inputrc b2544b39eadf3580e2813eb912a228a5
gentoo ~ # mail michele.schiavo@4wdinformatica.it Subject: test testest . Cc: bin/qmail-queue: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied qmail-inject: fatal: qq temporary problem (#4.3.0) Can't send mail: sendmail process failed with error code 111 ldd /var/qmail/bin/qmail-queue linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/libc.so.6 (0xb7ed1000) /lib/ld-linux.so.2 (0x80000000) ldd /bin/mailx linux-gate.so.1 => (0xffffe000) liblockfile.so.1 => /usr/lib/liblockfile.so.1 (0xb7fcc000) libc.so.6 => /lib/libc.so.6 (0xb7ebc000) /lib/ld-linux.so.2 (0xb7fd5000) su michele michele@gentoo /root $ mail michele.schiavo@4wdinformatica.it Subject: test ette . Cc: michele@gentoo /root $ ldd /var/qmail/bin/qmail-queue ldd: error: you do not have read permission for `/var/qmail/bin/qmail-queue' michele@gentoo /root $ ldd /bin/mailx linux-gate.so.1 => (0xffffe000) liblockfile.so.1 => /usr/lib/liblockfile.so.1 (0xb7f6c000) libc.so.6 => /lib/libc.so.6 (0xb7e5c000) /lib/ld-linux.so.2 (0xb7f75000)
Please give me the output of this command: ls -la /var/qmail/bin/qmail-queue (as root)
-rws--x--x 1 qmailq qmail 17572 Aug 17 18:58 /var/qmail/bin/qmail-queue
Try today from 2005.0 wirking good.
The problem is not from qmail, but i think from stage4 of 2005.1
stage4?
sorry stage3-pentium4
*** This bug has been marked as a duplicate of 101962 ***