/srv/irclogs.ubuntu.com/2016/06/23/#ubuntu-server.txt

=== Zhao is now known as Guest14976
LaserAllanhey guys, i just went into a directory where my irc server keeps allot of logs and i did an "ls" and it just shows me maybe 40 results but above those it says "total 2172", what does that mean exactly?00:07
sarnoldthat's the sum of file sizes in the directory, in kilobytes iirc00:09
LaserAllanah00:10
LaserAllangotcha :)00:10
sarnoldit's amazing, I've come to ignore the line entirely :)00:11
LaserAllansarnold: You know i tohguth it meant i udnno numbers of somekind since it didn't really define what it actually was00:12
LaserAllanI am trying to learn how to grep effectively00:13
LaserAllanso far grep -r "word" /path/to/stuff prints out things but what if i have multiple words?00:13
sarnoldif those words would be on the same line then you can do something like grep -r -e 'word1.*word2' /path/to/files --- but that's not much help if they might be on different lines, but you want to know which files contain both words..00:15
sarnoldyour next steps typically turn ugly, something like grep -l foo $(grep -r -l bar /path/to/files)00:16
LaserAllanI will try that00:16
LaserAllanI have only used linux for about 1 year and i am amazed how powerful the temrinal is00:16
LaserAllanbut i am still very new to learning how to use the cli effectively00:16
sarnoldsince you can only pass so many files as parameters, that only works up to a certain size, and if any filenames have funny names (e.g. start with - ) then you can run into trouble00:17
LaserAllansarnold: Ah yeah lemme see what i can do, when you sday that the specified words has to be wihtin the same line does that mean same message?00:22
LaserAllanwhat does -e do?00:22
sarnoldwhat's a message?00:22
LaserAllanor line sorry00:22
sarnold-e says to use regex matching. I can't recall for sure when grep treats inputs as regex vs literals, so I may over-use it..00:23
\9_LaserAllan: grep -P 'word1|word2|word3' files00:23
\9_the -P enables perl-style regex which allows for | to separate choices00:24
sarnoldit also lets you search for multiple expressions, like grep -e sarnold -e root /etc/passwd to print out two lines from /etc/passwd ..00:24
sarnold\9_: dude. how long as -P been there? :)00:24
LaserAllanI would liek to use that but search in a directory that has allot of files in it00:24
\9_sarnold: since ever00:25
sarnoldcrazy. last I looked it just did extended, basic, and fixed string :)00:25
\9_or well I've used linux for like.. 8 years now and it's been there for as long as I can remember00:25
sarnold\9_: thanks :) hehe00:25
LaserAllanI have only used it for 1 year I feel like a very newbish person but ive leanred allot in this year00:28
LaserAllanive learned as ive gone forward so to say00:28
=== prince|offline is now known as prince
=== vaas is now known as PaganMin
aroonihey folks;  i'd like to get a backup agent for ubuntu that can connect to AWS and perhaps AWS Glacier.  Ideally works with is compatible with Arq which i have running on my mac.  Any suggestions?02:50
=== longbaugh is now known as dannymichel
=== dannymichel is now known as longbaugh
=== m1dnight1 is now known as m1dnight_
=== athairus is now known as afkthairus
Walexarooni: at the simplest level there is 's3cmd'08:14
Walexarooni: https://www.google.ca/search?client=ubuntu&channel=fs&q=backup+program+linux+s308:15
=== yakim_ is now known as yakim
emper0rhi, if i got an ubuntu-server 15.04 with all my stuff inside custom-services and develope work on apache2. runing everything i want.... how can i convert that server ready in a ISO image to instal from a CD, and when finish instal take the same result,.. now i'm using a basic server install and execute a big script to prepare ending in the final result but i really want to avoid tat with a custom08:52
emper0rcd with all process did it.!.. how can i do that?... some url to read a guide ?08:52
hateballemper0r: Do you just want to clone the install as is? Use clonezilla or something08:54
hateballemper0r: also 15.04 is EOL08:54
emper0ri know i know is EOL... but meanwhile not migrate the new script for new relases and upgrade the develep work beacuse use a different version with django.. i would like to use 15.1008:56
XinZhaoheeey08:57
XinZhaoI bet you arent even an emperor at all!!08:57
LostSoulHi, I'm trying to install 2 packages but my console hangs, what's up?08:58
LostSoulhttp://paste.ubuntu.com/17737006/08:58
LostSoulAny ideas guys?09:06
emper0rhateball: clonezilla clone the disk into image... but if i want to do like ipcop for example... little distro with just only tools need it? and it develop software it self? ipcopn had a simple install and finish with just only need running...09:07
emper0rwill be more like that but with our custom softw for other goal.09:07
hateballI'm... not sure I follow09:08
emper0ri guess will be .. like linux from scratch.. but..i guess will be a long process to do it09:08
emper0ranyway thanx for the info09:09
emper0r:)09:09
emper0ro/รน09:09
emper0rbye09:09
emper0r\o/09:09
LostSoulapt-get hangs after fetchign all packages09:30
LostSoulFetched 70.9 MB in 8s (7,960 kB/s)   - what can I do?09:30
=== _degorenko|afk is now known as degorenko
jellyLostSoul: investigate where it's hanging.  use tools like ps and pstree to look at child processes of apt-get; "top" to see if any of those are using cpu time; after identifying a suspect, "strace" to try figure out what it's doing10:59
jellyor just press ^C and blindly try again11:00
=== spammy is now known as Guest41987
=== Guest41987 is now known as spammy
=== mthaddon` is now known as mthaddon
Mr_Pan!seen12:41
ubottuI have no seen command12:41
fricklerjamespage: do you plan to push ceph-10.2.2 into xenial, too? there are some rgw fixes that we would like to have there12:52
frickleralso nova-13.1.0 for mitaka would be nice12:52
jamespagefrickler, yes - its in the review queue for the sru team12:53
fricklerjamespage: great, can I see that queue somewhere so I don't have to bother you every time? ;)12:53
jamespagefrickler, https://launchpad.net/ubuntu/xenial/+queue?queue_state=1&queue_text=12:54
Odd_Blokerbasak: smoser: Can I get uvt-kvm to run an arm64 image on an amd64 host?  Should it Just Work?13:21
smoserOdd_Bloke, it might need a little tweak13:25
smoseri think we needed a little tweak for power, not sure if its in main or not.13:25
bananapieHello. I have a dozen servers connected via gigabit switches ( procurves ). All the machines can ping each other. One of the 12 machines has virtual servers on it. All the virtual servers can ping each other and the physical servers. However, if I try pinging using jumbo frames, the physical servers can ping each other. The virtual servers can ping each other. But between vms and physical, no jumbo packets. From13:36
bananapiethe vm host, I can jumbo ping any vm and vice versa. The switches are all set to jumbo. Vms are libvirt/qemu/kvm. They are connected to a bridged interface. All the interfaces list mtu at 5000.13:36
bananapieI don't think it's a problem with the bridged adapter as the vms and the vm host can all ping each other.13:36
bananapieAll the vnet cards on the bridge are showing mtu 500013:37
bananapieI am certain the issue is not the switch13:37
bananapiengrep shows the outbound ping on br013:38
bananapiengrep shows the outbound ping on bond0 ( which is the physical link to the switch )13:38
bananapiengrep shows the outbound ping on em2 ( which is currently the master for bond0 )13:39
bananapieifconfig shows no errors, overruns, dropped on the tx of em213:40
bananapieThe config worked on monday, something happened in the mean time.13:42
bananapiewhen pinging from a VM to a physical machine, I see the ping on em* interface going out.13:47
bananapiescratch everything13:51
bananapieall the vms had mtu 5000, all the physical machines had mtu 150013:51
bananapieLoL13:51
freakynlHi, I'm running a 14.04 server which / (and bootloader) is on a RAID-1 (md). Now I replaced both disks with larger ones, using GPT as the partition setup (4TB disks). As the system hasn't gone down yet, it's still running happily14:12
freakynlCan I create a fake msdos partition table on it to allow it to boot? The mainboard only has BIOS (root/md0 is only 19GB and is the first partition)14:13
ddellavcoreycb can you review/push my neutron ci fix: lp:~ddellav/ubuntu/+source/neutron15:07
ddellavxenial/newton15:07
coreycbddellav, sure can, thanks15:08
coreycbddellav, I've pushed your neutron updates.  can you kick off neutron builds in jenkins?15:37
ddellavcoreycb yessir15:37
coreycbddellav, thanks15:37
LostSoulHi15:37
LostSoulSo I tried to compile MK Livestatus - http://mathias-kettner.com/checkmk_livestatus.html, configure and make went without error but after all I can't do make install15:38
LostSoulmake: *** No rule to make target `install'.  Stop.15:38
ddellavLostSoul it sounds like that program does not have an install target. I'd check the readme for the install process or barring that, the makefile itself.15:38
ddellavits possible it's a portable app and you just need to run the binaries from that folder15:39
LostSoulI've read this project site and after all I should be albe to do make install15:41
LostSoulIn readme there is nothing interesting15:41
nacccpaelzer: iirc, i wonder if the 'pipe' (ML post on crashes) is happening because the kernel crash handler is manually set to that string?16:02
=== afkthairus is now known as athairus
cpaelzernacc: could be, but he didn't seem to configure anything for crash before given his feddback to my crash questions16:10
cpaelzernacc: I can say that I intentionally crashed a few things this morning and all worked fine16:11
cpaelzernacc: I checked my dmesg and as expected there is nothing in there in the "default config"16:12
cpaelzernacc: please feel free to ask him if he set soemthing - eventually I'd just love to understand what his mdadm has16:12
cpaelzernacc: but I start to think the system might be a bit special (set up)16:12
=== iberezovskiy is now known as iberezovskiy|off
LaserAllanhey there17:50
LaserAllanfor some reason my surveillance tool xymon has detected this: Warning: Use of uninitialized value $pkg in exists at /usr/lib/xymon/client/ext/apt line 14617:50
LaserAllanI just recently saw its showing a few of those17:50
LaserAllanI have never seen them before so I ahve no idea what they might mean17:50
sarnoldLaserAllan: what's on line 146 there? look upwards in the file and see if there's typos or something similar17:58
LaserAllansarnold: Just did a reboot though, it said something had to be updated, aparently the kernel17:59
LaserAllannow its gone17:59
sarnoldLaserAllan: the error message you pasted looks like a perl bug to me. it probably shouldn't come or go based on which packages need updating.17:59
LaserAllansarnold: I also did a reboot and that seemed to fix it but i am not sure18:00
LaserAllansarnold: does perl handle any webstuff?18:00
sarnoldLaserAllan: for many years, perl -was- the web.. hehe18:00
LaserAllanI have had huge problems with a python script ive been running flawlessly for about 6 months18:00
LaserAllanit stoped working last night18:00
LaserAllanAparently the information i seek is ther ein htmlcode in somde way but it basically used to display it visually while now I can basically see nothjing18:01
LaserAllanthis is the thing i am trying to run https://github.com/drzoidberg33/plexpy18:02
=== degorenko is now known as _degorenko|afk
LaserAllanquestion, I am currently running Ubuntu Server 1404LTS but I am wondering if i can update python beyond 2.7.6?, according to things ive read i shouldn't do that so i guess my only option is to upgrade to Ubuntu Server 1604 LTS?18:25
naccLaserAllan: python3 is packaged in 14.0418:26
nacciirc18:26
naccpython3 | 3.4.0-0ubuntu2   | trusty18:26
LaserAllannacc: Ah how do i got about installing it or upgrading to it?18:26
LaserAllanjust regular repo install?18:26
naccLaserAllan: yes, it's just a package (and i think the default python will stay python 2.7.x, you'd invoke it with python3 (or /usr/bin/env python3 or whatever)18:26
LaserAllannacc: So just apt-get install python3?18:29
naccLaserAllan: i believe so, yeah18:31
LaserAllannacc: I wonder will that replace python, so i can sitll start script with python "scriptname"?18:33
naccLaserAllan: i think i just answered that? (in parentheses)18:33
LaserAllannacc: python3 doesn't seem to be reconiced18:33
LaserAllan"recogniced18:33
naccLaserAllan: do you mean the package or the executable?18:33
LaserAllannacc: I am wondering if i am having multiple versions of python since it sid that python3 is allready installed18:34
LaserAllanSo I guess I should then use python3 "scriptname"?18:34
naccLaserAllan: http://paste.ubuntu.com/17760052/18:36
naccLaserAllan: yes, it looks python3 might be isntalled by default18:36
naccLaserAllan: and yes, just use python3, as i said18:36
LaserAllannacc: Can i safely remove the regular python?18:37
LaserAllanand thanks18:37
naccLaserAllan: i wouldn't18:38
naccLaserAllan: at least not on trusty18:38
naccLaserAllan: i think that will try to remove some core stuff, but not sure18:38
LaserAllannacc: hmm, seems like I cannot launch my application in python318:38
LaserAllanweird18:38
naccLaserAllan: cannot or it fails?18:38
sarnoldmost of the time applications are written for python2 or python3. applications that can handle both are rare.18:40
naccsarnold: ack18:41
LaserAllannacc: Ah, i need to upgrade to 2.7.11 it seems, not sure if that's a good idea on trusty18:41
LaserAllansarnold: that probb explains why it just fails18:41
=== JanC is now known as Guest91547
=== JanC_ is now known as JanC
naccLaserAllan: fyi: https://wiki.ubuntu.com/Python19:03
LaserAllanThanks19:05
naccLaserAllan: generally /usr/bin/python must oint to python2.x19:06
Sebastieni forgot how to add a user to the sudoer list but that will not require password input to sudo20:21
Sebastienso winscp is not broken when i navigate into another /home/user/20:21
shaunoSebastien: if that is the right solution to the problem (and I suspect it's not), man sudoers (not sudo) and look for NOPASSWD20:25
naccSebastien: really, you're probably not passin ghte right flags to sudo (e.g., -i, -H, or something)20:26
=== devil is now known as Guest11152
Sebastienthy shauno20:32
=== narcissus is now known as Guest18923
=== mwhudson is now known as mwhudson__
=== alexisb is now known as alexisb-afk

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