[00:52] <Kawaiola> Anyone set up a static Ip in a virtual instance of ubuntu server?
[01:05] <patdk-lap> define, virtual instance
[01:15] <Kawaiola> patdk-lap, I'm running ubuntu server in vmware the web interface version
[01:15] <patdk-lap> the web interface version?
[01:15] <patdk-lap> never heard of any such thing
[01:16] <Kawaiola> patdk-lap, Uhh hold on let me look at what it is actually called
[01:17] <Kawaiola> patdk-lap, I guess I'm just using the regular vmware
[01:18] <patdk-lap> well, set a static ip just like you would, on any other ubuntu install
[01:18] <Kawaiola> paterfacesdk-lap, I did that but for some reason it keeps falling back to dchp which doesn't make sense because I totally took that out of my int
[01:19] <Kawaiola> patdk-lap, I went and made it static in nano /etc/network/interfaces
[01:20] <Kawaiola> patdk-lap, and everytime I restart the interface it fails and rolls back to dhcp
[06:07] <bopper1_> I set up a file server using samba, ubuntu 14.04 LTS, command interface only. I can't access my server from win 8.  Please Help :(
[06:28] <bopper1_> I set up a file server using samba, ubuntu 14.04 LTS, command interface only. I can't access my server from win 8.  Please Help :(
[06:49] <bopper1_> wow wow wow
[06:49] <bopper1_> can anyone help me?
[08:20]  * [gnubie] waves
[08:20] <[gnubie]> # uname -r && lsb_release -d && sysctl -a | grep -i swappiness
[08:20] <[gnubie]> 3.13.0-24-generic
[08:20] <[gnubie]> Description:	Ubuntu 14.04 LTS
[08:20] <[gnubie]> vm.swappiness = 10
[08:21] <[gnubie]> given the above information, i'm wondering why my system is already swapping when i still have around 50% of physical memory that is still free..
[08:21] <[gnubie]> anyone?
[08:21] <[gnubie]> is there am i missing with this new version?
[08:40] <[gnubie]> hello..?
[09:12] <ghostlines> hi, i have a bridged nic called br0. I use it for my vm's that I run with kvm. However as soon as I enable a 6in4 tunnel that also uses the bridge(br0) I lose ipv4 connection on the vm's but the physical host is fine(ipv4 and ipv6 work)
[09:13] <ghostlines> how can I troubleshoot this? It seems as if I can't use a 6in4 tunnel and bridge at the same time
[09:16] <owh> ghostlines: I do not know the answer, but are there any hints in any logs or dmesg?
[09:18] <ghostlines> owh double checking those now
[09:28] <ghostlines> ok looks like the vm's are getting an ipv6 address that I configured with radvd. Maybe the ipv6 config in radvd is incorrect
[09:29] <ghostlines> but I would still expect ipv4 to still work, it seems as if a misconfigured ipv6 address is being preferred / used by default if it's set and ignored the ipv4 address
[09:32] <mardraum> yes, ipv6 is preferred in dual-stack.
[09:33] <ghostlines> ahh
[09:49] <linocisco> hi all
[09:50] <linocisco> how to ensure secure connection between windows clients and ubuntu server in client-server architecture?
[09:51] <owh> linocisco: To do what?
[09:52] <linocisco> owh, to deploy asterisk like deployment in the network
[09:52] <linocisco> owh, sorry
[09:52] <linocisco> owh, to avoid hacking
[09:52] <owh> Huh?
[09:53] <linocisco> owh, make sure secure connection between clients and servers in office network
[09:53] <owh> What are the Windows Clients getting from the Ubuntu server?
[09:53] <owh> linocisco: Are they getting files, print queues, database connection, terminal, x-windows, what?
[09:55] <linocisco> owh, basically, clients will access file folders/ authentication like LDAP,
[09:55] <linocisco> owh, database also in future
[09:55] <owh> linocisco: So, we're talking file and print sharing?
[09:56] <linocisco> owh, terminal also for remote access to server to create/troubleshoot users accounts
[09:57] <owh> linocisco: So, ssh to provide terminal access, user accounts to provide samba access, disallow guest access, remove services that you're not using.
[09:58] <owh> linocisco: https://help.ubuntu.com/community/Samba/SambaServerGuide
[10:21] <vedic> What is the fastest but safest way (safe in terms of data security) to transfer a file stored on one Ubuntu server to send to another Ubuntu server?
[10:40] <err-or> vedic: scp?
[10:46] <vedic> err-or: Can this be automated?  As soon as file arrives, it is tranferred to another server?
[10:48] <ogra_> use rsync via ssh ... and create an upstart job that watches the dir
[10:50] <ogra_> i.e. http://paste.ubuntu.com/7398001/ is an example job ...
[10:52] <vedic> ogra_: thanks
[10:55] <vedic> err-or: How about NFS and then local system send file to remote server when new file gets created? Upload will be handled automatically?
[10:55] <vedic> ogra_:
[10:56] <ogra_> NFS is fine, but not secure indeed (no encryption)
[10:58] <vedic> NFS over vpn
[10:58] <vedic> ogra_:^
[10:59] <ogra_> sure, that would work ...
[11:01] <andol> ogra_: *cough*Kerberos*cough*
[11:06] <dassouki> any ideas on how i can fix the errors .. I'm trying to upgrade from 10.04 to 12.04 http://pastie.org/private/nnwgfqvpsojoweeiq50xta
[11:13] <dassouki> any ideas?
[11:35] <pmatulis> morning
[11:58] <_ruben> bah, cant find any proper open-iscsi/lio related performance tuning guides .. for some reason w_await is ~0, while on the initiator it sometimes ramps up to 2000ms
[11:58] <_ruben> the setup is far from ideal currently, so dont really know where to start digging :p
[12:06] <lordievader> Good afternoon.
[12:16] <patdk-wk> _ruben use a faster network
[12:53] <_ruben> patdk-wk: i admit that this setup is using only a single 1gigE .. which i plan to improve "some day" .. still wondering what the actual bottleneck is though
[12:54] <_ruben> doesnt appear to be bandwidth, as it sometimes fills the gigE using writes
[12:54] <_ruben> with low iowait
[12:54] <patdk-wk> so, taking your random infomation, you can conclude that?
[12:54] <_ruben> it's the read/write (random?) io that's suffereing from waits
[12:54] <patdk-wk> cause they have nothing at all to do with each other
[12:55] <_ruben> bandwidth and latency not being related sure, but bandwidth being the bottleneck is what i tried to rule out
[12:55] <patdk-wk> what does writes not having i/o wait have to do with any of this?
[12:56] <patdk-wk> ofcourse writes won't have much
[12:58] <_ruben> actually, reads/writes should be irrelivant here .. as on the iscsi target i dont see any issues, disk wise .. so it's either network or the iscsi stacks
[12:59] <_ruben> io sched on target is deadline, on initiator it's noop .. guess it's getting about time to redo the network at that location, to make it at least a little bit sane
[13:16] <onorua> Guys, I'm trying to have HDD->RAID1 -> LVM -> LUKS -> EXT4
[13:16] <onorua> but it doesn't boot, what kernel parameters should I set to decrypt root?
[13:16] <onorua> I've tried a lot from different sources in internet but not luck
[13:16] <onorua> does anyone has working configuration like this?
[13:18] <onorua> in my case it stop with mdadm create group disk not found
[13:32] <pmatulis> yeah, bug #1316124 , was inevitable.  i wonder if -backports is the way to go
[14:58] <mzarella> I'd like to create the symbolic link, rm /usr/sbin/node, and then update my path. How would i update my path without logging out of the ssh session and logging back in?
[14:58] <Princesa> Hi people!
[14:59] <Princesa> can you help me with zoneminder in ubuntu 12=???
[15:03] <Princesa> help me with ubuntu server and zoneminder=??
[15:33] <pmatulis> what is zoneminder?
[16:43] <zotta> Using apache server: It
[16:44] <zotta> is possible to allow the server to read a directory without granting access to every user on the server?
[16:45] <zotta> I added www-data to the group wich owns that folder. but I still get 403 error
[16:45] <sarnold> zotta: did you restart your apache server to pick up the group change?
[16:45] <zotta> nope
[16:47] <zotta> now it works: Thanks sarnold!
[16:48] <zotta> But why do I need to restart a program to change user groups?
[16:50] <sarnold> zotta: it isn't so much 'restart a program' as much as 'log that user in again'
[16:50] <sarnold> zotta: .. and services are funny, restarting them is the moral equivalent of logging them in again
[16:51] <zotta> ok...
[16:53] <sarnold> sorry it's hard to describe :) right now I'm even curious where in the startup procedure for apache it would know about the supplementary groups. it's funny that I've never thought of it before.
[17:16] <Ri881> Hi, I want to isolate just one process. What's the best way? Do I always have to emoulate the whole OS?
[17:16] <Ri881> ...emulate
[17:18] <sarnold> Ri881: depending upon your goals in isolating that one process, you have a handful of options; since I know apparmor best, I'd probably aim for an apparmor profile first, but you could also use lxc to provide it a 'clean machine' ..
[17:57] <plm> hi all
[17:58] <plm> are there a way to do a link of "arm-linux-gnueabi-gcc -V" to "arm-linux-gnueabi-gcc -v" ?
[18:05] <lordievader> plm: An alias?
[18:06] <plm> lordievader: yes
[18:11] <plm> lordievader: any idea?
[18:11] <lordievader> Add "alias arm-linux-gnueabi-gcc -V='arm-linux-gnueabi-gcc -v'" to your bash profile or somewhere else where it gets loaded.
[18:12] <lordievader> Personally I put aliases in ~/.alias and then source it from my zsh config.
[18:14] <plm> lordievader: $ alias arm-linux-gnueabi-gcc -V='arm-linux-gnueabi-gcc -v'
[18:14] <plm> bash: alias: arm-linux-gnueabi-gcc: not found
[18:14] <plm> $ arm-linux-gnueabi-gcc
[18:14] <plm> arm-linux-gnueabi-gcc: fatal error: no input files
[18:14] <plm> that is strange..
[18:15] <lordievader> Hold, on it needs some more quotes.
[18:18] <lordievader> Hmm I spoke to soon, the alias itself cannot have arguments it seems, but you could name it arm-version or something.
[18:18] <plm> lordievader: how?
[18:19] <lordievader> alias arm-version='arm-linux-gnueabi-gcc -v'
[18:21] <plm> lordievader: ohh problem that i need that, becouse I have a bug in autotools I thing, look the error compiling python:  configure:3509: arm-linux-gnueabi-gcc -V >&5
[18:21] <plm> arm-linux-gnueabi-gcc: error: unrecognized command line option '-V'
[18:22] <plm> lordievader: So I was thinking to change that -V to -v
[18:25] <lordievader> Seems to me like that is a problem with autotools. x86_64-linux-gnu-gcc doesn't know -V either.
[18:26] <lordievader> (I might be very wrong at this ;) )
[18:27] <plm> lordievader: yes, becouse that problem in autotools I'm trying use other way to cheat it?
[18:27] <plm> s ?/.
[18:30] <plm> lordievader: or how I to change that in autotools, do you know?
[18:30] <lordievader> I don't know autotools. Is this for the RPi btw?
[18:31] <lordievader> If so, I have cross compiled a kernel for it with help from http://elinux.org/RPi_Kernel_Compilation#Ubuntu
[18:31] <plm> lordievader: not, a arm9 embedded linux
[18:31] <plm> lordievader: is not way with power of linux to do a kind of that alias/link? =D
[18:37] <plm> lordievader: I will to a script with thaat name and inside put the -v =D
[18:37] <plm> and original I change the name
[18:45] <plm> not works :-(
[20:16] <jsmitsnl> after upgrading to 14.04 from 12.04 my amavisd-new is not running in normal (background) mode. only in foreground or debug mode. Any pointers?
[23:11] <hehe> hey folks
[23:11] <hehe> how I can see which service is using secondary ip?
[23:12] <sarnold> hehe: netstat -anp or ss
[23:14] <hehe> ty
[23:31] <hehe> sarnold: localhost on box with many ips usually uses just 1?
[23:32] <hehe> it seems here it uses 2 :(
[23:33] <sarnold> hehe: all of 127.0.0.0/8 routes to localhost
[23:33] <sarnold> hehe: normally 'localhost' resolves to 127.0.0.1 and the machine's hostname resolves to 127.0.1.1.
[23:33] <hehe> ok i got box with many ips I want 1 ip to be used for website and 1 for another service
[23:34] <hehe> I added 1 more ip to eth0:0 but someone nginx starts using in
[23:34] <hehe> it
[23:34] <hehe> since nginx using localhost I presume localhost somehow grabs ot?
[23:34] <hehe> very bizzare
[23:34] <sarnold> hehe: what does your nginx  'listen' line look like?
[23:35] <hehe> listen 80 default_server;
[23:35] <hehe> I tried to change it to ip and it rejects it
[23:35] <sarnold> hehe: something like: "listen   192.168.1.14:80;" should work fine
[23:35] <sarnold> (I don't know what "default_server" does, I haven't seen that before)
[23:39] <hehe> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
[23:39] <hehe> it seems for some reason both nginx and service nr 2 cant yet to sit nicely
[23:39] <hehe> on their ios
[23:39] <hehe> ips
[23:40] <hehe> ok just have to find where 00000 isd
[23:40] <hehe> is
[23:40] <sarnold> hehe: 0.0.0.0 is a wildcard bind; it'll fail if something else has a specific IP bound on :80 ..
[23:40] <hehe> ok
[23:40] <hehe> I was thinking since I got multiple ips
[23:40] <DenBeiren> u-oh
[23:40] <DenBeiren> think i did something terribly wrong
[23:40] <hehe> i can run many services on 80
[23:40] <DenBeiren> purged all of the kernels and rebooted
[23:40] <sarnold> hehe: one per IP :)
[23:41] <hehe> lol I got 5
[23:41] <hehe> i told dumb  nginx use separate it
[23:41] <hehe> IP
[23:41] <hehe> as per u howto :d
[23:41] <hehe> what da it wants :)
[23:42] <DenBeiren> now my server won't come up,.. any ideas on where to check or what to do first?
[23:42] <hehe> backup
[23:42] <hehe> restore from it
[23:42] <hehe> why da u purged kernels?
[23:42] <DenBeiren> no backups as far as i know
[23:42] <sarnold> DenBeiren: probably easiest is to boot a rescue environment off a CD or something, mount your old system somewhere, chroot there, use apt-get to install a kernel, sync, umount, reboot, and hope it works :)
[23:43] <DenBeiren> ik had 99% of /boot filling up
[23:43] <DenBeiren> so i purged a few of the (very) old kernels
[23:43] <hehe> well then gix it
[23:43] <hehe> fix :D
[23:43] <hehe> if u smart enough to purge kernels u can fix it
[23:43] <hehe> :P
[23:43] <DenBeiren> accidently i pasted a (incomplete) command and purged them all :s
[23:44] <DenBeiren> hehe: you really give me too much credit :p
[23:44] <hehe> u aimed to do u done
[23:44] <sarnold> everyone's got to kill their server at least once :)
[23:44] <hehe> :D
[23:44] <hehe> now u fcked it
[23:44] <hehe> hahaha
[23:45] <DenBeiren> i've killed it multiple times :-)
[23:45] <hehe> thats why I like aws amis
[23:45] <hehe> Den!!!!!!!!!!!!!!
[23:45] <hehe> multiple? :D
[23:45] <hehe> hehe
[23:45] <DenBeiren> but i've been killing it since 6.04 :-)
[23:45] <hehe> me 0 times
[23:45] <hehe> sarnold: started nginx and socket.error: [Errno 98] Address already in use
[23:45] <DenBeiren> "learing" from each kill :-)
[23:46] <sarnold> hehe: you'll have to configure all your services to ensure that no two want to use the same IP:port
[23:47] <hehe> i got nxinz and 1 more
[23:47] <hehe> so I got to tell  it to nginx somehow
[23:47] <DenBeiren> sarnold: mounting, syncing, etc is not something i am feeling cozy with,..
[23:47] <hehe> then service 2 uses whats available
[23:47] <hehe> DenBeiren: then install windows? :P
[23:47] <DenBeiren> maybe faster/better/cleaner to do a reinstall?
[23:48] <hehe> its like car parts
[23:48] <hehe> simple
[23:48] <sarnold> DenBeiren: re-install is drastic overkill for this problem but if it what you feel comfortable doing, don't let me stop you
[23:48] <hehe> put new engine in - start - go
[23:49] <DenBeiren> hehe: pls don't go there,.. my car is in the garage :'(
[23:49] <hehe> so fix it
[23:49] <DenBeiren> and no, i didn't do anything to it :-)
[23:49] <hehe> be  a man :)
[23:49] <sarnold> well you didn't buy a new car, right? :)
[23:50] <hehe>  LAST_ACK   whats that?
[23:50] <hehe> 1 pesky last ask on ip I want
[23:50] <hehe> :D
[23:51] <hehe> ok means flushed soon
[23:51] <hehe> and then ip is free!
[23:51] <sarnold> hehe: oh man, that's reaching back too many years, but iirc it's when you've received a FIN but haven't yet sent your own FIN ACK combination...
[23:52] <hehe> how I kill it on my side?
[23:52] <hehe> :d
[23:52] <sarnold> ah, looks like FINs have been sent on both sides and you're just waiting for the ACK from the remote peer: http://tangentsoft.net/wskfaq/articles/bitmaps/state-diagram-small.gif
[23:53] <hehe> trash nginx took second ip again
[23:53] <hehe> :D