/srv/irclogs.ubuntu.com/2011/03/08/#ubuntu-server.txt

=== Jonny51 is now known as Jonny5
SpamapSzul: is the sru tracker working?00:09
nertilwhat is phy0 on ubuntu server?00:18
pickettwireless card00:20
nertilah ok00:21
=== Jonny51 is now known as Jonny5
=== Jonny51 is now known as Jonny5
tazmaniagood morning folks.  I have previously installed ubuntu server 10.04 on a flash drive.  However, the drive failed on me yesterday with mainly mount errors on /root and other directories.  I have tried to use fdisk, fsck, e2fsck, and mke2fs to fix the superblocks with no luck.  What else can I do?  I am able to see the files on the flash drive when I plug it into another ubuntu desktop.00:55
zulSpamapS: i think its in the processing of being moved ill look at it in a bit00:58
mil132I have a strange problem... ESXi reports that the server is useing more than its provisoned storage, but when I go into ubuntu, it reports useing less than 10%00:59
zulSpamapS: give it half an hour its resyncing the database01:13
=== ogra is now known as Guest2736
=== Guest2736 is now known as ogra_
zulSpamapS: ok its updated01:59
rnigamJust created a new kvm guest. Tried to do a virsh shutdown 'vm1' but no response. Infact the guest doesn't seem to react to any command. Any ideas anyone?02:18
rnigamhost is a ubuntu server 10.10 and guest 10.0402:19
pmatulisrnigam: start or destroy don't do anything?02:21
rnigampmatulis: Start and destroy work. Just checked. Wonder why shutdown doesn't02:24
thesheff17rnigam: I believe I have the same problem...I usually just do shutdown -h now inside the virtual machine.02:24
rnigamthesheff17: someone at virt tells me it might be because acpid is not supported/cconfigured for the guest. No power control support enabled at the start up ! Wonder if we could do it in the xml config file !02:34
rnigamAlso I now have a different prob... I tried to login to the console after following the thread: http://ubuntuforums.org/showthread.php?t=1159220 and the guest froze on the "connected to domain vm1" screen now02:35
rnigamnothing works!02:35
pmatulisrnigam: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/22093802:35
uvirtbotLaunchpad bug 220938 in libvirt "unable to shutdown a guest domain " [Undecided,Invalid]02:35
thesheff17rnigam: yea I just confirmed it02:35
thesheff17rnigam: with 10.04 on 10.0402:35
thesheff17there is also a bug where I have to change raw to qcow2 everytime...I'm sure there is another bug for that :-/02:36
thesheff17ah let me try this acpid package...and see if it works.02:37
thesheff17rnigam: ah never mind I was just impatient..it works fine on 10.04 w/ 10.04 I'm using vmbuilder  to build the instance and it does have that stuff in the xml file and acpid installed by default.02:42
thesheff17I pass it packages 'wget cron vim ntp ntpdate ssh xvfb build-essential linux-headers-virtual locate vpnc acpid clamav chkrootkit rkhunter puppet' during install...it has been a long time since I looked at my custom script.02:44
patdk-laphow can I tell if a fs is ext2/3/4?02:48
thesheff17patdk-lap: /etc/fstab if it is mounted02:49
patdk-lapheh?02:49
patdk-lapfstab has nothing to do with if it's mounted02:50
patdk-lapfstab only contains what you tell it02:50
thesheff17patdk-lap: well right :)02:50
patdk-lapso completely useless02:50
patdk-laplooks like ext302:51
twister004hi guys... i have an ubuntu 6.10 server.... I have some crons running on it(data backups)... how can i determine if these cron jobs completed successfully02:51
twister004logs in /var/log/syslog doesn't say if the cron completed02:51
rnigamthesheff17: Did you try  changing the setting in the guest xml config for getting the acpid running? is it working smoothly now?02:52
thesheff17rnigam: yea make sure you have acpid installed and that part of the xml file about <features> <acpi/> </features>02:53
twister004guys.. i need cron logs inorder to send out emails once backup cron jobs have completed02:53
thesheff17patdk-lap: file -s /dev/sdc1 should tell you :)02:57
twister004what is the easiest way to send cmd line emails using ubuntu?02:57
twister004i have sendmail installed02:57
patdk-lapLUKS encrypted file, ver 1 [aes, xts-plain:sha512, sha1] :)02:59
rnigamthesheff17: That particular entry has been there all the while. How do I install it using virsh.?03:00
rnigamis it possible?03:00
thesheff17rnigam: you have to get inside the vm...then apt-get install acpid or do it when you build the vm.03:00
rnigamthesheff17:I am not getting the console also to the guest ? any suggestions on what all I can try out?03:01
thesheff17rnigam: I actually have never used the console..I have either used ssh or virt-manager. I'm looking to see if I can get in my mv through the console command.03:01
thesheff17rnigam: I have used virsh...just not the console command.03:01
rnigamthesheff17: I am running a server edition of ubuntu that doesnt have GUI display03:04
rnigamvirt-manager or virt-viewer would not work I believe !03:05
thesheff17rnigam: true..I have a ton of ubuntu desktops laying around.03:05
rnigamthesheff17: Anyway we can specify the ipaddress for the guest while creating it?03:08
thesheff17rnigam: yea of course03:08
rnigami used vmbuilder !03:08
rnigamwhile creating it03:08
thesheff17rnigam: http://paste.ubuntu.com/577294/ here is my very long command I use a script to build all the params.03:10
rnigamthesheff17: vmbuilder kvm ubuntu --suite maverick --flavour virtual --arch i386 -o --libvirt qemu:///system --ip x.y.z.a --hostname 'ubuntu-vm1' --cpus 2 --mem '2048' --rootsize '8192' --swapsize '1024' --mask x.y.z.a --bcast x.y.z.a --gw x.y.z.a --dns x.y.z.a03:10
thesheff17rnigam: I use --firstboot to inject my SSH keys into the virtual machine...then I can ssh right into it.03:10
rnigamahh i see !03:11
thesheff17rnigam: http://paste.ubuntu.com/577295/ my boot.sh with my key removed.03:12
thesheff17rnigam: I'm still looking at the console stuff...I would like to get that to work...one day I may not have a GUI :)03:13
rnigamthesheff17: that's one ugly way of creating vm's. We need to quickly work on writing config scripts that can do it !03:13
rnigamto work around the paramters easily !03:14
thesheff17rnigam: I build my virtual machines through a python script.03:14
thesheff17that generate that huge long command03:14
rnigamya i was writing a shell script now03:14
thesheff17rnigam: I'm also starting to look into http://www.eucalyptus.com/ I have done a ton of work with boto on the EC2 cloud...and the boto EC2 library is great.  I have used virsh and vmbuilder for years now though with great success.03:18
rnigamthesheff17: interesting. I would love to experiment some stuff over the ec2 cloud.03:21
rnigamfor now I have to go. Thanks for all your help. See you around.03:22
cn1209hello. I'm currently trying to reduce the size of my ubuntu-server. It's a VM and unfortunately the size has been allocated so I can't reduce it. Is there a way to backup an entire image of the server using something like dd backup that would create a backup image smaller than the actual server HD size? (only used space)03:22
thesheff17rnigam: see ya03:22
thesheff17cn1209: are you using virsh?03:26
cn1209thesheff17: No. I'm using VMWare ESXi03:27
thesheff17cn1209: haven't used vmware ESXi...though there should be a tool to do it build into vmware.  I used to use vmware 1.x free version and there was a command to shrink the virtual machine when it was off....not to many people here actually use vmware anymore.03:28
thesheff17twister004: I use this perl script to call sendmail from the command line: http://paste.ubuntu.com/577300/03:30
cn1209thesheff17: Unfortunately the image has been set to a certain size. So I believe the only way would be to shrink it within ubuntu. With that said, I wonder if I make a backup image within ubuntu; is the backup image going to be only the size of the used space and not the entire physical drive size?03:31
twister004thesheff17: sendmail is not running on the machine.... I have an exchange server in the same subnet(windows)... can I use some mail client to relay messages through this server?>03:33
thesheff17twister004: yea sendmail support a relayhost param...can you not run sendmail?03:33
twister004thesheff17: whenever I use cmd line to send mail.. I get the following message when I execute 'mailq'03:33
twister004il paste the error03:34
=== c0nv1ct_ is now known as c0nv1ct
thesheff17cn1209: I would just backup the valuable data and re-create the vm with the drive size you want...that would be the safest option.03:34
twister004thesheff17: http://pastebin.com/QPH4caNV03:35
cn1209thesheff17: That'll work. Was just trying to skip that process :). But that will get the job done. thanks03:36
twister004thesheff17: any idea what's going on??03:36
thesheff17cn1209: look at the vmware ESXi shrink command03:37
thesheff17cn1209: what I would do inside the vm is wipe the rest of the drive with 1's using dd then try to use shrink.03:37
smoserhggdh, i'm sorry.. i was wrong about karmic.  karmic don't have a kernel inside the images so the quick trick I tried (just putting a /boot/grub/menu.lst in the image) is not sufficient03:39
thesheff17twister004: I would watch the /var/log/mail.log I bet the relayhost isn't working correctly03:39
twister004thesheff17: its the same error on the logs03:41
thesheff17twister004: have you configured sendmail?  I would also try postfix if you are not familiar with sendmail.03:42
twister004thesheff17: how can i use postfix to send mail via cmd line?03:43
twister004:D03:43
twister004i dont know much about postfix03:43
thesheff17twister004: postfix I believe still uses sendmail..to send yea...I don't know a ton about this...just enough to send emails using that perl script.03:44
thesheff17twister004: so try apt-get install postfix and add relayhost = xxx.xx.xx.xx /etc/postfix/main.cf restart postfix and try that perl script and see what the logs say.03:46
=== robbiew1 is now known as robbiew
=== MTecknology is now known as MT-TakinBreak
kunal_hi guys, playing with ubuntu on ec2 for the first time... wondering if there was a trick to the IP setup. i've given it an elastic IP, but getting this error on "service apache start"05:23
kunal_(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8005:23
thesheff17kunal_: are you running as root or sudo?06:06
=== twister004_ is now known as twister004
nijabaCongratulations Daviey!08:47
jdepiHi all, a small question: I noticed that ubuntu 10.04.2 LTS has quite old libvirt versions (libvir 0.7.5) which lacks many functions, like managedsave or snapshotting.  What's the recommended way to get the latest versions there?08:50
jdepi((ubuntu 10.10 has libir 0.8.3 which incorporates snapshotting etc))08:51
nijabajdepi: first look into backports to see if the version you want is there08:52
jdepiI'm a little concerned to run critical VMs on a non-LTS version...  What is your opinion about this?08:52
nijabajdepi: if it is not, then you have 3 choices: 1-upgrade to 10.10, 2-wait until next LTS(12.04), 3-Mess around with packages08:53
nijabajdepi: I would have the same concerns as you08:53
jdepithanks :-) but not very comforting08:53
nijabajdepi: but only if I know I won't be upgrading that machine in the next 12month08:54
jdepinijaba: i don't quite understand what you want to say?08:54
nijabajdepi: non LTS versions are as stable as LTS ones, they just have a shorter life cycle08:54
jdepiaha08:54
jdepiok, sorry, of course08:54
jdepinijaba: it's 'just' a VM host, which will run our business's mail server (W2003-DOMINO) as a KVM08:55
nijabajdepi: I see...  try to discuss whith hallyn when he is around, as he has been doing most of the KVM/qemu maintenance since 10.0408:57
ClaudiuTgrr, I'm not seeing 250-AUTH LOGIN PLAIN after running ehlo mail.mydomain.com on telenet08:57
ClaudiuTall settings are done according to https://help.ubuntu.com/10.10/serverguide/C/postfix.html08:58
ClaudiuTI get only this: http://pastebin.com/XUAwnaPA08:59
jdepinijaba: thanks, i'll try09:00
nandemonaiTried checking the logs ClaudiuT?09:02
jdepinijaba: backports doesn't offer me an upgrade for libvirt :-( so i'll upgrade to 10.1009:10
=== erichammond1 is now known as erichammond
RoyKhttp://karlsbakk.net/nfs-debug/ <-- anyone here that knows what may be the problem with the andy-urd-debug.pcap? server 'andy', running linux, is losing contact with the nfs server, which is running OI 148. I can't figure out who to blame - client or server. A correct mount is shown in door-urd-debug.pcap09:34
memoryleakhi there09:41
memoryleakhwo can i force aptitude to remove mysql-server including config and databases?09:42
memoryleaki want to restore the state wher it was out of the box before i touched mysql package09:42
joschimemoryleak: `aptitude purge` should do the trick09:45
memoryleakbut it doesn't09:46
memoryleakstill have /var/lib/mysql/* and /etc/mysql/*09:46
memoryleakand after reinstall it doesn't ask for a new root password09:46
memoryleakif i remove theme manually, mysql doesn't start after reinstall because of missing configuration (it doesn't create a new config)09:47
memoryleakso is there a way to fix this?09:48
joschisounds like a bug to me09:49
joschihave you checked the launchpad bugtracker for the mysql-server package?09:49
joschiif there's no bugreport for this, you might want to create one09:49
memoryleakit seems that other ppl have this issue too09:51
brontosaurusrexhi, how would i go about dns and international chars in domain names? for example where do i park a domain : čubuntu.si for example?10:07
Davieybrontosaurusrex, can you clarify what you want to do?10:15
Davieybrontosaurusrex, You want to do something with a nameserver, or a parking provider?10:16
brontosaurusrexDaviey: well, it appears i have to park it to some dns provider, and it appears that i have to use punycode encoding , would that sound right?10:17
SpamapSDaviey: this squid problem seems to be mostly due to restart being a really, really awful command in upstart. :-/10:17
Davieybrontosaurusrex, yes... and example of this http://☃.daviey.com which is really xn--n3h.daviey.com10:21
DavieySpamapS, urg10:21
DavieySpamapS, We haven't had as many hits as 12.1... Does this mean that it doesn't hit everyone?10:22
SpamapSDaviey: the problem is that the 'restart' command that is used doesn't actually reload the new squid.conf10:23
SpamapSDaviey: so its a problem, I think, thats been ticking away like a time bomb waiting for an SRU..10:23
SpamapSDaviey: once people have installed 12.1 *and* stopped/started the service, all is well.10:23
DavieySpamapS, so does this need an upstart SRU to do that, or do we need to work around it?10:23
SpamapSThere's no fix for upstart.10:24
brontosaurusrexDaviey: right, any weirdness i can expect with apache and virtual hosts?10:24
Davieybrontosaurusrex, no10:24
SpamapSDaviey: no we need to fix the squid maintainer scripts to call stop/start instead of restart10:24
brontosaurusrexDaviey: cool, thanks10:24
Davieybrontosaurusrex, the browser sends the normal domain, not wacky chars :)10:24
DavieySpamapS, ah10:24
brontosaurusrexDaviey: i should define the host as whacky or as 'normal' in apache?10:25
SpamapSDaviey: bug 726348 was opened a bit ago to address that... but it hasn't been triaged yet.10:25
uvirtbot`Launchpad bug 726348 in squid "squid's maintainer scripts call start/stop directly instead of using invoke-rc.d" [Undecided,New] https://launchpad.net/bugs/72634810:25
Davieybrontosaurusrex, 'normal' :)10:25
brontosaurusrexok, ty :)10:25
SpamapSDaviey: I think I'll go ahead and submit a fix for that.10:25
Davieybrontosaurusrex, not that i have tried putting punycode there... it /might/ work..10:25
DavieySpamapS, Rockstar!10:26
SpamapSDaviey: unfortunately I think we've cocked up a few peoples' servers quite nicely with this circus. :-/10:26
DavieySpamapS, Yeah, kinda embarrassing.. :)... but to be fair, i found it quite hard to reproduce the behaviour myself10:28
Davieyand 12.2 worked fine for me :/10:28
Davieyand... seems to have worked for lots of others, otherwise they would have reported it again10:28
DavieyAIUI the bug reports are for those going from 12->12.2 ...10:28
SpamapSRight, I've even tried loading up a squid proxy with 5 big downloads.. the restart seems to work. The only confusing thing is that it doesn't run squid w/ -N .. so the bug is still present even after upgrade10:29
DavieySpamapS, Those that upgraded from 12.1 would have already restarted squid, hence got the new upstart conf :)10:29
SpamapSDaviey: well, not restarted... they'd have had to do a stop/start10:29
LyonJTHey all!10:29
SpamapSDaviey: keybuk explained that restart is used to do basically a forced respawn.10:30
LyonJTCould someone please help me with setting up postfix & dovecot?10:30
SpamapSDaviey: its not supposed to start a new job file (which is really, really weird and totally different from sysvinit scripts)10:30
DavieySpamapS, oh yeah10:30
DavieySpamapS, ho hum10:30
DavieySpamapS, you should surely be asleep?  TZ fun?10:32
SpamapSDaviey: still chasing the jetlag dragon10:32
DavieySpamapS, living the dream, clearly.10:32
* SpamapS hums Mighty Wingman10:33
SpamapSHrm.. so I'm basically reverting squid v 2.7.STABLE7-1ubuntu12 at this point.. I wonder if that will reintroduce bug 55236010:48
uvirtbot`Launchpad bug 552360 in squid "package squid 2.7.STABLE7-1ubuntu11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [High,Fix released] https://launchpad.net/bugs/55236010:48
SpamapSargh.. which has zero explanation of the analysis10:49
DavieySpamapS, Awesome.10:56
SpamapSDaviey: I actually think bug 552360 might be the same bug11:08
uvirtbot`Launchpad bug 552360 in squid "package squid 2.7.STABLE7-1ubuntu11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [High,Fix released] https://launchpad.net/bugs/55236011:08
=== ogra_ is now known as ogra
SpamapSDaviey: given that there's no mention of how to reproduce 552360 in the report.. its possible the fix was just a guess.11:09
* Daviey looks11:10
Davieyhttp://launchpadlibrarian.net/44432994/squid_2.7.STABLE7-1ubuntu11_2.7.STABLE7-1ubuntu12.diff.gz11:11
=== SWAT__ is now known as SWAT
dougiebearI am setting up a system using 6 servers (4 Ubuntu, 2 Windows). There will be 3 people accessing the machines. What is the best way to manage user accounts / passwords to keep in sync between all six machines?11:56
speakmanhi folks! Not sure this is really the right channel, but I guess there's a few RAID gurus in here. I'm having two OCZ Vertex 2 120GB SSD disks in RAID0 (striping!) as my only system disk. But sometimes (randomly afaict) it can't assemble them corrently at boot. Ubuntu asks me if I'd like to start the system degraded, how that's possible on striping.. :)12:38
speakmanAccording to dmesg, both sda1 and sdb1 (which becomes my md0) is found, but still it doesn't assemble them on boot.12:39
speakmanRunning mdadm --assemble /dev/md0 manually from busybox have no trouble assembling them.12:40
speakmanAny ideas?12:40
SpamapSspeakman: are they both partition type FD?12:42
speakmanSpamapS: yepp, linux raid autodetect12:53
speakmanIt does work too, but it's fails randomly. About two out of three times I have to reboot and try again.12:53
speakmanSometimes I think it might need a tiny delay somewhere in the boot process. But I'm not really sure where to put it. And how.12:55
SpamapSweird12:55
speakmanyes, very12:55
SpamapSthe kernel should be handling that IIRC.. i wonder if we do something silly w/ mdadm to foil that12:56
speakmanRunning "mdadm --assemble /dev/md0" from the busybox prompt which shows up if boot fail, it has no problem assembling my raid setup.12:57
speakmandmesg also tells me both disks (and partitions) are present12:57
SpamapSyeah so i wonder if we are doing something odd like storing a stale config in the initrd12:58
speakmanit's a fresh install of ubuntu maverick. Every setup has been made during installation.12:59
speakmannot sure what you refer to as stale config?12:59
speakmanhm.. isn't configfs built into ubuntu kernel?13:13
SpamapSspeakman: yes, but you could have a conflicting mdadm.conf13:18
SpamapSspeakman: you may want to report this as a bug13:18
* SpamapS notes that mdadm has a *lot* of bug noise and needs some serious triage love.. :-P13:18
speakman:(13:19
speakmanSpamapS: but how could mdadm.conf be conflicting? I can find only one entry in there.13:19
speakmanwanna see it?13:19
hggdhsmoser, it was worth a try13:20
speakman?13:20
speakmanme?13:20
smoserhggdh, yeah, sorry i didn't realize that.13:21
SpamapSspeakman: no I'm just speculating13:21
smoseri think we should just live with karmic as is for 3 months13:21
smoseri will build a -proposed for karmic for you hggdh (should have done that yesterday)13:21
hggdhsmoser, thank you, and no worries13:21
smoserit took just over 6 hours yesterday and i just started "right now"13:23
zulsmoser: can you run the meeting today?13:39
smoseryes.13:39
zulsmoser:merci13:40
=== uvirtbot` is now known as uvirtbot
Jeff_C_LinuxHelp.... :) no I am updating openfire. I down the deb package. went to install install & I receive :  update-rc.d: warning: openfire stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)13:53
SpamapSJeff_C_Linux: what is openfire?13:54
Jeff_C_LinuxI have read the a bug but it does not say have to work around execpt that it fix in natty13:54
Jeff_C_Linuxxmmp server13:54
Jeff_C_Linuxjabber*13:54
Jeff_C_Linuxhttp://www.igniterealtime.org/projects/openfire/13:55
hallynzul: i was about to ask smoser the same thing :)13:55
Jeff_C_Linuxi try to dpkg -i --force- but it still kills with that error13:55
SpamapSJeff_C_Linux: ok, well the message is just a warning. Its just telling you that it will be stopped at a different runlevel than the original author intended.13:56
Jeff_C_Linuxnow the old one will not run I can not install the new one13:56
uvirtbotNew bug: #731310 in samba (main) "package samba-common 2:3.4.0-3ubuntu5.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/73131013:56
Davieysmoser, Can you run the meeting today? :)14:01
SpamapSsmoser: can you run the EU parliament today?14:02
RoAkSoAxmorning all14:08
uvirtbotNew bug: #731324 in exim4 (main) "apt-get purge exim4 doesn't delete Debian-exim4 account" [Undecided,New] https://launchpad.net/bugs/73132414:12
bogeyd6How can I set my server to automatically reboot every 2 hours? (Don't ask why, its weird, I know)14:19
patdk-wkcrontab -e, 0 */2 * * * reboot14:20
_rubena cronjob oughta do that task .. tho it wouldn't look at the uptime14:20
bogeyd6i think i need to use /sbin/shutdown and not just shutdown14:20
* patdk-wk wonders what is so horribly wrong with it, that it needs a 2 hour reboot14:21
patdk-wkit's like worse than windows :(14:21
bogeyd6nothing is wrong14:21
bogeyd6its by design :)14:21
bogeyd6this is what i had in crontab * */2 * * * shutdown -r now14:21
bogeyd6but,  09:22:00 up 17:57,  2 users,  load average: 0.41, 0.42, 0.3914:22
CharlieSuIs it possible to use avahi-daemon to have two local hostnames?   box.local and other.local on the same server?14:35
uvirtbotNew bug: #724694 in drbd8 (main) "package drbd8-source 2:8.3.7-1ubuntu2.1 failed to install/upgrade: drbd8 kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/72469414:37
uvirtbotNew bug: #725220 in nagios3 (main) "insecure img src in main.html" [Undecided,New] https://launchpad.net/bugs/72522014:42
uvirtbotNew bug: #726652 in nagios3 (main) "package nagios3-common 3.2.0-4ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/72665214:47
uvirtbotNew bug: #728228 in samba (main) "package samba 2:3.4.0-3ubuntu5.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/72822814:57
uvirtbotNew bug: #730713 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/73071315:11
uvirtbotNew bug: #730716 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/73071615:11
Jeff_C_Linuxis there a way to fix this error:  openfire stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1) : It keep bonking my install of openfire15:26
progre55hi guys. I was upgrading some packages on a remote server, and after a reboot, I get "connection refused" when trying to connecto to ssh.16:08
ivoksalmost got a heart attack16:08
ivoksThe following packages will be REMOVED16:08
ivoks  vim16:08
ivoksprogre55: maybe it's still booting16:08
progre55there was a package called "login" on the list.. so I'm thinking it has something to do with that?16:09
progre55ivoks: it has been more than half an hour now..16:09
progre55I can ping it, but cannot ssh16:09
ivoksprogre55: then something went wrong with booting16:09
ivoksprogre55: no open ports?16:09
SpamapSivoks: The following NEW packages will be installed because they are better than vim:16:10
SpamapSemacs16:10
* SpamapS would like to let the record show that he is a vim user ;)16:10
progre55ivoks: nope =(16:10
ivoksprogre55: then something went wrong with booting16:10
* progre55 is a vim user, too16:10
progre55ivoks: sux =( I'll never try upgrading production servers again.. ever116:10
progre55!16:11
ivoksprodcution servers have ipmi16:11
progre55ipmi?16:11
patdk-wkipmi is good16:11
ivoksyes, serial over lan16:11
ivoksor some other lights out management16:11
ivokslets you easily fix anything16:11
patdk-wkipmi/ilo/drac/....16:12
progre55hmm.. I'll try asking our service provider if they have ipmi16:12
ivoksbut if you haven't heard of that, then it probably isn't configured :)16:12
progre55oh, no it's not )16:12
ivoksmaybe your service provider knows better16:13
ivoksif it's in datacenter, you might just get lucky :)16:14
patdk-wkeven if it's not enabled, your should be able to tell in lshw if it's installed16:14
progre55yeah it is in a datacenter.. and one of the datacenter admins promised to physically drive there and try restarting it..16:14
ivoksrestarting probably won't help16:15
ivoksyou need someone that understands 'white text on blank screen'16:16
ivoksblack16:16
progre55patdk-wk: I dont see anything related to the keywords "ipmi" running lshw =)16:16
progre55ivoks: yeah the guy does.. and hope he's kind enough to try fixing it =)16:16
ivoksprogre55: what server is that? dell, sun, hp?16:16
patdk-wkme neither, let me check what it's called16:17
ivokshome made?16:17
progre55honestly, dont know.. I just have remote access to it16:17
progre55ivoks: not home-made though, it's a hosting by cybercom16:17
progre55hosted by*16:17
patdk-wkhmm, lshw doesn't show it, how strange16:18
patdk-wkipmi-locate :)16:18
progre55let me try that..16:19
progre55or.. are you just kidding? =)16:19
patdk-wkno16:19
patdk-wkIPMI Version: 1.516:19
patdk-wkIPMI locate driver: DEFAULT16:19
patdk-wkIPMI interface: KCS16:19
patdk-wkseems I have 4 interfaces to ipmi in this system16:19
progre55oh.. well, I dont even have that command, so I'm guessing, no ipmi for me then =)16:19
patdk-wkwell, you have to install the ipmi package16:20
patdk-wkit's in freeipmi-tools16:20
ivoksopenipmi-tools16:21
patdk-wkI had issues with openipmi on this system16:21
ivoksups16:21
ivoksi don't use it at all16:21
patdk-wkI mainly use it to monitor fan/temp/volts16:22
patdk-wkah, here is a way without installing anything: dmidecode --type 3816:23
progre55so, if it says "FAILED" on all the points, does it mean ipmi is not installed? )16:24
patdk-wkmost likely16:24
ivoksipmi is a device; you can't really install it16:24
ivoksyou need to buy it :)16:24
progre55well I mean, attached16:24
progre55or, set up16:24
patdk-wkivoks, depends16:24
patdk-wkmotherboard must have support16:24
patdk-wksome motherboards the ipmi stuff comes as an extra addon, but most times it's built in if it's supported16:25
ivokson supermicro, it can be installed later16:26
ivoksEOD :)16:26
progre55well, thanks guys, appreciate16:27
progre55I'll go convince the management to buy ipmi =)16:27
azertyyhello there16:28
patdk-wkilo2 if you want to be really lazy :)16:28
azertyyi can't ssh to my server16:28
azertyythis is the error what i got : ssh_exchange_identification: Connection closed by remote host16:29
azertyyduring the authentification session16:29
oneseventeenI have a new volume mapped to a certain location... how do I get all the specific details to add it to fstab?16:41
compdocjust emulate whats aleady in fstab16:42
compdocyou know the /dev/x and the filesystem, etc?16:43
oneseventeencompdoc: I know it is /dev/sdb1 and is ext316:45
compdoca lot of ppl use the UUID instead, because the /dev/x can change when you add drives, etc16:45
oneseventeenI guess I'm also curious about what options to flag in fstab for this new volume.16:46
patdk-wkhell, mine change each reboot (damned usb flash card reader)16:46
oneseventeenpatdk-wk: this is for that iSCSI volume I connected to yesterday.16:46
patdk-wkblkid16:46
patdk-wkcopy uuid into fstab16:46
patdk-wkeverything else you should probably know16:46
oneseventeenactually I don't know what the options should be.16:47
patdk-wkoptions?16:47
patdk-wkwell, what options did you use when you manually mounted it?16:47
patdk-wkmount -o xxxxxx16:47
oneseventeenI didn't use any options16:47
patdk-wkthen just say, defaults16:47
compdocdo you need fstab for iscsi volumes? been a while since I used iscsi16:48
patdk-wkcompdoc, have to mount them somehow16:48
patdk-wkand all filesystems should be in fstab, as far as I care16:48
compdoclast time was when I accidently connected to an iscsi that was already connected to another server - screwed up the volume16:49
patdk-wkcompdoc, fix your iscsi target permissions then :)16:49
MagnusHi16:50
patdk-wkor use a filesystem that is made for that :)16:50
compdocnaw, I dont really need iscsi, as it turns out16:50
compdoctoo dangerous16:50
MagnusI am not even sure if this is the best IRC-channel for my questions. Where should I post questions on Ubuntu and ISPconfig 3?16:51
greppyMagnus: I'd probably aim for the ISPconfig forums or mailing list.16:52
patdk-wkI can't find ispconfig in ubuntu16:52
MagnusIt's something I found in How-to forge. http://www.howtoforge.com16:54
patdk-wkhmm, ispconfigs idea of a perfect server and mine conflict16:54
MagnusI guessed that much: that ISPconfig isn't the good system for everyone16:55
MagnusI was aiming for a simple webmin system, but since it have been abandoned, I have to find a new.16:56
uvirtbotNew bug: #731437 in dhcp3 (universe) "DHCP Client does not read search domain list" [Undecided,New] https://launchpad.net/bugs/73143716:56
MagnusI have found that ISPconfig doesn't update well.16:57
MagnusDoes anyone of You know of SysCP?16:59
greppyMagnus: if you are looking for a hosting control panel, you might want to take a look at http://froxlor.org17:00
oneseventeenpatdk-wk: any tips on auto-connecting the iSCSI mount?17:01
oneseventeenapparently adding to fstab doesn't help if the drive doesn't mount... oops!17:01
MagnusThanks! Any advice is helpful. The only thing I really need is a good manual of all operations. I hate making a manual myself for anyone else working on the system.17:01
kirklandzul: ping17:02
patdk-wkoneseventeen, hmm, in my cases, it always auto-connected on boot17:03
compdocI thought the iscsi software automatically conencted to volumes at boot17:03
oneseventeenpatdk-wk: I'm connecting via iscsiadm -m node --targetname {targetname} --portal {portal IP} -l17:07
oneseventeendo I need to do anything other than that?17:07
oneseventeennoob question: how do I mount based on fstab?17:07
Magnusbye17:08
oneseventeenmount -a17:09
oneseventeenit was on my screen, just had to read it..17:09
oneseventeenouch!!!!17:21
oneseventeenI set iscsiadm to autoconnect and it attempting autoconnecting to ALL volumes!17:22
hallynkirkland: people.canonical.com/~serge/qemu-kvm-0.14.0+noroms-package.tgz is what i'm thinking of uploading17:42
kirklandhallyn: congrads on the shiny new upload privs :-)17:43
hallynkirkland: last i checked they were not yet in effect :(17:45
hallynbut thanks :)17:45
kirklandhallyn: i can't look at it this moment, but i will, if you like, before uploading17:48
hallynkirkland: thanks.  I assume I need to file an FFE in any case?17:49
kiffahi17:57
kiffais ubuntu also free for black ppl ?17:57
* RoAkSoAx off to lunch18:01
=== MT-TakinBreak is now known as MTecknology
* hallyn out for lunch18:20
mrayRoAkSoAx: http://robhirschfeld.com/2011/03/08/unboxing-openstack-clouds/ is what I was talking about previously18:22
mrayno reason it has to do OpenStack, it's a framework for bare-metal to bios to provisioned operating system18:23
mrayuses PXE18:23
RoAkSoAxmray: let's see...18:44
RoAkSoAxmray: interesting indeed18:50
mrayI believe next month is when it finally goes open source (apache2) at the OpenStack Design Summit18:50
RoAkSoAxcool zul will be there18:51
=== shennyg_ is now known as shennyg
_rubenholy crap .. find -exec rm {} \; sure doesn't seem to be a very fast solution .. 7.5 hrs and still going .. all it needs to do is delete 3 milion files totalling 17G19:02
uvirtbotNew bug: #731528 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/73152819:12
=== shennyg_ is now known as shennyg
hallyn_ruben: sometimes mkfs is faster :)19:33
_rubenhallyn: haha, i'll be sure to try that next time ;)19:35
SpamapSs/sometimes/most of the time/19:41
_rubenSpamapS: it kinda depends on "certain overheads" to achieve a given goal i guess19:47
SpamapS_ruben: right, I'd say its at a few hundred files/directories, or a few hundred MB of data where mkfs becomes faster.19:49
_rubenbugger .. the recovery option on the server cd only offers a busybox shell .. no apt/ssh/whatever19:49
SpamapS_ruben: you can mount your filesystems and get most of that.19:50
_rubenSpamapS: not when it's vm with empty disks .. the contents of the disks i'll be transfering off another box19:50
_ruben(migrating old legacy system from phys to virt)19:51
lifelessSpamapS: hey19:52
_rubeni really oughta setup a pxe/nfs environment for stuff like this19:52
lifelessSpamapS: remember how haproxy didn't need changing to backport ...19:52
lifelessSpamapS: would you like the bad news?19:52
SpamapSlifeless: No I'd like you to lie to me, please.19:52
SpamapS_ruben: all you need is netcat and tar. ;)19:53
lifelessSpamapS: ok, I'll lie. The CAT repository accepts source format 3, so its all copacetic.19:53
SpamapS:)19:53
_rubenah. netcat (well, nc) *is* there19:54
* _ruben rubs eyes19:54
SpamapS_ruben: rsync would even be better19:54
SpamapSlifeless: remind me what CAT is?19:54
lifelessSpamapS: so yeah, we need a format 1 version for tom to upload to cat - the canonical sysadmin archive19:55
SpamapSahhh19:55
=== ajmitch_ is now known as ajmitch
lifelessSpamapS: there are two, and only two, sources for packages in the datacentre - a mirror of lucid, and the cat archive19:55
SpamapSahh19:55
lifelessdeploy a package from a ppa in the dc means 'somewhere lamont can copy-source-cross-archive-to-cat'19:56
_rubenSpamapS: yeah, but that's not avail in the recovery shell19:56
SpamapSlifeless: while the source format is 3.0 (quilt) .. there are no patches.. so simply changing debian/source/format to '1.0' whould be sufficient.19:56
SpamapS_ruben: perhaps a better way to do this is simply a live cd.19:57
lifelessSpamapS: thanks19:57
_rubenSpamapS: downloading one as well, in case the current netcat/tar would fail ;)19:59
_ruben2 very simple but mighty versatile swiss army knives19:59
hggdhDaviey, there still?19:59
SpamapS_ruben: about 10 years ago I migrated a box with     # tar --exclude=dev --exclude=proc --exclude=sys -cf - | nc otherbox 9999  .. and the reverse command on the other side.20:02
SpamapSerr.. there's a '/' there too20:02
SpamapSThough after I finished, i rsynced too, and found 1 file had a bit level error in it.20:03
_rubenSpamapS: the nc/tar will be the initial conversion, once i get the clone booting, etc, i'll do a last rsync with the various file-changing-services stopped :)20:04
=== ogra is now known as Guest59853
oneseventeenDoes anyone know how to make open-iscsi reconnect to one (and only one) specific iSCSI target on boot?20:15
phoenixsampraswhat is a good router software?20:18
highvoltagephoenixsampras: vyatta20:19
phoenixsampraseasy to config?20:20
highvoltagedepends what you need and what you mean by easy.20:20
phoenixsampraslets say a webconsole, and just to make a vpn and router for home20:20
highvoltagehmm, not sure, but hang around, there's bound to be someone in this channel with a good suggestion for that :)20:21
phoenixsamprasyeh, something very for dummies plz20:24
Davieyhggdh, yes20:31
hggdhDaviey, I am taking over (actually, already have) sapodilla and soncoya20:31
oneseventeenis there a way to *really* uninstall/remove all settings for a package?20:32
oneseventeenI just uninstalled open-iscsi, and upon reinstall it is trying to set up iSCSI targets20:32
oneseventeenmy whole point of uninstalling was to flush any memory of targets as it is tryign to connect to targets that are in use on other production servers20:32
hggdhoneseventeen, apt-get purge <package>20:32
oneseventeenhggdh: awesome, that worked perfectly!20:34
hggdhoneseventeen, glad to be able to help20:35
Davieyhggdh, free free to have all of them :)20:36
uvirtbotNew bug: #731572 in php5 (main) "php5-fpm chokes on missing /var/www" [Undecided,New] https://launchpad.net/bugs/73157220:36
hggdhDaviey, right now, no need, two of them is enough to play with the newly-available command-line options to euca20:37
Davieyhggdh, heh20:47
=== Guest59853 is now known as ogra
oneseventeendo any of you use open-iscsi? just trying to sort out how to auto-login to a single target vs. all discoverable targets21:09
Patrickdkoneseventeen, that I never solved, it mounts all luns, and I never found a way to limit it21:21
Patrickdkbut then, it never bothered me either21:21
oneseventeenthanks...21:23
oneseventeenI may just not use iSCSI in linux if that winds up being the case.21:23
oneseventeenwe have about 10 targets on our SAN that each belong to a different server.21:23
oneseventeendefinitely messes things up when my linux server suddenly connects to all targets21:23
pmatulisoneseventeen: yes, of course you can21:34
oneseventeenpmatulis: might you know how?21:34
oneseventeenI'm in the process of uninstalling and starting over from scratch without using an iSCSI volume21:36
oneseventeen(and just hoping I don't need that extra space)21:37
pmatulisoneseventeen: simply update the record id for the targets you want21:37
oneseventeenpmatulis: SWEET!21:41
oneseventeenI searched the man page for record ID and found how to make a specific target startup automatically.21:42
oneseventeenjust rebooted and it started up just fine.21:42
pmatulisoneseventeen: keep on truckin'21:42
oneseventeenseriously... mentioning that I needed to update the record ID helped me find something that I've been looking for all day yesterday and today21:44
oneseventeen(although, I've only had an hour or so at my desk today, but still)21:44
uvirtbotNew bug: #731616 in cobbler (universe) "koan crashed with ImportError in __main__: No module named koan.app" [Undecided,Confirmed] https://launchpad.net/bugs/73161621:52
uvirtbotNew bug: #731620 in cobbler (universe) "koan crashed with ImportError in /usr/lib/python2.7/dist-packages/koan/configurator.py: No module named yum" [Undecided,New] https://launchpad.net/bugs/73162021:57
lamontlifeless: the -cat repository accepts format 3 packages in that I repackage them to format 1.0 when I upload them...22:07
lifelesslamont: right, see the haproxy rt I filed.22:07
lamontjoy22:08
lifelesslamont: mthaddon was asking for haproxy1.4 to be format 1-ised for upload to CAT22:08
lifelesslamont: but as SpamapS says this should be trivial... perhaps you have a few minutes to do that ?22:08
lamont1) dpkg-source -x haproxy_${mumble}.dsc; echo 1 > haproxy-$mumbleish/debian/source/format; repackage22:09
BDaughtrycan anyone tell me what the Glib C is for the latest version. We are thinking of using it for an erp software we are buying. they erp software company needs this info so they can tell us if it will work22:09
lamont3.0 formats all unpack to patched source22:09
lamontii  libc6                    2.13-0ubuntu4            Embedded GNU C Library: Shared libraries22:10
lamontBDaughtry: that's what it says on the natty box I'm looking at22:10
BDaughtryoh ok thanks alot!22:10
lifelesslamont: right but I can't upload to CAT, can I ?22:24
lamontlifeless: I seriously doubt it.22:30
lamontas in, no/22:30
* lamont is working on some other tickets, but any of the losas has the technology for dealing with the backport, too22:31
lifelesslamont: right, though spm is off :)22:32
lifelesslamont: if I can nab a few minutes from e.g. chex, could you step him through it?22:32
lamontyeah, I remember hearing that22:32
lamontbah.  what's the ticket number?22:32
lifelesslamont: 4437622:34
=== eerie is now known as eerie_
=== eerie_ is now known as eerie
navanjrcan i move my EC2 Instance to UEC?23:22
hggdhRoAkSoAx, there still?23:23
RoAkSoAxhggdh: yes23:23
RoAkSoAxhggdh: what's up?23:24
hggdhRoAkSoAx, yet another bug on eucalyptus-common (related to the import admin you just fixed, I guess)23:24
RoAkSoAxhggdh: bug #?23:25
hggdhopening now23:26
RoAkSoAxhggdh: oki doki ;)23:26
hggdhRoAkSoAx, bug 73167223:26
uvirtbotLaunchpad bug 731672 in eucalyptus "missing depends -- python-psutil" [Undecided,New] https://launchpad.net/bugs/73167223:26
RoAkSoAxhggdh: that's an easy one23:27
RoAkSoAx>P23:27
hggdhRoAkSoAx, and yet another import error from admin, at the end23:27
hggdhRoAkSoAx, I know :-)23:27
hggdhEven I could fix this one :-)23:27
RoAkSoAxhggdh: alrighty I prepare a patch and good timning btw cause I was planning to do another thing to the packaging but wasn't worth it the upload if it was just that tone23:28
RoAkSoAxhggdh: btw.. try more commands to see if there's any other python module missing23:28
hggdhRoAkSoAx, that's what I am doing ;-)23:29
RoAkSoAx:)23:29
hggdhRoAkSoAx, you notice the additional error at the end?23:29
RoAkSoAxhggdh: ImportError: cannot import name local23:30
hggdhyes23:30
RoAkSoAxhggdh: yeha will deal with it too... I wonder for how many releases was this not available :)23:31
RoAkSoAxhggdh: i need to file a bug in upstream for them to use the correct python dirs for the modules, they install them in /usr/sbin when they shouldn/t23:31
hggdhRoAkSoAx, *this* one, IDK. For euca-admin... some ;-)23:31
hggdhRoAkSoAx, as far as I can remember, upstream for Euca is here -- just "also affects project" on euca23:32
RoAkSoAxhggdh: this ones are obviosly because we were lacking euca-admin and that;'s what I meant... ("It's been so long that we are just realizing of the missing python modules and stuff")23:32
RoAkSoAxhggdh: their Makefiles are the ones that should be corrected23:32
hggdhoh, OK23:33
=== twb` is now known as twb
RoAkSoAxDaviey: ping23:45
RoAkSoAxhggdh: euca-admin is only used in the CLC?23:46
hggdhRoAkSoAx, I would expect so (or remotely)23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!