UbuntuIRC / 2009 /03 /01 /#ubuntu-server.txt
niansa
Initial commit
4aa5fce
[00:25] <temperature> How to enable cpufreq on 8.10 server. "$cpufreq-info" gives " analyzing CPU 7:
[00:25] <temperature> no or unknown cpufreq driver is active on this CPU"
[00:28] <MatBoy> mhh, ubuntu has an old clamav :S
[00:35] <giovani> MatBoy: distributions don't release instant updates -- the scanner doesn't need to be new ... it's the signatures that do
=== mccune is now known as jmccune
=== zul_ is now known as zul
[01:38] * Nafallo wonders how much he'll loose in speed to install a cgi php rather than a module.
[01:38] <ScottK> MatBoy: What release are you on?
[01:38] <Nafallo> hardy
[01:38] <Nafallo> drupal box.
[01:38] <ScottK> Current clamav is in hardy-backports
[01:38] <Nafallo> oh
[01:39] <Nafallo> that wasn't for me :-P
[01:39] <ScottK> No, that's why I said MatBoy.
[01:39] <ScottK> ;-)
[01:39] <Nafallo> yea. just require me reading as well ;-)
[01:41] * Nafallo looks at the manually selected packages he have and frowns
[01:41] <Nafallo> drupal5, php5-cgi, php5-pgsql, postgresql, postgresql-client-8.3
[01:42] <Nafallo> I should probably check into suphp as well, no?
[01:44] <Nafallo> god damn postfix... jesus.
[01:49] <hads> Language
[02:08] <temperature> anybody any idea why cpu temp raises 10° just from upgrading from 8.04 to 8.10 server?
[02:10] <stainer> there is a bug about temps https://bugs.launchpad.net/ubuntu/+source/linux/+bug/67906
[02:10] <uvirtbot> Launchpad bug 67906 in linux "CPU Temperature significantly higher in Edgy than in Dapper" [Undecided,Confirmed]
[02:29] <giovani> Nafallo: what's wrong with postfix?
[02:31] <lamont> Nafallo: it's called Reverse Polar Notation, not postfix. :-p
[02:31] <Nafallo> giovani: drupal requires and MTA for whatever random reason ;-)
[02:31] <Nafallo> lamont: ha! :-P
[02:31] <giovani> why on earth would you use drupal?
[02:31] <giovani> it's awful
[02:31] <Nafallo> lamont: I wanted to ask you about something anyway!
[02:32] <Nafallo> giovani: because my customer wants it.
[02:32] <giovani> get better customers
[02:32] <Nafallo> lamont: still around?
[02:32] <giovani> or convince them not to use it
[02:32] <Nafallo> giovani: *shrugs* do not care.
[02:34] <temperature> anybody know how to get coufreq running on 64-bit xeons? Other than recompiling the kernel I find no answer through google.
[02:38] <giovani> temperature: referencing https://bugs.launchpad.net/ubuntu/+bug/163398 ?
[02:38] <uvirtbot> Launchpad bug 163398 in linux "CPU Frequency Throttling not working on Xeon EM64T" [Undecided,New]
[02:38] <giovani> seems it's just passed down from the debian kernel -- since there's a debian bug for the same problem
[02:38] <temperature> ....
[02:38] <giovani> enough people have confirmed it that it's clearly just a bug ... either wait for it to get fixed, or, like you said, compile your own kernel
[02:38] <ScottK> giovani: We don't get our kernel from Debian.
[02:39] <giovani> ScottK: kernel patches aren't copied from debian at all?
[02:39] <ScottK> It may be from time to time, but Ubuntu takes it's kernel from upstream directly.
[02:40] <ScottK> We're generally on a newer version of the kernel than they are.
[02:40] <giovani> newer than what's in sid?
[02:40] <giovani> anyway, it's here in debian as well: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489058
[02:40] <uvirtbot> Debian bug 489058 in linux-2.6 "2.6.25-2-amd64: acpi_cpufreq won't load on Xeon E5420" [Normal,Open]
[02:41] <giovani> the official cpufreq site states xeon support from what I can tell -- so it seems odd the same bug would be present in both if it's not an upstream bug
[02:41] <giovani> just what I could find, do with it what you will :)
[02:42] <ScottK> Could be an upstream bug in common.
[02:42] <lamont> Nafallo: sup?
[02:42] <lamont> bouncing back and forth
[02:43] <Nafallo> lamont: on the master dns server. I can use the same database file for multiple zones, right? :-)
[02:43] <Nafallo> lamont: it's the same data in them anyway :-)
[02:43] <lamont> same file?
[02:43] <lamont> see named.conf.local in the deb. :-p
[02:43] <Nafallo> lamont: same zone file :-)
[02:43] <lamont> all rfc1918 zones share 'db.empty'
[02:43] <Nafallo> ah. fair enough :-)
[02:43] <temperature> well... I mean, it`s not like it`s some stupid GUI bug...
[02:44] <Nafallo> haha
[02:44] <Nafallo> :-)
[02:44] <Nafallo> I actually have to repoint .com for this customer to another zone file because .com doesn't love my ns1 under .net ;-)
[02:45] <lamont> huh?
[02:46] <Nafallo> the registrar didn't recognise ns1.magicalforest.net for some reason, so I named it ns1.magicalforest.se and everything got happy ;-)
[02:46] <lamont> ah, that's simple: bitchslap the registrar
[02:46] <Nafallo> :-P
[02:47] <lamont> I mean, send them a nice request saying "my nameserver is ns1.magicalforest.net, please make that work. kthx"
[02:47] <Nafallo> not even sure what upstream registrar fasthosts use :-/
[02:47] <lamont> dead serious about the concept
[02:47] <lamont> your registrar
[02:47] <lamont> the one what you're paying money to.
[02:47] <Nafallo> hehe. I'll tell my customer ;-)
[02:48] <lamont> dig ns mmjgroup.com <-- I had to tell my registrar to make the .no host happy
[02:49] <Nafallo> gaah. your damn domains just remind me I'm lacking IPv6 still :-P
[02:53] * Nafallo slapped a one-liner in terms of xhtml ;-)
[02:56] <lamont> giggle
[02:57] * lamont goes back to the movie
[03:53] <AJ247> is ther a minimalist DM for ubuntu running 640MB ram?
[03:57] <hads> DM?
[04:06] <giovani> hads: Desktop Manager, I presume
[04:06] <giovani> AJ247: XFCE is widely chosen for being pretty lean, yet featureful, and not "ugly" like many people feel options like fluxbox are
[04:07] <giovani> xubuntu packages XFCE automatically, of course you can install the packages on another install
[04:07] <hads> screen :)
[04:07] <AJ247> giovani: yes.
[04:08] <giovani> AJ247: is something like XFCE what you're looking for?
[04:08] <AJ247> Yes. XFCE will be fine.
[04:09] <AJ247> how do i install on ubunut-server?
[04:09] <giovani> AJ247: the easiest way would be to 'sudo apt-get install xubuntu-desktop'
[04:09] <AJ247> Alrihght.
[04:09] <giovani> which will essentially "convert" your minimalist server install to a full xubuntu install
[04:09] <giovani> you can, however, install individual xfce packages manually if you want
[04:10] <giovani> in the future, you can do a xubuntu install initially using this: http://www.xubuntu.org/
[04:10] <AJ247> Well, i only have 640MB installed, so im looking for performance
[04:11] <giovani> is this system to be used as a server, or as a desktop?
[04:11] <AJ247> Server
[04:11] <giovani> then why do you want a graphical interface?
[04:11] <ScottK> But help with dealing with Xfce is OT here.
[04:11] <giovani> there's no advantage on a server install
[04:11] <AJ247> to easily manage via command line
[04:12] <hads> huh?
[04:12] <giovani> AJ247: I recommend you look at remotely managing your server via ssh from a desktop -- it'll give you the option of virtual terminals within a gui -- without bloating your server
[04:13] <AJ247> i have, im using putty.
[04:13] <giovani> then that's the best way to manage your server -- do not install a gui of any kind
[04:13] <AJ247> well i was just thinking if it would be best to do so, thank you.
[04:14] <giovani> ok, the answer is definitely not :)
[04:14] <giovani> good luck
[04:14] <AJ247> lol
[04:14] <AJ247> ?question,
[04:14] <AJ247> do you know how to clear mbr from a hard drive?
[04:16] <giovani> be careful, but dd if=/dev/zero of=/dev/XXX bs=512 count=1
[04:16] <giovani> replace XXX with your HD device
[04:17] * giovani &
[04:18] <AJ247> k.
[04:22] <mrUnagi> can anyone help me with info on vpns?
[04:22] <twb> giovani: that will kill the partition table, too
[04:22] <twb> giovani: you want bs=446 or so
[04:23] <mrUnagi> =/
[04:33] <JanC> twb: as the partition table is part of the MBR, that shouldn't be a surprise ;)
[04:34] <giovani> twb: yeah ... MBR = 512
[04:35] <Deeps> a lot of people dont realise the partition table is part of the MBR
[04:36] <Deeps> the kind of people that would ask in here, for example, may not realise that
[04:36] <danny723> anyone home?
[04:37] <giovani> danny723: plenty, as you can see
[04:42] * lamont has been home for about 2 hours
=== `6og is now known as Kamping_Kaiser
=== Bruce is now known as Bruceee
[05:56] <danny723> hello
[07:05] <twb> JanC: well sure, but I'd want the reader to be sure they wanted to blow away the partition table, and not just the bootloader.
[09:00] <uvirtbot> New bug: #336153 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: il sottoprocesso pre-installation script ha restituito un codice di errore 1" [Undecided,New] https://launchpad.net/bugs/336153
[09:20] <substr> hi, is ubuntu-9.04.2-server stable enough to use it in a soho environment?
[10:47] <twb> substr: there's no simple answer to that question.
[10:49] <twb> substr: by stability, do you mean "will it crash", or "will it receive feature updates (which tend to introduce bugs)", or "can I 'deploy and forget' in three-year cycles" or something else?
[10:50] <twb> Are you comparing it to, say, Microsoft SBS, or Debian, or OpenBSD?
[10:51] <twb> *I* wouldn't be too worried about an Ubuntu server, but the guy who sits next to me worries because (unlike RHEL) Ubuntu doesn't have a "proven track record" in the server space, and Canonical clearly places first priority on the desktop.
[10:52] <twb> ...but then I have enough Debian experience to fix most issues I encounter.
[13:42] <cemc> any good bittorrent tracker in ubuntu hardy?
=== BrunoX1ambert is now known as BrunoXLambert
[14:09] <substr> twb: sorry, I was away when you answered..
[14:10] <substr> well.. my first task is to set up a small fileserver. later on it might also get used as database server and whatever will be needed further on
[14:12] <substr> thinking about which distibution to choose, my first ifea was gentoo because its very tiny.. but even hard to setup
[14:14] <substr> next idea was kubuntu, because im using it on my workstation and its very fast and easy to setup... but due to the old hardware I actualy got its running very slow
[14:14] <substr> (i tried with the live-cd)
[14:15] <substr> so im looking for something thats not too hard to setup and even small enough to run on crappy hardware
[14:47] <gkahla> anyone know if Alfresco's compatibility issues will be fixed with 9.04 server edition?
[14:47] <gkahla> or, for that matter, what the exact compatibility issues are?
[14:48] <gkahla> Alfresco won't work on 8.10
=== ircmaxell is now known as Guest51046
=== BrunoX1ambert is now known as BrunoXLambert
[16:41] <danny723> hey guys
[16:56] <sozob> help...I am new to server...I just installed ubuntu x64 and I really wanted gnome..just no games/gimp/openoffice/etc. Is there a good way to add gnome/synaptic/gpanel-goodies to the ubuntu server? I am going to add virtualbox to the machine so I will need all that stuff. I also want to add firefox..but that is about it....Thank you.
[17:00] <giovani> sozob: you can install the individual packages
[17:01] <giovani> but there's no easy metapackage that won't install the other utilities you'd like to avoid
[17:02] <Deeps> and it's also off topic, GUI related stuff is best asked in #ubuntu
[17:02] <sozob> darn...thanks...
[17:02] <giovani> well, but the question is in reference to a server install, and adding packages to it?
[17:02] <giovani> but ok
[17:02] <sozob> thats why I tried here
[17:02] <sozob> ;)
[17:02] <ScottK> giovani: Once you talk about Gnome, you aren't talking about Server.
[17:03] <ScottK> err sozob...
[17:04] <sozob> theres lots of services that a server could be used for that would need a gui....
[17:05] <giovani> sozob: not really
[17:05] <sozob> websphere has a gui
[17:06] <giovani> that's required?
[17:06] <giovani> just because a product offers a gui doesn't mean that it's recommended
[17:06] <sozob> all the installs I've done require it
[17:07] <sozob> no matter the os
[17:07] <giovani> and what graphics toolkit does it use?
[17:07] <sozob> well it uses java, which uses....
[17:07] <giovani> what a mess
[17:07] <giovani> use rhel then
[17:07] <giovani> they like guis on their servers
[17:07] <sozob> no...I like ubuntu
[17:08] <sozob> ;)
[17:08] <sozob> no worries, I will get it going...I may be better off starting at desktop...yuck!!!!
[17:08] <giovani> well you can install a gui on top of ubuntu server ... but nobody here recommends it
[17:09] <sozob> i am sure you don't
[17:09] <sozob> i don't either
[17:09] <sozob> but there are occasions
[17:09] <Deeps> recommended or not, GUIs are outside the scope of this channel, and you're better served asking in #ubuntu
[17:09] <sozob> wonder if the server kernel will play nice with all that "desktop"ish stuff on it....any ideas
[17:13] <danny723> sup
[18:15] <slogger_> hi, I installed ubuntu server 8.10 yesterday, added bare minimum X to system so I could look stuff up on websites while configuring
[18:15] <slogger_> The groups listed for my user by the id command are different depending on whether I'm logged in a VT or a gui.
[18:16] <slogger_> Namely, under GUI, my membership in the group 'users' is not recognized
[18:16] <slogger_> While it is from the VT terminals
[18:17] <slogger_> http://ubuntuforums.org/showthread.php?t=1083539
[18:21] <Deeps> slogger_: GUI related issues are off topic here, and are best served in #ubuntu
[18:22] <slogger_> okay, I thought it might be related to using server version, but I'll check #ubuntu, though they usually just post links to stupid wiki pages I've already looked at.
[18:25] <Noah0504> Should I take the time to upgrade my server box from 256MB of RAM to 512MB?
[18:27] <giovani> Noah0504: if you want to, sure
[18:28] <Noah0504> Well, I have the RAM, but don't really feel like pulling it out. Ha. I know last night it stopped responding to the network. It's headless, so I don't really know what was happening. I did have rTorrent running though. I thought maybe it was a RAM issue and it wasn't liking life.
[18:29] <giovani> sigh ... well, nobody here has a magic 8 ball
[18:29] <giovani> so that's simply up to yo
[18:29] <giovani> you*
[18:29] <Noah0504> Ha. Perhaps I was just looking for the motivation.
[18:29] <Noah0504> :)
=== Gargoyle is now known as Gargoyle|away
[18:39] <cemc> Noah0504: run a memtest
[19:09] <yann2> nijaba > thx for rabbitmq in jaunty, very good idea :)
[19:55] <uvirtbot> New bug: #336368 in mysql-dfsg-5.0 (main) "E: /var/cache/apt/archives/mysql-server-5.0_5.0.67-0ubuntu6_amd64.deb: subprocess pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/336368
[20:56] <Derander> I've completely borked up my mysql install to the point where I want to start over completely. Is there a way to get aptitude to reinstall the original test & mysql tables?
[21:21] <MatBoy> what are you guys doing with dcc on intrepid ? it's not in there anymore ofcourse
[21:29] <giovani> not using it
[21:29] <giovani> although it is odd, unless there's a specific reason that it's disappeared
[21:30] <giovani> oh, I see -- it's a security issue
[21:34] <Davedan2> what are ppa packages and is it safe to use them? for example: https://launchpad.net/~onestone/+archive/ppa
[21:35] <giovani> Davedan2: Personal Package Archie
[21:35] <giovani> Archive*
[21:35] <cemc> Davedan2: https://help.launchpad.net/Packaging/PPA
[21:35] <giovani> they're totally unsupported by ubuntu, they're packages built by the user you see in the url, use them if you like, but, they're "unofficial"
[21:36] <cemc> maybe not the best link...
[21:36] <Davedan2> giovani: thanks. ubuntu packages are great but sometime take months to get updated... :(
[21:37] <giovani> Davedan2: there are reasons behind those policies, newer software often introduces new, untested code, with a higher probability of security vulnerabilities in it
[21:37] <giovani> it's a delicate balancing act -- you have to decide what risks you're comfortable with
[21:37] <Davedan2> ok
[21:38] <giovani> as a general rule of thumb, unless you need a feature/bugfix that's only present in the newer release, there's no good reason to be using a newer release
[21:40] <Davedan2> giovani: I developed a module that works with the newer release but didn't know it'll take months to have a package
[21:40] <giovani> Davedan2: most distributions use a policy of only fixing bugs once there's a release
[21:40] <giovani> since there's a release every 6 months in Ubuntu (roughly) ... the software is usually pretty new
[21:41] <Davedan2> giovani: so maybe I can count on jaunty
[21:41] <giovani> you can look up what upstream version is in use in jaunty
[21:41] <giovani> what package is this?
[21:41] <MatBoy> giovani: ok :)
[21:42] <Davedan2> ejabberd
[21:42] <Davedan2> on Jaunty it is the latest
[21:42] <MatBoy> giovani: I thought it was a "closed source" issue
[21:44] <giovani> MatBoy: ah, did the license change? I found reference via google that it was related to a bugfix that couldn't be backported
[21:44] <giovani> (at least for debian)
[21:44] <giovani> dantalizing: intrepid includes 2.0.1 -- seems quite new to me
[21:44] <MatBoy> so it should also for ubuntu I guess in that case
[21:44] <giovani> err, Davedan2
[21:44] <MatBoy> intrepid also includes the new clamav... finally :)
[21:45] <giovani> Davedan2: the newest release is 2.0.3 which jaunty does include, yes
[21:45] <giovani> you wrote a module that will only work with 2.0.3 but not 2.0.1?
[21:45] <Davedan2> giovani: yes
[21:46] <giovani> heh
[21:46] <giovani> ok
[21:46] <giovani> maybe you'd be better off running a source-based distro :)
[21:46] <Davedan2> giovani: I'll build it from source and use the package when Jaunty is up. probably take some months
[21:46] <giovani> jaunty is up
[21:46] <Davedan2> giovani: thanks
[21:46] <giovani> it's in alpha
[21:46] <giovani> you can try to use the package -- but be ready for potential dependency messes
[21:47] <Davedan2> giovani: from experience using alpha means alot of truble
[21:47] <MatBoy> giovani: source based ?? man gentoo suck big time... perios
[21:47] <MatBoy> *period
[21:47] <giovani> MatBoy: not if you want the absolute newest versions of everything -- then it's quite ideal
[21:47] <giovani> or desire a lot of fine-grained control
[21:48] <MatBoy> hehe, fine-frainded ? we don't live in the 386 time anymore :)
[21:48] <MatBoy> bleeding edge :S
[21:48] <giovani> I know a number of enterprises using gentoo in large clusters
[21:48] <giovani> they see benefit in it
[21:48] <MatBoy> I also... hyves
[21:48] <giovani> and their admins are not inexperienced in the least
[21:48] <MatBoy> with 2200 servers :S
[21:48] <Davedan2> but we live in the web 2.0 times...
[21:48] <MatBoy> hehe
[21:48] <giovani> Davedan2: ... what does web 2.0 have to do with anything?
[21:49] <giovani> "bleeding-edge" is relative
[21:49] <MatBoy> not with gentoo
[21:49] <giovani> many upstreams do a lot of careful bug-checking before releases -- many do not
[21:49] <MatBoy> whole gentoo is bleeding edge
[21:49] <giovani> you can't generalize
[21:49] <Davedan2> giovani: everything moves fast so you can't wait 6 months for a package when a new feature is already out
[21:49] <giovani> it's all dependent on the upstream
[21:49] <MatBoy> nah, not really
[21:50] <giovani> yep
[21:50] <giovani> for all of our security software (read: snort), we HAVE to have the latest, yesterday bug fix
[21:50] <MatBoy> version issues between packages are not upstream dependent
[21:50] <giovani> so, we make our own packages
[21:50] <MatBoy> hehe, how relative is that ?
[21:50] <MatBoy> making a deb is not difficult at all :D
[21:50] <MatBoy> rpm the same
[21:50] <giovani> how relative?
[21:51] <giovani> who said it was difficult?
[21:51] <giovani> maybe you're misunderstanding me
[21:51] <MatBoy> yes, all people that say "we make our own packages" most of the time say this because they think everyone uses debs because they can't install a system
[21:51] <giovani> all people that say?
[21:51] <giovani> you need to learn to stop generalizing
[21:51] <MatBoy> no reallyu
[21:52] <MatBoy> not here in general;
[21:52] <MatBoy> but centos is like it
[21:52] <MatBoy> gentoo
[21:52] <MatBoy> uhm
[21:52] <MatBoy> the users there :)
[21:52] <MatBoy> in #vmware we don't even support gentoo :)
[21:52] <MatBoy> bbl.. need to fix an issue
=== cjwatson_ is now known as cjwatson
=== scfh_ is now known as scfh
[23:00] <cemc> what's the correct way to change the editor crontab -e uses?
[23:00] <cemc> the default is nano on my Hardy but I would like vi
[23:01] <cemc> man says the $EDITOR or $VISUAL gets used, or if those aren't defined, /usr/bin/editor is used (which is a symlink to /etc/alternatives/editor -> nano)
[23:01] <MatBoy> cemc: just edit crontab with vi ?
[23:01] <cemc> I could do that, of course. but I would like to try the correct way :)
[23:02] <cemc> with crontab -u <user> -e
[23:02] <MatBoy> ah ok
[23:02] <MatBoy> you need to do it for users
[23:02] <MatBoy> mhh
[23:02] <MatBoy> I like nano so much :)
[23:02] <cemc> yep. not the main /etc/crontab
[23:04] <MatBoy> aha, sounds logical
[23:05] <cemc> ok, I've got it
[23:05] <cemc> update-alternatives --config editor
[23:05] <MatBoy> :)
[23:05] <MatBoy> ah nice
[23:05] <cemc> and you can select from the available installed editors
[23:06] <MatBoy> aha :)
[23:06] <MatBoy> hehe, I'm figuring out how to use amavis using mysql
[23:06] <MatBoy> :S
[23:06] <cemc> ;)
[23:06] <cemc> maybe you wanna try maia mailguard
[23:07] <cemc> = amavis + spamassasin + mysql + some web gui to manage it
[23:08] <MatBoy> no, no maia !!
[23:08] <MatBoy> ouch
[23:08] <cemc> ;)
[23:08] <MatBoy> webavis is nicer
[23:08] <MatBoy> but, I can't find any docs how amavis pulls it's info from a db
[23:09] <MatBoy> amavis already runs
[23:09] <hads> If you want it system wide then update-alternatives, per user then use the VISUAL/EDITOR env vars
[23:09] <twb> Of course, you don't need antivirus scanners in the first place unless you have Windows users...
[23:10] <cemc> MatBoy: http://www.ijs.si/software/amavisd/README.sql.txt - maybe this will help ?
[23:10] <MatBoy> cemc: that might do :)
[23:10] <MatBoy> even google didn't came up with that !
[23:10] <MatBoy> thanks !
[23:47] <Davedan2> when building a software from source using ./configure, make, make install do I need to be root and use sudo ?
[23:48] <cemc> Davedan2: I think you only need to be root when doing 'make install', and only if you're installing somewhere a normal user does not have write access to
[23:49] <ScottK> Davedan2: It generally works out better if you learn enough to package stuff for yourself so you can use the packaging system even for self done stuff.
[23:49] <Davedan2> cemc: is it better to create a package locally instead with sudo checkinstall -D make install
[23:49] <Davedan2> sudo dpkg -i packagename.deb
[23:51] <Davedan2> ScottK: how do you package a source?
[23:51] <ScottK> That's a whole discipline of it's own.
[23:51] <ScottK> !packagingguide
[23:51] <ubottu> The packaging guide is at http://wiki.ubuntu.com/PackagingGuide - See https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages for information on getting a package integrated into Ubuntu - Other developer resources are at https://wiki.ubuntu.com/UbuntuDevelopment - See also !backports
[23:51] <ScottK> Has information on it.
[23:52] <Davedan2> thanks