[00:59] Hi. Rubbing Ubuntu Server 14.04.2 LTS after most-recent updates cannot get past "configuring network interfaces" upon reboot [00:59] *Running === markthomas is now known as markthomas|away [01:07] bitcoinassassin: try selecting a different kernel from the grub boot menu? [01:08] sarnold: thanks. I did that. same result. [01:08] sarnold: it actually hangs on 'starting network configuration' [01:09] is there some way to boot past this and then edit the network configuration file? [01:10] it isn't hanging there [01:10] that is just the last thing it prints [01:10] 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] 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] bitcoinassassin: this isn't too far off of it: https://help.ubuntu.com/community/LostPassword [01:16] "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] sigh [01:17] 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] ok thanks .......I'll check that out [01:25] ahhh well...... to no avail....... I'm wasting so much time it's quicker to just reinstall the server os..... thanks anyway [02:31] 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] holms: does /var/www/shrinktheapp/bin/celery daemonize automatically? [02:34] holms: maybe add some -z ${CELERYD_PID_FILE} kind of checks, for all the variables needed, after sourcing the configs? [02:37] hmz [02:38] it does daemonize automatically [02:38] holms: is pre-start the best place to put it? [02:38] that's just example i've found [02:39] what's your recommendation :)? [02:39] 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] what's -z ? [02:40] it checks that there's contents in the variable.. [02:41] ah, that's -n, -z checks that it's empty: http://tldp.org/LDP/abs/html/refcards.html [02:41] CELERYD_PID_FILE="/var/www/shrinktheapp/project/run/%N.celery.pid" [02:41] would be vice, just not the case probably [02:42] is ther's posibility that it's celery-multi not realeasing tty? [02:42] holms: re: starting the daemon, I'd expect this to be the better config directive: http://upstart.ubuntu.com/cookbook/#exec [02:42] holms: and the expect directive to tell it how many times it'll fork().... [02:42] okay will do [02:43] reload configuration, still the same =/ [02:46] lol after executing command manually [02:46] it closed ssh connection what the hell :D [02:48] holms: !! [02:48] holms: wow :) [04:12] anyone good in upstart in here? [04:13] got things moving but still stuck.. it's just freezed when service celery start being done [04:13] http://paste.ubuntu.com/11977693/ [04:41] in 15.04 there's no python 2.7? [04:41] at least in digital ocean [04:44] Um, sure there is. [04:45] python2.7 ok i've installed it /usr/bin/python is not found [04:45] http://packages.ubuntu.com/vivid/python [04:45] linking manually? ouch [04:45] ansible doesn't work out of the box [04:46] 2.7 is even still the default in 15.04, so I have no idea what you're talking about. [04:54] hello everyone [04:56] in 15.04 default is python3 [04:56] /bin/sh: 1: /usr/bin/python: not found [04:58] fresh system from digital ocean image [05:01] 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] eredwood: what error did you get when you tried to mount it? [05:07] sarnold let me check the log file [05:08] so where did /usr/bin/python gone from 15.04? [05:10] holms: you ought to be able to install python 2 with apt-get install python2.7 [05:10] yeah [05:10] /usr/bin/python still absent [05:13] root@celery-test:~# ls /usr/bin/python* [05:13] /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] holms: Just checked myself, and the default in 15.04 is most definitely 2.7.9, not 3. [05:17] well then digital ocean image is broken? [05:17] Or you broke it. [05:17] i didn't do anything [05:17] restored image from scratch [05:17] only python3 presents [05:17] heh, my minimal building schroots don't have any /usr/bin/python symlinks either. go figure. [05:18] if anyone would check AWS im pretty sure it will be the same [05:18] my 14.04 lts does have symlinks, both python and python2 are symlinked to python2.7 [05:18] it's about 15.04 [05:18] 14.04 works fine for me [05:19] 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] 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] or so that I can log in [05:22] eredwood: '1 2' are odd choices for the dump and fsck fields; try setting those to '0 0' instead. [05:22] ok cool [05:23] eredwood: oh and change 'defaults' to 'defaults,noauto' [05:23] cool [05:27] That what I love about Linux thank you and every one that I get the chance to work with [05:30] eredwood: woot :) [05:55] 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] how the crap can i filter the syslog and many other important logs in /var/log ? [06:00] to take out all the regular traffic. like instead of output where it counts the times the 'incident' happened [06:00] in the freebsd fw logs you can adjust them so that they count instead of it over and over [06:02] *adjust the logs so each incident is counted not repeated-line-for-line* [06:04] skrp: investigate logwatch [06:04] 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] to use the cdrom [06:04] sarnold, nothing native to ubuntu? i stay more pure closer to the core [06:05] eredwood: I'd go with "defaults,noauto" -- I'm pretty sure that works.. [06:05] skrp: heh, welcome to linux :( [06:05] sarnold, haha. thanks. proud to be here... actually im thinking of going to PCBSD [06:05] skrp: in my experience, none of the linux distributions feel quite as 'smooth' or polished as the BSDs. [06:05] linux soo messy [06:06] 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] sarnold, you are a wise one [06:07] 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] sarnold, so why do you use ubuntu? i would like to know why you pick it of all distros [06:09] 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] skrp: I liked it well enough to join canonical's security team and help out :) hehe [06:09] 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] skrp: .. but part of me will always miss the nice polished feel from our bsd friends. [06:10] sarnold, daemon for life. i just use ubuntu cause im addicted to gaming [06:10] hehe [06:10] sarnold, you gonna make it to DefCon? [06:10] skrp: not this year [06:10] 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] im not to far from it so i'm carpoolin [06:10] nice :) [06:11] ctf so you are one of hose guys [06:11] purely defensive. I'm useless for exploits :( [06:11] *thank gawd im behind a bouncer* [06:12] sarnold, why did you say that "but ubuntu switched to using security-hardening throughout the distribution extensively by default: safer compiler opt" [06:12] sarnold, why did you say that like it is a bad thing [06:13] skrp: hah, sorry to give that impression -- that was the feature that caused me to move _to_ ubuntu :) [06:13] sarnold, ahhh. i pm lattera who is developing hardenedbsd. which takes it to the max [06:13] sarnold, but the memstick img won't work :) [06:18] 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] aww :( [06:18] my own fault... i wasn't watching logs. i partied all that weekend [06:19] sarnold, you sniff anything out. i don't even have ports forwarded to my ubuntu. how could it have happened... [06:21] 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] sarnold, logs were scrubbed and the server time was hacked. like system time was the vector, as that is popular [06:22] sarnold, do do torrenting, wget -m, and various other things too [06:23] 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] 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] sarnold, you got to slum in the slums sometime. live fast. die young. [06:28] hahaha :) [06:28] i wild card torrents so its even worse :) [06:29] movie file 190* - 198* #every movie torrent from years 1900-1989 [06:29] sarnold, i don't find porn from 1906 very appealing but you get what you get with castin a net [06:30] show more ankle! [06:30] they were pretty ugly back then. i'd rather fk a sheep. [06:31] Brigham Young. Poligamist of 25+ wives, and they were all ugly as sin [07:02] sarnold how long have you been working with Linux. [07:02] eredwood: about 21 years [07:03] cool [07:03] are you a sys admin [07:03] eredwood: no; just my own systems.. [07:04] The reason cool [07:04] cool [07:06] sarnold when I grow up I want to be like you LOL [07:06] bed time :) have fun guys [07:06] hahaha [07:07] when I grow up I want to be a puppy dog [07:07] Have a good night [07:07] nn :) === denbeiren is now known as zz_denbeiren [07:48] Good night eveyone [07:48] Good night everyone [07:49] Thanks again [07:51] this a test [07:59] Good morning. === zz_denbeiren is now known as denbeiren === denbeiren is now known as zz_denbeiren [08:51] 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] Hey all. I'm trying to setup CIFS mounts [08:57] problem is it keeps telling me Permission denied... [08:57] but no clue where that is. [08:57] cluelessperson: Permission denied on what? Logging in? [08:58] lordievader, I do mount -v music and it tells me Error 13 [08:58] Can you browse to your share and look at the contents? [08:59] lordievader, yes. [08:59] Do you need credentials for that? [08:59] lordievader, yes. However, on my laptop, I first logged in as my user, and now I can't try another user [09:00] 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] cluelessperson: http://ubuntuforums.org/showthread.php?t=1871142&s=db1f510747d9360ff5891e964fc631b5&p=11403163#post11403163 [09:07] sec=ntlmv2 gives me invalid arguement === zz_denbeiren is now known as denbeiren === JanC_ is now known as JanC === denbeiren is now known as zz_denbeiren === zz_denbeiren is now known as denbeiren === denbeiren is now known as zz_denbeiren [13:27] 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] Have you checked if the drives contain bad sectors? [13:35] i am currently, [13:35] i have not checked it before since it was new [13:36] i loaded it one by one on my windows computer and run hdtune. [13:37] Waddup: Could you pastebin the output of smartctl -a off all four drives? [13:37] 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] hold on [13:37] letme download smartmon first i dont have it yet [13:38] 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] lordievader : here you go http://pastebin.com/tACvatMD [13:45] There is one disk with a raw_read_error_rate of 52, the rest is fine. No bad sectors. [13:46] so what should i do with that one? [13:46] See if it increases or not. [13:46] What kind of raid are you running? [13:46] raid 0+1 [13:48] Waddup: How is it set up, hardware? Software? [13:48] software [13:49] i have it on an i7 4600k machine with 32gb of ram [13:49] and a sabertooth z97 board [13:51] what do i do to see if the 52 in raw read error increase? just check smartctl again? [13:52] Waddup: Yes, or run the smartd to check it for you. [13:52] Waddup: mdraid, lvm raid? [13:53] mdraid i think [13:53] i just used webmin to put it to raid [13:53] 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] anyway in anycase if it increases or not both means i need to replace it right? [13:54] !webmin [13:54] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [13:54] Fyi ^ [13:55] i see. [13:55] 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] so i should uninstall it [13:56] smartd /dev/sde [13:56] is this correct? [13:56] Yes, it is better to properly administer your server through ssh than webmin. [13:56] Waddup: https://help.ubuntu.com/community/Smartmontools#Advanced:_Running_as_Smartmontools_as_a_Daemon [13:56] The config file explains a lot. [13:57] thankyou ill go take a read [13:57] thank you [13:58] 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] is there anything like it that still works great with ubuntu? [13:59] A web based control panel? No idea, I rather dislike those things. [14:00] ahh cool with me bothways. thanks [14:01] oh one more thing, if the file corruption still continues, whatelse could still be done to check which is at fault? [14:03] Then you want to figure out if it is a block level or at filesystem level. [14:03] i tried checking the os drive too, could this also be a cause in file corruption ? http://pastebin.com/iBJz7cuh [14:04] Unlikely. [14:05] i see, well i guess ill jsut have to try and buy another 3tb and replace the faulty drive [14:05] thankyou [14:06] I'd say that would be too much of a rush job. [14:06] If it is at file system or raid level buying a new drive wouldn't solve anything. [14:06] First investigate the problem. [14:09] i see [14:09] ill try to read about how to check if the filesystem or raid level is at fault [14:11] thanks lordievader [14:12] Sure, no problem === zz_denbeiren is now known as denbeiren === denbeiren is now known as zz_denbeiren [18:28] guys what is setgid www-data ? [18:56] j3r0: https://en.wikipedia.org/wiki/Setuid It sets the group to www-data (Apache usergroup). [19:10] j3r0: setuid www-data sounds like wrong approach. [19:10] j3r0: What are you actually trying to do? [19:20] 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] would the diversity avilable of having a ubuntu box be valuable in a way im not seeing/ === zz_denbeiren is now known as denbeiren === Guest45385 is now known as hxm [21:24] bekks I am trying to set up django with gunicorn [21:25] 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] j3r0: Depends on how you installed your software. [21:32] from what I rember I always used sudo command. I don't now if that matters though [21:33] And how did you install which software? [21:39] 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] almost 90% of the installations were made with sudo apt-get install [21:46] that should be fine