[06:24] <ekaj> I installed Ubuntu Server 12.04 on a Dell XPS 400, and I'm trying to connect to the internet... but when I do ifconfig, it just shows the loopback interface (no eth0) - I have an onboard ethernet port, and put ina card incase that port was bad, but neither work, and lspci shows both ethernet controllers... any idea what to do?
[06:29] <ekaj> Brb..
[06:37] <ekaj> Basically I am having this problem, but "sudo dhclient" isn't fixing it: http://askubuntu.com/questions/62908/no-internet-connection-ifconfig-shows-errors
[06:40] <ekaj> Meh, found a fix
[06:53] <ekaj> Okay...
[06:53] <ekaj> I did 'sudo ifconfig eth0 up' to turn on the port, but now it only has an IPv6 address and no IPv4, so it still won't work =p
[10:20] <vezq> try commenting out eth0 stuff from /etc/network/interfaces and reboot
[11:52] <ironm> good morning. I have managed it to install a ubuntu-server 12.04.1 VM on raw disk device due to the following .xml config file: dev75.xml_INIT http://paste.debian.net/207998/
[11:52] <ironm> I am able to boot from this raw disk device without kvm (after removing disk devices with kvm host) but I *can't* boot this images as VM (I use the following .xml config for the VM boot): dev75.xml_POST - http://paste.debian.net/208001/
[11:52] <ironm> What do I miss in dev75.xml_POST to get this VM image booting frow raw disk device /dev/sdb ?
[11:53] <ironm> thank you in advance for any hints.
[12:12] <sim642> Can someone explain how I could get audio working on Ubuntu Server?
[12:13] <ironm> sim642, does your server hardware support audio ?
[12:13] <sim642> It's an old laptop, so yes
[12:14] <ironm> sim642, have you tried to install the following alsa tools?
[12:15] <ironm> ii  alsa-base                             1.0.25+2+nmu2                        all          ALSA driver configuration files
[12:15] <ironm> ii  alsa-utils                            1.0.25-3                             amd64        Utilities for configuring and using ALSA
[12:15] <ironm> sim642, server is usually a machine without GUI
[12:16] <sim642> I have those alsa packages installed
[12:16] <sim642> Technically that laptop is a server, because the screen is broken
[12:17] <sim642> When i want to run alsamixer for example I get an error
[12:17] <sim642> "cannot open mixer: No such file or directory"
[12:18] <ironm> ironm@wheezy:~$ which alsamixer
[12:18] <ironm> /usr/bin/alsamixer
[12:19] <sim642> It's the same for me
[12:22] <sim642> ironm, well "sudo alsamixer" works fine
[12:22] <ironm> sim642, try to run this script (I wrote it for my wheezy debian live images ) .. they should work also for ubuntu 12.04
[12:22] <ironm> init-alsa-audio.sh
[12:22] <ironm> http://paste.debian.net/208009/
[12:23] <ironm> ok
[12:25] <ironm> s/they/it/
[12:27] <sim642> I just discovered that if I run audio-requiring programs with sudo then they all work
[12:28] <sim642> It'd be better if they worked without sudo too
[12:29] <ironm> sim642, you are missing your user added in /tc/group ... like audio:x:29:ironm
[12:30] <ironm> sim642, ironm@wheezy:~$ grep ironm /etc/group
[12:30] <ironm> cdrom:x:24:ironm
[12:30] <ironm> floppy:x:25:ironm
[12:30] <ironm> audio:x:29:ironm
[12:30] <ironm> dip:x:30:ironm
[12:30] <ironm> video:x:44:ironm
[12:30] <ironm> plugdev:x:46:ironm
[12:31] <sim642> I'm kind of new to this stuff, what's the number on each line?
[12:32] <TheLordOfTime> user id number i think
[12:32] <ironm> you need to add only the username after :
[12:32] <ironm> ":"
[12:33] <sim642> After adding that, do I need to reload the groups or something?
[12:33] <ironm> try it ;)
[12:34] <sim642> still doesn't work
[12:34] <ironm> sim642, reboot your system
[12:47] <sim642> ironm, It works! Thanks for the help
[12:47] <ironm> yaw :)
[14:59] <ton1c>  
[16:06] <uvirtbot`> New bug: #1068145 in puppet (main) "Fix for CVE-2012-3867 (puppet) is too restrictive - TLS certificates now break" [High,Triaged] https://launchpad.net/bugs/1068145
[18:33] <duli> I'm trying to install ubuntu server 12.04 on a USB flash stick (8GB), but it stops on 31% (installing central packages). Any clues?
[18:51] <ironm> duli, why don't you use the ubuntu live image ?
[18:52] <ironm> duli, you can "dd" it to the usb stick and boot from it
[18:54] <qman__> because he probably wants a persistent system
[18:55] <uvirtbot`> New bug: #1077434 in apache2 (main) "Apache 2.2.14 Server Status no longer available" [Undecided,New] https://launchpad.net/bugs/1077434
[18:56] <ironm> qman__, I can't remember if ubuntu live offers persistence live images
[18:56] <ironm> it is at least possible with debian live images
[18:58] <ironm> qman__, persistent system are not safe ... it is better to use non-persistent systems ...
[18:58] <ironm> and in case one need some other stuff just to create new live images with this additional content
[19:08] <qman__> what?
[19:08] <qman__> of course persistent systems are safe
[19:08] <qman__> what do you think installing is
[19:09] <qman__> just because he's installing to a flash drive doesn't mean he wants a live system
[19:09] <qman__> or even moving it to different hardware
[19:11] <ironm> persistent systems are easy to manipulate
[19:26] <anzenketh> I am trying to figure out how to disable the calendar php module. It looks like it is pre-compiled. Will I have to compile from scratch to get rid of it?
[19:35] <ikonia> anzenketh: why do you want to disable it ?
[19:35] <ikonia> anzenketh: is it causing a problem ?
[19:35] <anzenketh> Free up memory.
[19:35] <anzenketh> Don't need it.
[19:36] <ikonia> do you know how much memory it's using
[19:36] <ikonia> (that one module)
[19:36] <ikonia> do you know it's actually a module ?
[19:38] <anzenketh> It shows up on the php -m list.
[19:38] <ikonia> I'm not trying to be funny about it, it just seems a random thing to suggest
[19:39] <ikonia> recompiling the whole of PHP and breaking the package managers compatability for a core web component to disable a module you don't even known how much ram it's using
[19:39] <anzenketh> It is not necessarily that it itself is using up too much memory. It is that apache is using too much memory due to it has over 40 modules
[19:39] <anzenketh> Default
[19:39] <anzenketh> Of php
[19:40] <ikonia> anzenketh: I'd suggest looking at where apache is eating the ram
[19:40] <ikonia> disable any un-needed modules within apache
[19:40] <anzenketh> I know where. It has 40 php modules. running.
[19:41] <ikonia> anzenketh: how do you know that's eating the ram ?
[19:41] <anzenketh> Experance.
[19:41] <ikonia> anzenketh: how do you know it's those modules
[19:41] <duli> ironm: i'd like to use ubuntu on the flash drive as a server solely for manage virtual machines. The real storage will be built on 3 HDs using ZFS
[19:42] <anzenketh> From experance the more php modules you have enabled the more memory it eats up.
[19:42] <ikonia> anzenketh: that's not an acceptable proof
[19:42] <ikonia> for all you know those 40 modules could be using 1K between them
[19:42] <duli> I guess dd the installed system will be the solution
[19:43] <anzenketh> Also considering that there is no website running.
[19:43] <anzenketh> This is a default installation.
[19:43] <ikonia> that has nothing to do with it
[19:44] <anzenketh> # php -m |wc -l
[19:44] <anzenketh> 24
[19:44] <anzenketh> root     32207  0.0  4.2 47972 33276 ?       Ss   Oct15   1:46 /usr/sbin/httpd
[19:44] <anzenketh> # php -m |wc -l
[19:44] <anzenketh> 49
[19:44] <anzenketh> root      4268  0.0  0.5 111388 11120 ?        Ss   12:35   0:00 /usr/sbin/apache2 -k start
[19:45] <anzenketh> Just forget it no-one knows.
[19:45] <anzenketh> It is stupid that ubuntu does not allow you to remove modules without re-compiling php
[19:45] <TheLordOfTime> or you are impatient
[19:45] <TheLordOfTime> or you can find someone who knows the packaging to create you a forked version
[19:46] <TheLordOfTime> its not stupid because if you really care enough to nit-pick modules you'll do it yourself
[19:46] <TheLordOfTime> you'll notice centos has the same issue with preconfigured compiled php5 with modules
[19:46] <anzenketh> I know packaging. I was hopeing there was some way to use dpkg--reconfigure to configure what modules to get installed.
[19:47] <TheLordOfTime> want to know something?
[19:47] <ikonia> you're still not showing me any reason why you think this is eating ram
[19:47] <ikonia> you've just done a count on the php modules
[19:47] <TheLordOfTime> dpkg-reconfigure only allows you to change its config-time stuff, not compile time.
[19:47] <TheLordOfTime> and ikonia's right there's no ervidence here of it eating up memory
[19:47] <ikonia> we know the number, you've said the number, why do you thin it's eating ram, how much is it eating
[19:48] <anzenketh> I came here to ask a simple question. Is there a way to remove the php modules without re-configuring php
[19:48] <anzenketh> I think I have my answer it is no.
[19:48] <ikonia> I don't think you have your answer
[19:48] <TheLordOfTime> we're trying to figure out whether your issue is actually php
[19:48] <TheLordOfTime> or something else
[19:48] <TheLordOfTime> if it is PHP, well fine, we'll help you rebuild it.
[19:48] <TheLordOfTime> if it isn't, we can help narrow down the cause
[19:48] <ikonia> I think you're just flying blind and can't backup anything so dodging the question when people are actually trying to help you
[19:48] <TheLordOfTime> i agree with ikonia
[19:48] <anzenketh> The top memory hog on my server is java
[19:48] <anzenketh> I already know that.
[19:48] <ikonia> anzenketh: ok, java is not apache
[19:48] <TheLordOfTime> then don't use Java?

[19:49] <ikonia> anzenketh: but if you think you apache module is big, lets look at that
[19:49] <anzenketh> Can't it is required for a application on the server.
[19:49] <ikonia> anzenketh: how big is your apache process ?
[19:49] <TheLordOfTime> that was a joke, i was being intentionally asinine :p
[19:49]  * TheLordOfTime points at ikonia's questions, and says "You should answer them"
[19:50] <anzenketh> www-data  4391  0.0  0.3 111412  6484 ?        S    12:35   0:00 /usr/sbin/apache2 -k start
[19:50] <ikonia> come on
[19:50] <anzenketh> root      4268  0.0  0.5 111388 11120 ?        Ss   12:35   0:00 /usr/sbin/apache2 -k start
[19:50] <anzenketh> Is the root.
[19:50] <ikonia> I want more than that
[19:50] <ikonia> the root is just the one that spawns the children
[19:50] <anzenketh> Yes I know.
[19:51] <TheLordOfTime> ikonia's looking for cild processes too
[19:51] <TheLordOfTime> child*
[19:51] <anzenketh> www-data 4391 0.0 0.3 111412 6484 ? S 12:35 0:00 /usr/sbin/apache2 -k start is the child
[19:51] <ikonia> anzenketh: you seem to think you know what you are doing, so I'll leave you to it
[19:51]  * TheLordOfTime walks off to deal with a misbehaving nginx server
[19:51] <ikonia> i'm not going to "beg" to help you or pull info out of you
[19:52] <shauno> it is valid to not that assumptions aren't evidence.  they're a start, not an endpoint
[19:52] <anzenketh> I apologize if I came off hostile. Do I know the specifics of ubuntu no. When disable extentions on the servers I am used too it is eaither recompile on cpanel servers or edit a extentions.ini file.
[19:53] <anzenketh> I know I am shaving off a small point percential
[19:54] <anzenketh> I came here with a question. I am trying to figure out how to disable the calendar php module. It looks like it is pre-compiled. Will I have to compile from scratch to get rid of it?
[19:55] <ikonia> anzenketh: I think you are making a bad call
[19:55] <ikonia> recopmiling something has big significance, and if you have nothing to suggest it's a problem, you are making a bad call
[19:55] <anzenketh> I won't recompile if it requires it.
[19:56] <ikonia> disabling things you have no evidence are a problem, is a bad idea
[19:56] <TheLordOfTime> anzenketh, ikonia's right, you know.
[19:56] <ikonia> it's up to you what you do, as I said, I'm not going to pull info out of you, you feel you know the problem without any reason, so I can't help you why you are just going to fly blind and not approach it logcially
[19:57] <ikonia> I won't comment on it again, good luck
[19:57] <anzenketh> Yes I am aware that ikonia is right. recompiling has big significance. Not only is it a lot of work it breaks things and it hard to undo.
[19:57] <anzenketh> Which is why I won't do it if it requires it.
[19:57] <TheLordOfTime> which is why we suggest you find evidence PHP modules are the problem.
[19:57] <TheLordOfTime> there's methods to reduce PHP's memory usage without messing with what modules it loads
[19:58] <anzenketh> I am not calling it being a problem. It is a performance tweak. A vary small one but when you back is up against the wall what are you going to do.
[19:58] <TheLordOfTime> heck, we run into that a lot with NGINX, its why one of our people (nginx's people) wrote a guide for configuring php correctly to use low-memory or low resources
[19:58] <TheLordOfTime> (granted, php5-fpm, but...)
[19:59] <TheLordOfTime> argh, lag...
[20:01] <uvirtbot`> New bug: #1008385 in apache2-mpm-itk (main) "apache-mpm-itk writes wrong process name in /proc/$$/status" [Undecided,Confirmed] https://launchpad.net/bugs/1008385
[20:02] <TheLordOfTime> i'm going to agree with ikonia, if you're going to plunge blindly into saying "I think the loaded modules are at fault" without even doing research or *testing* things that're online for streamlining its mem usage (PHP), i'm going to walk off as we
[20:02] <TheLordOfTime> ll
[20:02] <TheLordOfTime> and to answer your question about what to do when you're up against the wall:
[20:03] <TheLordOfTime> "Ask for help finding out what is at fault with eating up the memory.  Not blindly assuming something the software loads automatically is the problem."
[20:03]  * TheLordOfTime walks off to find coffee
[20:03] <anzenketh> Thank you for your assistance. I am getting the impression that it is not possible to disable the default PHP modules without re-compiling. So due to the problems with re-compiling and time time required to repackage it I am just not going to worry bout it.
[20:04] <anzenketh> I will continue to research the real problem. Java.
[20:32] <asdadasdas> hi, how can i enable root acces to SFTP with Openssh
[20:32] <TheLordOfTime> you shouldnt.
[20:39] <asdadasdas> hi, how can i enable root acces to SFTP with Openssh
[20:50] <guntbert> asdadasdas: simply said: don't - what is your real goal?
[21:35] <uvirtbot`> New bug: #1077483 in autofs5 (main) "automount.8: "Macro ".RE" without ".RS"; some spelling corrections to the manual" [Undecided,New] https://launchpad.net/bugs/1077483
[22:14] <ChmEarl> any real difference between useradd & adduser ?
[22:15] <andol> ChmEarl: adduser is a higher level Perl script which relies on the useradd binary.
[22:15] <guntbert> ChmEarl: one is the tool that actually does the dirty work (not recommended to invoke directly), the other does things a little smoother
[22:16] <ChmEarl> andol, thanks - I never had to add -m
[23:30] <gdeeble> Evening, just curious if anyone can help me with Vlans and using EBox/Zentyal? I set up each vlan(vlan1 and Vlan2) in the network interfaces, and when I restart now, the server can't get out to the internet but will work internally, but causes Samba not to start. I am just playing around with this but trying to learn as I want to divide my network up in time so that I have my computers
[23:30] <gdeeble> on 1 vlan and my other devices on another vlan. Maybe I'm going about this wrong and someone can show me the right way. Currently there is just a hub off the server for testing.
[23:33] <duli> anybody out there using zfs on ubuntu?
[23:34] <duli> does it work properly?
[23:34] <ikonia> it works in the sense of a fuse file system
[23:35] <ikonia> it's not in the official ubuntu kernel, so you'll need to get an external kernel
[23:35] <duli> ikonia: hum, ok, but in terms of stability, replacing drives etc.
[23:36] <ikonia> depends on where you get the kernel from
[23:36] <ikonia> the patche versions, the base kernel it's applied to, who builds it etc
[23:36] <duli> I was hoping to install the dkms through the ppa
[23:36] <duli> ppa:zfs-native/stable
[23:37] <duli> but I won't go through the trouble if someonte tells me "it's not worth it"
[23:38] <ikonia> it's worth trying if you want zfs, but just keep in mind it's not in the mainline kernel, so it's stability will depend how the kernel progress and the compatability with the patches
[23:38] <duli> hum, ok
[23:39] <ikonia> if you want ZFS though, I'd use an OS that supports it properly
[23:39] <ikonia> (from my perspective)
[23:39] <duli> the concept of having hds being used as if they were RAM is very attractive
[23:40] <duli> but I'm not willing to get away from ubuntu in order to use it
[23:40] <ikonia> err as if they are ram.....
[23:40] <ikonia> it's just disk pools