UbuntuIRC / 2009 /12 /28 /#ubuntu-server.txt
niansa
Initial commit
4aa5fce
[00:11] <Psi-Jack-> I'm curious.
[00:11] <Psi-Jack-> Debian still uses the old ifconfig/route stack for pretty much all network initialization, including in ifup/ifdown.
[00:11] <Psi-Jack-> Has Ubuntu made any efforts to move this into iproute2 days?
[00:42] <laen> Zelest: gotta admit that i don't use libvirt, but i haven't found a direct way to do it either.. will let you know if i do :)
[00:44] <laen> Psi-Jack-: i doubt ifconfig is gonna dissapear cause of iproute2
[00:44] <Psi-Jack-> Never said that.
[00:45] <Psi-Jack-> I just wanted to know if Ubuntu's working towards, or already has, started using iproute2 tools over ifconfig/route like most other distributions have already been doing.
[00:45] <Psi-Jack-> Debian, I already know, is still not using iproute2 unless you use it manually yourself.
[01:35] <Swapswap> Why does the motd think I need to restart the server?
[02:12] <jmarsden> Swapswap: motd doesn't, landscape=sysinfo does. Because you installed an updated package that requires it, possibly an updated kernel.
[02:14] <Swapswap> Is there a way to figure out what exactly?
[02:20] <jmarsden> Swapswap: Yes... but you seem to have left... read /var/log/dpkg.log
[02:32] <tesseracter> ive looked all over the web for my situation, and have not found clear advice, understanding, or steps. the situation is ubuntu-desktop, 2 SSDs in a raid0, ext4. do i need a separate boot partition? can it be raid1? can the filesystem root be in the raid partition?
=== klearr_goddamnit is now known as klear
[03:06] <bogeyd6> tesseracter, you dont need a separate boot partition, it can be raid 1 if hardware supports it, yes the root partition can be in the raid
[03:08] <bogeyd6> tesseracter, i hope that is clear enough
[03:08] <tesseracter> bogeyd6: my current error when installing ubuntu is something about the boot install of grub failing. i'll see if i can get some more specific details.
[03:09] <bogeyd6> tesseracter, are you letting ubuntu suggest the partitions or are you trying to make the partitions yourself?
[03:10] <tesseracter> i made the software raid in palimpsest, then select it in the install - thats the only way that i found to select the raid array.
[03:11] <bogeyd6> yeah thats the prob bro
[03:11] <bogeyd6> Let your hardware do the raid
[03:12] <bogeyd6> ubuntu will see it as a single drive and just make the partitions or accept the default partitions
[03:12] <jmarsden> bogeyd6: he has 2 (SATA) SSDs, how can "the hardware do the RAID" ? he lacks a hardware RAID controller.
[03:12] <bogeyd6> you dont need software raid running on raid hardware
[03:13] <bogeyd6> jmarsden, most computers, nay servers, have built in hardware raid, as fake as it may be, but you should let the hw do the work when available
[03:13] <tesseracter> i dont have a hardware raid controller, the mobo has intel matrix raid support, which takes just as much cpu as software raid, and its raid0, so the cpu hit is negligible.
[03:14] <jmarsden> bogeyd6: No, you should NOT use fakeraid with Linux, in general. https://help.ubuntu.com/community/FakeRaidHowto -- see that warning!
[03:16] <bogeyd6> jmarsden, can you be more specific on where the warnings are
[03:16] <jmarsden> bogeyd6: You should be able to set up a Software RAID1 arrangement using the Ubuntu alternate installer. See https://help.ubuntu.com/community/Installation/SoftwareRAID
[03:16] <tesseracter> from what i've read, software raid for a single user system is fine. im not dual booting, so windows doesnt need to understand the setup.
[03:16] <jmarsden> bogey: Read the page. It says "FakeRAID is not supported by Ubuntu. Trying to install Ubuntu on such a partition could easily result in the loss of all your data."
[03:17] <jmarsden> tesseracter: You are correct. Use https://help.ubuntu.com/community/Installation/SoftwareRAID
[03:19] <tesseracter> jmarsden: ok, so that page says that the boot partition must be raid1. ive got 2 64gb drives, OCZ recommends 2-4gb unpartitioned for erase blocks, which leaves ~60gb for stuff. how big should a boot partition be?
[03:20] <jmarsden> tesseracter: 1GB is plenty.
[03:22] <jmarsden> There are people who use 100MB for /boot
[03:22] <tesseracter> well, i've had problems and needed to return to previous kernels in the past, so i'll stick with 1gb.
[03:24] <tesseracter> and im backing everything up on a 2tb drive daily, network weekly, so clearing everything isnt a huge problem.
[03:25] <bogeyd6> sounds like you got this
[03:25] <bogeyd6> we got servers at work that load their /var/www/ from a SAN into a ramdisk so they can be super fast
[03:26] <tesseracter> bogeyd6: i try, but there are a bunch of complications at every turn. i still havent figured out alignment.
[03:27] <tesseracter> and yeah, im finishing things off with an extra 4gb of ram(8 total) and setting up a tmpfs for /tmp and various caches
[03:28] <bogeyd6> you got 8gb total ram installed not including swap?
[03:28] <tesseracter> only 4 right now, 4 in the mail.
[03:29] <bogeyd6> you going 64bit or pae?
[03:30] <tesseracter> im 64 bit at the moment. quadcore watercooled, if it matters. modeling workstation.
[03:31] <tesseracter> the trouble is i spend so much time figuring out how it all works, and i've gotta get stuff done starting tomorrow morning.
[03:32] <bogeyd6> tesseracter, might i ask the goal you are working towards?
[03:33] <tesseracter> bogeyd6: im almost there. a comfortable blender workstation.
[03:34] <tesseracter> and silence is very valuable to me, thats why the ssds and watercooling(looks cool too)
[03:34] <bogeyd6> graphical?
[03:35] <tesseracter> blender = 3d modeling, for game models and cutscreens.
[03:51] <MTecknology> !search pdo
[03:51] <ubottu> Found:
[03:51] <MTecknology> hrm... how do I get PDO?
[03:53] <MTecknology> or enable it..
[03:55] <jmarsden> MTecknology: I don't understand the question... you browse to it... http://packages.debian.org/PACKAGENAME
[03:55] <jmarsden> What do you want it to do for you?
[03:55] <MTecknology> how do I install it
[03:55] <tesseracter> jmarsden: can you link that page again? the software raid one?
[03:55] <jmarsden> You can't install a web site...?
[03:55] <MTecknology> hu?
[03:55] <jmarsden> tesseracter: https://help.ubuntu.com/community/Installation/SoftwareRAID
[03:56] <MTecknology> PDO is an extention of PHP
[03:56] <jmarsden> MTecknology: pdo is short for packages.debian.org which is a web site...
[03:56] <jmarsden> Ah, looks like we have a TLA namespace collision !
[03:56] <MTecknology> oh
[03:57] <jmarsden> I think ther PHp PDO extension is included in the php5-mysql package, or it used to be...
[03:58] <MTecknology> I have that installed...
[03:58] <MTecknology> i php5-mysql - MySQL module for php5
[03:59] <jmarsden> dpkg -L php5-mysql | grep -i pdo # suggests there is PDO stuff in there...
[03:59] <jmarsden> What exactly are you trying to do?
[04:01] <MTecknology> jmarsden: Install Durpal 7
[04:01] <FireCrotch> MTecknology: you have to install pdo from pecl :)
[04:02] <MTecknology> FireCrotch: :(
[04:02] <FireCrotch> MTecknology: you'll need to have php5-dev installed, as well
[04:02] <FireCrotch> pecl install pdo && pecl install pdo_mysql
[04:02] <MTecknology> FireCrotch: what jmarsden just mentioned shows /usr/lib/php5/20060613+lfs/pdo_mysql.so
[04:02] <MTecknology> and /etc/php5/conf.d/pdo_mysql.ini
[04:02] <jmarsden> FireCrotch: Are you sure? PHP PDO was added in Ubuntu Edgy precicely to avoid the need to do that.
[04:03] <FireCrotch> eh jmarsden is probably right :)
[04:03] <jmarsden> I'm not a PHP expert, but... seems odd that such support in Ubuntu would have regressed.
[04:04] <MTecknology> pecl feels like an additional package manager - I don't want to need to go to the dark and ugly days of playing with ruby
[04:04] <jmarsden> MTecknology: My thoughts too.
[04:06] <jmarsden> MTecknology: Drupal6 is packaged and easy to install... looks like Drupal7 is shiny and new and not packaged for Lucid yet...
[04:06] <MTecknology> That .so being there makes me think it is just a matter of enabling it
[04:06] <MTecknology> I don't use web apps like Drupal from repos; I develope for them so I need things that are up to date
[04:07] <MTecknology> Drupal7 isn't released yet - I'm just starting to develop with it
[04:07] <FireCrotch> MTecknology: it *should* be enabled since the pdo_mysql.ini file is there
[04:07] <FireCrotch> MTecknology: unless your /etc/php5/apache2/conf.d/ doesn't have it?
[04:08] <jmarsden> MTecknology: Then logically you should package Drupal7, and then install your package(s), right? :)
[04:11] <jmarsden> MTecknology: On my Karmic box here, installing apache2 and php5-mysql and friends gets me a system where phpinfo() shows: PDO support enabled
[04:11] <jmarsden> So I'd say it "just works" here, as far as that very basic check goes.
[04:12] <MTecknology> jmarsden: D7 should be released before it gets packages IMO
[04:12] <jmarsden> MTecknology: If you are using something you should package it (even if from a DVCS or whatever) so you know what you installed and where... IMO :)
[04:13] <MTecknology> It's just a tarball you drop in /var/www
[04:13] <jmarsden> I package betas and RCs of things all the time for internal/personal/test use.
[04:13] <MTecknology> I'm not good enough at packaging for that
[04:13] <FireCrotch> MTecknology: it would be good practice :)
[04:13] <jmarsden> FireCrotch: That's exactly what I was going to say :)
[04:14] <FireCrotch> jmarsden: great minds think alike :)
[04:14] <MTecknology> I may do that eventually; for now I need to have D7 working
[04:15] <jmarsden> MTecknology: OK, so what exactly is broken? What fails, what error msgs are you seeing?
[04:15] <MTecknology> http://staging7.profarius.com/
[04:15] <MTecknology> I was told this is because it's lacking PDO - I'll try phpinfo()
[04:16] <MTecknology> drivers mysql
[04:16] <MTecknology> interesting
[04:19] <MTecknology> jmarsden: FireCrotch: thanks... it must be some other error :(
[04:19] <jmarsden> BTW I just did wget -O - -c http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz | tar -C /var/www -zxf - and it gets me to the installer screen just fine when I browse to it, so yes, it must be something else.
[04:19] <MTecknology> i got to the installer fine, it's during install that it breaks
[04:20] <jmarsden> OK, I can try it...
[04:22] <lwizardl> is there a printable pdf version of https://help.ubuntu.com/9.10/serverguide/C/
[04:24] <andol> lwizardl: Something like https://help.ubuntu.com/9.10/serverguide/C/serverguide.pdf ?
[04:25] <lwizardl> awesome thanks :)
[04:28] <jmarsden> MTecknology: drupal7 installer working fine here except I need to up the default max memory for PHP... doing that now...
[04:30] <jmarsden> MTecknology: Seems to "just work" here on Karmic 9.10 amd64 once I change that memory limit to 32MB.
[04:33] <MTecknology> jmarsden: I just wiped all the tables - I'll try again
=== henvic is now known as henriquev-off
[04:40] <MTecknology> jmarsden: working now - thanks
[04:40] <MTecknology> I don't know what broke :S
[04:40] <jmarsden> Good. You're welcome.
=== mylogic_ is now known as mylogic
[10:16] <sektorNBA> anyone skilled with squid_ldap_group? I just need to configure it to tell me which group user belongs.
[10:31] <kwork> does anyone have Dell PowerEdge Expandable Raid controller 5
[10:39] <RoyK> kwork: do you need one_
[10:39] <RoyK> ?
[10:40] <kwork> im wondering how i can monitor it on ubuntu/debian
[10:41] <RoyK> I think there's a nagios plugin for that
[10:41] <kwork> nagios is step 2
[10:41] <RoyK> PERC controller?
[10:41] <kwork> for starters i would need something from shell
[10:41] <kwork> yep perc 5/i
[10:41] <RoyK> try with nagios
[10:41] <RoyK> it's easy
[10:42] <RoyK> that is - try the nagios plugin
[10:42] <RoyK> it's just a script after all
[10:42] <RoyK> like all nagios plugins
[10:42] <RoyK> http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/Dell/check_perc/details
[10:42] <RoyK> for instance
[10:48] <kwork> hmmmz okey ill look into it thanks for suggestion
[10:48] <kwork> http://folk.uio.no/trondham/software/check_openmanage.html#dell-openmanage-server-administrator
[10:48] <kwork> found this thingie, getting the openmanage now, i hope i can alienate it to deb
[12:20] <Asad2005> I have installed server 910 and used guided use entire disk and set up LVM but reboot after install now give me grub error: no such partition and goes into grub rescue prompt
[12:21] <Asad2005> ls from the prompt shows (hd0) (hd0,1) then error: out of disk. Any help?
[12:38] <drbobb> hello, I'm using lvm2 on my server, and I'd like some of the logical volumes to be owned by a user other than root - could someone point me in the right direction on how to achieve this? My guess is it can be done by a suitable udev rule, but my attempts so far aren't working.
[12:39] <drbobb> oh, ubuntu-server 8.04 LTS, btw
[13:38] <drbobb> ok it looks like I just solved my problem
[13:58] <johe|work> hi there, i am using snmpd on several servers, one i found the problem that some of them just listen to 127.0.0.1 and so does not reply to the main server, i cant found the config telling to do so, any idea?
[14:09] <khannz> hello, community. I need to create a guest account to my ubuntu-server with ssh login enabled & only homedir rw permissions. What should I do? ^_^ yes, i'm newbee )
=== bigbrovar_ is now known as bigbrovar
=== henriquev-off is now known as henriquev
[15:13] <j416> should I store my SSL private keys unencrypted for my servers (apache, postfix, dovecot) or is there a better way of avoiding the password prompt?
=== erichammond1 is now known as erichammond
=== greenfly_ is now known as greenfly
[16:28] <bkonkle> Quick question - I upgraded from Jaunty server to Karmic server over the weekend, and now my motd is not displaying upon SSH connect. The last login displays, but /etc/motd is not displayed. In /etc/pam.d/login the motd line reads "session optional pam_motd.so ", but I'm not sure where else to go to troubleshoot. Any ideas?
[18:11] <blistov> anyone heard of any bugs regarding md raid5 arrays coming up degraded as /dev/md_dX,
[18:14] <blistov> How do I tell a directory to force permissions on new files?
[18:17] <genii> man umask
[18:23] <blistov> genii, thanks, but umask doesn't work for subdirs correct?
[18:56] <uvirtbot> New bug: #501092 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu7 failed to install/upgrade: Unterprozess installiertes pre-removal-Skript mit Signal (Interrupt) get?tet" [Undecided,New] https://launchpad.net/bugs/501092
[18:59] <ruben23> hi guys
[19:09] <amitry> Are there any prepackaged Ubuntu 8.04 server images for Eucalyptus?
[19:22] <uvirtbot> New bug: #501096 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/501096
[19:39] <mrbrdo> Hey guys does anyone know if it's possible to have a swap partition on a VPS? (fdisk won't work)
[19:39] <mrbrdo> or a swapfile perhaps, if that's even possible on linux?
[19:51] <andol> mrbrdo: Regarding the VPS question then that is something which depends on what kind of virtualisering you are dealing with. Yes, you can use swap files in linux.
[19:52] <uvirtbot> New bug: #404573 in ucf (main) "package update-manager 1:0.93.35 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1) (dup-of: 269539)" [Undecided,Confirmed] https://launchpad.net/bugs/404573
[19:58] <mrbrdo> andol: the panel they use was HyperVM... anything else i can check? i tried making a swapfile but when i try to swapon it, i get swapon: /swap: Operation not permitted. I AM root.
[20:01] <uvirtbot> New bug: #391420 in openldap (main) "package update-manager 1:0.87.31 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)" [Undecided,New] https://launchpad.net/bugs/391420
[20:07] <andol> mrbrdo: Sounds like a good question to ask support @ your-vps-provider? :)
[20:10] <mrbrdo> they take longer than you :) but i guess so.
[20:20] <d35iboy> Hi..when I try to connect to vnc server..it dont accept any connection :(
[20:21] <d35iboy> I installed vnc4u
[20:37] <blistov> my server boots from an lvm on top of an md raid5. grub is able to load the kernel, but the kernel can't seem to figure out how to actually start the md raid5. anyone know why?
[21:30] <mrbrdo> how can i set the number of threads/processes that bind9 creates?
[21:34] <wizardslovak> hello people
[21:35] <wizardslovak> i am changing my server hardware,
[21:35] <wizardslovak> is there way to switch my current settings to new server?
[21:36] <wizardslovak> i heard to .tar my .etc directory and then just transfer it to my new server
[21:36] <wizardslovak> anyone help?
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== Jagged_ is now known as Jagged
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
[23:00] <pting> i'm setting up cron jobs to rsync from multiple nginx logs from different servers to a single server. is it better to rsync from this single server, or have the multiple webservers rsync to the single server?
[23:05] <pting> i suppose it'll probably be easier to manage if i had that single server rsync to the multiple webservers
[23:07] <pting> i do have puppet setup, so deploying changes to that cron job isn't too bad... but i think i'll go with the latter
[23:17] <jakwgrav> If I start off building a File Server and later decide to use it to host a website, is this recommended or should I build a File/Web Server from the beginning