/srv/irclogs.ubuntu.com/2014/07/04/#ubuntu-server.txt

punkgeekany body can help me how to change cli login text page?04:46
sarnoldpunkgeek: check out /etc/motd or /etc/update-motd.d/04:50
punkgeekthank you, after i change it, what should i do?04:53
sarnoldlog in again and make sure it looks nice? :)04:54
punkgeekno it doesnt work :D04:54
punkgeeki change 00-header  but i see ubuntu massege04:54
punkgeekneed change others file?04:56
punkgeeki need shell script for change root password, any body can help me?05:40
lordievaderpunkgeek: No need for a script, simply run: sudo passwd05:51
punkgeekno, i need shell script for another work05:54
lordievaderpunkgeek: Besides, the root password is disabled with good reason.05:55
lordievaderErr, root account.05:55
punkgeekسثث فاشف05:55
punkgeeksee that05:55
lordievaderYes?05:55
punkgeek#!/bin/bash05:55
punkgeekecho "Enter Password For Root:"05:55
punkgeekread pass05:55
punkgeekecho -e "$pass\n$pass\n"| passwd root05:55
punkgeekwhen run it:05:55
punkgeekroot@ubuntu:~# sh pass.sh05:56
punkgeekEnter Password For Root:05:56
punkgeeksdfDSF34rdfg05:56
punkgeekEnter new UNIX password: Retype new UNIX password: Sorry, passwords do not match05:56
punkgeekpasswd: Authentication token manipulation error05:56
punkgeekpasswd: password unchanged05:56
lordievader!paste| punkgeek05:56
ubottupunkgeek: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.05:56
lordievaderpunkgeek: Like I said, no need to build a script around it. Simply run 'sudo passwd'. Please read https://help.ubuntu.com/community/RootSudo too.05:57
punkgeekthank you05:58
punkgeekit's work, :X05:59
punkgeekD:05:59
lordievaderpunkgeek: Please do read the link I gave you. Enabling the root account is not Ubuntu policy.05:59
punkgeekok06:00
laconic__hi all07:46
laconic__I've just (accidentally) deleted (rm) my rc1.d (please don't ask me how)07:47
laconic__any way to recover? (I'm aware of the obvious answer which includes reinstalling everything)07:47
laconic__I'm running a 12.0407:48
laconic__my system is still up and running, but I'd rather not try to reboot it07:48
laconic__I've read somewhere that rc1 is used only for recovery, so it's not that big of a deal07:49
peetaur2laconic__: testdisk08:19
peetaur2laconic__: and for best results, remount read only, so nothing new has a chance to be written to the location of the old files, making them impossible to recover08:19
peetaur2mount -o remount,ro /08:20
peetaur2mount -o remount,rw /08:20
laconic_got disconnected for some reason, not sure what I've missed08:28
laconic_testdisk doesn't seem to be what I need08:29
laconic_that is, it appears it doesn't deal with file recovery08:29
laconic_http://www.cgsecurity.org/wiki/TestDisk08:29
gnuoyjamespage, are planning to do anything with Bug#1319909 today ? If not I'll grab it08:32
jamespagecbug 131990908:32
jamespagebug 131990908:32
uvirtbotLaunchpad bug 1319909 in singledispatch "[MIR] python-logutils, singledispatch" [Undecided,Fix released] https://launchpad.net/bugs/131990908:32
jamespagegnuoy, please steal away - I'll sponsor your change if you like :-)08:33
gnuoyta :-)08:33
zetheroo1I am trying to write a ping check script and this is what I have so far: http://paste.ubuntu.com/7746087/08:40
zetheroo1I would like that if the ping is successful nothing happens, but that if the ping is not successful this command is passed: "virsh reset domain"08:44
zetheroo1how do I do this?08:44
=== No_one_at_all is now known as yes
=== yes is now known as No_one_at_all
k1lhi08:49
zetheroo1:)08:49
DalekSec.09:36
histozetheroo1: use an if statement or a test09:45
histozetheroo1: you could grep the output of ping for an Unreachable and if grep exits 0 then fire off your command09:47
zetheroo1histo: is what I already have no good?09:52
histozetheroo1: well you aren't even testing ping09:53
histozetheroo1: yeah that works nvm09:54
histozetheroo1: sorry i'm tired09:54
zetheroo1histo: I thought "ping -c 1 192.168.1.209" is a picg check ...09:54
zetheroo1!?09:54
zetheroo1oh ok09:54
histozetheroo1: you just have your exit status backwards imo09:54
histozetheroo1: or echo09:54
zetheroo1I just don't know where to insert the "virsh reset domain" command09:55
histozetheroo1: http://paste.ubuntu.com/7746376/09:56
zetheroo1wow ... it's that simple ...09:57
zetheroo1thanks09:57
histozetheroo1: yes09:58
histozetheroo1: don't really need the then though09:59
histozetheroo1: unless you want to do something if it works09:59
zetheroo1I see09:59
zetheroo1is the 'Ping worked' written to some log?09:59
zetheroo1like ssylog?09:59
zetheroo1syslog *09:59
=== Lcawte|Away is now known as Lcawte
histozetheroo1: how are you calling the script?10:12
gnuoyjamespage, this python-logutils is a funny one. The tests which are failing for python 3 relate to using dictionary based config which is part of standard python library as of python 3.2 & 2.7 so its only in the package in case your using an earlier version. Since we're trying to get the package into utopic the functionality and therefore the test seems irrelevant10:13
zetheroo1histo: it's part of a script run from crontab10:13
histozetheroo1: well then remove teh echo 'It worked' and replace with    exit 010:14
jamespagegnuoy, trusty is 2.7 only as well right?10:14
gnuoyI'm sure it is but I'll check10:14
histozetheroo1: check /var/log/cron10:15
zetheroo1histo: so, like this? http://paste.ubuntu.com/7746422/10:15
gnuoyjamespage, yes, 2.710:15
histozetheroo1: yes if you don't care about output when the command worked10:15
jamespagegnuoy, well a distro only patch is probably acceptable; if you could make it backwards compat still and get it upstream that would be better10:17
histozetheroo1: sorry this is ubuntu /var/log/syslog should log the job10:18
zetheroo1histo: ok :)10:18
bitbyte_does any one know, how I can remove a borken ppa:10:29
bitbyte_I added deluge by add-apt-repository ppa:deluge but I need to remove it now10:29
peetaur2bitbyte_: /etc/apt/sources.list    /etc/apt/sources.list.d/10:30
bitbyte_see i checked the /etc/apt/sources.list and didnt see it listed10:30
peetaur2and the .d?10:30
bitbyte_and .d has nothing in it10:31
bitbyte_i’m trying to get rid of this silly error : W: Failed to fetch http://ppa.launchpad.net/deluge-team/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found10:32
histo!ppapurge | bitbyte_10:32
ubottubitbyte_: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:<repository-name>/<subdirectory> » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html10:32
bitbyte_so install ppa purge and point it to deluge10:32
bitbyte_the orignal command was sudo add-apt-repository ppa:deluge-team/ppa10:33
lordievaderGood afternoon.10:33
bitbyte_all sorted guys thanks10:35
k1l!ops | nanaum spaming in pm10:56
ubottunanaum spaming in pm: Help! Channel emergency! soren, lamont, mathiaz, Pici, Daviey, Tm_T or pmatulis10:56
sorenk1l: How can I help?11:01
=== Lcawte is now known as Lcawte|Away
k1lnanaum: spaming adverts in pm. already confirmed in #ubuntu-ops channel.11:02
sorenk1l: I understand the problem. How can I help?11:03
Myrttifoobar11:03
dogeo.o11:03
k1lremove/ban the spamer. i already asked in several ops channels but no one seems to care and i dont have ops in here.11:04
Myrtti_o>11:05
k1lthanks11:05
smbrbasak, So I have the xen changes for uvtool in a local bzr branch. I believe push puts that out under my lp user. Remind me of what the other steps are to officially make that a "please have a look at the stuff". :)11:43
gnuoyjamespage, I have a fix for the tests. Would it be correct to propose the fix  against  the project in bitbucket, then try and get it accepted into debian and then pull down to ubuntu ?12:01
jamespagegnuoy, patch it into the package, and propose it upstream at the same time12:02
jamespageyou can feed it back to debian as well12:02
gnuoyack, thanks12:02
jamespagegnuoy, use patch headers to document this - DEP8 I think12:02
gnuoyok12:03
vilahi there !12:50
vilaI'm seeking some advice about mounting an image in a lxc container with qemu-nbd12:50
rbasaksmb: go to code.launchpad.net/~smb, click on your branch and propose for merging from there.12:51
rbasaksmb: note that I'm a bit tied up at the moment and I have a couple of MPs for uvtool pending already. Is it OK if it takes me a while to get back to you?12:51
smbrbasak, Yeah, it won't be world ending :)12:51
rbasakjamespage: FYI, juju-core 1.20 is reported to break juju-quickstart (bug 1337831) so I'll need to upload a fixed quickstart together with it.12:52
uvirtbotLaunchpad bug 1337831 in juju-quickstart "Quickstart crashes when used with juju 1.20" [Critical,In progress] https://launchpad.net/bugs/133783112:52
vilaI've used lxc-device -n xx add /dev/nbd0 ; ran qemu-nbd -c inside the container and that created /dev/nbd0p1, so far so good12:52
vilabut there, trying to mount /dev/nbd0p1 /tmp/mntpoint fails saying that 'mount: block device /dev/nbd0p1 is write-protected, mounting read-only' and then 'mount: cannot mount block device /dev/nbd0p1 read-only'12:53
gnuoyjamespage, did you particularly want dep8 or is dep3 ok ? (I'm a bit underwhelmed by http://dep.debian.net/deps/dep8/)12:56
rbasakgnuoy: I think he meant dep312:57
gnuoyrbasak, thanks12:57
=== psivaa-afk is now known as psivaa
Goeland86hi, I'm trying to run the android emulator through jenkins... Normally this should be window-less13:13
Goeland86but I keep getting errors about libGL13:13
gnuoyjamespage, I've created a mp with the fixes to the package https://code.launchpad.net/~gnuoy/ubuntu/utopic/python-logutils/fix-tests/+merge/225661 . Do I just sit back and drink Mojitos now ?13:14
Goeland86either something about libGLES not being found, or the latest one, when I turn gpu off on the emulator, I get libGL error: failed to load driver: swrast13:14
Goeland86anyone know how I can fix the last one?13:14
jrwrenhttp://discourse.ubuntu.com down for all or just me?14:06
RoyKhttp://www.downforeveryoneorjustme.com/http://discourse.ubuntu.com/14:08
=== HolyBuntu is now known as ArisenSoul
jamespagegnuoy, sorry - was out for a bit14:55
gnuoynp14:55
rbasakkickinz1: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1336742 looks like a good one for you to get started with when you have some time.15:54
uvirtbotLaunchpad bug 1336742 in squid3 "Caching responses with "Vary" header" [Medium,Triaged]15:54
kickinz1rbasak, thanks!15:56
kickinz1rbasak, I'll try when possible (coding right now)16:00
z1hazehello, would someone mind helping me out with a system load issue? i just logged into my server and it says "System information disabled due to load higher than 6.0" is that bad?16:35
lordievaderz1haze: Depends: http://www.linuxjournal.com/magazine/hack-and-linux-troubleshooting-part-i-high-load16:37
Patrickdkload has almost no relevence anymore16:38
Patrickdkhow many cpu cores do you have?16:38
z1hazewhat command doicheck with? cat /proc/cpuinfo | grep processor | wc -l?16:39
lordievaderz1haze: uptime, top, htop all show load.16:39
z1hazeto se16:39
lordievaderLoad can be caused by many things.16:40
z1hazethe cores*16:40
z1hazeoh alright16:40
z1haze12:40:38 up 5 days, 15:13,  1 user,  load average: 5.16, 6.12, 5.9716:40
lordievaderz1haze: Read the link I gave you ;)16:40
z1hazePatrickdk I think its 6 cores16:41
lordievaderAh the cpucores, sorry misunderstood: cat /proc/cpuinfo|grep processor|tail -n116:41
z1hazesays 516:41
Patrickdkwell, maxed out, but not overloaded16:41
z1hazebut it starts at 016:41
z1hazebut that shouldnt be the case ever right?16:42
Patrickdkwhat shouldn't be the case?16:42
Patrickdkloadavg is how many programs are running16:42
z1hazemy loadbeing maxxed out16:42
Patrickdkover the last 5 min, you had 5.16 programs running constantly16:42
Patrickdkso 5.16 cores of you cpu where in use16:42
Patrickdkthat isn't overloaded16:42
Patrickdkbut it is almost loaded16:42
Patrickdkthe issue with loadavg is it doesn't take into account how many cpu's you have16:43
Patrickdkso if you where on a single cpu system16:43
Patrickdkit would be like you had a load of 0.816:43
z1hazeso this load isnt something to worry about?16:43
Patrickdkthat depends16:43
Patrickdkin general, it's not bad, assuming it is really suppost to be that busy :)16:44
Patrickdkbut it's not, overloaded16:44
lordievaderz1haze: A load of 5 on a single core is a problem. A load of 5 on a 6 core machine, no problem.16:44
Patrickdkas long as whatever was running, is ligit16:44
Patrickdkand working properly16:44
z1hazethats what i wish i knew, crap16:45
z1hazeim by far not a system admin of any sorts i dont know really anything about it16:45
z1hazeI just lease this machine16:45
lordievaderRead the link I gave you, z1haze. ;)16:46
z1hazeoh i have been, but its foreign language looking to me lol16:46
z1hazei have 16gb free of RAM and tons of hd space left16:47
z1hazeanyone have tim to help me track this down on this fine 4th of july?16:51
TJ-z1haze: run something like 'top' or 'htop' to see the load individual processes are causing16:53
z1hazeyea i have those i was just looking at it, im looking at the %CPU?16:54
z1hazei have like multiplace things that show the same thing twice? can i close some without hurting my programs? http://puu.sh/9WH6c/4367181fe1.png16:58
bluephoenix71Hi all, could anyone assist on my query regarding ubuntu 14.04 LTS on VMware, Vmware running on mac osx maverick16:58
bluephoenix71my question is regarding running free radius and daloradius in ubuntu server 14.0416:59
bluephoenix71I have followed this guide https://help.ubuntu.com/community/CategoryNetworking/daloRADIUS17:00
Patrickdkexactly how to you run a company on mac osx?17:00
bluephoenix71I am doing this on a virtual environment first before I deploy it live.17:00
bluephoenix71during the installation process, I was able to follow the instructions up to the end except when accessing the daloradius via my mac safari browser17:02
bluephoenix71the page is not found...17:02
z1hazedoes anyone know if the java -server argument is necessary in java 8?17:11
Patrickdkdunno17:11
Patrickdkbut java is never *necessary* :)17:12
z1haze?17:12
* Patrickdk hates all things java17:12
z1hazeah17:12
z1hazewell my game servers eat a LOT of java17:12
lordievaderFrom what I've heard Minecraft is horrible in resource management.17:13
z1hazeits terrible, im pretty sure17:13
z1hazecan you explain this ss to me though? http://puu.sh/9WI7v/30ce13d136.png why are there ao many of the same thing and some are 64% then the next one is 38% they all are in total well over 100% i dont understand17:14
lordievaderMultiple threads, most likely.17:14
Patrickdkheh17:14
Patrickdkthe game servers probably dont17:14
Patrickdkbut anything java eats a lot of cpu :)17:14
Patrickdkwhy I dislike it17:14
z1hazeand RAM17:15
Patrickdkrarely have the ram issue, but ya17:16
z1hazewell minecraft uses a ton of RAM17:16
z1hazemy modded servers take at minimum 8gb17:16
z1hazei wish i knew how to 'optimize' a system17:17
lordievaderStep one, remove all java :P17:18
z1hazeyea, well optimize and KEEP my games lol17:18
bluephoenix71hi, anyone who has encountered same problems in installing freeradius and daloradius in ubuntu14.04 LTS?17:22
bluephoenix71is this the right channel if not can someone point me to the right one?17:22
=== krtaylor is now known as krtaylor_away
Patrickdkit's an ok channel, but too rare a program for someone to likely know17:31
imarcusthisTrying to get uvt-kvm to work with a bridge and a vlan, but I can’t seem to get DHCP in the guest. Any ideas?17:50
imarcusthis(created a br0, added eth0.31 to it, and feeding that as the —bridge parameter to create)17:50
imarcusthisI can run dhclient directly on the bridge, and it will get an IP.17:51
imarcusthisnever mind, it just suddenly worked this time. Not sure wtf I did wrong the first time.17:55
=== Nafallo_ is now known as Nafallo
=== Beliq___ is now known as Beliq
=== dbext is now known as HolyBuntu
bluephoenix71hi21:33
bluephoenix71anyone encountered this issue when installing freeradius and daloradius in ubuntu 14.04 LTS? Using this link as guide https://help.ubuntu.com/community/CategoryNetworking/daloRADIUS21:34
bluephoenix71issue is that when you http to the server, it's saying21:37
bluephoenix71The requested URL /daloradius.php was not found on this server.  Apache/2.4.7 (Ubuntu) Server at 192.168.2.130 Port 8021:37
bluephoenixany takers on the issue of daloradius?22:35
=== DzAirmaX_ is now known as DzAirmaX

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