[00:00] <zackify> is vi and vim the same in ubuntu server
[00:00] <zackify> 14.04*
[00:01] <RoyK> vi is vim if vim-basic is installed
[00:02] <zackify> RoyK: thanks, I thought thats what happens
[00:02] <RoyK> queorgullo is a spambot, btw
[00:03] <RoyK> zackify: vim is always better than old vi
[00:04] <RoyK> (unless you're on a very tiny embedded thing)
[00:08] <zackify> RoyK: I know it is, i have a friend who was telling me about it and I was thinking it was replaced with vim even when just doing 'vi'
[05:43] <FilthyMacNasty> evening everyone, anyone got some wisdom on samba4?
[06:13] <lordievader> Good morning.
[06:15] <FilthyMacNasty> gutentag lord
[06:16] <lordievader> Hey FilthyMacNasty, how are you?
[06:16] <FilthyMacNasty> if it was any better I'd need 2 of me to enjoy it
[06:17] <lordievader> Sounds good ;)
[06:18] <FilthyMacNasty> fiddling with samba4 tonight
[07:23] <Vladimir_> is it possible to install zypper on ubuntu and does it work well?
[07:25] <FilthyMacNasty> I use buttons not zypper, I'm amish
[09:17] <Sycrid> I think I'm missing something stupid, I'm trying to connect to another linux machine using remmina, is this possible? If so, can it be done by rdp?
[09:22] <FilthyMacNasty> !remmina
[09:22] <FilthyMacNasty> naturally ubotu dont know what that is
[09:22] <FilthyMacNasty> I use x11vnc
[09:23] <FilthyMacNasty> Sycrid: what is remmina?
[09:32] <Sycrid> FiltyMcNasty: It's an rdp program for linux.
[09:32] <Sycrid> Really good going from linux into windows environments.
[09:32] <Sycrid> What I'm looking for is a tool to allow remote desktop of a ubuntu server from my desktop (with interface so I don't need to enter a cold server room all the time).
[09:33] <FilthyMacNasty> ok, from a windows box right?
[09:34] <FilthyMacNasty> download putty.exe from chiark, its an ssh client, download realvnc from realvnc.com for windows, log into the linux box by ssh and run x11vnc, then connect to it from realvnc
[09:34] <Sycrid> no, from ubuntu to ubuntu
[09:34] <FilthyMacNasty> same x11vnc and the vnc client of your choice
[09:35] <Sycrid> cool,
[09:35] <lordievader> !info remmina
[09:35] <FilthyMacNasty> so, on the server sudo apt-get install x11vnc
[09:36] <FilthyMacNasty> ssh into the box, run x11vnc, when you close it the security risk closes with it
[09:36] <FilthyMacNasty> having a full time remote desktop server running is bad
[09:37] <Sycrid> yeah, it's just so I can run updates from time to time, don't want it open permanently.
[09:38] <Sycrid> still learning linux as well, don't think that ever stops, but I'm a newbie, so it's nice to have an interface from time to time
[09:41] <Sycrid> FiltyMacNasty: did as you said, and I don't see the remote desktop window... I did get the security message though
[09:47] <FilthyMacNasty> did you install x11vnc on the server?
[09:47] <Sycrid> ye
[09:47] <Sycrid> yes*
[09:48] <Sycrid> do I need to install it locally?
[09:48] <FilthyMacNasty> no, you need to open a terminal ssh into the server and run x11vnc --xauth guess
[09:49] <Sycrid> done the ssh and run x11vnc
[09:49] <Sycrid> I'll try again
[09:50] <Sycrid> FilthyMacNasty I've noticed as I try, i get the following line "4/10/2014 10:50:27 *** XOpenDisplay failed. No -display or DISPLAY.
[09:50] <Sycrid> "
[09:51] <FilthyMacNasty> did you type x11vnc --xauth guess
[09:51] <FilthyMacNasty> wait, sudo
[09:51] <FilthyMacNasty> sudo x11vnc --xauth guess
[09:52] <FilthyMacNasty> then rdp into it using vnc protocols
[09:53] <FilthyMacNasty> are you using unity on your desktop?
[09:56] <FilthyMacNasty> Sycrid: you'll need to go into remmina and change the protocol from rdp to vnc
[09:56] <Sycrid> sorry was checking server locally.
[09:57] <Sycrid> restarting it now.
[09:57] <Sycrid> (Filthy, thanks for the help. I've got to go, will be back later if I need further help).
[09:57] <FilthyMacNasty> I'll be around
[11:04] <matts1lver> Hi, trying to install ubuntu server 14.04 on two 3TB hard drives, I have created a 1MB partition and selected the "Reserved Bios boot area" option on both drives e.g. /dev/sda1 and /dev/sdb1. Then created a big partition filling the rest of the disks and selecting them for use as raid. Then create the raid on the two partitions e.g. /dev/sda2 and /dev/sdb2 and then LVM on top of the raid with LV's for swap, root a
[11:06] <FilthyMacNasty> never used the reserved bios boot area option, but the rest of it seems to be right on target, matts1lver
[11:06] <matts1lver> I believe it is required for GPT due to the size of the disks
[11:07] <matts1lver> I followed this http://stackful-dev.com/raid-install-ubuntu-server-on-a-large-hard-drive.html but extended it to use LVM
[11:07] <FilthyMacNasty> well it is true i havent used bigger than 1tb's
[11:08] <matts1lver> OK, any one else?
[11:09] <matts1lver> I will also try #ubuntu as this isn't 100% just a server question
[11:13] <lordievader> matts1lver: Do you have /boot outside of lvm?
[11:15] <matts1lver> lordievader: there is no /boot but the 1MB biosgrub partition is outside of the LVM and raid. Looks a lot like this http://stackful-dev.com/static/images/ubuntu-gpt-raid/partitioned-drives-no-raid.png
[11:15] <matts1lver> This is GPT, not MBR
[11:15] <lordievader> Grub doesn't like to boot from lvm.
[11:15] <lordievader> It's a good idea to get that outside of the lvm partitions.
[11:16] <matts1lver> grub is not in lvm
[11:17] <lordievader> matts1lver: I'm not talking about grub, guess I wasn't clear. I was talking about /boot or the kernel/initrd.
[11:18] <FilthyMacNasty> the whole /boot directory needs to be outside lvm
[11:18] <matts1lver> **grub is not in lvm**
[11:18] <FilthyMacNasty> ^
[11:18] <lordievader> matts1lver: Again, I'm not talking about grub.
[11:19] <matts1lver> But /boot is not required with GPT….correct?
[11:19] <FilthyMacNasty> well if you want your kernel doesnt it live in there?
[11:20] <lordievader> matts1lver: /boot contains the kernel/initrd how do you suppose to boot your system without it?
[11:20] <matts1lver> ok let me try something then
[11:46] <matts1lver> Ok, i'm trying: 2M "Reserved Bios boot area" partition, 550M partition RAID , Remaining disk RAID on each drive. Creating two raids, one on the 550M (md0) and one on the Remaining (md1). Mounting md0 raid at /boot and creating LVM on md1 and creating root, swap and data as LV's. Sound good?
[12:05] <matts1lver> lordievader: thanks for the assistance, creating the extra raid for /boot worked.
[12:06] <FilthyMacNasty> woot I was right!
[12:07] <matts1lver> Yes right, thanks
[12:57] <virtualhost>  hello, i want to set up multiple frontends on my server but it is a development server and as such has no domain name, only an ip address. how can i set it up? is there a guide you know of?
[12:58] <virtualhost>  i am using this linode guide https://www.linode.com/docs/websites/lamp/lamp-server-on-ubuntu-12-04-precise-pangolin
[12:58] <virtualhost> and it requires purchasing a domain
[12:59] <virtualhost> i tried using the ip address and setting different ports but i cant access index.html on http://myip:8080
[12:59] <virtualhost> or even http://myip:8080/index.html
[13:00] <virtualhost> ubuntu server 14 lts
[13:01] <virtualhost> where can i paste my /etc/apache2/sites-available/000-default    file?
[13:19] <virtualhost> can anyone help me set it up?
[13:20] <FilthyMacNasty> virtualhost: unfortunately I dont know how to make 1 instance of apache serve multiple ports
[13:21] <FilthyMacNasty> virtualhost: I was mistaken earlier I thought you had seperate machines for each site
[13:21] <lordievader> virtualhost: Is Apache listening to 8080?
[13:22] <virtualhost> when i directed port 80 to an empty dir, it showed what was on port 8080
[13:24] <virtualhost> !paste
[13:27] <virtualhost> http://paste.ubuntu.com/8559091/
[13:27] <lordievader> virtualhost: What does 'netstat -tulpn|grep 8080' return?
[13:28] <virtualhost> nothing
[13:28] <lordievader> virtualhost: What does nmap say about the port?
[13:28] <FilthyMacNasty> virtualhost: your document root on *80 is misspelled
[13:32] <virtualhost> lordievader i am not sure i am using it correctly, i tried nmap -p80 and nmap -p8080 and it shows the same result
[13:32] <virtualhost> WARNING: No targets were specified, so 0 hosts scanned.
[13:32] <virtualhost> can you please specify the command to use here?
[13:32] <lordievader> virtualhost: You forgot to specify the host, nmap -p 8080 -Pn <host-ip>
[13:33] <virtualhost> FilthyMacNasty where do you see an error? i have copied from what was allready there
[13:33] <jpds> virtualhost: You know that you can fake a domain name using /etc/hosts ?
[13:34] <virtualhost> nmap output: Host is up (0.000074s latency). PORT     STATE  SERVICE 8080/tcp closed http-proxy
[13:35] <virtualhost> jpds no i did not. how can i use that in my case?
[13:36] <lordievader> virtualhost: There you go, apache is not listening to that port.
[13:36] <virtualhost> if i fake the domain i will still need to access it from the web. how could i point my web browser to point to the two different ports?
[13:36] <jpds> virtualhost: fakedomain.test:8080 ?
[13:36] <virtualhost> lordievader, how can i make it listen?
[13:36] <jpds> virtualhost: Look at the Apache error log and figure out why it's not starting.
[13:37] <lordievader> ^
[13:43] <FilthyMacNasty> the directory on virtualhost *80 is spelled */pot80/* not */port80/*
[13:45] <virtualhost> thank you for pointing that out, i changed the names before pasting to make it more obvious for you guys while helping me. the directory is the right one in the original file.
[13:45] <WhiteIntel> hello guys, could you help me with this: http://askubuntu.com/questions/536883/server-crashed-but-why?noredirect=1#comment734030_536883
[13:45] <FilthyMacNasty> did you restart apache after the fix?
[13:46] <virtualhost> i got it!
[13:47] <virtualhost> i restart apache after every change
[13:47] <virtualhost> all i had to do is write Listen 8080 Listen 80 on the begining of the conf file
[13:47] <virtualhost> i saw it here: http://httpd.apache.org/docs/2.2/bind.html
[13:48] <virtualhost> thanks to lordievader i knew that port 8080 is inactive and now it is
[13:48] <virtualhost> thank you all for our help!
[13:49] <lordievader> virtualhost: No problem ;)
[13:49] <FilthyMacNasty> virtualhost: It's only possible to Listen to the "wildcard" address, or to specific addresses. So if you have a need to listen to a specific address for whatever reason, then you will need to listen to all specific addresses
[13:50] <FilthyMacNasty> your *80 and *8080 need to be xxx.xxx.xxx.xxx:80 and xxx.xxx.xxx.xxx:8080
[13:50] <FilthyMacNasty> betcha that fixes it
[13:51] <virtualhost> FilthyMacNasty thank you for your help. it is working despite the use of the wild card. if anything else fails in the future, that is what i will check first
[13:52] <FilthyMacNasty> rock on
[13:52] <WhiteIntel> anybody can help me?
[13:52] <FilthyMacNasty> I think its an either or situation with the * or the address must use one or the other but not both
[13:52] <FilthyMacNasty> whatcha need WhiteIntel
[13:52] <WhiteIntel> this here: http://askubuntu.com/questions/536883/server-crashed-but-why?noredirect=1#comment734030_536883
[14:03] <Odd_Bloke> I'm looking at https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1379080; how do I go about changing the name of a kernel I am building?
[14:06] <WhiteIntel> @FilthyMacNasty can you help me?
[14:07] <FilthyMacNasty> not really alot of help I'm afraid, got me scratchin my head
[14:08] <WhiteIntel> Ok, no problem, can you give me any other tips where I could ask?
[14:09] <FilthyMacNasty> lemme eyeball it one more time, I've been up all night
[14:09] <WhiteIntel> ok, thank you
[14:12] <FilthyMacNasty> WhiteIntel: take a look at this https://www.kernel.org/doc/Documentation/trace/events-nmi.txt
[15:28] <blackyboy> Hi all i have two Virtual machines in KVM , vm1 ip was 192168.0.10 vm2 ip was 172.24.0.10 how can i route between both network, iam using ubuntu14
[15:29] <lordievader> blackyboy: How are those two networks interconnected?
[15:30] <blackyboy> In local area
[15:30] <lordievader> blackyboy: Could you explain your network setup in more detail?
[15:30] <blackyboy> i want to use different network for those
[15:32] <blackyboy> lordievader: i want to install one VM for one server and other one want to be client. but both want to be in different network
[15:32] <FilthyMacNasty> set your vm network card to bridged and set a static ip during install
[15:34] <blackyboy> FilthyMacNasty: its already bridged. But for practising i want to setup those in different network. But my host machine is ubuntu 14 with kvm
[15:34] <lordievader> blackyboy: That is not a network description, please describe how you've setup your network.
[15:34] <blackyboy> may i know how can i route between two network from 192.168.0.10 to 172.24.0.10 ?
[15:35] <FilthyMacNasty> put it in the hosts file
[15:37] <patdk-wk> doesn't sound like you want to route that
[15:37] <patdk-wk> it sounds like yo uwant to nat it
[15:39] <blackyboy> FilthyMacNasty: actually both the VMS are in same network now, but for some reason i want to configure both in different network then i need to route.
[15:40] <FilthyMacNasty> why not just put the hostname and ip addy in the hosts file and voila
[15:40] <blackyboy> Is it possible to ping if one of my VM in 192.168.0.10 and other vm in 172.24.0.10 ?
[15:41] <zul> coreycb: ceilometer rc3 is available
[15:41] <FilthyMacNasty> if you use ping wateverhostname you put in the hosts file you can
[15:41] <lordievader> blackyboy: As patdk-wk says, you likely want to NAT that.
[15:42] <blackyboy> FilthyMacNasty: :( how its possible if other network
[15:42] <blackyboy> lordievader: yes you right and patk-wk too right
[15:43] <FilthyMacNasty> edit /etc/hosts after localhost and your local machine name and addy add the ip/2 digit subnet and the hostname  hostname.my.domain
[15:44] <lordievader> FilthyMacNasty: The hosts file is used for resolving hosts, not for routing/NATing.
[15:45] <blackyboy> lordievader: 8-) well said
[15:45] <FilthyMacNasty> yes I know, but if he refers to the machine on the other network by the name he stuck in hosts it will resolve it and go
[15:45] <FilthyMacNasty> its a kludge
[15:46] <coreycb> zul, thanks I'll get it
[16:42] <FilthyMacNasty> grrr vmware is hating on me
[16:55] <coreycb> zul, when you have a moment, https://code.launchpad.net/~corey.bryant/ceilometer/2014.2-rc3/+merge/238328
[16:59] <zul> coreycb: done
[17:00] <coreycb> zul, thanks
[18:17] <YamakasY> why does mysql stop actually never stops the mysql server ?
[18:20] <patdk-wk> likely cause you broke the debian-mant user account in mysql
[18:25] <genii> YamakasY: Probably because Upstart
[18:26] <YamakasY> genii: I get the feeling, as it's percona it get's stuck on bootstrap
[18:26] <YamakasY> how can I avoid to start mysql after installing ?
[18:27] <YamakasY> genii: I puppetize :)
[18:28] <lordievader> YamakasY: That is the annoying thing about Ubuntu... If you figure it out, please tell me :)
[18:28] <YamakasY> lordievader: no, because i want to become rich by myselfish :P
[18:29] <lordievader> :(
[18:30] <YamakasY> lordievader: you can buy a share :P
[18:32] <genii> YamakasY: Add: manual   to the end of the /etc/init/mysql.conf file
[18:32] <genii> ( but before any line like: exit 0    or such )
[18:34] <YamakasY> genii: uhm, but it's already running after installation ?
[18:35] <YamakasY> so, I cannot get between installing and starting
[18:36] <genii> YamakasY: To stop: sudo service mysql stop
[18:36] <mgw> Is it ok to post a link to a devops opportunity here? I'm not a recruiter, just looking for help.
[18:36] <YamakasY> genii: but my percona stuff is already there, so it starts wrong
[18:38] <lordievader> genii: The issue is that services start upon install.
[18:39] <dasjoe> YamakasY: you have to divert initctl for this, "dpkg-divert --local --rename --add /sbin/initctl && ln -s /bin/true /sbin/initctl", install your service, then remove /sbin/initctl and restore the original version
[18:39] <lordievader> So say for example your in a chroot and you install a service, the service is started (unwanted) inside the chroot.
[18:39] <dasjoe> By "rm /sbin/initctl && dpkg-divert --local --remove /sbin/initctl"
[18:40] <dasjoe> Also, having a manual backup of /sbin/initctl in case anything goes wrong is a good idea
[18:40] <YamakasY> dasjoe: mhh
[18:40] <YamakasY> maybe an idea indeed
[18:40] <YamakasY> thanks!
[18:41] <lordievader> dasjoe: Looks usefull, thanks :)
[18:43] <genii> YamakasY: In the .cnf file I think you can also have a combination of package { "mysql-server": ensure => installed }   and enable => false,   under the service { "mysqld":   section
[18:43] <YamakasY> genii: yeah can test that
[19:48] <Rich> as
[20:26] <stokachu> rbasak, is it possible to use uvtools behind a proxy?
[21:34] <bananapie> can I do a packet dump with cat on a file in dev or proc or something like that if I am in an unusual situation where I can't install tcpdump or ngrep ?
[21:57] <jrwren> bakhtiya: no
[22:35] <kyle__> I'm trying to verify my packages using dpkg -V, and keep on seeing the error, "dpkg: error: control file 'md5sums' missing value separator"  What exactly does it mean?  When I extract the md5sums file out of the package, it appears complete, with no missing seperators or empty lines.