/srv/irclogs.ubuntu.com/2012/11/10/#ubuntu-server.txt

=== acidflash_ is now known as acidflash
=== furian is now known as shantorn
=== ewindisch_ is now known as ewindisch
=== Err404NotFound is now known as Error404NotFound
=== n0ts_off is now known as n0ts
=== pcarrier_ is now known as pcarrier
=== cpg is now known as cpg|away
=== n0ts is now known as n0ts_off
=== cpg|away is now known as cpg
ekajI 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:24
ekajBrb..06:29
=== n0ts_off is now known as n0ts
ekajBasically I am having this problem, but "sudo dhclient" isn't fixing it: http://askubuntu.com/questions/62908/no-internet-connection-ifconfig-shows-errors06:37
ekajMeh, found a fix06:40
=== cpg is now known as cpg|away
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
ekajOkay...06:53
ekajI 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 =p06:53
=== eakj is now known as ekaj
=== cpg|away is now known as cpg
=== n0ts is now known as n0ts_off
=== Err404NotFound is now known as Error404NotFound
vezqtry commenting out eth0 stuff from /etc/network/interfaces and reboot10:20
=== n0ts_off is now known as n0ts
=== cpg is now known as cpg|away
ironmgood 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
ironmI 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
ironmWhat do I miss in dev75.xml_POST to get this VM image booting frow raw disk device /dev/sdb ?11:52
ironmthank you in advance for any hints.11:53
sim642Can someone explain how I could get audio working on Ubuntu Server?12:12
ironmsim642, does your server hardware support audio ?12:13
sim642It's an old laptop, so yes12:13
ironmsim642, have you tried to install the following alsa tools?12:14
ironmii  alsa-base                             1.0.25+2+nmu2                        all          ALSA driver configuration files12:15
ironmii  alsa-utils                            1.0.25-3                             amd64        Utilities for configuring and using ALSA12:15
ironmsim642, server is usually a machine without GUI12:15
sim642I have those alsa packages installed12:16
sim642Technically that laptop is a server, because the screen is broken12:16
sim642When i want to run alsamixer for example I get an error12:17
sim642"cannot open mixer: No such file or directory"12:17
ironmironm@wheezy:~$ which alsamixer12:18
ironm/usr/bin/alsamixer12:18
sim642It's the same for me12:19
sim642ironm, well "sudo alsamixer" works fine12:22
ironmsim642, try to run this script (I wrote it for my wheezy debian live images ) .. they should work also for ubuntu 12.0412:22
ironminit-alsa-audio.sh12:22
ironmhttp://paste.debian.net/208009/12:22
ironmok12:23
ironms/they/it/12:25
sim642I just discovered that if I run audio-requiring programs with sudo then they all work12:27
sim642It'd be better if they worked without sudo too12:28
ironmsim642, you are missing your user added in /tc/group ... like audio:x:29:ironm12:29
ironmsim642, ironm@wheezy:~$ grep ironm /etc/group12:30
ironmcdrom:x:24:ironm12:30
ironmfloppy:x:25:ironm12:30
ironmaudio:x:29:ironm12:30
ironmdip:x:30:ironm12:30
ironmvideo:x:44:ironm12:30
ironmplugdev:x:46:ironm12:30
sim642I'm kind of new to this stuff, what's the number on each line?12:31
TheLordOfTimeuser id number i think12:32
ironmyou need to add only the username after :12:32
ironm":"12:32
sim642After adding that, do I need to reload the groups or something?12:33
ironmtry it ;)12:33
sim642still doesn't work12:34
ironmsim642, reboot your system12:34
sim642ironm, It works! Thanks for the help12:47
ironmyaw :)12:47
=== glebihan_ is now known as glebihan
ton1c 14:59
=== kInOzAwA is now known as Guest14754
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/106814516:06
=== Guest14754 is now known as kInOzAwA
=== n0ts is now known as n0ts_off
=== acidflash_ is now known as acidflash
duliI'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:33
ironmduli, why don't you use the ubuntu live image ?18:51
ironmduli, you can "dd" it to the usb stick and boot from it18:52
qman__because he probably wants a persistent system18:54
uvirtbot`New bug: #1077434 in apache2 (main) "Apache 2.2.14 Server Status no longer available" [Undecided,New] https://launchpad.net/bugs/107743418:55
ironmqman__, I can't remember if ubuntu live offers persistence live images18:56
ironmit is at least possible with debian live images18:56
ironmqman__, persistent system are not safe ... it is better to use non-persistent systems ...18:58
ironmand in case one need some other stuff just to create new live images with this additional content18:58
qman__what?19:08
qman__of course persistent systems are safe19:08
qman__what do you think installing is19:08
qman__just because he's installing to a flash drive doesn't mean he wants a live system19:09
qman__or even moving it to different hardware19:09
ironmpersistent systems are easy to manipulate19:11
=== Asar is now known as MaisonNotarathed
anzenkethI 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:26
ikoniaanzenketh: why do you want to disable it ?19:35
ikoniaanzenketh: is it causing a problem ?19:35
anzenkethFree up memory.19:35
anzenkethDon't need it.19:35
ikoniado you know how much memory it's using19:36
ikonia(that one module)19:36
ikoniado you know it's actually a module ?19:36
anzenkethIt shows up on the php -m list.19:38
ikoniaI'm not trying to be funny about it, it just seems a random thing to suggest19:38
ikoniarecompiling 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 using19:39
anzenkethIt 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 modules19:39
anzenkethDefault19:39
anzenkethOf php19:39
ikoniaanzenketh: I'd suggest looking at where apache is eating the ram19:40
ikoniadisable any un-needed modules within apache19:40
anzenkethI know where. It has 40 php modules. running.19:40
ikoniaanzenketh: how do you know that's eating the ram ?19:41
anzenkethExperance.19:41
ikoniaanzenketh: how do you know it's those modules19:41
duliironm: 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 ZFS19:41
anzenkethFrom experance the more php modules you have enabled the more memory it eats up.19:42
ikoniaanzenketh: that's not an acceptable proof19:42
ikoniafor all you know those 40 modules could be using 1K between them19:42
duliI guess dd the installed system will be the solution19:42
anzenkethAlso considering that there is no website running.19:43
anzenkethThis is a default installation.19:43
ikoniathat has nothing to do with it19:43
anzenketh# php -m |wc -l19:44
anzenketh2419:44
anzenkethroot     32207  0.0  4.2 47972 33276 ?       Ss   Oct15   1:46 /usr/sbin/httpd19:44
anzenketh# php -m |wc -l19:44
anzenketh4919:44
anzenkethroot      4268  0.0  0.5 111388 11120 ?        Ss   12:35   0:00 /usr/sbin/apache2 -k start19:44
anzenkethJust forget it no-one knows.19:45
anzenkethIt is stupid that ubuntu does not allow you to remove modules without re-compiling php19:45
TheLordOfTimeor you are impatient19:45
TheLordOfTimeor you can find someone who knows the packaging to create you a forked version19:45
TheLordOfTimeits not stupid because if you really care enough to nit-pick modules you'll do it yourself19:46
TheLordOfTimeyou'll notice centos has the same issue with preconfigured compiled php5 with modules19:46
anzenkethI know packaging. I was hopeing there was some way to use dpkg--reconfigure to configure what modules to get installed.19:46
TheLordOfTimewant to know something?19:47
ikoniayou're still not showing me any reason why you think this is eating ram19:47
ikoniayou've just done a count on the php modules19:47
TheLordOfTimedpkg-reconfigure only allows you to change its config-time stuff, not compile time.19:47
TheLordOfTimeand ikonia's right there's no ervidence here of it eating up memory19:47
ikoniawe know the number, you've said the number, why do you thin it's eating ram, how much is it eating19:47
anzenkethI came here to ask a simple question. Is there a way to remove the php modules without re-configuring php19:48
anzenkethI think I have my answer it is no.19:48
ikoniaI don't think you have your answer19:48
TheLordOfTimewe're trying to figure out whether your issue is actually php19:48
TheLordOfTimeor something else19:48
TheLordOfTimeif it is PHP, well fine, we'll help you rebuild it.19:48
TheLordOfTimeif it isn't, we can help narrow down the cause19:48
ikoniaI think you're just flying blind and can't backup anything so dodging the question when people are actually trying to help you19:48
TheLordOfTimei agree with ikonia19:48
anzenkethThe top memory hog on my server is java19:48
anzenkethI already know that.19:48
ikoniaanzenketh: ok, java is not apache19:48
TheLordOfTimethen don't use Java?19:48
TheLordOfTime</obvious>19:49
ikoniaanzenketh: but if you think you apache module is big, lets look at that19:49
anzenkethCan't it is required for a application on the server.19:49
ikoniaanzenketh: how big is your apache process ?19:49
TheLordOfTimethat was a joke, i was being intentionally asinine :p19:49
* TheLordOfTime points at ikonia's questions, and says "You should answer them"19:49
anzenkethwww-data  4391  0.0  0.3 111412  6484 ?        S    12:35   0:00 /usr/sbin/apache2 -k start19:50
ikoniacome on19:50
anzenkethroot      4268  0.0  0.5 111388 11120 ?        Ss   12:35   0:00 /usr/sbin/apache2 -k start19:50
anzenkethIs the root.19:50
ikoniaI want more than that19:50
ikoniathe root is just the one that spawns the children19:50
anzenkethYes I know.19:50
TheLordOfTimeikonia's looking for cild processes too19:51
TheLordOfTimechild*19:51
anzenkethwww-data 4391 0.0 0.3 111412 6484 ? S 12:35 0:00 /usr/sbin/apache2 -k start is the child19:51
ikoniaanzenketh: you seem to think you know what you are doing, so I'll leave you to it19:51
* TheLordOfTime walks off to deal with a misbehaving nginx server19:51
ikoniai'm not going to "beg" to help you or pull info out of you19:51
shaunoit is valid to not that assumptions aren't evidence.  they're a start, not an endpoint19:52
anzenkethI 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:52
anzenkethI know I am shaving off a small point percential19:53
anzenkethI 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:54
ikoniaanzenketh: I think you are making a bad call19:55
ikoniarecopmiling something has big significance, and if you have nothing to suggest it's a problem, you are making a bad call19:55
anzenkethI won't recompile if it requires it.19:55
ikoniadisabling things you have no evidence are a problem, is a bad idea19:56
TheLordOfTimeanzenketh, ikonia's right, you know.19:56
ikoniait'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 logcially19:56
ikoniaI won't comment on it again, good luck19:57
anzenkethYes 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
anzenkethWhich is why I won't do it if it requires it.19:57
TheLordOfTimewhich is why we suggest you find evidence PHP modules are the problem.19:57
TheLordOfTimethere's methods to reduce PHP's memory usage without messing with what modules it loads19:57
anzenkethI 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
TheLordOfTimeheck, 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 resources19:58
TheLordOfTime(granted, php5-fpm, but...)19:58
TheLordOfTimeargh, lag...19:59
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/100838520:01
TheLordOfTimei'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 we20:02
TheLordOfTimell20:02
TheLordOfTimeand to answer your question about what to do when you're up against the wall:20:02
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 coffee20:03
anzenkethThank 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:03
anzenkethI will continue to research the real problem. Java.20:04
asdadasdashi, how can i enable root acces to SFTP with Openssh20:32
TheLordOfTimeyou shouldnt.20:32
asdadasdashi, how can i enable root acces to SFTP with Openssh20:39
guntbertasdadasdas: simply said: don't - what is your real goal?20:50
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/107748321:35
ChmEarlany real difference between useradd & adduser ?22:14
andolChmEarl: adduser is a higher level Perl script which relies on the useradd binary.22:15
guntbertChmEarl: one is the tool that actually does the dirty work (not recommended to invoke directly), the other does things a little smoother22:15
ChmEarlandol, thanks - I never had to add -m22:16
gdeebleEvening, 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 computers23:30
gdeebleon 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:30
dulianybody out there using zfs on ubuntu?23:33
dulidoes it work properly?23:34
ikoniait works in the sense of a fuse file system23:34
ikoniait's not in the official ubuntu kernel, so you'll need to get an external kernel23:35
duliikonia: hum, ok, but in terms of stability, replacing drives etc.23:35
ikoniadepends on where you get the kernel from23:36
ikoniathe patche versions, the base kernel it's applied to, who builds it etc23:36
duliI was hoping to install the dkms through the ppa23:36
dulippa:zfs-native/stable23:36
dulibut I won't go through the trouble if someonte tells me "it's not worth it"23:37
ikoniait'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 patches23:38
dulihum, ok23:38
ikoniaif you want ZFS though, I'd use an OS that supports it properly23:39
ikonia(from my perspective)23:39
dulithe concept of having hds being used as if they were RAM is very attractive23:39
dulibut I'm not willing to get away from ubuntu in order to use it23:40
ikoniaerr as if they are ram.....23:40
ikoniait's just disk pools23:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!