/srv/irclogs.ubuntu.com/2015/06/20/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
=== markthomas is now known as markthomas|away
major_majorsi'm in the middle of an Ubuntu server install. i've set up a software RAID 10 with 3 LVM volumes on top: /, /home, and swap. now i'm at the stage where it's asking me where i'd like to install GRUB and i'm lost. where should GRUB go in this configuration?03:20
nezZarioWhat kernel should I have running trusty?04:15
nezZarioI have 3.13.0.-55-generic04:15
nezZarioI have no clue what horrific things someone did to this server04:15
sarnoldnezZario: that looks about right, seven hours ago 3.13.0-55.94 was released04:27
sarnoldI'm not sure how the minor versions will appear in uname -a output, probably only dpkg -l output will have the 55.94 bit04:28
nezZariomight make you laugh - very sleep deprived, meant to type "sudo chmod" and somehow typed chudo sumod (seriously)04:45
nezZariothanks sarnold, i'm going to sleep. =)04:45
sarnoldnezZario: hah, that's awesome ;)04:45
sarnoldnezZario: yeah, time to step away from the keyboard :) have a good night, nice weekend :)04:46
Norbinhello07:12
Norbinrunning latest ubuntu server through hyperv, the terminal window bugs on me, it finishes loading and then nothing responds, i can't type anything07:12
Norbini was told to change the resolution via the grub config file which i did - tried different color depths/res codes07:12
Norbinbut same issue persists07:13
Norbini even reinstalled07:13
Norbinhttp://i.imgur.com/aCqYqhs.png07:14
Norbinthis is what i see07:14
sarnoldNorbin: I wonder if you turn off lightdm service if you'd get to a nice getty prompt or not07:15
Norbinshall i try it? via recovery?07:24
Norbinsince i can't really do anything on the actual terminal07:24
Norbinonly way i can 'do' something is via recovery / as root07:24
Norbini think so at least, not a linux expert :)07:24
Norbinannnnd it works, did absulotely nothing but reinstalled for the 3rd time07:34
RoyKNorbin: http://askubuntu.com/questions/384602/ubuntu-hyper-v-guest-display-resolution <-- something like that?07:34
RoyKNorbin: I used to admin hyper-v and it was a PITA with ubuntu, this was v1, though, so hopefully better now07:35
=== Lcawte|Away is now known as Lcawte
=== zz_DenBeiren is now known as DenBeiren
=== JanC_ is now known as JanC
LeMikehello. I am doing a rsnapshot and want to have the date in the log. unfortunately the log always shows "/bin/date +%F" instead of the real date. how can I have the real date logged instead of the command? would you just append the output?09:44
lordievaderHello10:09
LeMikedamn. my rsnapshot commands generate empty directories like "unused0" ... how do I avoid that?10:22
jpdsLeMike: Real date as in "date -R"?10:30
LeMikeany kind of date jpds. even `/bin/date` would be listed in the log but not it's output10:33
jpdsLeMike: Wait, is this a script you wrote around rsnapshot?10:36
LeMikenope. I do `backup_script  /bin/date +"backup started at %F"` and the command is written in the rsnapshot.log instead of it's output. I like to have the output logged or some kind of "started at 2015-06-20" in the log10:37
=== st_d3vil_ is now known as st_d3vil
jpdsLeMike: So, why do you need that?10:38
LeMiketo put those two lines in another script that will monitor the backups. jpds10:40
jpdsLeMike: You can't read the cron output from syslog?10:40
LeMikeDunno. Can I?10:40
jpdsLeMike: Well, cron logs every command to /var/log/syslog with a timestamp already.10:41
LeMikejpds:  `grep rsnapshot /var/log/syslog` is empty :/10:42
jpdsLeMike: Do you run rsnapshot with cron?10:42
jpdsLeMike: Also, you know that you can have the monitor check the timestamp of the last backup directory?10:43
LeMikeyes rsnapshot runs via cron for three days now, jpds. the timestamp would not help, as I need to monitor the duration of every backup.10:44
jpdsLeMike: This is on a centos box but:10:46
jpds2015-06-18T21:00:01.174637+00:00 backup CROND[27783]: (backup) CMD (/usr/bin/rsnapshot hourly)10:46
jpds2015-06-18T21:00:52.106269+00:00 backup rsnapshot[27830]: /usr/bin/rsnapshot hourly: completed successfully10:46
jpds /var/log/cron and /var/log/messages on centos.10:47
LeMikethose files are not there :/10:47
jpdsLeMike: Yeah, not on Ubuntu, they're both in syslog.10:48
LeMikesyslog does not have it. seems like the information will be lost there after some hours/days/lines. I need to have it persistent in the rsnapshot.log (which is in the backup) but with the proper date.10:50
drAvantihello all,12:15
drAvantican someone pls help me with info: I want to setup and ubuntu box as a file server, however I dont now if there is a gui app that can help manage users, their rights, inheritance and root folders, etc12:16
RoyKdrAvanti: there are some, but generally not very good. you don't need to learn a whole lot to do it from the commandline, and you'll do it better and faster that way, and you'll end up understanding what really happens12:42
RoyKdrAvanti: there are things like webmin (DON'T USE IT) and others, but still, better do it manually12:42
RoyK!webmin12:42
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.12:42
drAvanti@Royk thanks for the info. But in a case where I would like a user to administer the server....add new users, create new folders, etc thats why I asked for a good gui12:43
RoyKdrAvanti: how many users?12:43
drAvantiexcept if it can be done via a web browser.12:43
drAvantilike 60users12:43
RoyK!ebox12:44
ubottuzentyal is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/Zentyal (Project formally known as eBox - including in Lucid/10.04).12:44
RoyKoh, it's zentyal now...12:44
drAvantik, thanks, ill check it out12:45
RoyKdrAvanti: looks like http://ajenti.org/ is mentioned also12:47
drAvantithis zentyal looks commercial12:48
RoyKmhm - it was in ubuntu earlier - I don't quite follow these things12:49
RoyKajenti is GPL, though, and on github12:50
RoyKhttps://www.digitalocean.com/community/tutorials/how-to-install-zentyal-on-ubuntu-14-0412:50
=== DenBeiren is now known as zz_DenBeiren
trippeh64bit Ubuntu 15.04 boots in <1s and uses a whopping 20MB of RAM with sshd and some ntp running13:31
trippehfairly minimal install based on Ubuntu Core (apt-get edition) though, but still impressive.13:32
=== zz_DenBeiren is now known as DenBeiren
RoyKtrippeh: systemd is doing its tricks, like with windows bootup, you get the login prompt before other things are started13:37
trippehaccording to logs, its still within 1s13:37
RoyKyou can see that on centos/rhel7 where you may have to wait a minute after the login prompt shows up, until you can ssh in13:38
trippehalso, not in container, but full vm with vga, bios etc.13:38
RoyKbut then, centls/rhel sucks imho13:38
trippehso that 20MB includes kernel13:38
RoyKI beleive so13:38
RoyKyou'll probably need around 80MB for the whole boot, though, to unpack the initrd13:39
RoyKor you can strip down the initrd to only modules you use by setting MODULES=dep in /etc/initramfs-tools/initramfs.conf13:39
trippeh            3400720             8197120  58.5% initrd.img-4.0.0-113:40
RoyKthat's small13:40
trippehoh, yeah, not ubuntu kernel, but I doubt that changes much besides initrd/vmlinuz size13:40
trippehmost of the initrd and extra vmlinuz stuff is discarded after use, though13:41
RoyKlast I tried to boot debian on low memory, I came down to 56MB - lower than that just crashed13:41
RoyKyep...13:41
RoyKso don't use the standard initramfs for small systems ;)13:41
* trippeh tests with modules=dep13:45
trippehwell that broke boot ;)13:46
RoyKhehe13:46
* RoyK wonders why13:47
trippehno wait, it came up, but something is wonky13:47
trippehthere we go13:50
trippehvirt bios is slowing the boot down ;)13:50
RoyKhehe13:50
RoyKkvm?13:50
trippehyeah13:50
RoyKsetting up 1504 in a kvm vm myself...13:51
RoyK(storage backend 7x2TB in RAIDz2)13:51
trippehgetting drm up takes like 0.1s too13:51
RoyKdrm?13:51
trippehI'm running off some NVMe storage. 450k iops :-)13:51
trippeh"graphics"13:52
RoyKah13:52
RoyKI have a home server I use for this sort of things ;)13:52
RoyKthat is - for everything13:52
RoyKcheap thing with 16 gigs of RAM and a bunch of drives13:52
trippehcould kill the graphics, hmm. kvm supports serial console ;)13:53
RoyKhehe13:53
RoyKwe've been looking at Natinux at work for some stuff13:53
RoyKseems rather impressive13:54
trippehlink?13:55
trippehI made systemd verbose but the frame rate is too low to show any of it, not even a flicker usually13:56
=== DenBeiren is now known as zz_DenBeiren
RoyKtrippeh: typo http://www.nutanix.com/13:58
RoyKtrippeh: after booting up, +/- buffers/cache tells me 56MB is used, only sshd installed14:04
RoyKand bootup is about the same as debian jessie14:05
RoyKbootup time14:05
RoyKpretty much the same, though, both systemd etc14:05
trippehhttp://pastebin.com/raw.php?i=MnG5rPHs14:11
RoyKnice14:13
RoyKI'll have to test that when our openstack cluster comes up14:14
trippehwith this much ram, 64bit is important! ;)14:14
RoyKI need about 1k VMs for stresstesting things :)14:14
RoyKHAHA14:14
trippehI feel very retro adding 64MB of swap14:19
RoyK:)14:19
trippehthe 1+ GB/s disk I/O is very not retro though14:22
RoyKhehe14:23
RoyKI remember once I started playing with linux back in '94, I was amazed it could handle 1MB/s if I setup DMA correctly14:24
trippehseems systemd likes to have at least 64MB system memory, or else journald gets sad14:33
trippehbloat!!14:33
trippeh;)14:33
trippeheven though its not really using it14:33
jellynot knowing what happened when your system ran out of RAM is more problematic than allocating a bit in advance14:55
trippehjelly: sure, I'm just goofing around14:56
RoyKjelly: not knowing how much memory your system really needs is worse ;)14:59
RoyKjelly: and since most things are virtualised these days, memory is usually the bottleneck on the host machines, not CPU, so you really *do* want to know if this or that VM can run on 256MB or if it needs 4GB15:09
trippeh[    1.243431] tsc: Refined TSC clocksource calibration: 3499.940 MHz18:12
trippeh[ 8783.366555] random: nonblocking pool is initialized18:12
trippehthat took a while :P18:12
trippehRoyK: bootloader handoff to login in 0.4s :)18:37
trippehdidnt need all those "usb controllers" ;)18:38
RoyKhehe18:41
trippehnow if I could just boot KVM without BIOS emulation18:42
trippehspends like half a second in there ;)18:42
trippehhmm. maybe ovmf is faster18:43
trippeh(uefi firmware for kvm)18:43
RoyKI beleive you can - there are choices for direct boot18:46
RoyKbut then you can't upgrade the kernel from the guest18:46
trippehor the initramfs, looks like18:50
trippehmay be possible to load grub directly perhaps, like grub2 pv xen mode18:51
trippehah, it is. bunch of ceveats tho18:57
RoyKtrippeh: guess you'll have to live with that awful 400ms delay - sorry about it19:33
RoyKtrippeh: imagine the productivity cost, worldwide, if every reboot was 400ms shorter!19:33
trippeh;-)19:34
RoyKthinking like an economist on bad drugs is sometimes rather fun ;)19:34
trippehI'm going to need a separate non-virtio /boot looks like19:34
RoyKthat shouldn't be a problem, though19:35
RoyKjust an ext2 fs or something19:35
trippehthats fine for this "experiment", but bit of a kludge otherwise19:36
RoyKperhaps a new standard comes up one day to do it better - but again - but you know how it goes ... https://xkcd.com/927/19:38
trippehplz someone just commit virtio support to grub2 ;)19:38
trippehit supports "everything" already so whats one more thing! ;)19:38
RoyKtrippeh: perhaps try #grub ;)19:45
=== soren is now known as Guest83492
=== mgagne_ is now known as Guest59409
=== Wiched is now known as Guest61971
=== neunon_ is now known as neunon
=== hardwire- is now known as hardwire
=== KaeltenAway is now known as Kaelten
=== frediz_ is now known as frediz
=== fidothe_ is now known as fidothe
LeMikeerr. do I need to do a daily backup before rsnapshot weekly ? I mean on the same day20:18
=== Tm_Tr is now known as Guest50701
=== mgagne is now known as Guest11697
=== frediz_ is now known as frediz
=== arlen_ is now known as arlen
=== dw2_ is now known as dw1
=== akaWolf1 is now known as akaWolf
=== Tm_T is now known as Guest97037
=== nezZario is now known as Guest64641
=== markthomas|away is now known as markthomas
=== Wiched is now known as Guest78591
=== ming is now known as Guest31396
=== NegativeFlare_ is now known as NegativeFlare
Edtoast_46hi20:45
=== freeflying__ is now known as freeflying
=== stokachu_ is now known as stokachu
=== broder_ is now known as broder
=== IdleOne is now known as Guest18267
=== NegativeFlare_ is now known as NegativeFlare
=== OpenToki1 is now known as OpenTokix
=== dw2_ is now known as dw1
=== Malediction_ is now known as Maledictio
=== Maledictio is now known as Malediction
=== rmk` is now known as rmk
=== semiosis_ is now known as semiosis
=== ksx4system_ is now known as ksx4system
=== zz_DenBeiren is now known as DenBeiren
=== balloons_ is now known as balloons
=== st_d3vil_ is now known as st_d3vil
=== bekks_ is now known as bekks
=== dasjoe_ is now known as dasjoe
=== neunon_ is now known as neunon
=== RobertLaptop_ is now known as RobertLaptop
=== Ursinha_ is now known as Ursinha
=== ReScO_ is now known as ReScO
=== justizin_ is now known as justizin
=== semiosis_ is now known as semiosis
=== dcmorton_ is now known as dcmorton
=== huttan_ is now known as huttan
=== Guest64641 is now known as nezZario
=== DenBeiren is now known as zz_DenBeiren
=== a1berto_ is now known as a1berto
=== wxl_ is now known as wxl
=== Odd_Blok1 is now known as Odd_Bloke
=== spinza_ is now known as spinza
=== hxm is now known as Guest24526
=== Guest18267 is now known as IdleOne
=== Lcawte is now known as Lcawte|Away

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