/srv/irclogs.ubuntu.com/2016/10/14/#ubuntu-server.txt

arrrghhhhey all.  so I've got a new disk and I am trying to migrate everything to a new install... I'm not sure I'll be able to do any sort of 'export' on LVM, is there some way I can import these to the new install?01:00
bluekingI am on ubuntu 14.04 LTS server version   I have noticed that /boot has been constant for 2-3 months    this means there are no updates of kernel for a long time ?01:12
arrrghhhblueking: you should probably update to 16.04 now that .1 is out01:12
bluekinghmm need to make new install or are it safe to do update with none corruption of setup ?01:13
arrrghhhwell nothing is guaranteed01:14
bluekingexperienced issues with nic names changing  after some upgrades :/01:14
bluekingeth0/1  -> em1/2  and so on01:15
arrrghhhI don't know why that would cause issues but ok01:15
sarnoldblueking: infact a kernel was released very recently https://launchpad.net/ubuntu/+source/linux01:16
bluekingok01:16
bluekingdoes there exist tool that makes backup of ALL system drive included partitions ?01:17
tarpmandd(1) ?01:18
sarnolddd can do that01:18
bluekingdd ?01:18
sarnoldyeah; if you've got a fully-installed hard drive in /dev/sda and you want to clone it to a drive in /dev/sdb you could use dd if=/dev/sda of=/dev/sdb bs=128K   -- I added the bs 'block size' argument to try to get it to use an IO request size that most drives would be better at01:22
bluekingif make image copy to another drive ?01:24
bluekingif put ssd on windows computer and make image copy of all disc ?01:25
sarnolddd is wonderful, it can do a lot more than just cloning hard drives :)01:25
bluekingwell  problem are that I have only one ubuntu/linux computer :P01:27
bluekingif system gets fucked up in an upgrade.. it's not easy to revert changes ?01:28
sarnoldcorrect, there's currently no good way to revert broken upgrades. Hopefully we'll get that some day.01:28
bluekingmy GF would be mad at me if I would need to spend lot time to bring router(pc) back online...01:28
bluekingneed to make backup of all ssd drive on windows01:29
=== ideopathic_ is now known as ideopathic
=== ideopathic_ is now known as ideopathic
=== ideopathic_ is now known as ideopathic
aybukeHi everyone :) I have one question. I have one HP sl250s Gen 8 server. (on 8 disk and hardware RAID(1+0)). I'm tring install Ubuntu 16.04 on this server. But disk detect part pass directly. I guess Ubuntu cant see 2 logical volume. (Raid card b320i) I tried this solution (http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c04439186) bu07:17
aybuket nothing change. This installation is possible? If it is, do you have any suggestions?07:17
SmurphyYou install on a specific set of disks? What I did on my Microserver gen8 was to add a SSD disk for the OS, so the Storage disks are used solely for storage.07:19
SmurphyThen I installed, and could fiddle around with the drivers.07:19
SmurphyI don't like the hardware raid. If something breaks and you don't find a spare controller, your data is gone too ... (Happened to me back in time).07:19
aybukeSmurphy: I understand and thank you :) I use SaS disk and I enabled lisance for Raid.07:28
aybukeBesides, I dont like hw raid but they want this :/.07:29
Smurphywell. Then you will need to get the drivers in first somehow.07:34
aybukeI guess, I found them there link: https://launchpad.net/~hp-iss-team/+archive/ubuntu/hp-storage07:35
Lt_LemmingHi all, trying to use ubuntu server to setup a kiosk machine booting into Chrome07:36
Lt_Lemmingrunning dpk-reconfigure x11-common is spitting out an error about "start and stop actions are no longer supporter"07:37
Lt_Lemmingsupported*07:37
Lt_Lemmingsooo... how do I reconfigure x11 now?07:37
Lt_Lemmingserver 16.10 btw07:37
=== skylite_ is now known as skylite
C4LHello, I just wanted to ask one thing.. I had a server on which I had installed Ubuntu 14.04 and then used IPMI to setup Windows Server 2012. I want to reinstall everything, so I took the server into rescue mode. Right now I'm connected to the server via FTP using the rescue mode credentials, but I'm unsure where the location to both C:\ and D:\ are via FTP. Can anybody please help?09:00
ikoniaC4L: that will depend on your ftp server and your file system layout09:26
C4LHey ikonia09:29
C4LI did manage to find that C:\ was infact /dev/sda109:29
C4Land D:\ was /dev/sda209:29
ikoniano, thats a device file09:29
ikonianot a mount point09:29
C4LOh09:29
ikoniaftp will not be able to use /dev09:29
C4LYeah because I tried mounting it, I wasn't able to do so09:29
=== MrBIOS_ is now known as MrBIOS
=== degorenko|afk is now known as degorenko
=== iberezovskiy|off is now known as iberezovskiy
Andrew__I've just run a conjure-up for openstack all services succeeded except cinder as I had a typo in the cidr notation - is there a way to fix this and redeploy?11:29
=== MrBIOS_ is now known as MrBIOS
=== MrBIOS_ is now known as MrBIOS
=== MrBIOS_ is now known as MrBIOS
GrandPa-GI want a service to restart another service whenever it is restarted. How?15:39
peer-hhI'm getting "No space left on device" errors while trying to upgrade a remote server. The unsuccessful commend tries to use /tmp for which df -hT shows "overflow       tmpfs     1.0M  1.0M     0 100% /tmp" How can I make this partition bigger or otherwise solve this problem?17:28
peer-hhSo I can't upgrade any more and the situation is stuck.17:45
naccpeer-hh: did you possibly run out of disk at some point?17:46
naccpeer-hh: actual disk, i mean17:46
naccpeer-hh: iirc, the overflow tmpfs is a safety check for when / is full and you can't run anything to solve it17:47
peer-hhit's only the /tmp thing which is at 0.17:47
naccpeer-hh: not right now, but at anytime recently17:47
peer-hhit happens while making an initramfs17:47
naccpeer-hh: what happens?17:47
peer-hhthe errors17:48
naccpeer-hh: you're not answering my question17:48
peer-hhmany lines like "cp: failed to extend '/tmp/mkinitramfs_QciUOf//sbin/blkid': No space left on device" and the "apt-get upgrade" thus fails.17:48
naccpeer-hh: has, at anytime recently, your system run out of actual disk space, in particular for /17:48
peer-hhno, as far as I can tell17:48
naccpeer-hh: if you are sure, you should be able to umount the overflow tmpfs on /tmp; or reboot and it should be fine17:49
peer-hhthere are 12 G available on /17:49
peer-hhok, I'll give it a try17:49
peer-hhok, it looks fine now, after a reboot. upgrades as usual. seems solved. thank you!17:51
=== degorenko is now known as _degorenko|afk
=== iberezovskiy is now known as iberezovskiy|off
=== AndyWojo is now known as suburban_killade
OnepamopaBUG: unable to handle kernel paging request -- while getting yakkety sources via git18:16
Onepamopacan anyone tell me what's failing: http://pastebin.com/yJBu5qb818:16
sarnoldOnepamopa: yikes. please file a bug with 'ubuntu-bug linux'.18:21
OnepamopaI'll try with an older version of ubuntu first, need that PC working asap.. :)18:22
yeatsOnepamopa: http://askubuntu.com/questions/408341/bug-unable-to-handle-kernel-paging-request-at-while-installing-ubuntu (points to setting nomodeset as the solution)18:22
Onepamopayeats, thanks, will give it a show..18:24
Onepamopashot*18:24
OnepamopaResolving deltas: 100% (4233802/4233802), done.18:43
Onepamopaerror: index-pack died of signal 918:43
Onepamopafatal: index-pack failed18:43
Onepamopaaaand it died again18:44
sarnoldOnepamopa: is that with nomodeset or an older kernel?18:44
OnepamopaGRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset acpi_osi=\"Linux\""18:45
Onepamopalet me check what's @ syslog ...18:45
Onepamopathis time there were more stack traces and bug messages18:46
=== nacc_ is now known as nacc
DexterFgreetings. installed 16.04, rebooted, cannot login. thought I might have doen it and mistyped the passwd twice, put the disk on this machine here and to my surprise cannot find the user I created in passwd/shadow18:48
=== Seveas_ is now known as Seveas
=== Seveas is now known as Seveas_
DexterFam confused. what happened here?18:49
=== Seveas_ is now known as Seveas
naccDexterF: netsplit i'm guessing18:49
OnepamopaDexterF, why not try to install it again18:50
Onepamopadoesn't take that long18:50
sarnoldDexterF: which 16.04 did you use? was it labeled something like "16.04 LTS" or more like "ubuntu core 16"?18:50
DexterFsarnold: the mini.iso from u/server dload page actually18:51
=== arlen_ is now known as arlen
=== linux_user_ is now known as linux_user
=== lynxman_ is now known as lynxman
DexterFuggghhh18:51
=== xnox_ is now known as xnox
Onepamopao yeah, netsplit18:52
Onepamopadont you just love when that happens18:52
=== seyeongkim_ is now known as seyeongkim
sarnoldDexterF: hmm. that's very confusing indeed.18:52
=== wolsen_ is now known as wolsen
DexterFsarnold: so the login system did not change in a weird way, there really is something odd, yes?18:55
=== freyes__ is now known as freyes
sarnoldDexterF: yeah. the ubuntu core thing may wind up adding users to a /var/*mumblesomething*/extrausers database instead of the usual /etc/shadow and /etc/passwd database18:55
sarnoldDexterF: and it could be that there's something busted on the mini.iso :/18:56
sarnoldDexterF: if you've got the time to retry and investgate, that'd be nice :) but if you don't, maybe the 'usual' server iso would be more likely to succeed18:56
=== Expanse_ is now known as Expanse
DexterFsarnold: aimed at an as-slim-as-possible install, thus was recommended here to try mini.iso.18:57
DexterFsarnold: no such dir in /var18:57
sarnoldDexterF: *nod* I've used it in the past myself for the same reasons :)18:57
sarnoldDexterF: how about 'find /mnt/var/ -name '*extra*' ? I can't recall the exact name..18:58
rharper /var/lib/extrausers/  according to man 8 pam_extrausers18:59
=== kees_ is now known as kees
=== _fortis_ is now known as _fortis
DexterFrharper: mmmnope, no such dir here19:12
DexterFsarnold: that's what I did, isn't there19:12
rharperDexterF: yeah, it's not created by default; if you want to use extrausers, something has to create it19:12
DexterFok, then it should be "classic"19:12
DexterFdoes the server flavor have a root account?19:13
sarnoldno19:13
sarnoldyou can create one of course but it's not available by default19:14
rharpertypically you create a user during install which gets sudo privs for access to root19:14
sarnoldrharper: aye, he says that's the bit that's broken19:14
rharperon which iso ?19:14
sarnoldmini.iso19:15
rharperthat sounds a but fundamental, iso tests for yakkety are passing as are xenial;  powersj around ?19:15
rharpersarnold: yakkety? or xenial ?19:15
sarnoldrharper: yakkety19:15
rharperk19:16
* powersj boots his vm he used with the yakkety mini.iso19:16
DexterFwhen you need to debug a machine and you have only acer monitors. (good panels, but take ages to detect modes. no POST messages for you.)19:17
powersjsarnold: I do recall creating a user and sure enough have my local powersj user19:17
rharpersarnold: http://archive.ubuntu.com/ubuntu/dists/yakkety/main/installer-amd64/current/images/netboot/mini.iso ?19:17
sarnoldDexterF: ^^ is that the mini.iso you used?19:17
sarnoldpowersj: woot.19:17
DexterFno, xenial19:17
rharperhttp://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/mini.iso19:18
sarnoldargh! sorry powersj, rharper :(19:18
powersjno worries, let me give it a try19:18
rharperI wish that link had the SHA sums there ...19:18
sarnoldthat'd be really surprising, xenial's been out for a while19:18
sarnoldrharper: http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/SHA256SUMS and http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/SHA256SUMS.gpg19:19
rharpersarnold: heh, but not in the same path =)19:19
sarnoldyeah, but at least they're there :)19:20
rharpery19:20
powersjhmm this is looking odd. Did not ask me for user creds before installing base system19:20
rharperheh19:20
rharpersounds like the bug19:20
powersjoh there it goes, asked me after base system, then setup time19:20
DexterFhttps://help.ubuntu.com/community/Installation/MinimalCD  <- first iso listed on that page19:21
DexterFis the one I used19:21
powersjguess that was loading things, not doing base system19:21
powersjmd5 of the one I tried matches that - can confirm created a user19:22
DexterFpowersj: well. any way to recover?19:22
powersjThat part is the standard 4 screens worth to: full name, user name, password x219:23
powersjYou could boot a livecd or into recovery mode, mount the disk, and see what is in /home for the username and change the password that way19:24
powersjif there isn't anything critical on the system, I would just reinstall at that point19:24
rharperpowersj: where is the iso test report page for the mini.iso ?  I didn't see it on the jenkins.ubuntu.com/server19:27
DexterFpowersj: the funky thing is there is no line for that use in passwd. I know the name, it's not in passwd/shadow, that's what irritates me most to begin with19:27
sarnoldDexterF: did anything get logged?19:28
rharperDexterF: so you have a homedir but nothing in passwd/shadow ?19:28
DexterFrharper: hard to tell about home since I cannot log in, it sits on an md raid.19:29
DexterFsarnold: let me check19:29
rharperthen how do you know there's no line in passwd/shadow ?19:29
powersjrharper: mini.iso would fall under the netboot ISO I believe on the ISO tracker here: http://iso.qa.ubuntu.com/qatracker/19:29
rharperother than you can't login?19:29
rharperpowersj: ah, ok19:30
DexterFrharper: plucked the disk and hooked it to this computer for examination19:30
rharperit's likely that the useradd failed ; seems unlikely to have created home and populated it while failing to update passwd/shadow19:30
DexterFI have a theory what happened19:34
DexterFsaid /home md is a raid5, and I had a flaky sata cable on one drive. wait. bad theory. I was up to: during setup one disk fails, /home becomes inaccessible, user creation fails silently.19:35
DexterFbut then again one failed disk on raid5 is exactly what md should cover19:36
DexterFunless /home became unresponsive due to disk sync errors19:36
OnepamopaWhat are the chances 2 " BUG: unable to handle kernel paging request" messages to appear on the monitor but not @ syslog (after reboot)?19:36
OnepamopaI scrolled them up, made a photo then rebooted19:37
sarnoldOnepamopa: when things go wrong in the kernel it's quite possible that too much is broken to actually write logs to disk; I'd hope BUGs would still get written, but when paging requests can't be handled, there's something very wrong.19:38
Onepamopasarnold, this happened on both 16.10 and 16.04.119:38
OnepamopaIm surface-checking the disk for errors now...19:38
Onepamopaafter that it's time to check the memory too ....19:39
Onepamopatho, the pc was running freebsd 10 without problems19:42
Onepamopaweird..19:42
=== seg_ is now known as seg
=== linux_user_ is now known as linux_user
DexterFok, superweird. am in rescue mode, cannot see the raid5 with /home at all20:57
DexterF /proc/partitions does not show them at all20:58
DexterFsimple sata disks on a simple intel chipset20:58
DexterFnvm, show after hw rescan21:01
DexterFmanaged to enter rescue mode. there was no user created in the dirst place. i added one with adduser now, but I doubt it will have the sudo-ubuntu privileges. how do I add that?21:15
DexterFI now added that user to the sudo group. web manuals suggest adding to "admin", too, but there is no such group21:20
DexterFboots, logs in as user, can sudo. yay.21:23
=== galeido_ is now known as galeido
DexterFinstalled lxqt metapackage. no there is ofonod. on a server. wth?21:54
tsimonq2DexterF: what metapackage?21:55
DexterFtsimonq2: "lxqt"21:55
tsimonq2if it's from the Lubuntu Development PPA, don't expect it to be stable21:55
tsimonq2ok good21:55
naccDexterF: what is 'ofonod'?21:55
tsimonq2^21:56
DexterFtelephony daemon21:56
naccdescender: presumably it's some base part of the LXQt desktop environment?21:56
DexterFofonod is a daemon which provides an oFono stack for interfacing mobile21:56
DexterF       telephony devices.21:56
DexterFok, so more like bt2droid storage access or sumsuch. that makes sense then.21:57
tsimonq2nacc: not that I know of22:12
nacctsimonq2: ok, wasn't sure why else it would get pulled in via deps22:19
tsimonq2!info ofonod22:20
ubottuPackage ofonod does not exist in yakkety22:20
tsimonq2:/22:20
nacctsimonq2: it's ofono22:20
naccafaict22:20
tsimonq2!info ofono22:20
ubottuofono (source: ofono): Mobile telephony stack (daemon). In component universe, is optional. Version 1.17.bzr6921+16.10.20160819.6-0ubuntu1 (yakkety), package size 585 kB, installed size 1943 kB22:20
tsimonq2oh22:20
tsimonq2ah yes22:21
tsimonq2  Recommends: connman22:21
tsimonq2that's pulled in by lxqt I think22:21
=== Darkman802__ is now known as Darkman802

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