[00:52] Anyone set up a static Ip in a virtual instance of ubuntu server? [01:05] define, virtual instance === justizin_ is now known as justizin [01:15] patdk-lap, I'm running ubuntu server in vmware the web interface version [01:15] the web interface version? [01:15] never heard of any such thing [01:16] patdk-lap, Uhh hold on let me look at what it is actually called [01:17] patdk-lap, I guess I'm just using the regular vmware [01:18] well, set a static ip just like you would, on any other ubuntu install [01:18] 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] patdk-lap, I went and made it static in nano /etc/network/interfaces [01:20] patdk-lap, and everytime I restart the interface it fails and rolls back to dhcp === Guegs_ is now known as Guegs === tyhicks` is now known as tyhicks === FreezingAlt is now known as FreezingCold === luminous_ is now known as luminous === Infierno|zZz is now known as InFierno|Coding === chmurifree is now known as chmuri === chmuri is now known as ChMuRi === ChMuRi is now known as chmurifree === chmurifree is now known as chmuri [06:07] 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] 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] wow wow wow [06:49] can anyone help me? === Lcawte|Away is now known as Lcawte [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] 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] how can I troubleshoot this? It seems as if I can't use a 6in4 tunnel and bridge at the same time [09:16] ghostlines: I do not know the answer, but are there any hints in any logs or dmesg? [09:18] owh double checking those now [09:28] 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] 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] yes, ipv6 is preferred in dual-stack. [09:33] ahh [09:49] hi all [09:50] how to ensure secure connection between windows clients and ubuntu server in client-server architecture? [09:51] linocisco: To do what? [09:52] owh, to deploy asterisk like deployment in the network [09:52] owh, sorry [09:52] owh, to avoid hacking [09:52] Huh? [09:53] owh, make sure secure connection between clients and servers in office network [09:53] What are the Windows Clients getting from the Ubuntu server? [09:53] linocisco: Are they getting files, print queues, database connection, terminal, x-windows, what? [09:55] owh, basically, clients will access file folders/ authentication like LDAP, [09:55] owh, database also in future [09:55] linocisco: So, we're talking file and print sharing? [09:56] owh, terminal also for remote access to server to create/troubleshoot users accounts [09:57] 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] linocisco: https://help.ubuntu.com/community/Samba/SambaServerGuide [10:21] 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] vedic: scp? [10:46] err-or: Can this be automated? As soon as file arrives, it is tranferred to another server? [10:48] use rsync via ssh ... and create an upstart job that watches the dir [10:50] i.e. http://paste.ubuntu.com/7398001/ is an example job ... [10:52] ogra_: thanks [10:55] 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] ogra_: [10:56] NFS is fine, but not secure indeed (no encryption) [10:58] NFS over vpn [10:58] ogra_:^ [10:59] sure, that would work ... [11:01] ogra_: *cough*Kerberos*cough* [11:06] 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] any ideas? [11:35] 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] Good afternoon. [12:16] _ruben use a faster network === mc_bluebeard_ is now known as mc_bluebeard [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] 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] 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] what does writes not having i/o wait have to do with any of this? [12:56] 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] Guys, I'm trying to have HDD->RAID1 -> LVM -> LUKS -> EXT4 [13:16] but it doesn't boot, what kernel parameters should I set to decrypt root? [13:16] I've tried a lot from different sources in internet but not luck [13:16] does anyone has working configuration like this? [13:18] in my case it stop with mdadm create group disk not found [13:32] yeah, bug #1316124 , was inevitable. i wonder if -backports is the way to go [13:32] Launchpad bug 1316124 in openldap "Actual Ubuntu Slapd totaly useless for "serious" use" [Undecided,New] https://launchpad.net/bugs/1316124 === InFierno|Coding is now known as InFierno|AFK [14:58] 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] Hi people! [14:59] can you help me with zoneminder in ubuntu 12=??? [15:03] help me with ubuntu server and zoneminder=?? [15:33] what is zoneminder? === dannf` is now known as dannf [16:43] Using apache server: It [16:44] is possible to allow the server to read a directory without granting access to every user on the server? [16:45] I added www-data to the group wich owns that folder. but I still get 403 error [16:45] zotta: did you restart your apache server to pick up the group change? [16:45] nope [16:47] now it works: Thanks sarnold! [16:48] But why do I need to restart a program to change user groups? [16:50] zotta: it isn't so much 'restart a program' as much as 'log that user in again' [16:50] zotta: .. and services are funny, restarting them is the moral equivalent of logging them in again [16:51] ok... [16:53] 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] Hi, I want to isolate just one process. What's the best way? Do I always have to emoulate the whole OS? [17:16] ...emulate [17:18] 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] hi all [17:58] are there a way to do a link of "arm-linux-gnueabi-gcc -V" to "arm-linux-gnueabi-gcc -v" ? === Lcawte is now known as Lcawte|Away [18:05] plm: An alias? [18:06] lordievader: yes [18:11] lordievader: any idea? [18:11] 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] Personally I put aliases in ~/.alias and then source it from my zsh config. [18:14] lordievader: $ alias arm-linux-gnueabi-gcc -V='arm-linux-gnueabi-gcc -v' [18:14] bash: alias: arm-linux-gnueabi-gcc: not found [18:14] $ arm-linux-gnueabi-gcc [18:14] arm-linux-gnueabi-gcc: fatal error: no input files [18:14] that is strange.. [18:15] Hold, on it needs some more quotes. === PeterSchwaller_ is now known as PeterSchwaller [18:18] Hmm I spoke to soon, the alias itself cannot have arguments it seems, but you could name it arm-version or something. [18:18] lordievader: how? [18:19] alias arm-version='arm-linux-gnueabi-gcc -v' [18:21] 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] arm-linux-gnueabi-gcc: error: unrecognized command line option '-V' [18:22] lordievader: So I was thinking to change that -V to -v [18:25] Seems to me like that is a problem with autotools. x86_64-linux-gnu-gcc doesn't know -V either. [18:26] (I might be very wrong at this ;) ) [18:27] lordievader: yes, becouse that problem in autotools I'm trying use other way to cheat it? [18:27] s ?/. [18:30] lordievader: or how I to change that in autotools, do you know? [18:30] I don't know autotools. Is this for the RPi btw? [18:31] If so, I have cross compiled a kernel for it with help from http://elinux.org/RPi_Kernel_Compilation#Ubuntu [18:31] lordievader: not, a arm9 embedded linux [18:31] lordievader: is not way with power of linux to do a kind of that alias/link? =D === RaptorJesus_ is now known as RaptorJesus [18:37] lordievader: I will to a script with thaat name and inside put the -v =D [18:37] and original I change the name [18:45] not works :-( === InFierno|AFK is now known as Infierno === Guegs__ is now known as Guegs [20:16] 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? === SPQN is now known as AndreiCurelaru === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away === geowany_ is now known as Geowany === FreezingAlt is now known as FreezingCold [23:11] hey folks [23:11] how I can see which service is using secondary ip? [23:12] hehe: netstat -anp or ss [23:14] ty [23:31] sarnold: localhost on box with many ips usually uses just 1? [23:32] it seems here it uses 2 :( [23:33] hehe: all of 127.0.0.0/8 routes to localhost [23:33] hehe: normally 'localhost' resolves to 127.0.0.1 and the machine's hostname resolves to 127.0.1.1. [23:33] ok i got box with many ips I want 1 ip to be used for website and 1 for another service [23:34] I added 1 more ip to eth0:0 but someone nginx starts using in [23:34] it [23:34] since nginx using localhost I presume localhost somehow grabs ot? [23:34] very bizzare [23:34] hehe: what does your nginx 'listen' line look like? [23:35] listen 80 default_server; [23:35] I tried to change it to ip and it rejects it [23:35] hehe: something like: "listen 192.168.1.14:80;" should work fine [23:35] (I don't know what "default_server" does, I haven't seen that before) [23:39] nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) [23:39] it seems for some reason both nginx and service nr 2 cant yet to sit nicely [23:39] on their ios [23:39] ips [23:40] ok just have to find where 00000 isd [23:40] is [23:40] hehe: 0.0.0.0 is a wildcard bind; it'll fail if something else has a specific IP bound on :80 .. [23:40] ok [23:40] I was thinking since I got multiple ips [23:40] u-oh [23:40] think i did something terribly wrong [23:40] i can run many services on 80 [23:40] purged all of the kernels and rebooted [23:40] hehe: one per IP :) [23:41] lol I got 5 [23:41] i told dumb nginx use separate it [23:41] IP [23:41] as per u howto :d [23:41] what da it wants :) [23:42] now my server won't come up,.. any ideas on where to check or what to do first? [23:42] backup [23:42] restore from it [23:42] why da u purged kernels? [23:42] no backups as far as i know [23:42] 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] ik had 99% of /boot filling up [23:43] so i purged a few of the (very) old kernels [23:43] well then gix it [23:43] fix :D [23:43] if u smart enough to purge kernels u can fix it [23:43] :P [23:43] accidently i pasted a (incomplete) command and purged them all :s [23:44] hehe: you really give me too much credit :p [23:44] u aimed to do u done [23:44] everyone's got to kill their server at least once :) [23:44] :D [23:44] now u fcked it [23:44] hahaha [23:45] i've killed it multiple times :-) [23:45] thats why I like aws amis [23:45] Den!!!!!!!!!!!!!! [23:45] multiple? :D [23:45] hehe [23:45] but i've been killing it since 6.04 :-) [23:45] me 0 times [23:45] sarnold: started nginx and socket.error: [Errno 98] Address already in use [23:45] "learing" from each kill :-) [23:46] hehe: you'll have to configure all your services to ensure that no two want to use the same IP:port [23:47] i got nxinz and 1 more [23:47] so I got to tell it to nginx somehow [23:47] sarnold: mounting, syncing, etc is not something i am feeling cozy with,.. [23:47] then service 2 uses whats available [23:47] DenBeiren: then install windows? :P [23:47] maybe faster/better/cleaner to do a reinstall? [23:48] its like car parts [23:48] simple [23:48] 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] put new engine in - start - go [23:49] hehe: pls don't go there,.. my car is in the garage :'( [23:49] so fix it [23:49] and no, i didn't do anything to it :-) [23:49] be a man :) [23:49] well you didn't buy a new car, right? :) [23:50] LAST_ACK whats that? [23:50] 1 pesky last ask on ip I want [23:50] :D [23:51] ok means flushed soon [23:51] and then ip is free! [23:51] 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] how I kill it on my side? [23:52] :d [23:52] 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] trash nginx took second ip again [23:53] :D