/srv/irclogs.ubuntu.com/2009/09/22/#ubuntu-server.txt

bencthanks00:01
KillMeNowXinu!00:07
xinuKillMeNow: hey boss, what it is?00:07
KillMeNowtrying to not take a nap while at work00:08
KillMeNowat least not for a little bit00:08
KillMeNowLOL00:08
xinuKillMeNow: that's the way to be00:08
=== monteith_afk is now known as monteith
CppIsWeirdi have ubuntu on 3 different machines with openssl server. how come on some the login responds instantly and some it pauses for about 15 seconds before asking for the password?01:31
mushroombluesystem load.01:31
mushroombluein my case, my router was being used for an SSH man-in-the-middle attack01:32
CppIsWeirdnah, its not system load01:33
CppIsWeirdim not saying it cant be, but that it is not the case for me.01:34
CppIsWeirdand it is consistent, one machine is immidate, the other two are not. all upgraded to the latest packages.01:35
=== Debolaz is now known as Guest80595
erichammondsmoser, soren: I happened to scan the logs and saw some discussion of bug 431255.02:06
uvirtbotLaunchpad bug 431255 in ec2-init "ec2-init: Move ec2-run-user-data to startup priority S99" [Undecided,Confirmed] https://launchpad.net/bugs/43125502:06
smosersoren is long since asleep02:06
smoserbut i'm here for a bit.02:06
smoseri was really hoping that soren would summarize in the bug report02:07
erichammondI agree that there isn't much difference between S71 and S99.  I don't think I had much of any particular reason for S71.02:07
erichammondI probably copied somebody else's S70 for updating authorized_keys and then just went one higher.02:07
erichammondI'm hoping that the last few comments in the discussion did not imply that this bug would not get fixed for Karmic.  What was your understanding there?02:08
smoseri think the net was that we don't see a lot of reason for making this change now.  wanting to be able to log in and watch user data run isn't a huge deal in and of itself.02:08
smoseri really dont want to regress02:08
smoseri think thats where soren was standing02:08
smoseri really just see a lot of things to get done, and dont want to regress anything02:08
erichammondThe problem is that it breaks code which is already running on images on EC2.  I would have to rewrite some of my code to get it to work on Canonical's images.02:09
erichammondNobody is running production code on Canonical's karmic images yet, so they should start out with the de facto standard, especially since everybody seems to agree that's the ultimate direction anyway.02:10
Jeeves_CppIsWeird: Check your dns settings on the slow ones02:10
smoserwhat would break?02:10
Jeeves_see if they can resolve your hostname, and their own02:10
erichammondsmoser: Users drive the setup of an instance in a number of different ways.  One of my production use cases has the user-data script wait until an EBS volume is mounted, but the process which attaches the volume first has to do some stuff on the instance through ssh.  This deadlocks and both processes are waiting for each other.02:12
erichammond(since ssh is not available until user-data completes)02:13
smosercan you write that in the bug ?02:13
erichammondSure thing.02:13
erichammondA simpler example might be: User does not want to put private keys in user-data, so user-data script waits until they show up on the file system.  External process scp's the keys in after starting the instance.02:14
zuldo do do02:15
=== Guest80595 is now known as Debolaz
ScottKInteresting: http://www.channelregister.co.uk/2009/09/21/yahoo_shopping_zimbra/02:35
erichammondzul: done done done (?)02:36
zuli wish02:36
erichammondsmoser: Added comment to bug 431255.02:38
uvirtbotLaunchpad bug 431255 in ec2-init "ec2-init: Move ec2-run-user-data to startup priority S99" [Undecided,Confirmed] https://launchpad.net/bugs/43125502:38
erichammondsmoser, soren: I would be happy to do the work to split the ec2-init sh script using an approach which had the least chance of breaking anything, if my branch had a chance to be merged.  There would be duplication of 16 lines of code (run_once/run_once_per_ami) but that's about the only downside.02:44
DebolazBah, damn server keeps locking up.03:09
DebolazWhat is the correct way to recover a kernel panic message after a reboot? (Or enable recovery of it the next time it happens)03:20
nick_schembriDebolaz: I03:29
nick_schembriDebolaz: It's been a long time since i needed to work at that level. I used a serial port to collect the msg and a core to debug.03:31
DebolazThis is a remote server so I'm hoping to be able to get away with something more convinient than a serial port for the first debugging attempt. That being said, if it has to be done, it has to be done, but could the kernel be configured to relay this information over TCP or UDP instead?03:33
nick_schembriyes ... let me look03:36
nick_schembriDebolaz: lookup syslogd.03:37
nick_schembriDebolaz: or logserver http://www.aboutdebian.com/syslog.htm03:38
twbWill 10.04 switch to rsyslog, as Debian did in Lenny?03:39
twbPlain syslog blows03:39
ScottKtwb: We have switched for 9.10.03:39
twbScottK: cool.03:40
twb(I only track LTS, you see.003:40
Debolaznick_schembri: How do I configure the kernel to log directly to this though? If the kernel is panicing, it's not going to return to userland, and hence the message won't be forwarded to the remote server by syslogd. The kernel has to do it directly itself.03:40
twbCurrently in 8.04 I send syslog UDP packets over an SSH -w TCP VPN, because it seemed like a better idea than installing a non-main category syslog :-(03:41
twbThe next iteration of my products will use a proper OpenVPN UDP VPN.03:41
nick_schembriDebolaz: not sure. if the system is faulting before it can write to a file or send one udp packet, you are going to need to use a serial port to get as much as you can before it stops.03:46
Debolaznick_schembri: But it would still be able to send a network message out. The kernel has access to the NIC and network stack, just as it has access to the serial port. There's nothing technically preventing it from sending out a message. However, a panic does mean that userland is no longer a safe area, and it will never return to that place, making it technically impossible for syslog to send a message to a remote server.03:48
nick_schembriDebolaz: will the system run for a time?03:55
nick_schembriDebolaz: can you ping the system after it faults.03:55
DebolazNo, there's no response at all from it.03:58
=== erichammond1 is now known as erichammond
rpintoHi, im trying to install smokeping on my ubuntu server(8.04).. when i run apt-get install command, i get a PAM authentication error05:49
rpintohere's the error:Your account has expired; please contact your system administrator chfn: PAM authentication failed adduser: `/usr/bin/chfn -f SmokePing daemon smokeping' returned error code 1. Exiting. dpkg: error processing smokeping (--configure):05:49
uvirtbotNew bug: #433863 in image-store-proxy (main) "image-store-proxy reports failure to start while it starts correctly" [Low,In progress] https://launchpad.net/bugs/43386306:35
psteynHi guys.  I think I'm hitting an ext4 bug which has been fixed in 2.6.29.  However, my latest updates available take me to only 2.6.2808:16
psteynWhat is the proper way to use a later kernel in ubuntu server?08:17
psteynUsing 9.04 x8608:17
psteynsorry 64bit.08:17
_rubenkernels dont get backported, yet, i think i heard about plans to do so in the (near or distant) future08:18
psteynSo..manual compile?08:18
_rubenone option would be to use a mainline build (doesnt have the ubuntu specific stuff in 'em though), or backport a karmic kernel08:18
_rubenmanual compile would be worst08:18
psteynmeh.08:19
psteynthanks :]08:19
_rubenkarmic is on 2.6.3108:19
psteyncan I get the deb src and create my own deb?08:20
_rubenbackporting isnt all that hard .. i think there's even a special tool for it .. prevu or something like that08:20
_rubensure08:20
psteyncool08:21
domasI use newer kernels sometimes08:30
domascheck out the git repo, then run a packaging script, voila08:30
domas(hardy has kernels that don't like my RAID controller)08:31
VK7HSE-Eeehaving a small issue with the kernel that is default in Karmic Alpha6 it fails to recognise my IBM ServRAID 4LX has an issue that just says timeout ! so has older SCSI cards depreciated  ???09:09
VK7HSE-EeeSCSI storage controller: Adaptec AIC-7892P U160/m (rev 02)  RAID bus controller: IBM ServeRAID Controller09:11
uvirtbotNew bug: #434507 in nagios3 (main) "package nagios3-common 3.0.6-2ubuntu1 failed to install/upgrade: ?j pre-removal szkript alfolyamat 2 hibak?ddal kil?pett" [Undecided,New] https://launchpad.net/bugs/43450709:16
Tejashi09:22
Tejashow to restrict firewall with iptables??09:23
_rubenhow to wait for answers??09:31
nijaba:D09:32
VK7HSE-Eeeto true!09:32
TANATHOSTejas was that a question?09:44
sorenIt had a question mark at the end..09:45
soren...but he left.09:45
* soren takes a break09:51
incorrectis there anyway to increase the number of inodes without reformatting?10:11
acalvoHi10:17
acalvoin order to be able to send mail thru PHP in a ubuntu server, do I need to have sendmail installed if I'm have postfix installed in another server?10:17
_rubeni'd install postfix locally (or another queue-based mta), so you wont lose any mail when the other server isnt available for whatever reason10:30
MatBoymhh, install symfony using pear is not working well10:33
MatBoy_ruben: but it's always wise to send through an antispam-gateway, so never from the server itself10:34
_rubenMatBoy: both actually .. local mta that has a spam-checking smarthost configured10:35
MatBoy_ruben: that is what I say10:36
MatBoy_ruben: it's actually a relay and not a smarthost anymore10:36
_rubenMatBoy: not that much difference between the two in my eyes, then again, just blame microsoft for the term smarthost :)10:37
=== ropetin_ is now known as ropetin
MatBoy_ruben: hehe, you are never wrong ;)10:38
MatBoy_ruben: there is a very BIG difference actually10:38
_rubenthen again, i think postfix on ubuntu uses the term smarthost as well10:38
acalvommm10:39
acalvomaybe a silly question10:39
MatBoy_ruben: yes for n00bs :P10:39
acalvobut, where can I change the smtp host variable for PHP?10:39
MatBoy_ruben: smarthosts are used in sendmail which is a bitch anyway10:39
VK7HSEI think I have resolved the issue I was having earlier, it appears by using the boot option of "pci=noacpi" the SCSI storage controller: Adaptec AIC-7892P U160/m (rev 02) & RAID bus controller: IBM ServeRAID Controller are discovered and the system can boot! so looks like my hardware isn't truly ACPI compliment!10:39
_rubenacalvo: most likely in php.ini10:39
_rubenVK7HSE: lovely10:39
acalvoacalvo: well, that's what I've thought, but it does not seem to get the new values10:40
VK7HSE_ruben: not wrong! I was sweating it out a bit there for a while! ... ;-)10:40
_rubenacalvo: talking to yourself eh :)10:41
_rubenacalvo: did you restart apache?10:41
acalvowell, most BOFHs do it10:41
acalvoyes, reload and restart10:41
acalvobut I'm quite confused with the only win32 comment10:41
acalvoI know what it means10:41
acalvoI just don't understand why they put it there10:42
psteynwhere is the ubuntu git repo?  I want to get the latest kernel build from there11:07
_rubenhttps://wiki.ubuntu.com/KernelTeam/KernelGitGuide11:10
sorenttx: I'll roll a new Eucalyptus package before I go to lunch..11:11
sorenpsteyn: kernel.ubuntu.com11:11
ttxsoren: ok11:11
psteyntnx11:13
* soren lunches12:22
acalvoagain, I've a question12:23
acalvoI'm still setting up a mailing list12:23
acalvoin a mail server12:23
acalvoeverything seems pretty easy12:23
acalvobut there is one thing I need to settle down12:23
acalvomy server has various DNS names12:24
acalvoin order to use mailling lists, should I change the hostname? is it enough to set up a DNS name? should postfix know any of this names?12:24
kinnazit would be nice if postfix knows about the MX record12:25
acalvoand this is setted up in the mydestination variable in the postfix main.cf?12:26
kinnaz#postfix12:27
zulmorning12:32
szczym_helo all, I have a script that makes a movie. When i run it from command line as normal user, it works. But when i run it from cron as ordinary user, it makes empty file. i been folowing tips from here: https://help.ubuntu.com/community/CronHowto could some one help me please ?12:49
sorenszczym_: I'd suggest you ask in a support forum for the encoder you're using (like #mplayer if you're using mencoder, etc.).13:19
=== psteyn_ is now known as psteyn
=== alexxxxx is now known as TANATHOS
ttxcjwatson: I'm looking into eucalyptus failure to autoregister components right now -- Among other problems the latest eucalyptus refuses that you register things using "localhost", see bug 43459313:49
uvirtbotLaunchpad bug 434593 in eucalyptus "euca_conf --register-walrus localhost fails in 1.6~bzr808" [High,Triaged] https://launchpad.net/bugs/43459313:49
ttxcjwatson: I'm not exactly sure how we can workaround that though... which makes the whole idea of autoregistering at risk13:50
jpdssoren: http://twitter.com/vrillusions/statuses/415103637813:58
sorenjpds: Nor cron.13:58
jpdsHaha.13:58
sorenWell, it's Just Enough Operating System. That's the point.13:59
cjwatsonttx: maybe we could use CC_NAME for that, or maybe we could fix that restriction14:00
domas<3 deadlocked LVM on database box14:00
cjwatsonttx: I'd recommend asking upstream why there's that restriction14:00
ttxcjwatson: Will do. soren suggests that whatever it is registered with is passed to other elements in the cloud14:01
cjwatsoncould be14:01
sorenIt makes sense for both of them, really. They're infrastructure components needed by node controllers.14:02
soren...but it's still just guesswork.14:02
sorenI'm working on the (perhaps optimistic) assumption that it's a reasonable restriction.14:02
ttxcjwatson: RE: "use CC_NAME": if it resolves to 127.0.{0,1}.1 it will still be refused. It's not just a "localhost" pure match14:03
cjwatsondon't do that then :-)14:04
cjwatsonbut CC_NAME doesn't really have to be a DNS name14:04
cjwatsonso that probably isn't the right answer14:05
* soren goes to pick up his daughter at day care 14:23
=== bitproph1t is now known as bitprophet
acalvohi15:24
acalvosome time ago someone suggest me a substituion for mailman, but I don't remember the name15:25
_rubenezmlm is the only other i know of15:25
BrixSat_hi15:27
BrixSat_F1 -> how can i see if proftpd is making querys to mysql correctly?15:27
acalvo_ruben: I think it started with S15:28
acalvosymphony15:28
acalvoor something like that15:28
acalvobut I'm not able to remember it15:28
acalvosympa!15:28
acalvoehehhee15:28
ttxsmoser: ping15:33
smoserhere15:33
ttxsmoser: did you file the missing MIR for the UEC images ?15:34
smoseri don thave bugs yet, but spent the last day and this morning working on the 6 MIR.15:34
smoseri would love review of them, i will open bugs rsn15:35
ttxsmoser: I can review that15:35
ttxsmoser: just give me the pointers15:35
smoserk15:36
smoserhttps://wiki.ubuntu.com/MainInclusionEc2-Init https://wiki.ubuntu.com/MainInclusionEuca2ools https://wiki.ubuntu.com/MainInclusionPython-Boto https://wiki.ubuntu.com/MainInclusionCheetah https://wiki.ubuntu.com/MainInclusionConfigobj https://wiki.ubuntu.com/MainInclusionM2crypto15:37
smoserconfigobj is the one that i'm most concerned about.15:37
=== BrixSat_ is now known as BrixSat
smoserttx, unless you object, i'm going to start filing bugs15:39
ttxsmoser: no, please do15:39
BrixSatwhy this? http://pastebin.com/m7cc39b7115:39
BrixSati dont get it :s15:40
ttxsmoser: MainInclusionCheetah > "upstreaam" typo. I'd just say as Rationale that it's a dep of ec2-init15:42
ttxsmoser: MainInclusionConfigobj > needs some more meat, I guess. Ping zul if you need his MIRfiling expertise15:44
zulhmmm?15:44
smoseri agree it does15:44
smoserits the hardest one to come up with15:44
smoseras there are other config options in python in main15:44
smoserzul, if you can offer time or help or whatever, please do15:44
zulthe MIR team is probably going to come back and say why dont you use the ones in main15:45
ttxsmoser: the "Does upstream expect it?" is not about asking upstream developers about it. In your case the rationale is more about dependencies15:45
smoserwhat is "does upstream expect it" supposed to mean15:46
ttxyou need a rationale for ec2-init... then for all the others the rationale is "dependency of ec2-init"15:46
ttxsmoser: i don't really know -- sounds like a recent addition to the template (or one I always ignored)15:47
ttxsore, smoser,zul: meeting time16:02
zulack16:02
smosero/16:03
slestakkirkland: do you have a second to sound out an idea I have wrt byobu?16:36
BrixSatwhat is the regular guid for proftpd?17:10
clustyBrixSat, does it not run under it's own username (the demon) thus depends. usually 100+ 1000- ?17:11
clustydepending on order you install services ?17:11
BrixSat:/17:13
BrixSatSQLMinUserGID17:13
BrixSatthis is my problem i think17:13
BrixSatclusty i always get Resposta:550 index.html: Permission denied17:13
BrixSati have that value at 50017:14
BrixSatand in db they are 2001 and 200217:14
BrixSatuid an dgid 200217:14
BrixSatgot it :p17:16
BrixSatfiles were created by root17:16
BrixSatand not the user :S17:16
clusty:D17:16
aubreRe: UEC - where is the best place to look to figure out why an instance you just launched went straight from pending to terminated?17:38
aubreAfter the patches on karmic today I can at least attempt to launch an instance without getting a 403 error, but they stay at pending for about a minute then go straight to terminated17:45
=== hggdh|afk is now known as hggdh
mathiazzul: what is the bug number for puppet MIR?18:23
zulmathiaz: 40829718:24
mathiazzul: where did you seeded it?18:24
zulserver-ship18:25
mathiazzul: where is the MIR for libaugeas-ruby?18:27
zulmathiaz: eh?18:27
mathiazzul: it's required by puppet18:27
mathiazzul: http://people.canonical.com/~ubuntu-archive/component-mismatches.txt18:27
zulcrud18:27
mathiazzul: ^^ search for puppet18:28
zulmathiaz: ill get that fixed asap18:28
mathiazzul: same for  libshadow-ruby18:28
KillMeNowanyone seen a postfix crash like this:  connect #11 to subsystem private/rewrite: Connection refused  ?19:50
drurewim looking for an irc server app19:52
drurewto create my own network19:52
drurewanyone have any ideas?19:52
giovaniapt-cache search ircd ?19:52
drurewthanks19:53
ScottKKillMeNow: No.  Look in the postfix logs.  They almost always tell the true story.19:55
jbernardkirkland: i fixed a couple typos in byobu: lp:~jbernard/+junk/byobu20:02
kirklandjbernard: thanks, committed, pushed20:08
KillMeNowScottK:  i've dug in to the mail.err | mail.warn | mail.log logs and i see when it crashed, but nothing that showed to be the culprit20:12
KillMeNowhmmm20:12
KillMeNowgot me thinking tho20:12
zulmathiaz: both are filed now20:19
jbernardi was spinning through http://people.canonical.com/~ubuntu-archive/NBS, many of these reverse-depend on kvm or qemu which are virtual packages, this is the way we want it to be, correct?21:04
=== nxvl_ is now known as nxvl
jbernardor should those packages be updated to depend on qemu-kvm?21:06
smoserjjohansen, you have a minute ?21:14
smoserzul, might be interested also.21:15
mzunguhello guys - I have a problem which i suspect is udev related.  I have a server - administered remotely - running 8.04LTS which has 2 hard disks - physically sda and sdb (well, at least for a long time it was).  sdb was a dd exact copy of sda after the server was upgraded to 8.04 from 6.06.  Now, after a catastrophic power failure, the server insists on booting from the back-up sdb instead of the main drive sda - like, they have k21:44
mzunguinda swapped places.  Any ideas on how to get back to normality?21:44
giovanimzungu: well there are a few things to look at -- first your bios hard drive boot order21:45
giovanimake sure that the drive you want is first in that order (switch them if you're not sure, and see what happens)21:45
mzunguhmmm - it's remote21:45
giovaniwell that's what out-of-band management is for21:45
giovanior remote hands21:45
mzungu;)21:45
giovanibut it may also be that your grub config was somehow changed to boot from a different drive than where grub is installed21:46
alex_joniare both drives accessible?21:46
DebolazDRAC5++ # Because it lets me do just about anything21:46
mzunguyes - can see both drives21:46
mzunguthe grub comments claim it's sda21:47
mzungubut sda seems to have swapped with sdb21:47
giovaniright, that can happen21:47
giovaniwhich is why ubuntu uses uuids21:47
giovaninot /dev names21:48
mzungusure21:48
giovaniso you need to establish, first, which drive is being booted by the bios21:49
giovaniso you know which one to edit the grub config of21:49
mzunguand where i might have (unintentionally) messed up was after the upgrade to 8.04, i did a dd if=/dev/sda of=/dev/sdb to make an exact copy21:49
mzungui suspect the udev identifiers are therefore the same ;)21:49
alex_jonimzungu: I don't think they can be the same21:51
mzunguthe system which boots is the state after upgrade - some 4 months ago21:51
alex_joniafterall uuid stands for unique ..21:51
mzunguwhich *was* sdb21:51
mzunguudev makes my head spin ;)21:52
mzungui did try turning off bootable with fdisk - and now i seem to only have sdb and sdc21:53
mzunguand sda is now non-existant!21:53
mzungu(bring back the old days! - bloody hot-plug has a lot to answer for!)21:53
giovaninon-existant where?21:55
mzunguwell, i had sda and sdb21:55
mzungunow i have sdb and sdc21:55
mzunguat least, how fdisk sees them21:55
giovaniok, in fdisk21:56
giovaniwhich one is being booted off of?21:56
mzungusda has gone21:56
mzungusdb i think21:56
giovaniyou think? make sure21:56
mzungu(in the fdisk context)21:56
giovaniwhat?21:56
giovanimount21:56
giovanilook at where root is being mounted from21:57
mzunguhow can i see and relate uuid to a real physical partition?21:57
giovanithere's a /dev map for it21:57
mzunguok21:57
jjohansensmoser: whats up?21:57
* mzungu goes to check...21:57
smoseri figured you'd show up just as i was going to leave21:58
smoser:)21:58
giovanils -l /dev/disk/by-uuid/*21:58
smoseri'm putting comments into bug 431103 that seem to me to indicate changes in kernel cause init (and ohter user-level) boot messages to not go to console21:58
uvirtbotLaunchpad bug 431103 in ec2-init "ssh host key fingerprint no longer available in the console log" [High,Triaged] https://launchpad.net/bugs/43110321:58
jjohansensmoser: okay thanks (late lunch today)21:59
mzunguah22:02
mzunguok - that's showing the sdc drive22:03
mzungulrwxrwxrwx 1 root root 10 2009-09-22 23:24 /dev/disk/by-uuid/ed3d5dd5-7c95-4e97-86eb-60f66cf54f4b -> ../../sdc222:04
mzungusdc2 being the root partition22:04
mzunguhow do i con it into using what it now thinks is sdb?22:08
smoserjjohansen, i added comment and console-output.tar.gz to that bug.22:25
smoserplease read, and refute me if you think i'm wrong22:25
smoseri've got to run22:25
jjohansensmoser: okay22:28

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