[00:00] is vi and vim the same in ubuntu server [00:00] 14.04* [00:01] vi is vim if vim-basic is installed [00:02] RoyK: thanks, I thought thats what happens [00:02] queorgullo is a spambot, btw [00:03] zackify: vim is always better than old vi [00:04] (unless you're on a very tiny embedded thing) [00:08] 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' === ideopathic_ is now known as ideopathic === Eu is now known as Guest44460 === markthomas is now known as markthomas|away === peter is now known as Guest44805 === havanamint is now known as havanamint_out === Ursinha_ is now known as Guest97591 === danley_ is now known as danley === semiosis_ is now known as semiosis === MadsRC_ is now known as MadsRC === RobertLaptop_ is now known as RobertLaptop === yokel_ is now known as yokel === broder_ is now known as broder === Pici` is now known as Pici === bigjools_ is now known as bigjools === psivaa_ is now known as psivaa === ggherdov`_ is now known as ggherdov` === tsimpson_ is now known as tsimpson === SP33D_ is now known as SP33D === Guest97591 is now known as Ursinha === Ursinha is now known as Guest20083 === jeremy_carroll__ is now known as jeremy_carroll_ === thesheff17_ is now known as thesheff17 === imanc_ is now known as imanc === IdleOne is now known as Guest28381 === Tm_Tr is now known as Guest65216 === SpamapS_ is now known as SpamapS === Guest28381 is now known as IdleOne === bilde2910 is now known as bilde2910|away === bilde2910|away is now known as bilde2910 === bilde2910 is now known as bilde2910|away === mfisch is now known as Guest18588 [05:43] evening everyone, anyone got some wisdom on samba4? [06:13] Good morning. [06:15] gutentag lord [06:16] Hey FilthyMacNasty, how are you? [06:16] if it was any better I'd need 2 of me to enjoy it [06:17] Sounds good ;) [06:18] fiddling with samba4 tonight === rharper is now known as rharper_brux === nath|off is now known as nathema === gnuoy` is now known as gnuoy [07:23] is it possible to install zypper on ubuntu and does it work well? [07:25] I use buttons not zypper, I'm amish === Guest65216 is now known as Tm_Tr === shauno_ is now known as shauno [09:17] 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] !remmina [09:22] naturally ubotu dont know what that is [09:22] I use x11vnc [09:23] Sycrid: what is remmina? === caribou_ is now known as caribou === lool- is now known as lool [09:32] FiltyMcNasty: It's an rdp program for linux. [09:32] Really good going from linux into windows environments. [09:32] 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] ok, from a windows box right? [09:34] 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] no, from ubuntu to ubuntu [09:34] same x11vnc and the vnc client of your choice [09:35] cool, [09:35] !info remmina [09:35] remmina (source: remmina): remote desktop client for GNOME desktop environment. In component main, is optional. Version 1.0.0-4ubuntu3 (trusty), package size 127 kB, installed size 362 kB [09:35] so, on the server sudo apt-get install x11vnc [09:36] ssh into the box, run x11vnc, when you close it the security risk closes with it [09:36] having a full time remote desktop server running is bad [09:37] yeah, it's just so I can run updates from time to time, don't want it open permanently. [09:38] 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] FiltyMacNasty: did as you said, and I don't see the remote desktop window... I did get the security message though [09:47] did you install x11vnc on the server? [09:47] ye [09:47] yes* [09:48] do I need to install it locally? [09:48] no, you need to open a terminal ssh into the server and run x11vnc --xauth guess [09:49] done the ssh and run x11vnc [09:49] I'll try again [09:50] 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] " [09:51] did you type x11vnc --xauth guess [09:51] wait, sudo [09:51] sudo x11vnc --xauth guess [09:52] then rdp into it using vnc protocols [09:53] are you using unity on your desktop? [09:56] Sycrid: you'll need to go into remmina and change the protocol from rdp to vnc [09:56] sorry was checking server locally. [09:57] restarting it now. [09:57] (Filthy, thanks for the help. I've got to go, will be back later if I need further help). [09:57] I'll be around === vincent_1dk is now known as vincent_vdk [11:04] 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] never used the reserved bios boot area option, but the rest of it seems to be right on target, matts1lver [11:06] I believe it is required for GPT due to the size of the disks [11:07] 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] well it is true i havent used bigger than 1tb's [11:08] OK, any one else? [11:09] I will also try #ubuntu as this isn't 100% just a server question [11:13] matts1lver: Do you have /boot outside of lvm? [11:15] 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] This is GPT, not MBR [11:15] Grub doesn't like to boot from lvm. [11:15] It's a good idea to get that outside of the lvm partitions. [11:16] grub is not in lvm [11:17] matts1lver: I'm not talking about grub, guess I wasn't clear. I was talking about /boot or the kernel/initrd. [11:18] the whole /boot directory needs to be outside lvm [11:18] **grub is not in lvm** [11:18] ^ [11:18] matts1lver: Again, I'm not talking about grub. [11:19] But /boot is not required with GPT….correct? [11:19] well if you want your kernel doesnt it live in there? [11:20] matts1lver: /boot contains the kernel/initrd how do you suppose to boot your system without it? [11:20] ok let me try something then === jtv1 is now known as jtv [11:46] 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] lordievader: thanks for the assistance, creating the extra raid for /boot worked. [12:06] woot I was right! [12:07] Yes right, thanks === Guest61804 is now known as rcj === rcj is now known as Guest90815 [12:57] 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] i am using this linode guide https://www.linode.com/docs/websites/lamp/lamp-server-on-ubuntu-12-04-precise-pangolin [12:58] and it requires purchasing a domain [12:59] i tried using the ip address and setting different ports but i cant access index.html on http://myip:8080 [12:59] or even http://myip:8080/index.html [13:00] ubuntu server 14 lts [13:01] where can i paste my /etc/apache2/sites-available/000-default file? [13:19] can anyone help me set it up? === smoser` is now known as smoser [13:20] virtualhost: unfortunately I dont know how to make 1 instance of apache serve multiple ports [13:21] virtualhost: I was mistaken earlier I thought you had seperate machines for each site [13:21] virtualhost: Is Apache listening to 8080? [13:22] when i directed port 80 to an empty dir, it showed what was on port 8080 [13:24] !paste [13:24] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [13:27] http://paste.ubuntu.com/8559091/ === Guest24850 is now known as balloons [13:27] virtualhost: What does 'netstat -tulpn|grep 8080' return? [13:28] nothing [13:28] virtualhost: What does nmap say about the port? [13:28] virtualhost: your document root on *80 is misspelled [13:32] 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] WARNING: No targets were specified, so 0 hosts scanned. [13:32] can you please specify the command to use here? [13:32] virtualhost: You forgot to specify the host, nmap -p 8080 -Pn [13:33] FilthyMacNasty where do you see an error? i have copied from what was allready there [13:33] virtualhost: You know that you can fake a domain name using /etc/hosts ? [13:34] nmap output: Host is up (0.000074s latency). PORT STATE SERVICE 8080/tcp closed http-proxy [13:35] jpds no i did not. how can i use that in my case? [13:36] virtualhost: There you go, apache is not listening to that port. [13:36] 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] virtualhost: fakedomain.test:8080 ? [13:36] lordievader, how can i make it listen? [13:36] virtualhost: Look at the Apache error log and figure out why it's not starting. [13:37] ^ [13:43] the directory on virtualhost *80 is spelled */pot80/* not */port80/* [13:45] 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] hello guys, could you help me with this: http://askubuntu.com/questions/536883/server-crashed-but-why?noredirect=1#comment734030_536883 [13:45] did you restart apache after the fix? [13:46] i got it! [13:47] i restart apache after every change [13:47] all i had to do is write Listen 8080 Listen 80 on the begining of the conf file [13:47] i saw it here: http://httpd.apache.org/docs/2.2/bind.html [13:48] thanks to lordievader i knew that port 8080 is inactive and now it is [13:48] thank you all for our help! [13:49] virtualhost: No problem ;) [13:49] 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] your *80 and *8080 need to be xxx.xxx.xxx.xxx:80 and xxx.xxx.xxx.xxx:8080 [13:50] betcha that fixes it [13:51] 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] rock on [13:52] anybody can help me? [13:52] I think its an either or situation with the * or the address must use one or the other but not both [13:52] whatcha need WhiteIntel [13:52] this here: http://askubuntu.com/questions/536883/server-crashed-but-why?noredirect=1#comment734030_536883 === bilde2910|away is now known as bilde2910 [14:03] 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:03] Launchpad bug 1379080 in cloud-init "update-grub-legacy-ec2 fails to detect xen kernel" [Medium,New] [14:06] @FilthyMacNasty can you help me? [14:07] not really alot of help I'm afraid, got me scratchin my head [14:08] Ok, no problem, can you give me any other tips where I could ask? [14:09] lemme eyeball it one more time, I've been up all night [14:09] ok, thank you === rcj_ is now known as rcj [14:12] WhiteIntel: take a look at this https://www.kernel.org/doc/Documentation/trace/events-nmi.txt === hxm is now known as Guest75916 === Guest75916 is now known as hxm [15:28] 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 === johnlage is now known as Artemis === Artemis is now known as johanleg === johanleg is now known as johnlage [15:29] blackyboy: How are those two networks interconnected? [15:30] In local area [15:30] blackyboy: Could you explain your network setup in more detail? [15:30] i want to use different network for those === johnlage is now known as Andromeda-DT [15:32] 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 === Andromeda-DT is now known as johnlage [15:32] set your vm network card to bridged and set a static ip during install [15:34] 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] blackyboy: That is not a network description, please describe how you've setup your network. [15:34] may i know how can i route between two network from 192.168.0.10 to 172.24.0.10 ? [15:35] put it in the hosts file [15:37] doesn't sound like you want to route that [15:37] it sounds like yo uwant to nat it [15:39] 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] why not just put the hostname and ip addy in the hosts file and voila [15:40] Is it possible to ping if one of my VM in 192.168.0.10 and other vm in 172.24.0.10 ? === hxm is now known as Guest29005 [15:41] coreycb: ceilometer rc3 is available [15:41] if you use ping wateverhostname you put in the hosts file you can [15:41] blackyboy: As patdk-wk says, you likely want to NAT that. [15:42] FilthyMacNasty: :( how its possible if other network === Guest29005 is now known as hxm [15:42] lordievader: yes you right and patk-wk too right [15:43] 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] FilthyMacNasty: The hosts file is used for resolving hosts, not for routing/NATing. [15:45] lordievader: 8-) well said [15:45] 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] its a kludge [15:46] zul, thanks I'll get it === markthomas|away is now known as markthomas [16:42] grrr vmware is hating on me [16:55] zul, when you have a moment, https://code.launchpad.net/~corey.bryant/ceilometer/2014.2-rc3/+merge/238328 [16:59] coreycb: done [17:00] zul, thanks === balloons is now known as Guest18783 === matsubara is now known as matsubara-lunch === Lcawte|Away is now known as Lcawte === Guest18783 is now known as balloons_ === balloons_ is now known as balloons === matsubara-lunch is now known as matsubara === wendar_ is now known as wendar [18:17] why does mysql stop actually never stops the mysql server ? [18:20] likely cause you broke the debian-mant user account in mysql [18:25] YamakasY: Probably because Upstart [18:26] genii: I get the feeling, as it's percona it get's stuck on bootstrap [18:26] how can I avoid to start mysql after installing ? [18:27] genii: I puppetize :) [18:28] YamakasY: That is the annoying thing about Ubuntu... If you figure it out, please tell me :) [18:28] lordievader: no, because i want to become rich by myselfish :P [18:29] :( [18:30] lordievader: you can buy a share :P [18:32] YamakasY: Add: manual to the end of the /etc/init/mysql.conf file [18:32] ( but before any line like: exit 0 or such ) [18:34] genii: uhm, but it's already running after installation ? [18:35] so, I cannot get between installing and starting [18:36] YamakasY: To stop: sudo service mysql stop [18:36] Is it ok to post a link to a devops opportunity here? I'm not a recruiter, just looking for help. [18:36] genii: but my percona stuff is already there, so it starts wrong [18:38] genii: The issue is that services start upon install. [18:39] 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] So say for example your in a chroot and you install a service, the service is started (unwanted) inside the chroot. [18:39] By "rm /sbin/initctl && dpkg-divert --local --remove /sbin/initctl" [18:40] Also, having a manual backup of /sbin/initctl in case anything goes wrong is a good idea [18:40] dasjoe: mhh [18:40] maybe an idea indeed [18:40] thanks! [18:41] dasjoe: Looks usefull, thanks :) [18:43] 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] genii: yeah can test that === Guest18588 is now known as mfisch [19:48] as === havanamint_out is now known as havanamint [20:26] rbasak, is it possible to use uvtools behind a proxy? === guntbert_ is now known as guntbert === markthomas is now known as markthomas|away === thumper is now known as thumper-dogwalk [21:34] 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] bakhtiya: no === markthomas|away is now known as markthomas === thumper-dogwalk is now known as thumper [22:35] 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. === Lcawte is now known as Lcawte|Away