[00:59] <bitcoinassassin> Hi. Rubbing Ubuntu Server 14.04.2 LTS after most-recent updates cannot get past "configuring network interfaces" upon reboot
[00:59] <bitcoinassassin> *Running
[01:07] <sarnold> bitcoinassassin: try selecting a different kernel from the grub boot menu?
[01:08] <bitcoinassassin> sarnold: thanks. I did that. same result.
[01:08] <bitcoinassassin> sarnold: it actually hangs on 'starting network configuration'
[01:09] <bitcoinassassin> is there some way to boot past this and then edit the network configuration file?
[01:10] <patdk-lap> it isn't hanging there
[01:10] <patdk-lap> that is just the last thing it prints
[01:10] <sarnold> bitcoinassassin: you may have success if you add "single" to the kernel command line to tr booting in single-user mode; if that doesn't work, you can boot with init=/bin/bash  which ought to do the trick -- just don't forget the sync, remount read-only ..
[01:12] <bitcoinassassin> sarnold: thanks.... but.... that's over my head; do you have a link to a post that tells how to do what you suggest?
[01:15] <sarnold> bitcoinassassin: this isn't too far off of it: https://help.ubuntu.com/community/LostPassword
[01:16] <sarnold> "The Other Way" -- just before "reboot" I'd add in "sync ; remount -o ro /" -- the remount might not actually work, but it's worth trying first :) heh
[01:17] <sarnold> sigh
[01:17] <sarnold> not remount -o ro / --- mount -o remount,ro /   --- I knew that felt wrong even as I typed it and thought it was just the keyboard I'm using.
[01:18] <bitcoinassassin> ok thanks .......I'll check that out
[01:25] <bitcoinassassin> ahhh well...... to no avail....... I'm wasting so much time it's quicker to just reinstall the server os..... thanks anyway
[02:31] <holms> hi, i've got upstart init script stuck in here.. probably not releasing tty..  http://paste.ubuntu.com/11977248/ can please someone take a look :)?
[02:34] <sarnold> holms: does /var/www/shrinktheapp/bin/celery daemonize automatically?
[02:34] <sarnold> holms: maybe add some -z ${CELERYD_PID_FILE} kind of checks, for all the variables needed, after sourcing the configs?
[02:37] <holms> hmz
[02:38] <holms> it does daemonize automatically
[02:38] <sarnold> holms: is pre-start the best place to put it?
[02:38] <holms> that's just example i've found
[02:39] <holms> what's your recommendation :)?
[02:39] <sarnold> holms: perhaps you could try < /dev/null > /dev/null 2>/dev/null to try disassociating the fds the script has... (that's a WAG)
[02:40] <holms> what's -z ?
[02:40] <sarnold> it checks that there's contents in the variable..
[02:41] <sarnold> ah, that's -n, -z checks that it's empty: http://tldp.org/LDP/abs/html/refcards.html
[02:41] <holms> CELERYD_PID_FILE="/var/www/shrinktheapp/project/run/%N.celery.pid"
[02:41] <holms> would be vice, just not the case probably
[02:42] <holms> is ther's posibility that it's celery-multi not realeasing tty?
[02:42] <sarnold> holms: re: starting the daemon, I'd expect this to be the better config directive: http://upstart.ubuntu.com/cookbook/#exec
[02:42] <sarnold> holms: and the expect directive to tell it how many times it'll fork()....
[02:42] <holms> okay will do
[02:43] <holms> reload configuration, still the same =/
[02:46] <holms> lol after executing command manually
[02:46] <holms> it closed ssh connection what the hell :D
[02:48] <sarnold> holms: !!
[02:48] <sarnold> holms: wow :)
[04:12] <holms> anyone good in upstart in here?
[04:13] <holms> got things moving but still stuck.. it's just freezed when service celery start being done
[04:13] <holms>  http://paste.ubuntu.com/11977693/
[04:41] <holms> in 15.04 there's no python 2.7?
[04:41] <holms> at least in digital ocean
[04:44] <tonyyarusso> Um, sure there is.
[04:45] <holms> python2.7 ok i've installed it /usr/bin/python is not found
[04:45] <tonyyarusso> http://packages.ubuntu.com/vivid/python
[04:45] <holms> linking manually? ouch
[04:45] <holms> ansible doesn't work out of the box
[04:46] <tonyyarusso> 2.7 is even still the default in 15.04, so I have no idea what you're talking about.
[04:54] <eredwood> hello everyone
[04:56] <holms> in 15.04 default is python3
[04:56] <holms> /bin/sh: 1: /usr/bin/python: not found
[04:58] <holms> fresh system from digital ocean image
[05:01] <eredwood> I have a Ubuntu file server and on that server I have a working DVD RW. I would like to use it form any computer in my house I am using samba as my file server. I tried to mount it using fstab but it not wokring  any ideal on what I should do to make it work?
[05:05] <sarnold> eredwood: what error did you get when you tried to mount it?
[05:07] <eredwood> sarnold let me check the log file
[05:08] <holms> so where did /usr/bin/python gone from 15.04?
[05:10] <sarnold> holms: you ought to be able to install python 2 with apt-get install python2.7
[05:10] <holms> yeah
[05:10] <holms>  /usr/bin/python still absent
[05:13] <holms> root@celery-test:~# ls /usr/bin/python*
[05:13] <holms> /usr/bin/python2.7  /usr/bin/python3  /usr/bin/python3.4  /usr/bin/python3.4m  /usr/bin/python3-jsondiff  /usr/bin/python3-jsonpatch  /usr/bin/python3my
[05:17] <tonyyarusso> holms: Just checked myself, and the default in 15.04 is most definitely 2.7.9, not 3.
[05:17] <holms> well then digital ocean image is broken?
[05:17] <tonyyarusso> Or you broke it.
[05:17] <holms> i didn't do anything
[05:17] <holms> restored image from scratch
[05:17] <holms> only python3 presents
[05:17] <sarnold> heh, my minimal building schroots don't have any /usr/bin/python symlinks either. go figure.
[05:18] <holms> if anyone would check AWS im pretty sure it will be the same
[05:18] <sarnold> my 14.04 lts does have symlinks, both python and python2 are symlinked to python2.7
[05:18] <holms> it's about 15.04
[05:18] <holms> 14.04 works fine for me
[05:19] <eredwood> sarnold I cant tell you the error but this is the way I have it set up in the /etc/fstab : #/dev/sr0/   /media/cdrom         defaults   1        2
[05:21] <eredwood> what I do know is that the server come to a stop and I have to hit S to move it to the next level
[05:21] <eredwood> or so that I can log in
[05:22] <sarnold> eredwood: '1 2' are odd choices for the dump and fsck fields; try setting those to '0 0' instead.
[05:22] <eredwood> ok cool
[05:23] <sarnold> eredwood: oh and change 'defaults' to 'defaults,noauto'
[05:23] <eredwood> cool
[05:27] <eredwood> That what I love about Linux thank you and every one that I get the chance to work with
[05:30] <sarnold> eredwood: woot :)
[05:55] <holms> how to start a service on boot other then upstart (it freezes with celery-multi, offial bug), other than systemd (because ansible doesn't work with 15.04), otther then supervisord (because i can't find how to specify start/stop commands manually)
[05:58] <skrp> how the crap can i filter the syslog and many other important logs in /var/log ?
[06:00] <skrp> to take out all the regular traffic. like instead of output where it counts the times the 'incident' happened
[06:00] <skrp> in the freebsd fw logs you can adjust them so that they count instead of it over and over
[06:02] <skrp> *adjust the logs so each incident is counted not repeated-line-for-line*
[06:04] <sarnold> skrp: investigate logwatch
[06:04] <eredwood> sarnold in the fstab file was I to use deaults and noauto  together with the coma or was I to use just noauto?
[06:04] <eredwood> to use the cdrom
[06:04] <skrp> sarnold, nothing native to ubuntu? i stay more pure closer to the core
[06:05] <sarnold> eredwood: I'd go with "defaults,noauto" -- I'm pretty sure that works..
[06:05] <sarnold> skrp: heh, welcome to linux :(
[06:05] <skrp> sarnold, haha. thanks. proud to be here... actually im thinking of going to PCBSD
[06:05] <sarnold> skrp: in my experience, none of the linux distributions feel quite as 'smooth' or polished as the BSDs.
[06:05] <skrp> linux soo messy
[06:06] <sarnold> skrp: .. but the flip side is, the debian/ubuntu archives are _huge_, have a lot more packaged than are available in ports or pkgsrc etc...
[06:07] <skrp> sarnold, you are a wise one
[06:07] <sarnold> skrp: of course, pf is (imho) way nicer to configure than iptables, but I think iptables will scale far far further on much larger hardware, if that's your thing... always tradeoffs.
[06:07] <skrp> sarnold, so why do you use ubuntu? i would like to know why you pick it of all distros
[06:09] <sarnold> skrp: I was pretty happy with debian, but ubuntu switched to using security-hardening throughout the distribution extensively by default: safer compiler options, ASLR in the kernel, integrated apparmor support, and dedicated security team to do security updates
[06:09] <sarnold> skrp: I liked it well enough to join canonical's security team and help out :) hehe
[06:09] <skrp> i been on ubuntu. it has been a kind learning curve. but now it is a compromise on my system because its "less polished" its a mess
[06:09] <sarnold> skrp: .. but part of me will always miss the nice polished feel from our bsd friends.
[06:10] <skrp> sarnold, daemon for life. i just use ubuntu cause im addicted to gaming
[06:10] <sarnold> hehe
[06:10] <skrp> sarnold, you gonna make it to DefCon?
[06:10] <sarnold> skrp: not this year
[06:10] <sarnold> skrp: I've only been a few times, and it was for capture-the-flag contests each time, so I've never actually _seen_ most of defcon..
[06:10] <skrp> im not to far from it so i'm carpoolin
[06:10] <sarnold> nice :)
[06:11] <skrp> ctf so you are one of hose guys
[06:11] <sarnold> purely defensive. I'm useless for exploits :(
[06:11] <skrp> *thank gawd im behind a bouncer*
[06:12] <skrp> sarnold, why did you say that "but ubuntu switched to using security-hardening throughout the distribution extensively by default: safer compiler opt"
[06:12] <skrp> sarnold, why did you say that like it is a bad thing
[06:13] <sarnold> skrp: hah, sorry to give that impression -- that was the feature that caused me to move _to_ ubuntu :)
[06:13] <skrp> sarnold, ahhh. i pm lattera who is developing hardenedbsd. which takes it to the max
[06:13] <skrp> sarnold, but the memstick img won't work :)
[06:18] <skrp> sarnold, i came to the server last week. vlc was running at 99% cpu. my pfsense box was rooted. and my lxde hacked to shit on my ubuntu
[06:18] <sarnold> aww :(
[06:18] <skrp> my own fault... i wasn't watching logs. i partied all that weekend
[06:19] <skrp> sarnold, you sniff anything out. i don't even have ports forwarded to my ubuntu. how could it have happened...
[06:21] <sarnold> skrp: I've gotten the impression that most hacked systems are (a) brute-force sshd password guessing (b) webbased control panels (c) wordpress plugins, etc...
[06:22] <skrp> sarnold, logs were scrubbed and the server time was hacked. like system time was the vector, as that is popular
[06:22] <skrp> sarnold, do do torrenting, wget -m, and various other things too
[06:23] <sarnold> this is the only CVE that we know is open against ntp: http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-5146.html
[06:24] <sarnold> skrp: torrent software can be pretty variable.. you might want to use an apparmor profile around your torrent client, I really don't trust those..
[06:27] <skrp> sarnold, you got to slum in the slums sometime. live fast. die young.
[06:28] <sarnold> hahaha :)
[06:28] <skrp> i wild card torrents so its even worse :)
[06:29] <skrp> movie file 190* - 198* #every movie torrent from years 1900-1989
[06:29] <skrp> sarnold, i don't find porn from 1906 very appealing but you get what you get with castin a net
[06:30] <sarnold> show more ankle!
[06:30] <skrp> they were pretty ugly back then. i'd rather fk a sheep.
[06:31] <skrp> Brigham Young. Poligamist of 25+ wives, and they were all ugly as sin
[07:02] <eredwood> sarnold how long have you been working with Linux.
[07:02] <sarnold> eredwood: about 21 years
[07:03] <eredwood> cool
[07:03] <eredwood> are you a sys admin
[07:03] <sarnold> eredwood: no; just my own systems..
[07:04] <eredwood> The reason cool
[07:04] <eredwood> cool
[07:06] <eredwood> sarnold when I grow up I want to be like you LOL
[07:06] <sarnold> bed time :) have fun guys
[07:06] <sarnold> hahaha
[07:07] <sarnold> when I grow up I want to be a puppy dog
[07:07] <eredwood> Have a good night
[07:07] <sarnold> nn :)
[07:48] <eredwood> Good night eveyone
[07:48] <eredwood> Good night everyone
[07:49] <eredwood> Thanks again
[07:51] <eredwood> this a test
[07:59] <lordievader> Good morning.
[08:51] <kklimonda> any best practices on "quarantining" new packages until they've been tested on a subset of all servers, before doing more widespread upgrade?
[08:57] <cluelessperson> Hey all.  I'm trying to setup CIFS mounts
[08:57] <cluelessperson> problem is it keeps telling me Permission denied...
[08:57] <cluelessperson> but no clue where that is.
[08:57] <lordievader> cluelessperson: Permission denied on what? Logging in?
[08:58] <cluelessperson> lordievader,  I do   mount -v music and it tells me Error 13
[08:58] <lordievader> Can you browse to your share and look at the contents?
[08:59] <cluelessperson> lordievader, yes.
[08:59] <lordievader> Do you need credentials for that?
[08:59] <cluelessperson> lordievader, yes.  However, on my laptop, I first logged in as my user, and now I can't try another user
[09:00] <cluelessperson> lordievader, However, I tried messing with the permissions for that active user.  They're the same for the user I'm trying "mediashare"
[09:00] <lordievader> cluelessperson: http://ubuntuforums.org/showthread.php?t=1871142&s=db1f510747d9360ff5891e964fc631b5&p=11403163#post11403163
[09:07] <cluelessperson> sec=ntlmv2 gives me invalid arguement
[13:27] <Waddup> hi guys just wanna ask, i have an ubuntu server 14.04 with 4 3TB WD Red setup in raid 0+1 and separated 1tb Regular for OS Drive. now everytime i save from it after i close the file i save it becomes corrupted. is it because probably my drives have bad sector or because there is somethign wrong with my setup?
[13:34] <lordievader> Have you checked if the drives contain bad sectors?
[13:35] <Waddup> i am currently,
[13:35] <Waddup> i have not checked it before since it was new
[13:36] <Waddup> i loaded it one by one on my windows computer and run hdtune.
[13:37] <lordievader> Waddup: Could you pastebin the output of smartctl -a off all four drives?
[13:37] <Waddup> this is my first project in linux and i dont really know if there is a way to chec badsectors like hdtune does on pc in linux
[13:37] <Waddup> hold on
[13:37] <Waddup> letme download smartmon first i dont have it yet
[13:38] <Waddup> i was wondering because it was doing ok at first had 300gb worth of files in it already and just a few weeks later it started corrupting my files one by one
[13:41] <Waddup> lordievader : here you go http://pastebin.com/tACvatMD
[13:45] <lordievader> There is one disk with a raw_read_error_rate of 52, the rest is fine. No bad sectors.
[13:46] <Waddup> so what should i do with that one?
[13:46] <lordievader> See if it increases or not.
[13:46] <lordievader> What kind of raid are you running?
[13:46] <Waddup>  raid 0+1
[13:48] <lordievader> Waddup: How is it set up, hardware? Software?
[13:48] <Waddup> software
[13:49] <Waddup> i have it on an i7 4600k machine with 32gb of ram
[13:49] <Waddup> and a sabertooth z97 board
[13:51] <Waddup> what do i do to see if the 52 in raw read error increase? just check smartctl again?
[13:52] <lordievader> Waddup: Yes, or run the smartd to check it for you.
[13:52] <lordievader> Waddup: mdraid, lvm raid?
[13:53] <Waddup> mdraid i think
[13:53] <Waddup> i just used webmin to put it to raid
[13:53] <Waddup> sorry im really new to linux and have no idea what i am doing. i just followed a few instructions on the net
[13:54] <Waddup> anyway in anycase if it increases or not both means i need to replace it right?
[13:54] <lordievader> !webmin
[13:54] <lordievader> Fyi ^
[13:55] <Waddup> i see.
[13:55] <lordievader> Waddup: Not necessarily, it might just be a bad sata cable or something. Anyhow with a raid 01 you should see any effect of it, in theory.
[13:55] <Waddup> so i should uninstall it
[13:56] <Waddup> smartd /dev/sde
[13:56] <Waddup> is this correct?
[13:56] <lordievader> Yes, it is better to properly administer your server through ssh than webmin.
[13:56] <lordievader> Waddup: https://help.ubuntu.com/community/Smartmontools#Advanced:_Running_as_Smartmontools_as_a_Daemon
[13:56] <lordievader> The config file explains a lot.
[13:57] <Waddup> thankyou ill go take a read
[13:57] <Waddup> thank you
[13:58] <Waddup> anyway just in case i wanted something like a webmin, for lets say i need someone less inexperienced than me to take care of it while im away
[13:58] <Waddup> is there anything like it that still works great with ubuntu?
[13:59] <lordievader> A web based control panel? No idea, I rather dislike those things.
[14:00] <Waddup> ahh cool with me bothways. thanks
[14:01] <Waddup> oh one more thing, if the file corruption still continues, whatelse could still be done to check which is at fault?
[14:03] <lordievader> Then you want to figure out if it is a block level or at filesystem level.
[14:03] <Waddup> i tried checking the os drive too, could this also be a cause in file corruption ? http://pastebin.com/iBJz7cuh
[14:04] <lordievader> Unlikely.
[14:05] <Waddup> i see, well i guess ill jsut have to try and buy another 3tb and replace the faulty drive
[14:05] <Waddup> thankyou
[14:06] <lordievader> I'd say that would be too much of a rush job.
[14:06] <lordievader> If it is at file system or raid level buying a new drive wouldn't solve anything.
[14:06] <lordievader> First investigate the problem.
[14:09] <Waddup> i see
[14:09] <Waddup> ill try to read about how to check if the filesystem or raid level is at fault
[14:11] <Waddup> thanks lordievader
[14:12] <lordievader> Sure, no problem
[18:28] <j3r0> guys what is setgid www-data ?
[18:56] <lordievader> j3r0: https://en.wikipedia.org/wiki/Setuid It sets the group to www-data (Apache usergroup).
[19:10] <bekks> j3r0: setuid www-data sounds like wrong approach.
[19:10] <bekks> j3r0: What are you actually trying to do?
[19:20] <skrp> i have a 1 ubuntu and 5 bsd on my rack. i use the ubuntu as a gui client. im thinking of switching to pcbsd
[19:20] <skrp> would the diversity avilable of having a ubuntu box be valuable in a way im not seeing/
[21:24] <j3r0> bekks I am trying to set up django with gunicorn
[21:25] <j3r0> Guys if I have some apps install as root user. If I create a normal user, will the user will access to apps ?
[21:30] <bekks> j3r0: Depends on how you installed your software.
[21:32] <j3r0> from what I rember I always used sudo command. I don't now if that matters though
[21:33] <bekks> And how did you install which software?
[21:39] <genii> If they installed to the normal places which are in their normal PATH like /bin /sbin /usr/bin /usr/sbin   then the normal user will be able to find them, but if those applications require root or sudo to run, then the user will need to be added to sudoers
[21:45] <j3r0> almost 90% of the installations were made with sudo apt-get install
[21:46] <JanC> that should be fine