[00:00] hey all i am needing some major help [00:02] I have a Server running Ubuntu Server 14.04, I have my Internet coming in on port em1 with a static IP, I want to Give Inet access to all my hardware on my switch that is connected to my server via em2 and i had it working but now after trying to install a dhcp server for all non static ip hardware i have lost internet access for my hardware on my switch [00:07] gjpminingco: check your IPs on your interfaces, routing tables, iptables rules, and ip_forwarding sysctl.. [00:13] is there anyway i can keep my system from loosing it's Static IP every time i restart [00:14] gjpminingco: set the ip in /etc/network/interfaces ? [00:16] thanks [00:24] anyone any good at setting up ICS on ubuntu server and Also setting up DHCPD to run also [00:25] ICS? [00:29] Internet Connection Sharing === thumper is now known as thumper-afk [00:58] gjpminingco: ah. you probably want to research iptables snat -- the nicest description of snat and dnat I've seen so far is here: http://www.linuxquestions.org/questions/linux-security-4/iptables-dnat-snat-and-masquerading-264649/#post1341452 -- but perhaps there are better guides :) [00:59] gjpminingco: I'm lazy enough I'd probably try shorewall frontend first :) [01:04] :) [01:04] sarnold, it's required, when you have like 20+ vlans, and vpn's and other crap all going on in the same box [01:04] way too much to do by hand [01:05] Patrickdk: that's encouraging :) nice to hear there' ssomething that does a tolerable job with complex setups :) [01:06] ya, my first attempt at it was nice :) [01:06] a xen machine, like 5 different internal bridges, two external nics, and 6 vpn's [01:06] different vpn's where allowed different access to the internal bridges/xen clients [01:07] could be done by hand sure, but the mount of time for a simple change would have been painful [02:00] hi what process creates /etc/network/interface file ? thx === thumper-afk is now known as thumper [02:01] zartoosh: vi [02:02] RoyK, no what I mean is, this file originally get populated with network interfaces , what process does this? thx [02:03] zartoosh: it's pre-built by the installer [02:16] RoyK, okay I tried to modify its content through preseeding it failed... thanks === ikonia is now known as Guest70019 === ToAruShiroiNeko is now known as Guest76488 === kermit is now known as Guest96695 === neunon is now known as Guest28427 === msx is now known as Guest82103 === Guest82103 is now known as msx [02:53] DaD Lo all.. Any sysops maintaining Ubuntu 14.04LTS AMP stack servers? [03:12] hi [03:13] A Brazilian? === Ursinha is now known as Ursinha-afk [03:13] slompo: there is #ubuntu-br [03:14] Guys... I need some help [03:14] thanks sarnold [03:14] slompo: you're welcome, have fun :) [03:15] have people from all over the world here? [03:20] you think it worth being set up a small host to host small websites and email accounts of small businesses? Or would it be better to leave it on account of the great hosts? [03:22] slompo: I suggest looking at email and web hosting differently; email is an absolutely miserable thing to host yourself but hosting your own website is not too bad [03:23] slompo: of course, handling spikes of web traffic (slashdot, daringfireball, etc.) can be pretty hard on your own, but that's not a problem most people have. keeping up on security fixes for your website software is the main task and that's also not terrible, just tedious most of the time :) === Ursinha-afk is now known as Ursinha [03:24] I understand. I already have a server in digitalocean, but my emails are on dreamhost, and I suffer a bit with this. In Brazil we do not have very good service providers. [03:36] -h [03:38] bye, thanks [05:21] zartoosh: What you could do is modify the 70-net-persistent rule and change the name to eth0. === tomaw_ is now known as tomaw [08:13] hi all, setting up a new mail server, should I just use postfix + sql backend? or would I need to think of dovecot [08:13] postfix is a MTA... it doesn't give users their mailboxes. You need a thing like dovecot for that. [08:14] or courier-imap? [08:14] I am looking for something that does however give me the ability to create accounts via database or something [08:14] as it will be multi domain [08:15] but I also don't want to spend 10 hours when adding one account [08:17] peetaur2 so I presume I need to look at dovecot + postgresql? [08:17] yes probably you want a database supported by both your MTA and whichever IMAP server you choose [08:18] ok dovecot it is, have not done this in a while though :D [08:18] mind if I ask some more questions? [08:28] anyone can help me please ? [09:11] any one around here that has xp with preeseeding and is will to help me out setting it up => already created the preseed file since it my first time doing so i would like to have a peerreview http://dpaste.com/1V7C296 [09:14] pds: what problem are you having? [09:15] well i would like to know how i can test it out [09:15] and if the preseed file is out [09:15] and if the preseed file is correct * [09:16] pds: I put mine in the initrd on the netboot server [09:17] pds: but that means you need a whole new initrd for each uniquely configured machine, rather than just a new preseed for each machine [09:17] pds: which is fine for me... so if that's fine for you, I can tell you how to do that [09:17] not many people are willing to comb a preseed file. best is to try it, try to fix any resulting error, and then ask here if you need help [09:17] pds: ↑ [09:18] it may be a better idea if i can swap the preseed files at will, but at this moment i just want to get a PoC working [09:21] so let the beast go, and let's go nuts [09:23] pds: so I don't know if you want it but if you do, here's what I do to pack the preseed into the initrd http://pastebin.com/iXDPDssb [09:25] what would be the effect of this? [09:27] anything booting from your netboot will use the preseed [09:28] assuming you set the dirs right ;) [09:29] spoiler: brace yourself newbie questions related to pxe booting and preseeding incomming [09:30] hi, I'm working on a systemd services and when I try to run: systemctl daemon-reload [09:30] I got: systemctl: command not found [09:30] the 'systemd{,-shim}' packages are installed [09:31] I'm running on a 14.04 [09:32] i would like to pxe boot a ubuntu server 14.04LTS with the seed file i wrote http://dpaste.com/1V7C296. After that i would like to use ansible do some configuration files. [09:34] so a) how can i pxeboot the server, b) how can i couple the preseed file that i wrote to do it's business (automate the installation) and c) how can i provide a custom script at the end to wget the ansible stuff and let it spin === Den_Beiren is now known as DenBeiren [09:53] pds: netbooting, preseeding, and custom installation scripts is a big topic. you will get better help here if you do some research beforehand [09:56] did so see resources [09:58] pds: I had a quick look at your preseed.cfg paste. I quickly stopped looking at it because it was so mired in commented out stuff, I couldn't easily see the functional bits. In any case, preseed setup always ends up requiring actual testing. It's sadly not practical to expect to write a preseed which works first time [09:58] he actually did quote resources before, which had all the steps... [09:58] not sure why he didn't try them :D [09:58] (yesterday I think) [09:58] So, test it, and come back with questions if you can't solve how it breaks! :-) [09:59] for petes sakes how do i test in the first place [10:01] pds: Yesterday, you linked http://digitalsanctum.com/2013/03/22/how-to-setup-a-pxe-server-on-ubuntu/ and I linked http://www.linuxquestions.org/questions/linux-newbie-8/automated-remote-installs-of-ubuntu-using-kickstart-802660/ [10:02] pds: and then I said those are fine, but use pressed instead of kickstart [10:02] and you already have a preseed file, so just put it in the initrd, skip thte kickstart steps (which makes the web server obsolete also), and then try it, and come back with errors and confusion, but not just "please tell me all the steps on IRC" ... these guides already do that fine. [10:03] pds: You test by attempting to run an installation [10:03] "Try it out and see if it works" is a pretty simple testing methodology :-) [10:05] yes [10:05] and then you are welcome to come back with any errors or questions to resolve confusion [10:06] but IRC is really not the place for pasting howtos [10:06] howtos for very specific things, sure... but not for general things where the only specific part is your preseed file [10:37] pds: truth be told, this stuff can be confusing due to the different ways to achieve preseeding. are your targets virtual or real? [10:51] Hi, I am having network problems on the guests of a kvm trusty server - pinging the guest goes from a couple of ms to several seconds.. any ideas? [10:55] hi all, any experience here with bcache? [10:55] udev screws up bcache* naming after each reboot. Ubuntu 14.04, bcache-tools from PPA === apb_ is now known as apb1963 [11:07] oro: I'd like to land bcache-tools in the archive proper, so I'm quite interested in the issue you have. [11:07] oro: but I haven't actually tried it myself yet. Let me know what you find though, please? [11:10] rbasak, http://pastebin.com/A9YBL9Ag [11:10] here you can see, that after two boots the bcache* numbered devices get their names in different order [11:11] I want to have one disk SSD cache (/dev/sdn) in front of 11 HDDs (/dev/sd{b,c,d,e,f,g,h,i,j,k,l}) [11:20] rbasak, also you can see the wrong registration order in dmesg [11:20] http://pastebin.com/vEjpKm00 === Guest70019 is now known as ikonia [11:33] pmautils following http://www.linuxquestions.org/questions/linux-newbie-8/automated-remote-installs-of-ubuntu-using-kickstart-802660/ atm [11:33] testing on virtuals [11:34] but the actual devices are real [11:34] the final project that is [11:51] so following the tutorial [11:51] sudo /etc/init.d/openbsd-inetd start => * Not starting internet superserver: no services enabled [11:58] @pmatulis seems like the tutorial you gave me could use an update [11:59] do you actually need openbsd-inetd [11:59] pds: i didn't give you a tutorial [11:59] well you linked to http://www.linuxquestions.org/questions/linux-newbie-8/automated-remote-installs-of-ubuntu-using-kickstart-802660/ no [11:59] nmv that was peetaur [12:00] any way do you actually need openbsd-inetd [12:01] god darn it how hard can it be to find a decent source on how to preseed an ubuntu server 14.04 LTS [12:05] pds: go for the original documentation. you are referring to blogs and forums [12:06] #http://digitalsanctum.com/2013/03/22/how-to-setup-a-pxe-server-on-ubuntu/ #http://www.linuxquestions.org/questions/linux-newbie-8/automated-remote-installs-of-ubuntu-using-kickstart-802660/ #http://linux.opm.si/programska-oprema/ubuntu-14-04-network-install #UNIX and Linux System Administration Handbook 4th Edition (Jun 2010) #page 417 - 419 #ftp://cpe-69-205-130-169.stny.res.rr.com/Public/E-BOOKS/Linux%20System%20Administrati [12:06] how many more do you need :) [12:06] give me a sec [12:06] here you go [12:06] http://dpaste.com/0FY7V8N [12:06] that all the stuff i read over the past 2-3 days [12:09] sp you can't blame for not trying [12:13] pds: here: [12:13] http://www.debian.org/releases/stable/i386/apb.html.en [12:13] http://d-i.alioth.debian.org/doc/internals/ [12:15] pds: and i asked you a question but you did not answer, so i'm also trying to help you [12:24] i'm not blaming you i'm just getting a bit frustrated because i'm reading reading reading without having any progress [12:24] what was your question i may have missed is because well i was reading [12:26] hmmm if is about real or virutal i did answer [12:26] testing on vm's because if i fuck up something it's easier to throw away and restart [12:27] but the final goal is psychical devices (hp thin clients) to be exact [12:29] around [13:33] to be precise === psivaa is now known as psivaa-lunch [13:26] pds: ok [13:26] pds: you will need at the very least a web server to dish up the preseed files [13:27] pds: you can point to those files in different ways [13:30] ==> virt-install (for virtual installs) or pxe (needs dhcp,isolinx) are 2 popular ways === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [14:04] when using preseed to automate pxe installs of 12.04, I'm running into a small catch. I have the following entry in my preseed file: d-i debian-installer/locale string en_US [14:04] however the installer still pauses, waiting for me to specify which country I'm in. [14:04] Is the solution as simple as adding: d-i debian-installer/country string US [14:05] which I would have thought to be redundant? Or is there another setting I need to include to get past the country string. [14:05] Hello guys I need some help, I just set up apache as reverse proxy and It's working with "http" but not with "https" === psivaa-lunch is now known as psivaa [14:07] looks like d-i debian-installer/country string US did fix it. Good to know. [15:04] lordievader, thanks that worked. [15:09] zartoosh: Nice, good to hear. [15:49] Good afternoon. === matsubara is now known as matsubara-lunch [16:28] hey guys i have a linux based server at my home and im currently in the process of "hardening" it. I am wanting to know if anyone here that manages on linux based servers that setup alerts you for suspicious activity. [17:04] Demon_Jester: checking for apparmor DENIED messages is a good way to see if confined services or programs are being probed; checking dmesg for segfaults is useful; checking authentication times may be useful... [17:07] well i mean im thinking of writing a script to send me alerts when im away if stuff has been modified or if it finds other things still wip [17:09] Demon_Jester: makes sense; apt-cache search tripwire shows some similar tools that may be helpful [17:11] sarnold: ok thanks [17:19] hallyn: ping === roaksoax is now known as roaksoax_bbl [17:28] tripwire is nice [17:28] but also, tripwire is predictable, first thing people look for [17:28] just hope you get your security done good === acrocity_ is now known as acrocity === kees_ is now known as kees === SierraRazgriz is now known as SierraAR === whaley_ is now known as whaley === Corey_ is now known as Corey [17:59] hi guys I have ubuntu server where I have production code and I would like to easily create copy of that so I can run it locally in vm to test the code === kickinz1` is now known as kickinz1|away [18:18] hi, anyone who has experience with carp on ubuntu? i'm using ucarp, but my question is general: i have a simple setup of advskew for master/slave of 1 and 100. it works as expected (slave takes over as master fails), but master regains the ip "too fast" (i.e. before a service has been started). which parameter is it i'm suppose to change to let the master be online for a bit longer before gaining the ip again [18:26] zul: what's up [18:27] hallyn: how does lxc-snapshot work with unprivileged containers [18:27] zul: same way as with privileged containers... it creates a overlayfs clone in a custom lxcpath [18:27] zul: the location has changed recently, so i'm not sure where it ends up in trusty [18:27] hallyn: ok [18:27] it could be .local/share/lxcsnaps or .local/share/lxc/$container/snaps [18:28] stgraber: https://jenkins.qa.ubuntu.com/job/utopic-adt-cgmanager/27/ARCH=amd64,label=adt/console i have no idea what is going on. is it ok for the adt testcase to restart cgmanager with --debug and then print out the /var/log/upstart/cgmanager.log? [18:29] hallyn: sure [18:34] hi. I am trying to install mantis bug tracker on ubuntu 14.04. According to https://launchpad.net/ubuntu/trusty/+package/mantis there is a mantis package for trusty, however, when i do aptitude search mantis i get nothing. Any ideas? [18:35] stgraber: ok trying [18:37] Level15: looking for the mantis source package itself shows a different story, only available for lucid, precise, saucy: https://launchpad.net/ubuntu/+source/mantis [18:37] sarnold: hm, so that means the package does not exist for trusty? [18:40] Level15: that's whatthat looks like -- it was removed from debian eight months ago: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730121 [18:40] Debian bug 730121 in ftp.debian.org "RM: mantis -- RoQA; RC-buggy, unmaintained" [Normal,Open] [18:41] sighs [18:41] thanks [18:52] When I ssh into my ubuntu 12.04LTS server, my login message announces: Your current Hardware Enablement Stack (HWE) is going out of support ... Install a newer HWE version by running: "sudo apt-get install linux-generic-lts-trusty linux-image-generic-lts-trusty" [18:52] but, when I exec that install cmd, it reports: "linux-generic-lts-trusty is already the newest version. linux-image-generic-lts-trusty is already the newest version." [18:52] Do I actually need the update? or is the message 'confused'? [18:57] checking `hwe-support-status --verbose` returns "Your Hardware Enablement Stack (HWE) is supported until April 2017." [18:58] which to believe? [19:09] GrantK: I'm inclined to believe hwe-support-status [19:18] genii: Checking versions manually, I'm 'correctly' updated, apparently. Seems you're right. Nice if the notices get fixed -- but NBD if you know actual state. Thx! [19:22] !info mysql-server [19:22] mysql-server (source: mysql-5.5): MySQL database server (metapackage depending on the latest version). In component main, is optional. Version 5.5.37-0ubuntu0.14.04.1 (trusty), package size 12 kB, installed size 130 kB [19:59] Upgraded to Trusty from Saucy like a smooth ride. Nice work Ubu server devs \o/ [20:04] !info apache [20:04] Package apache does not exist in trusty [20:04] !info apache2 [20:04] apache2 (source: apache2): Apache HTTP Server. In component main, is optional. Version 2.4.7-1ubuntu4 (trusty), package size 85 kB, installed size 462 kB === matsubara-lunch is now known as matsubara [20:39] !info vtiger [20:39] Package vtiger does not exist in trusty [21:02] sarnold: [21:02] oops === cmagina_ is now known as cmagina === DaIRCKing is now known as GTAXL [22:27] hello [22:28] where can i ask some questions right here on channel or ? [22:28] ghsh: welcome to irc; irc works best if you just ask questions directly and wait around a little while for an answer [22:28] never [22:28] !ask [22:28] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [22:29] sigh [22:29] bots where made to be abused [22:29] just if someone could get all my triggers programmed into it === ToBeFree is now known as Raymondo === Raymondo is now known as ToBeFree