/srv/irclogs.ubuntu.com/2012/07/01/#ubuntu-server.txt

xpistoshello all. I am just getting ready to install server 12.04 on my main house server and I wanted to know except for backing up home anything else I should do? all the data is on separate drives.00:34
andolxpistos: Might be worth taking a copy of /etc, just in case you have any relevant settings there you want to go back and take a peak at.00:38
andolxpistos: Otherwise it really depends on what used to run on the server. Any daemons storing anything relevant under /var perhaps?00:38
xpistosandol: thanks! I copied my fstab and exports so I think I am good there00:38
xpistosdeluge, and I think that is about it?00:39
xpistosNo if I can just find a blank cd!!!!00:39
escottxpistos, why are you reinstalling?00:40
xpistosescott: upgrading to 12.0401:05
escottxpistos, and you just want to reinstall for the heck of it?01:23
xpistosescott: No whenever I upgrade to a new version I always do a clean reinstall01:24
escottxpistos, well be aware of kernel modesetting before you start01:25
xpistosnot sure what that it01:26
xpistosis01:26
escottxpistos, some graphics cards have issues. for a server you can just throw nomodeset into the boot if you dont need a gui01:28
xpistosI might but only like icewm or awesome window manager tupe stuff01:32
nathwilli just found that dspam fell over in my postfix+dspam+dovecot mail system. i've taken dspam out of the delivery train, and new mail is being delivered, but i can't get the mail in postfix queue to flush out... any tips?01:43
=== robin is now known as Guest61182
sbeattienathwill: postqueue -f didn't do it?04:17
=== jeremydei_ is now known as jeremydei
nathwillsbeattie, nope. o_O same errors... it's acting like the mail's still destined for dspam.04:42
=== th0mz_ is now known as th0mz
=== th0mz_ is now known as th0mz
daffhow come our Ubuntu 10.04 servers did not apply any leap second adjustments? when midnight UTC came nothing happened (not message in dmesg, like in Ubuntnu 12.04 servers), other than the time was one second out of sync with the upstream NTP servers. any ideas?08:01
=== Lcawte|Away is now known as Lcawte
jetoleHey guys. Does anyone know which channel I could find ubuntu admins/maintainers. There seems to be a outage on a set of repos at the moment09:11
=== cpg is now known as cpg|away
rurufufusswhat's the current fix for the leap second bug? restart, or update kernel?11:17
=== Smaug_ is now known as AMR_
=== robin is now known as Guest85110
=== fenris is now known as Guest79195
=== Guest79195 is now known as ejat
=== bastidra1or is now known as bastidrazor
=== th0mz_ is now known as th0mz
KyuzoFirst, which files to move from Windows to the server - the "obvious" is to mount "My Documents" on the server, but then the "Local Settings" and "Application Data" are all still local (and so need to be backed up separately). Is it better to put the whole of \Documents and Settings\<username> onto the server?15:59
Kyuzo(Sorry - cut-and-paste error!)15:59
KyuzoI have a question about configuring windows clients to use a linux server (actually not Ubuntu, but I couldn't find any other linux-server-oriented IRC channels, and the question is about general structures anyway)15:59
KyuzoI'm moving data from a collection of workstations to a linux server.16:00
KyuzoThe question is (as accidentally pasted above) which files to move from Windows to the server - the "obvious" is to mount "My Documents" on the server, but then the "Local Settings" and "Application Data" are all still local (and so need to be backed up separately). Is it better to put the whole of \Documents and Settings\<username> onto the server?16:01
KyuzoSecondly, where to put it on the server - each user will have a linux account, so it could go in the linux home directory and be shared from there, but would it be better in a separate "shared" tree?16:02
three18tikyuzo, what are you trying to accomplish?  Sounds like you want a domain controller and give everyone a domain account.  they you can log into each individual workstation with your domain credentials and have your individual user settings (I think that you can configure windows to work that way... not really a windows networking guy)16:07
patdk-lapI think he wants roaming profiles16:09
Kyuzothreel8ti: patdk-lap: The goal is to just move the data off the client systems onto an ECC+raid-protected server.    Roaming profiles would be nice, but not essential.16:14
three18tiisn't there a dropbox alternative that came out recently...  the big sellign point was you hosted the "dropbox" stack on your own hardware.16:14
three18tipatdk, thanks, I couldn't come up with that name.16:15
KyuzoI've heard that roaming profiles can be tricky to configure and not 100% effective, even with windows servers.16:16
KyuzoHow would dropbox help?16:16
three18tito backup your data...16:16
three18tiyou've referred to "the data" a couple of times, and this is what we call the trouble with pronouns; -what- data are you talking about?  What is your end goal?  What are you trying to accomplish by moving "the data"?16:18
KyuzoOK.  The fileserver option does have the advantage that users aren't tied to one workstation, though.  Dropbox would be tied to one workstation though, woudn't it?16:18
Kyuzo"The Data" (TM)  is a whole lot of "Stuff" (TM).  :-)16:19
three18ti(I think "ownCloud" or TeamShare are the projects I've run across recently that are dropbox alternatives)16:19
KyuzoIt's a collection of MS-Office documents, source code, you name it.  "User Data".16:19
three18tino, you can access your data from "anywhere" re: Dropbox would be tied to one workstation though, woudn't it?16:20
three18tibrb16:20
KyuzoAlso in "The Data" are a collection of Virtual Machine disk images, though they will probably need to be handled differently for performance reasons.16:22
three18tiwhat hypervisor are you using?16:27
KyuzoA mixture of VMWare Server 2 and MS Virtual PC16:31
KyuzoPerformance isn't a major issue for most of the VMs - they're just for "clean environment" software testing.16:31
three18tikyuzo, I think you need to take a step back and redefine your problem.  it seems to me that you have a couple things going on and are looking for a silver bullet to all of your projects instead of engineering a proper solution to each problem individually.16:43
daffhow come our Ubuntu 10.04 servers did not apply any leap second adjustments? when midnight UTC came nothing happened (not message in dmesg, like in Ubuntnu 12.04 servers), other than the time was one second out of sync with the upstream NTP servers. any ideas?16:50
RoyKdaff: did you check machines not using the ubuntu ntp servers?16:59
RoyKmachines as in ntp clients16:59
* RoyK doesn't know how well ntp handles leap seconds or how long it'll take to sort it out16:59
ikoniaI've found leap time causes problems with ntp17:02
ikoniaeg: the jump moves beyond the 5 minute threshold so never syncs17:02
RoyKnever seen that17:02
ikoniayou have to stop ntp, ntpdate, then restart ntp17:02
daffRoyK: the machines are all running chrony and adjusted the time after a while (I issued a "service chrony restart" via puppet on all machines, just to be sure)17:02
RoyKsome more info here http://www.eecis.udel.edu/~mills/leap.html17:02
daffbut I was wondering why only 12.04 machines had the dmesg message "Clock: inserting leap second 23:59:60 UTC"17:03
daffwhich are also running chrony17:03
RoyKchrony?17:03
RoyK!chrony17:03
daffa time daemon, like ntpd17:03
RoyKoh17:04
RoyKI just use ntpd17:04
RoyK!ntp17:04
ubottuInformation about using and setting your computer's clock on Ubuntu can be found at https://help.ubuntu.com/community/UbuntuTime - See https://help.ubuntu.com/10.04/serverguide/C/NTP.html for information on usage of the Network Time Protocol (NTP)17:04
RoyKperhaps ntpd has a bug there17:04
RoyKonly problem with debugging that stuff irl, is that leap seconds only happen every 18 months :รพ17:05
daffI mean it's probably for the best that there was no leap second inserted, because apparently at least java and mysql go screwed by it17:05
daffbut I was wondering why 10.04 (with chrony) did not insert one, while 12.04 with chrony did17:05
RoyKoh - they attempt to keep the time themselves?17:06
RoyKsounds like a pathologically bad idea17:06
daffI don't know the details yet, but half the internet crashed last night because of java and mysql issues with the leap second17:07
RoyKROTFL17:07
glancehttp://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-during-a-leap-second17:07
RoyKseems my blog is up, and it's a wp blog mysql in the back17:07
daffI experienced the mysql problem on my home machine. at 00:00 UTC it started using 100% CPU, increasing the load to around 1517:08
RoyKlooks pretty decent from here http://munin.karlsbakk.net/munin/localdomain/localhost.localdomain/index.html17:09
RoyKthat's a Lucid box17:09
dafflike I said, our lucid machines had no problem, since there was no leap second inserted17:10
RoyKoh17:10
daffbut I find it strange that there wasn't one inserted. I thought that's the kernel's responsibility?17:10
RoyKthis is a Precise box http://door.nilu.no/mrtg/munin/DMZ/door.nilu.no/index.html17:10
dafflooks good as well17:11
daffthis not so much: https://blog.mozilla.org/it/2012/06/30/mysql-and-the-leap-second-high-cpu-and-the-fix/17:11
=== th0mz_ is now known as th0mz
=== th0mz_ is now known as th0mz
=== cpg|away is now known as cpg
=== jussi01 is now known as jussi
=== cpg is now known as cpg|away
axisysi removed the /var dir by mistake.. this is a new server.. short from re-intsalling can I anyother way to restore it? i installed another server on same hardware just few mins ago.. can I just rsync the /var dir?20:36
guntbertaxisys: spare the hassle and reinstall, there are a lot of symlinks there...20:37
axisysguntbert: sure.. np20:37
daffI've asked this before but didn't get a real answer. maybe there's someone here now who might know this: how come none of our Ubuntu 10.04 servers applied any leap second adjustments last night? when midnight UTC came around nothing happened (no message "Clock: inserting leap second 23:59:60 UTC" in dmesg). only the clock was one second out of sync with the upstream NTP servers after 00:00 UTC. any ideas?22:43
=== Lcawte is now known as Lcawte|Away
patdk-lapdaff, maybe cause you screwed it up? cause my ubuntu 10.04 servers say that22:54
patdk-lap[9780753.205624] Clock: inserting leap second 23:59:60 UTC22:54
patdk-laproot@patbox:/home/dswett# uname -a22:54
patdk-lapLinux patbox 2.6.32-37-generic-pae #81-Ubuntu SMP Fri Dec 2 22:24:22 UTC 2011 i686 GNU/Linux22:54
daffpatdk-lap: interesting, but how? we run hundreds of lucid servers and I haven't found one that applied the leap second23:09
daffthe all run chrony, not ntpd, but I don't know if that matters23:09
daffall servers had the latest tzdata package from march 2012 installed23:10
patdk-lapit does matter23:11
daffhow so?23:11
patdk-laptzdata is useless, if there is nothing to adjust the kernel using it23:11
patdk-lapI dunno what chrony does23:11
patdk-lapbut ntpd notifies the kernel about the leap second23:11
patdk-laplooks like 1.24 added leap second support for linux23:13
daffI see. that explains that, then.23:13
patdk-lapand the verson of chrony in ubuntu 10.04 is lower than that, so it doesn't have support for leap second23:13
daffyeah, lucid has 1.23.x, so no leap second support23:14
daffthanks for clearing that up for me, until now I wouldn't have thought that there was much difference between ntpd and chrony (other than chrony generally doing an easier and better job of keeping the time in sync)23:15
patdk-lapodd, I have never heard of chrony23:15
patdk-lapbut I have been using ntpd forever, without issues23:15
daffwe have had issues in the past with ntpd (long time ago), with the clock of VMs drifting around like crazy, and ntpd not keeping up. maybe we didn't use it right, but simply installing chrony and removing ntpd seemed to have magically fixed that issue. so we stuck with chrony23:17
patdk-laphmm, time keeping on vm's is a totally different thing23:18
daffyeah, the consenus back then was to use ntpd or chrony to keep time in sync. that's on lucid hosts and VMs (using KVM)23:19
daffhas that consenus changed?23:19
patdk-lapdunno, I don't use kvm23:19
daffI see. well, thanks for your input and help, now I can sleep better :)23:19
smw_Anyone know where I can find sun java 5 debs for 10.04?23:21
daffsmw_: I don't think there are any official debs around anymore, certainly not for 1.5. but you can get old versions from oracle's archives, starting here: http://www.oracle.com/technetwork/java/archive-139210.html23:23
smw_thanks23:23
smw_daff, I think I used to have it... then I did an update recently23:24
smw_daff, I had not updated for god knows how long23:24
smw_then after the update java5 was gone23:24
smw_I can tell you my other ones are not getting upgraded until I find out what the hell happened ;-)23:24
daffubuntu and other distros are no longer allowed to package and distribute java23:25
smw_so an update removed what was already there?23:25
smw_that does not seem right23:25
three18tidaff, I use KVM in 12.04 and haven't noticed a time drift, however, on previous version of Ubuntu I use ntpd.23:25
daffno, that should not have happened23:25
smw_yeah, still trying to figure it out23:25
patdk-lapdaff, this seems to be perferred for kvm: http://www.linux-kvm.org/page/KVMClock23:25
patdk-lapsmw_ my systems still have sun java on them23:26
daffsmw_: may look here for clues: https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Sun_Java_moved_to_the_Partner_repository23:26
patdk-lapso a update didn't *remove* it23:26
smw_daff thanks23:26
daffsmw_: and then here: https://lists.ubuntu.com/archives/ubuntu-security-announce/2011-December/001528.html23:27
daffpatdk-lap: our 10.04 KVM VMs all have kvm-clock set as time source, yet without chrony (or probably ntpd) the clock starts drifting wildly. maybe this is better in 12.04 as guest and/or host, like three18ti suggests23:29
patdk-lapI use vmware, so have all mine set to vmware host time23:30
patdk-laphaven't had an issue23:30
patdk-lapdid have issues with xen, but the documentation on that is pretty wide23:30
daffwho knows. seems to me that slowly adjusting the time was a better solution for us than inserting a leap second. the consequences of that event have been quite interesting (looking at java, mysql and big sites like reddit)23:31
RoyKdaff: dunno about that - I always run ntpd on my guests23:32
three18tihehe, wose than the Y2K bug apparently, re:  seems to me that slowly adjusting the time was a better solution for us than inserting a leap second23:32
RoyKTribaal: why not?23:32
patdk-lapheh, I haven't had any issue23:32
three18tidaff, I think it has more to do with the kernel than KVM as far as the drift appearing to have improved over previous versions of KVM.23:33
patdk-lapmysql, linux, ...23:33
patdk-lapI don't really do any java23:33
RoyKTribaal: y2k was a code issue, the leap second issue was on another ballpark23:33
daffRoyK: I think you mean three18ti, not Tribaal, no? :)23:34
RoyKpatdk-lap: the bug was mysql only and java, not linux23:34
patdk-laproyk, there is a linux bug also23:34
daffRoyK: this suggests otherwise, no? https://lkml.org/lkml/2012/6/30/12223:34
patdk-lapkernel issue23:34
RoyKoh, for leap sec?23:34
patdk-lapyep23:34
three18tidaff, I think so, royk, I was making a joke I understand it's not a coding issue; what do you mean it was "on another ballpark"?23:35

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