[04:46] <punkgeek> any body can help me how to change cli login text page?
[04:50] <sarnold> punkgeek: check out /etc/motd or /etc/update-motd.d/
[04:53] <punkgeek> thank you, after i change it, what should i do?
[04:54] <sarnold> log in again and make sure it looks nice? :)
[04:54] <punkgeek> no it doesnt work :D
[04:54] <punkgeek> i change 00-header  but i see ubuntu massege
[04:56] <punkgeek> need change others file?
[05:40] <punkgeek> i need shell script for change root password, any body can help me?
[05:51] <lordievader> punkgeek: No need for a script, simply run: sudo passwd
[05:54] <punkgeek> no, i need shell script for another work
[05:55] <lordievader> punkgeek: Besides, the root password is disabled with good reason.
[05:55] <lordievader> Err, root account.
[05:55] <punkgeek> سثث فاشف
[05:55] <punkgeek> see that
[05:55] <lordievader> Yes?
[05:55] <punkgeek> #!/bin/bash
[05:55] <punkgeek> echo "Enter Password For Root:"
[05:55] <punkgeek> read pass
[05:55] <punkgeek> echo -e "$pass\n$pass\n"| passwd root
[05:55] <punkgeek> when run it:
[05:56] <punkgeek> root@ubuntu:~# sh pass.sh
[05:56] <punkgeek> Enter Password For Root:
[05:56] <punkgeek> sdfDSF34rdfg
[05:56] <punkgeek> Enter new UNIX password: Retype new UNIX password: Sorry, passwords do not match
[05:56] <punkgeek> passwd: Authentication token manipulation error
[05:56] <punkgeek> passwd: password unchanged
[05:56] <lordievader> !paste| punkgeek
[05:57] <lordievader> punkgeek: 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:58] <punkgeek> thank you
[05:59] <punkgeek> it's work, :X
[05:59] <punkgeek> D:
[05:59] <lordievader> punkgeek: Please do read the link I gave you. Enabling the root account is not Ubuntu policy.
[06:00] <punkgeek> ok
[07:46] <laconic__> hi all
[07:47] <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:48] <laconic__> I'm running a 12.04
[07:48] <laconic__> my system is still up and running, but I'd rather not try to reboot it
[07:49] <laconic__> I've read somewhere that rc1 is used only for recovery, so it's not that big of a deal
[08:19] <peetaur2> laconic__: testdisk
[08:19] <peetaur2> laconic__: 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 recover
[08:20] <peetaur2> mount -o remount,ro /
[08:20] <peetaur2> mount -o remount,rw /
[08:28] <laconic_> got disconnected for some reason, not sure what I've missed
[08:29] <laconic_> testdisk doesn't seem to be what I need
[08:29] <laconic_> that is, it appears it doesn't deal with file recovery
[08:29] <laconic_> http://www.cgsecurity.org/wiki/TestDisk
[08:32] <gnuoy> jamespage, are planning to do anything with Bug#1319909 today ? If not I'll grab it
[08:32] <jamespage> cbug 1319909
[08:32] <jamespage> bug 1319909
[08:33] <jamespage> gnuoy, please steal away - I'll sponsor your change if you like :-)
[08:33] <gnuoy> ta :-)
[08:40] <zetheroo1> I am trying to write a ping check script and this is what I have so far: http://paste.ubuntu.com/7746087/
[08:44] <zetheroo1> I 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] <zetheroo1> how do I do this?
[08:49] <k1l> hi
[08:49] <zetheroo1> :)
[09:36] <DalekSec> .
[09:45] <histo> zetheroo1: use an if statement or a test
[09:47] <histo> zetheroo1: you could grep the output of ping for an Unreachable and if grep exits 0 then fire off your command
[09:52] <zetheroo1> histo: is what I already have no good?
[09:53] <histo> zetheroo1: well you aren't even testing ping
[09:54] <histo> zetheroo1: yeah that works nvm
[09:54] <histo> zetheroo1: sorry i'm tired
[09:54] <zetheroo1> histo: I thought "ping -c 1 192.168.1.209" is a picg check ...
[09:54] <zetheroo1> !?
[09:54] <zetheroo1> oh ok
[09:54] <histo> zetheroo1: you just have your exit status backwards imo
[09:54] <histo> zetheroo1: or echo
[09:55] <zetheroo1> I just don't know where to insert the "virsh reset domain" command
[09:56] <histo> zetheroo1: http://paste.ubuntu.com/7746376/
[09:57] <zetheroo1> wow ... it's that simple ...
[09:57] <zetheroo1> thanks
[09:58] <histo> zetheroo1: yes
[09:59] <histo> zetheroo1: don't really need the then though
[09:59] <histo> zetheroo1: unless you want to do something if it works
[09:59] <zetheroo1> I see
[09:59] <zetheroo1> is the 'Ping worked' written to some log?
[09:59] <zetheroo1> like ssylog?
[09:59] <zetheroo1> syslog *
[10:12] <histo> zetheroo1: how are you calling the script?
[10:13] <gnuoy> jamespage, 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 irrelevant
[10:13] <zetheroo1> histo: it's part of a script run from crontab
[10:14] <histo> zetheroo1: well then remove teh echo 'It worked' and replace with    exit 0
[10:14] <jamespage> gnuoy, trusty is 2.7 only as well right?
[10:14] <gnuoy> I'm sure it is but I'll check
[10:15] <histo> zetheroo1: check /var/log/cron
[10:15] <zetheroo1> histo: so, like this? http://paste.ubuntu.com/7746422/
[10:15] <gnuoy> jamespage, yes, 2.7
[10:15] <histo> zetheroo1: yes if you don't care about output when the command worked
[10:17] <jamespage> gnuoy, well a distro only patch is probably acceptable; if you could make it backwards compat still and get it upstream that would be better
[10:18] <histo> zetheroo1: sorry this is ubuntu /var/log/syslog should log the job
[10:18] <zetheroo1> histo: ok :)
[10:29] <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 now
[10:30] <peetaur2> bitbyte_: /etc/apt/sources.list    /etc/apt/sources.list.d/
[10:30] <bitbyte_> see i checked the /etc/apt/sources.list and didnt see it listed
[10:30] <peetaur2> and the .d?
[10:31] <bitbyte_> and .d has nothing in it
[10:32] <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 Found
[10:32] <histo> !ppapurge | bitbyte_
[10:32] <bitbyte_> so install ppa purge and point it to deluge
[10:33] <bitbyte_> the orignal command was sudo add-apt-repository ppa:deluge-team/ppa
[10:33] <lordievader> Good afternoon.
[10:35] <bitbyte_> all sorted guys thanks
[10:56] <k1l> !ops | nanaum spaming in pm
[11:01] <soren> k1l: How can I help?
[11:02] <k1l> nanaum: spaming adverts in pm. already confirmed in #ubuntu-ops channel.
[11:03] <soren> k1l: I understand the problem. How can I help?
[11:03] <Myrtti> foobar
[11:03] <doge> o.o
[11:04] <k1l> remove/ban the spamer. i already asked in several ops channels but no one seems to care and i dont have ops in here.
[11:05] <Myrtti> _o>
[11:05] <k1l> thanks
[11:43] <smb> rbasak, 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". :)
[12:01] <gnuoy> jamespage, 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:02] <jamespage> gnuoy, patch it into the package, and propose it upstream at the same time
[12:02] <jamespage> you can feed it back to debian as well
[12:02] <gnuoy> ack, thanks
[12:02] <jamespage> gnuoy, use patch headers to document this - DEP8 I think
[12:03] <gnuoy> ok
[12:50] <vila> hi there !
[12:50] <vila> I'm seeking some advice about mounting an image in a lxc container with qemu-nbd
[12:51] <rbasak> smb: go to code.launchpad.net/~smb, click on your branch and propose for merging from there.
[12:51] <rbasak> smb: 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] <smb> rbasak, Yeah, it won't be world ending :)
[12:52] <rbasak> jamespage: 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] <vila> I've used lxc-device -n xx add /dev/nbd0 ; ran qemu-nbd -c inside the container and that created /dev/nbd0p1, so far so good
[12:53] <vila> but 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:56] <gnuoy> jamespage, did you particularly want dep8 or is dep3 ok ? (I'm a bit underwhelmed by http://dep.debian.net/deps/dep8/)
[12:57] <rbasak> gnuoy: I think he meant dep3
[12:57] <gnuoy> rbasak, thanks
[13:13] <Goeland86> hi, I'm trying to run the android emulator through jenkins... Normally this should be window-less
[13:13] <Goeland86> but I keep getting errors about libGL
[13:14] <gnuoy> jamespage, 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] <Goeland86> either 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: swrast
[13:14] <Goeland86> anyone know how I can fix the last one?
[14:06] <jrwren> http://discourse.ubuntu.com down for all or just me?
[14:08] <RoyK> http://www.downforeveryoneorjustme.com/http://discourse.ubuntu.com/
[14:55] <jamespage> gnuoy, sorry - was out for a bit
[14:55] <gnuoy> np
[15:54] <rbasak> kickinz1: 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:56] <kickinz1> rbasak, thanks!
[16:00] <kickinz1> rbasak, I'll try when possible (coding right now)
[16:35] <z1haze> hello, 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:37] <lordievader> z1haze: Depends: http://www.linuxjournal.com/magazine/hack-and-linux-troubleshooting-part-i-high-load
[16:38] <Patrickdk> load has almost no relevence anymore
[16:38] <Patrickdk> how many cpu cores do you have?
[16:39] <z1haze> what command doicheck with? cat /proc/cpuinfo | grep processor | wc -l?
[16:39] <lordievader> z1haze: uptime, top, htop all show load.
[16:39] <z1haze> to se
[16:40] <lordievader> Load can be caused by many things.
[16:40] <z1haze> the cores*
[16:40] <z1haze> oh alright
[16:40] <z1haze> 12:40:38 up 5 days, 15:13,  1 user,  load average: 5.16, 6.12, 5.97
[16:40] <lordievader> z1haze: Read the link I gave you ;)
[16:41] <z1haze> Patrickdk I think its 6 cores
[16:41] <lordievader> Ah the cpucores, sorry misunderstood: cat /proc/cpuinfo|grep processor|tail -n1
[16:41] <z1haze> says 5
[16:41] <Patrickdk> well, maxed out, but not overloaded
[16:41] <z1haze> but it starts at 0
[16:42] <z1haze> but that shouldnt be the case ever right?
[16:42] <Patrickdk> what shouldn't be the case?
[16:42] <Patrickdk> loadavg is how many programs are running
[16:42] <z1haze> my loadbeing maxxed out
[16:42] <Patrickdk> over the last 5 min, you had 5.16 programs running constantly
[16:42] <Patrickdk> so 5.16 cores of you cpu where in use
[16:42] <Patrickdk> that isn't overloaded
[16:42] <Patrickdk> but it is almost loaded
[16:43] <Patrickdk> the issue with loadavg is it doesn't take into account how many cpu's you have
[16:43] <Patrickdk> so if you where on a single cpu system
[16:43] <Patrickdk> it would be like you had a load of 0.8
[16:43] <z1haze> so this load isnt something to worry about?
[16:43] <Patrickdk> that depends
[16:44] <Patrickdk> in general, it's not bad, assuming it is really suppost to be that busy :)
[16:44] <Patrickdk> but it's not, overloaded
[16:44] <lordievader> z1haze: A load of 5 on a single core is a problem. A load of 5 on a 6 core machine, no problem.
[16:44] <Patrickdk> as long as whatever was running, is ligit
[16:44] <Patrickdk> and working properly
[16:45] <z1haze> thats what i wish i knew, crap
[16:45] <z1haze> im by far not a system admin of any sorts i dont know really anything about it
[16:45] <z1haze> I just lease this machine
[16:46] <lordievader> Read the link I gave you, z1haze. ;)
[16:46] <z1haze> oh i have been, but its foreign language looking to me lol
[16:47] <z1haze> i have 16gb free of RAM and tons of hd space left
[16:51] <z1haze> anyone have tim to help me track this down on this fine 4th of july?
[16:53] <TJ-> z1haze: run something like 'top' or 'htop' to see the load individual processes are causing
[16:54] <z1haze> yea i have those i was just looking at it, im looking at the %CPU?
[16:58] <z1haze> i have like multiplace things that show the same thing twice? can i close some without hurting my programs? http://puu.sh/9WH6c/4367181fe1.png
[16:58] <bluephoenix71> Hi all, could anyone assist on my query regarding ubuntu 14.04 LTS on VMware, Vmware running on mac osx maverick
[16:59] <bluephoenix71> my question is regarding running free radius and daloradius in ubuntu server 14.04
[17:00] <bluephoenix71> I have followed this guide https://help.ubuntu.com/community/CategoryNetworking/daloRADIUS
[17:00] <Patrickdk> exactly how to you run a company on mac osx?
[17:00] <bluephoenix71> I am doing this on a virtual environment first before I deploy it live.
[17:02] <bluephoenix71> during the installation process, I was able to follow the instructions up to the end except when accessing the daloradius via my mac safari browser
[17:02] <bluephoenix71> the page is not found...
[17:11] <z1haze> does anyone know if the java -server argument is necessary in java 8?
[17:11] <Patrickdk> dunno
[17:12] <Patrickdk> but java is never *necessary* :)
[17:12] <z1haze> ?
[17:12]  * Patrickdk hates all things java
[17:12] <z1haze> ah
[17:12] <z1haze> well my game servers eat a LOT of java
[17:13] <lordievader> From what I've heard Minecraft is horrible in resource management.
[17:13] <z1haze> its terrible, im pretty sure
[17:14] <z1haze> can 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 understand
[17:14] <lordievader> Multiple threads, most likely.
[17:14] <Patrickdk> heh
[17:14] <Patrickdk> the game servers probably dont
[17:14] <Patrickdk> but anything java eats a lot of cpu :)
[17:14] <Patrickdk> why I dislike it
[17:15] <z1haze> and RAM
[17:16] <Patrickdk> rarely have the ram issue, but ya
[17:16] <z1haze> well minecraft uses a ton of RAM
[17:16] <z1haze> my modded servers take at minimum 8gb
[17:17] <z1haze> i wish i knew how to 'optimize' a system
[17:18] <lordievader> Step one, remove all java :P
[17:18] <z1haze> yea, well optimize and KEEP my games lol
[17:22] <bluephoenix71> hi, anyone who has encountered same problems in installing freeradius and daloradius in ubuntu14.04 LTS?
[17:22] <bluephoenix71> is this the right channel if not can someone point me to the right one?
[17:31] <Patrickdk> it's an ok channel, but too rare a program for someone to likely know
[17:50] <imarcusthis> Trying 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:51] <imarcusthis> I can run dhclient directly on the bridge, and it will get an IP.
[17:55] <imarcusthis> never mind, it just suddenly worked this time. Not sure wtf I did wrong the first time.
[21:33] <bluephoenix71> hi
[21:34] <bluephoenix71> anyone encountered this issue when installing freeradius and daloradius in ubuntu 14.04 LTS? Using this link as guide https://help.ubuntu.com/community/CategoryNetworking/daloRADIUS
[21:37] <bluephoenix71> issue is that when you http to the server, it's saying
[21:37] <bluephoenix71> The requested URL /daloradius.php was not found on this server.  Apache/2.4.7 (Ubuntu) Server at 192.168.2.130 Port 80
[22:35] <bluephoenix> any takers on the issue of daloradius?