[01:08] <MACscr> any advice for simply switching to the virtual kernel and thus updates will keep using thew newest virtual kernel as well?
[01:26] <jak2000> hi all
[01:27] <jak2000> how to change the ip of the server?
[09:22] <lordievader> Good morning.
[10:12] <Gregor3000> hello i need help with SSH i keep getitng the passphrase qustion: Authenticating with public key "imported-openssh-key" ; Passphrase for key "imported-openssh-key":
[10:12] <Gregor3000> once i enter it it authenticates but when i exit and try to login again it asks for password again.
[10:13] <Gregor3000> i am using putty and i imported the linux key hence the comment -  "imported-openssh-key"
[10:14] <lordievader> Gregor3000: The passphrase is whatever you set it to.
[10:16] <Gregor3000> i've entered it but when i logout and again log back in i again get the prompt. i dont' want the server to asks for passphrase every time
[10:16] <Gregor3000> PasswordAuthentication no
[10:16] <Gregor3000> ah it means i need to create a key with no passphrase?
[10:37] <lordievader> Gregor3000: No, that is a bad idea. You need to run an ssh agent.
[11:57] <StathisA> need some help with apticron...had it all working correctly - sending daily notification from cron.d etc, but had to change the notification time. Now whatever time I enter I do not get any notifications. If I manually do a "sudo apticron" I get the notification alright
[11:57] <StathisA> so smth is wrong with the cron.d schedule?
[11:58] <StathisA> syslog : Jun 14 14:10:01 servername CRON[1008]: (root) CMD (if test -x /usr/sbin/apticron; then /usr/sbin/apticron --cron; else true; fi)
[11:58] <StathisA> but nothing else after it
[11:58] <StathisA> if i do a manual "sudo apticron" I see the mail going out in the syslog...
[11:59] <StathisA> via localhost postfix
[11:59] <StathisA> and I receive it too on my mailbox
[11:59] <StathisA> so somethings up with the cron job i think
[12:38] <YamakasY> any help with building a sssd package ?
[13:48] <DWSR> Hey all, I have installed Ubuntu Server 14.04 into a Hyper-V VM. I installed linux-virtual through apt but it is not being loaded by default and there is no grub menu to select which kernel I want. How do I remove all of the generic kernels from my system and force virtual?
[14:08] <DWSR> Hey all, I have installed Ubuntu Server 14.04 into a Hyper-V VM. I installed linux-virtual through apt but it is not being loaded by default and there is no grub menu to select which kernel I want. How do I remove all of the generic kernels from my system and force virtual?
[14:16] <RoyK> DWSR: AFAIK the virtual kernel package is just a metapackage these days
[14:16] <RoyK> DWSR: the normal kernel packages work well
[14:19] <DWSR> Oh, really? :(
[14:19] <DWSR> RoyK: Someone should tell Microsoft then: https://technet.microsoft.com/en-us/library/dn531029.aspx?f=255&MSPPError=-2147217396
[14:21] <DWSR> Ah yes, you are correct.
[14:21] <DWSR> http://packages.ubuntu.com/trusty/linux-virtual
[14:21] <DWSR> When did that change?
[14:26] <RoyK> DWSR: not sure - some years back
[14:27] <DWSR> Oh well, that answers that. Might build a custom kernel that strips out some of the hardware support.
[14:30] <RoyK> no need
[14:31] <RoyK> drivers are only loaded when needed
[14:32] <RoyK> DWSR: do you have problems you're seeking to fix, or is it just the thought?
[14:34] <DWSR> RoyK: I'm a bit constrained on resources, so making the kernel smaller seems like a reasonable way to optimize.
[14:35] <DWSR> But I completely forgot about DDL.
[14:36] <DWSR> Eh, probably more trouble than it's worth, then
[15:41] <jak2000> hi all
[15:41] <jak2000> how to disable, my server sleep, i dont want the server sleep, tahnks
[17:18] <xperia> Hi all. My Ubuntu Server is under a spam attack at the moment and i need help with ip tables to block this Spammers. My question is how can i list all the tables with iptables so i can only export a specific table or better target. i have a script that log all attacks and i can create a file list specific for iptables to import it but i need to know how exactly this file need to look a like.
[17:48] <zermanno> Hi, which are the common ways to analyze log files? As an example, how people query apache logs?
[18:09] <teward> is there a way for me to force IPv4 resolution preferable to v6 on servers?
[18:09] <teward> i haven't set up v6 routing yet on some of my VPSes so they fail updates, i'm just doing manual v4 /etc/hosts entries
[18:09] <teward> (14.04 VPSes)
[18:10] <maswan> don't configure a global v6 address if you don't have it working?
[18:12] <teward> maswan: i don't have one configured?
[18:12] <teward> unless something is doing it without telling me
[18:12]  * teward shrugs
[18:12] <teward> i should set up at least one v6 imo *shrugs*
[18:13] <maswan> ip addr list
[18:13] <maswan> will tell you
[18:13] <jelly> maswan: the resolver library tends to give AAAA records in some cases regardless of a globally routable ipv6 being set up or not
[18:14] <maswan> Ok, I don't run many v4-only systems anymore
[18:15] <maswan> but that used to be the semantics of it
[18:16] <teward> it's only a temporary thing, but meh
[18:16] <teward> v6 is finnicky on this box
[18:16] <teward> s/this box/these boxes/
[18:17] <teward> mm, looks like v6 is still getting set as a route
[18:17] <teward> but then it fails
[18:32] <teward> god i hate myself
[18:32] <teward> i accidentally ip6tables'd the rules such that lo was accepted but RELATED,ESTABLISHED going outbound from apt and such was getting bounced
[18:33] <teward> routing was fine though apparently :/
[19:42] <RoyK> teward: hehe
[22:29] <xperia> hi all. what is the best way to increase the amount of possible parallel connection for apache2 on ubuntu. sometimes i have spamer attacks with over 1000 Connection that blocks everything at once. need help with this. thanks for any tips.
[22:32] <bekks> Drop his connections instead of pointlessly increasing the total number of connections.
[22:35] <xperia> bekks: thanks a lot for your tip. yes droping the connection sound good but how can i find out which connection to drop and if possible to log this droped connections so i can use iptables.
[22:35] <bekks> Investigate your webservers log files.
[22:36] <xperia> i dont see any errors for timeouts in the apache log files. not sure if apache logs tmeouts by default.
[22:36] <bekks> Why do you search for timeouts?
[22:37] <bekks> Investigate the log files to see how and from where your spamming is actually spamming.
[22:37] <bekks> It has nothing to do with timeouts. Timeouts only occur of your webserver cant handle the requests anymore.
[22:39] <xperia> bekks: for what else should i search else ? the connections by apache are closed after 10 seconds timeouts so it would be good to log this problematic connections. i dont see however this spammer connection anywhere in the logs however i see them on the router allways in a 10 Minute Interval.
[22:40] <bekks> I just told you what to look for.
[22:46] <xperia> okey i have found a good monitor tracker for apache2 to get a insight what is going on with the server. think this will help a little to isolate the problem much more.