[Bug 1276229] [NEW] Feb-2014 - mysql-server 12.04 update failure
Public bug reported: while applying latest ubuntu server x86_64 mysql- server-5.5.35-0ubuntu0.12.04.2 update, mysql-server becomes completely broken, bruised, battered, botched and b0rked. Unable to start mysql. No lock files, no stale sockets, all tables were working fine prior to update. dpkg is unable to install anything now because mysql-server is unconfigured. aptitude reinstall does not produce a working mysql daemon. no success with aptitude install after after issuing apt-get remove, autoremove, autoclean (and/or equivalent aptitude incantations). Have also tried removing/purging/cleaning/autoremove/autoclean followed by deletion of /etc/mysql as well as all production tables in /var/lib/mysql to no effect. something is simply busted with mysql- server-5.5 update. Curiosly enough, /usr/bin/mysqld_safe DID INDEED start the production mysql instance (prior to apt/aptitude battle this morning). # start mysql start: Job failed to start # stop mysql stop: Unknown job: mysql # tail /var/log/kern.log ... Feb 4 09:20:00 dmz-mysql-1 kernel: [88695.675394] init: mysql pre-start process (25686) terminated with status 1 Feb 4 09:20:08 dmz-mysql-1 kernel: [88703.653419] init: mysql pre-start process (25933) terminated with status 1 # aptitude install libnss-ldap The following partially installed packages will be configured: mysql-server mysql-server-5.5 No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. Setting up mysql-server-5.5 (5.5.35-0ubuntu0.12.04.2) ... start: Job failed to start invoke-rc.d: initscript mysql, action start failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing: mysql-server-5.5 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up mysql-server-5.5 (5.5.35-0ubuntu0.12.04.2) ... start: Job failed to start invoke-rc.d: initscript mysql, action start failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.5 mysql-server ** Affects: mysql-5.5 (Ubuntu) Importance: Undecided Status: New ** Tags: 12.04 mysql updates -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.5 in Ubuntu. https://bugs.launchpad.net/bugs/1276229 Title: Feb-2014 - mysql-server 12.04 update failure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1276229/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 274108] Re: postfix set-permissons fails
This irritated me so I created a fixed /usr/lib/postfix/postfix-files here. Commented out the manpages and html files as well as the files I do not have. This is from a basic Ubuntu Lucid postfix install. http://pastebin.com/Cgcn23mZ -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix in Ubuntu. https://bugs.launchpad.net/bugs/274108 Title: postfix set-permissons fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/274108/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 781936] Re: libvirtd: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
FWIW ran into another guest today which wouldn't boot through virt- mangler. Kept getting error message: operation failed: failed to retrieve chardev info in qemu with 'info chardev' *sigh* It was the only guest left wounded from the Lucid upgrade. I could still start it using the script above, but kinda sucks not having it manageable from virsh. One of these three things fixed it. 1) Details - Boot device This was blank. Set it hard disk. 2) Details - Display Was set for SDL. Removed it and added new Display as VNC. 3) Details - Video Changed from VGA to Cirrus Hope this helps someone else. Doesn't look like anyone else will. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/781936 Title: libvirtd: operation failed: failed to retrieve chardev info in qemu with 'info chardev' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/781936/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 781936] Re: libvirtd: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
Fixed for me using: touch /etc/apparmor.d/disable/usr.sbin.libvirtd and then reboot. Also had a non-existent CDROM defined under the Details section which I removed. I don't think it had anything to do with the original problem. I removed the file created above and rebooted and things were back to broken. I re-touched the file and rebooted and things were working again. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/781936 Title: libvirtd: operation failed: failed to retrieve chardev info in qemu with 'info chardev' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/781936/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 781936] Re: libvirtd: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
Just upgraded my x86_64 12 core opteron hypervisor to Ubuntu 10.04.2 LTS and am now unable to start any guests using virt-manager. Traceback (most recent call last): File /usr/share/virt-manager/virtManager/engine.py, line 588, in run_domain vm.startup() File /usr/share/virt-manager/virtManager/domain.py, line 150, in startup self._backend.create() File /usr/lib/python2.6/dist-packages/libvirt.py, line 300, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev' To get a guest running now, I must use some shell scripts (hope it helps): #!/bin/bash # # to createa snapshot of the xp image # qemu-img create -b winxp3.img -f qcow winxp3_snap.img # CDROM=snoppix64-9.04.1.iso DISK=/kvm/x2-stint test -z $DISK exit KVM=qemu-system-x86_64 NAME=virtguest1 VNCDIS=11 RUNAS=nobody #-- make sure your disk image has write by him TAPDEV=vtap.11 # this is supposed to get rid of 'rect too big' errors VNC=xtightvncviewer -compresslevel 7 -encodings VNCARGS=copyrect tight hextile zlib corre rre raw echo starting vnc services on localhost:$VNCDIS - use vncviewer to connect # gotta create the tap and bridge it to br0 in order to work # br0 is bridged to eth0 (external interface) # # brctl show br0 # bridge name bridge id STP enabled interfaces # br0 8000.00e081bd5f2f no eth1 #tap3 #vtap.0 tunctl -t ${TAPDEV} brctl show brctl addif br0 ${TAPDEV} brctl show # start up the virtual guest with two nics # /usr/bin/qemu-system-x86_64 -M pc-0.11 -m 512 -smp 1 -name stint -enable-kvm \ -uuid 1fb923d5-7497-4d69-809b-786a4f94ece6 \ -monitor unix:/var/run/libvirt/qemu/winsodxp.monitor,server,nowait \ -localtime \ -boot c \ -drive file=${DISK},if=virtio,index=0,boot=on,cache=writeback \ -net nic,macaddr=ba:dd:c0:ff:ee:08,vlan=0,model=virtio,name=virtio.0 \ -net nic,macaddr=ba:dd:c0:ff:ee:09,vlan=0,model=virtio,name=virtio.1 \ -net tap,name=${TAPDEV} \ -runas ${RUNAS} \ -serial none -parallel none -usb \ -usbdevice tablet -vnc :6 -k en-us -vga std -daemonize -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/781936 Title: libvirtd: operation failed: failed to retrieve chardev info in qemu with 'info chardev' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/781936/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 423252] Re: NSS using LDAP+SSL breaks setuid applications like su and sudo
nslcd is a fail on lucid for me. Trying to start from upstart fails. Running it by hand in debug mode works but when trying to su from one LDAP user to another it again fails: # service nslcd start * Starting LDAP connection daemon nslcd nslcd: unable to daemonize: No such device Seems to work in debug mode # /usr/sbin/nslcd -d nslcd: DEBUG: add_uri(ldaps://10.xx.xx.xx) nslcd: DEBUG: add_uri(ldaps://10.xx.xx.xxx) nslcd: DEBUG: ldap_set_option(LDAP_OPT_X_TLS_REQUIRE_CERT,0) nslcd: version 0.7.2 starting nslcd: DEBUG: unlink() of /var/run/nslcd/socket failed (ignored): No such file or directory nslcd: DEBUG: setgroups(0,NULL) done nslcd: DEBUG: setgid(126) done nslcd: DEBUG: setuid(117) done nslcd: accepting connections When I try to su to another user however, more fail: [2]# sudo -u nslcd nslcd -d nslcd: DEBUG: add_uri(ldaps://10.12.51.165) nslcd: DEBUG: add_uri(ldaps://10.14.13.250) nslcd: DEBUG: ldap_set_option(LDAP_OPT_X_TLS_REQUIRE_CERT,0) nslcd: version 0.7.2 starting nslcd: DEBUG: unlink() of /var/run/nslcd/socket failed (ignored): No such file or directory nslcd: cannot setgroups(0,NULL) (ignored): Operation not permitted nslcd: DEBUG: setgid(126) done nslcd: DEBUG: setuid(117) done nslcd: accepting connections nslcd: [8b4567] DEBUG: connection from pid=13359 uid=0 gid=1000 nslcd: [8b4567] DEBUG: nslcd_passwd_byname(user333) nslcd: [8b4567] DEBUG: myldap_search(base=ou=HDA,ou=DC,o=FMW, filter=((objectClass=posixAccount)(uid=user333))) nslcd: [8b4567] DEBUG: ldap_initialize(ldaps://10.12.51.165) nslcd: [8b4567] DEBUG: ldap_set_rebind_proc() nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON) nslcd: [8b4567] DEBUG: ldap_set_option(LDAP_OPT_X_TLS,LDAP_OPT_X_TLS_HARD) nslcd: [8b4567] DEBUG: ldap_simple_bind_s(NULL,NULL) (uri=ldaps://10.12.51.165) nslcd: [8b4567] connected to LDAP server ldaps://10.12.51.165 nslcd: [8b4567] DEBUG: ldap_result(): end of results nslcd: [7b23c6] DEBUG: connection from pid=13359 uid=0 gid=1000 nslcd: [7b23c6] DEBUG: nslcd_passwd_byname(user333) nslcd: [7b23c6] DEBUG: myldap_search(base=ou=HDA,ou=DC,o=FMW, filter=((objectClass=posixAccount)(uid=user333))) nslcd: [7b23c6] DEBUG: ldap_initialize(ldaps://10.12.51.165) nslcd: [7b23c6] DEBUG: ldap_set_rebind_proc() nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON) nslcd: [7b23c6] DEBUG: ldap_set_option(LDAP_OPT_X_TLS,LDAP_OPT_X_TLS_HARD) nslcd: [7b23c6] DEBUG: ldap_simple_bind_s(NULL,NULL) (uri=ldaps://10.12.51.165) nslcd: [7b23c6] connected to LDAP server ldaps://10.12.51.165 nslcd: [7b23c6] DEBUG: ldap_result(): end of results nslcd: [3c9869] DEBUG: connection from pid=13359 uid=1000 gid=1000 nslcd: [3c9869] DEBUG: nslcd_passwd_byname(user333) nslcd: [3c9869] DEBUG: myldap_search(base=ou=HDA,ou=DC,o=FMW, filter=((objectClass=posixAccount)(uid=user333))) nslcd: [3c9869] DEBUG: ldap_initialize(ldaps://10.12.51.165) nslcd: [3c9869] DEBUG: ldap_set_rebind_proc() nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON) nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_X_TLS,LDAP_OPT_X_TLS_HARD) nslcd: [3c9869] DEBUG: ldap_simple_bind_s(NULL,NULL) (uri=ldaps://10.12.51.165) nslcd: [3c9869] connected to LDAP server ldaps://10.12.51.165 nslcd: [3c9869] DEBUG: ldap_result(): end of results output of below command ^^ $ su - user333 Password: setgid: Operation not permitted -- NSS using LDAP+SSL breaks setuid applications like su and sudo https://bugs.launchpad.net/bugs/423252 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libnss-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: