/srv/irclogs.ubuntu.com/2009/08/23/#ubuntu-server.txt

Psi-Jack__Mmmmm, I LOVE XFS filesystem.00:00
jmarsdenxenoterracide: OK... and... did it work? :)00:00
Psi-Jack__Hehe.. ktorrent can reserve the exact right amount of disk space needed for each file in a torrent, in a mere second, where-as ext3 took several minutes, dragging ktorrent down to almost nothing while it did it.00:00
xenoterracideyeah it worked00:01
jmarsdenxenoterracide: OK, now create a script that just has #!/bin/bash and then /bin/date in it, and put it in the same dir as your backup script, and put   5 * * * * /var/www/oblivionet/com/scripts/testscript.sh00:02
jmarsdenand see what happens in a few minutes :)00:02
xenoterracideif I leave the MAILTO in there will it mail me all output that should go to stdout? (never messed with cron's mail before)00:02
jmarsdenYes.00:02
jmarsdenman 5 crontab for the details00:03
Psi-Jack__Sweet!00:03
Psi-Jack__My tcrules it at least so far, working. ;)00:03
Psi-Jack__jmarsden: You know shorewall traffic-shaping stuff any?00:04
jmarsdenNo, I've not used shorewall, I'm afraid.00:05
Psi-Jack__Oh, it wasn't you that was the shorewall guy here? okay. Drats. ;)00:05
xenoterracideyeah that script works too00:05
xenoterracideI wonder what it's doing or not doing right00:06
jmarsdenxenoterracide: OK, so now put /bin/date at the top of your backup script and see if that shows up...00:06
jmarsdenand check file perms on the two scripts are the same00:06
xenoterracidethey are00:07
jmarsdenThen I'm guessing the script (commands within it) depend on something about the environment that cron does not set up for you...00:07
xenoterracidecould be00:08
xenoterracidemaybe postgres or git needs some info..00:08
Psi-Jack__What are you trying to do, xenoterracide?00:09
xenoterracide... well of course that time it would work... wtf00:09
jmarsdenxenoterracide: Pastebin the script, if you want?  Ah... :)00:09
xenoterracideother than adding /bin/date to the script I would change it00:09
xenoterracideI didn't*00:09
Psi-Jack__xenoterracide: Okay. I can't help you if you don't give details as to what you're trying to accomplish.00:10
Psi-Jack__Overall, what are you trying to do?00:10
xenoterracidePsi-Jack__: basically I'm dumping the db commit-ing the dump to git and pushing the git repo to origin00:10
Psi-Jack__Okay. What part seems to be failing?00:10
Psi-Jack__I'm assuming just now, you've tested cron, and it is running, so the next step would be to see if it's connecting to postgres, yes?00:12
xenoterracideactually it seemed to just work now. the last 3 times I did it it failed00:13
xenoterracidethis time it worked00:13
Psi-Jack__Okay, just out of curiosity, what are you using to do the dump?00:13
xenoterracidepg_dump00:13
Psi-Jack__Okay, and you're using environment variabled, like PGUSER, PGPASSWORD?00:13
Psi-Jack__In your script?00:13
xenoterracideyeah00:13
nippz@ cluster heads: here's a question for ya; from the perspective of a load balancer: if one wanted to just notice and log a connection from a list of ip's or where it was routed to; [just off the top of the head] would this add a lot more load on the lb since it has a match list? call it 200 or so ip blocks/single ips00:14
xenoterracidewell actually I made my own variables and passed them to the command00:14
xenoterracidebut yeah00:14
Psi-Jack__Well, pg_dump and psql both use PGUSER and PGPASSWORD, so you can do it more securely.00:14
xenoterracideI didn't set up a password. mostly because the only user that can connect on a socket is this one. and connections aren't allowed from remote00:15
Psi-Jack__Sounds to me,, though, like it might've, for the times it failed, had troubles connecting to the database, perhaps the connection limit was maxed?00:15
xenoterracideI doubt it. very lowtraffic site...00:15
xenoterracideI can't rule it out though00:15
Psi-Jack__Not setting a password is VERY VERY BAD!00:15
xenoterracidewell a password is set00:15
xenoterracidefor the site to connect. I just use ident to verify for socket connections00:16
Psi-Jack__Again, NOT USING a password is VERY VERY BAD. ;)00:16
Psi-Jack__ident is the most insecure method of all.00:16
xenoterracideactually trust would be ;)00:16
jmarsdenxenoterracide: You beat me to that one :)00:17
xenoterracideand since I'm the only one with cli access to the box. and ssh is on a weird port with key auth only... if you'd like to explain how they'd get in...00:17
Psi-Jack__Heh, yeah, true, but ident is the second most insecure methods. ;)00:17
Psi-Jack__At work I'm in the process now of getting them to use SSL as well. Originally they'd used ident, too. ;)00:18
jmarsdenxenoterracide: Defence in depth is always wise.  This is the Internet, and there are bad people on the Internet :)00:18
xenoterracidetrue00:18
xenoterracidebut if they have access to my user account they could just delete the whole site00:18
Psi-Jack__Not necessarily always. ;)00:19
xenoterracideif they can find it's directory and they know how to run rm -r00:20
xenoterracideits*00:20
Psi-Jack__Not if you use extra security methods to prevent it. ;)00:20
Psi-Jack__One good thing about Linux is, it's a preemptive multi-tasking enviroment, so, some ways to prevent mass deletion is with kernel-level security enhancements. ;)00:21
xenoterracideheh00:21
xenoterracideremember never implement a security system that costs more than the value of the things it's securing00:21
nick125You know...that's a good concept.00:22
jmarsdenchattr +i is fairly inexpensive :)00:23
* Psi-Jack__ nods and grins.00:23
xenoterracideand it's pretty easy to revert.00:28
xenoterracideI'm familliar with it00:29
xenoterracidethere are all sorts of things I can do00:29
jmarsdenYes.  Including using passwords.00:30
xenoterracidehas it occured ot you on the topic of database that the php cms stores the db password in a plain txt file readable by the same user that I've given no passwd access to?00:30
xenoterracideand that variables and files would also be readable by this user?00:31
jmarsdenIt's your server.  If you like it the way it is, fine.00:31
xenoterracideand that the only way to login to this db without the password is by logging in as this usr00:31
mushroomblueis there any decent documentation on GnuTLS?00:32
mushroomblueI'm not finding any good docs on how to set up a certificate authority.00:32
xenoterracideall I'm saying is that if someone gets access to this user account, no matter what security measure I implemented they could get in. now I can spend a day or 2 making that impossible. but is it worth the time00:33
jmarsdenmushroomblue: The gnutls-doc package is not sufficient?00:33
Psi-Jack__Heh.00:36
Psi-Jack__TinyCA is a useful tool.00:36
nippzanyone???00:37
weeb_am trying to mirror ubuntu repo with debmirror --method=http --host=ie.archive.ubuntu.com --arch=i386 --source --dist=hardy,hardy-security,hardy-updates,hardy-backports --section=main,main/debian-installer,universe --ignore-release-gpg --root=ubuntu  --allow-dist-rename /srv/ubuntu but it dies out soon with the warning : releasing 1 pending lock.. what can be the problem?00:39
mushroomblueshame TinyCA doesn't work with GnuTLS00:40
mushroombluethat looks handy.00:40
mushroombluenippz: dunno. good question, tho.00:41
Psi-Jack__It doesn't?00:41
weeb_no it says Duplicate Codename hardy.00:41
weeb_s/no/now/00:41
mushroombluePsi-Jack__: I could be wrong, but the homepage isn't mentioning it.00:43
jmarsdenweeb_: Did you create a dir /srv/ubuntu/ubuntu before running that command?00:47
weeb_nope just that command only:)00:48
weeb_s/command/directory/00:48
jmarsdenI'm running Ubuntu 9.04 Jaunty here and tried it but used /tmp/srv/ubuntu instead of /srv/ubuntu and it worked as long as I first did    mkdir -p /tmp/srv/ubuntu/ubuntu00:49
jmarsdenI also got rid of the --allow-dist-rename since my debmirror says it doesn't know about that option.00:49
jmarsdenIt has mirrored 149MB while I have typed that :)00:50
weeb_what should be the file path at the last of all the debmirror options? /srv/ubuntu/ or /srv/ubuntu/ubuntu/00:50
weeb_while /srv/ubuntu/ is a symlink to my external harddisk00:51
jmarsdenJust /src/ubuntu.  The root=ubuntu is what is adding the second ubuntu, i think.00:51
weeb_btw creating that directory doesn't sole the problem :(00:51
jmarsdenOK, I'll try again actually using /srv/ubuntu and recheck...00:52
jmarsdenHmmm.  You are correct.  But running the command again then works fine, for me.  My command line is      sudo mkdir -p /srv/ubuntu/ubuntu ; sudo debmirror --method=http --host=ie.archive.ubuntu.com --arch=i386 --source --dist=hardy,hardy-security,hardy-updates,hardy-backports --section=main,main/debian-installer,universe --ignore-release-gpg --root=ubuntu  /srv/ubuntu00:54
weeb_well well /srv/ubuntu was linking to /media/disk/mirror here.. and i just rm -rf /media/disk/mirror and rerun debmirror with target directory at /media/disk/mirror its working:)00:56
weeb_that is without having the directory created..00:56
jmarsdenWell, as long as it works, cool :)00:57
weeb_now i may go timed out.. it will pull all my bandwidth:)00:57
jmarsdenFor quite a while... probably 30+ GB or so download there.00:57
weeb_i only have a 2mbps connection it will take a month or so to complete!:)00:58
jmarsdenThen that's not a sane thing to do, is it?00:58
weeb_no other go:)00:58
jmarsdenAnd your ISP may kick you off if you use 100% of bandwidth for that long.00:58
jmarsdenGet someone to make you a pile of DVS and mail them to you, or something...00:59
jmarsdens/DVS/DVDs/00:59
weeb_well not like that.. i have free net time for 2-8am every day and for other time i have a 2.5gb/month limit so can't run debmirror on those time00:59
jmarsdenDo you absolutely need a full Hardy mirror?  What will you do with it, and how many Hardy servers will use that mirror?00:59
weeb_its for me to play with the repo... actually to play with the builder script for a custom distro..01:00
jmarsdenYou don't need every package in universe for that?!!!01:01
weeb_ehmm.. err..hmmm this is what i am following http://www.gnewsense.org/Builder/HowToCreateYourOwnGNULinuxDistribution ;-)01:01
jmarsdenAnd why start with Hardy rather than with, say, Karmic?01:01
jmarsdenOr, if this is a learning exercise, see http://www.linuxfromscratch.org/01:02
weeb_hmm.. yeah they are following LTS thats why still on hardy01:03
weeb_just to play with the builder scripts of gnewsense.org may be i should just read the scripts.. but thought a real run would make it easier.01:04
* weeb_ wish ubuntu to be fsf free01:04
jmarsdenWell, sure, but a 40GB download is pretty significant for most home users...01:05
weeb_yeah.. i am also trying to get a shell account to some other who is having the repo01:06
* weeb_ may not make sense as its early morning here and he is yet to go to bed;-)01:07
jmarsden:) and they know you will be compiling the entire repo and will need several tens of GB of disk space?  If you can get a shell acct like that for free, that's quite a deal :)01:07
jmarsdenOK, go to bed and see how much of the mirror you have collected when you wake up :)01:08
weeb_compile entire repo? its just a play with binary debs:)01:08
weeb_afaik01:08
jmarsdenHmm, so what is --source doing in your debmirror command ?01:09
jmarsdenIf you don't need the source packages, don't mirror them.01:10
* jmarsden thinks that perhaps you need to understand the commands you run a bit better, before running them?01:10
weeb_yeah actually all these to understand the builder scripts.. so i thought i would just the downloading thing now so that later i can start learning on stuff..01:11
weeb_currently am learning more of c.. yet to enter shell stuff;-)01:12
weeb_well well what made it work is that --dist=hardy,hardy-security,hardy-updates thing.. only --dist=hardy works!01:14
weeb_even --dist=hardy,hardy-security   gives me "Duplicate Codename hardy."01:16
jmarsdenI'd suggest you drop universe and start with just main and the debian-installer -- you'll avoid mirroring all the optional stuff you don't actually *need* to create a distro :)01:19
jmarsdenBut even that is a large download.01:19
faileasi'm trying to start a python script at startup on a headless box using crontab. Do i need to do anything special to get it to start (since it won't on adding a crontab line with the path/to/run.py ) and where do i check to see what went wrong? it dosen't seem to be in syslog01:54
jmarsdenfaileas: Add MAILTO=you@example.com  at the top of the crontab file so it emails you any ouytput from the script.01:55
faileasjmarsden: i can't mail out of that box for some reason01:56
faileas(thats the next thing i need to fix ;p)01:56
jmarsdenThen (a) fix that! and (b) set MAILTO=yourlocaluser01:56
faileasno way to get it to log to a text file?01:57
jmarsdenNot that I know of.  man 5 crontab for all the details of what you can do in there...01:57
jmarsdenof course you can wrap your python in a bash script that does  logger -p daemin.debug "it is running now..."01:58
jmarsdenkinds of things and then runs the pythin program, if you want to debug it that way.01:59
jmarsdenBut I'd fix mail first, if I were you, mail is pretty vital for managing a server... logwatch will mail you  stuff to take care of, etc etc.01:59
faileas*chuckles* I just want it to work ;p01:59
jmarsdenThen do the work to make it work :)01:59
faileaswell chances are since its based off a minimal install, i may not have a mail server installed...02:00
faileaswhich would explain some other problems i had. postfix isn't it?02:00
jmarsdenCould be.  Postfix is a reasonable choice of MTA, yes.02:00
faileasi think i worked out the original issue ;p02:07
faileasit shoulda been python 'path/to/run.py02:08
jmarsdenWell, sure, unless your run.py has a #!/usr/bin/env python  or similar header in it so the shell knows what to do.02:09
faileashmm, that didn't seem to work either02:10
nippzmushroomblue i assume you saw my long arsed question then :P02:14
jmarsdenfaileas: Did you add MAILTO=yourlocalusername  at the top of the crontab as I suggested earlier?02:16
xenoterracideanyone remember the command to reload a users group in an open shell?03:17
xenoterracidewithout logging in and out03:17
jmarsdenxenoterracide: I'm not sure there is one?  You could try exec $SHELL03:24
xenoterracidejmarsden: I know there is03:24
xenoterracideI just can't recall the command03:24
xenoterracideI've used it03:24
jmarsdenOther than starting a new shell (with exec $SHELL) I can't see how you would tell a running process to go re-read all its group info...03:25
xenoterracidenewgrp and sg do it03:27
jmarsdennewgrp just switches the current primary group, it won't add a newly created group to an existing process03:28
xenoterracidewell it's now in my list of groups for my open shell03:29
jmarsdenPer http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/  you can try    su –preserve-environment –command “$(which $SHELL) –login -i” $(whoami)03:29
xenoterracideand I couldn't write to this directory if I wasn't in the http group03:31
jmarsdenOK... something has changed from when I first learned that stuff then.03:31
xenoterracidemaybe03:31
xenoterracideand it probably does change the active primary group03:32
xenoterracidebut it still works03:32
jmarsdenxenoterracide: Yes, sounds like it has a side effect of adding the group if it didn't already exist, or something like that.03:32
Psi-Jack__!find brctl04:21
ubottuFile brctl found in bridge-utils, selinux-policy-dev, selinux-policy-doc, selinux-policy-ubuntu, selinux-policy-ubuntu-dev (and 3 others)04:21
Psi-Jack__Interesting.04:21
Psi-Jack__gadmin-openvpn-server needs bridge-utils, but doesn't depend on it.04:22
jmarsdenIf it really *needs* it, file a packaging bug against gadmin-openvpn-server, I suppose.04:23
Psi-Jack__Yeah, it doesn't even run unless it's there, so. Yeah, ;)04:23
Psi-Jack__And why the heck does rsyslog-pgsql DEPEND on the server?04:31
maekwhat is the ubuntu equivalent to redhat kickstart please?04:34
giovaniPsi-Jack__: huh? which server? -- I don't see any odd dependencies there04:35
Psi-Jack__rsyslog-pgsql, when I try to apt-get install rsyslog-pgsql I see it including postgresql-8.3 which is the server.04:35
giovaniPsi-Jack__: ... how do you expect to log to a pgsql server without the server?04:35
jmarsdengiovani: Over the network to a database on a different physical machine?04:36
giovanijmarsden: that sounds silly to separate the syslog from the database it's logging to -- a huge waste of bandwidth for no gain04:36
Psi-Jack__giovani: It's called, CLIENT.04:36
Psi-Jack__giovani: It doesn't need the server if you have that on a seperate machine.04:36
giovaniso install rsyslog on the server with the database? why generate twice the network traffic?04:37
giovanianyway, it's a universe package, it's not well supported04:37
jmarsdengiovani: If you have set up a corporate database server and want to log to it, but are not the admon of it... I can see why it might be useful in some settings.04:37
Psi-Jack__giovani: It's not. It's on a gigabit network straight to the database server.04:37
Psi-Jack__jmarsden: rsyslog is becoming the new default syslog for ubuntu in karmic.04:37
giovanibut not rsyslog-pgsql04:37
jmarsdenPsi-Jack__: rsyslog, but not the pgsql part... right :)04:38
Psi-Jack__Yeah.04:38
giovanianyway04:38
Psi-Jack__Which is natively part of rsyslog itself, just libraries.04:38
giovanioh04:38
giovanibtw04:38
giovaniyou're wrong04:38
giovaniit's not a dependency04:38
giovaniit's a recommend04:38
giovaniyou didn't turn off auto-install recommends04:38
giovaniso there's absolutely nothing wrong with the package04:38
Psi-Jack__Oh? Hmmm..04:39
Psi-Jack__How do Iturn off that then?04:39
jmarsdensudo apt-get install WHATEVER --no-install-recommends04:39
Psi-Jack__I've seen things recommended, but never had to forcefully tell it NOT to install them.04:39
jmarsdenOr you can configure it somewhere under /etc/apt04:39
giovaniPsi-Jack__: for a number of versions of ubuntu you have04:39
jmarsdenDefault is to install recommends now, it has been the default since... Hardy I think.04:40
Psi-Jack__Hmmm04:40
giovaniAPT::Install-Recommends "0";04:40
giovaniAPT::Install-Suggests "0";04:40
giovaniin apt.conf04:40
Psi-Jack__Heh, guess I gotta create that, eh?04:41
giovanior conf.d04:41
giovanino04:41
jmarsden/etc/apt/apt.conf I think it is?  Seems to be a zero length file here, by default.04:41
Psi-Jack__Mine's non-existant.04:42
giovanijmarsden: or /etc/apt/apt.conf.d/04:42
Psi-Jack__All I have is the apt.conf.d04:42
giovaniright ... use that04:42
giovanisame thing04:42
Psi-Jack__That's better.04:43
Psi-Jack__And to note, Hardy did show the list of Recommended, and didn't install them by default. At least Hardy-server04:43
giovaniit's existed for at least a few versions04:44
Psi-Jack__Yeah... Definately not in hardy-server. I remember seeing Recommended packages almost always.04:44
giovanihttp://www.ubuntu.com/getubuntu/releasenotes/810#Recommended%20packages%20installed%20by%20default04:45
jmarsdenmaek: It may be out of date, but see https://help.ubuntu.com/community/KickstartCompatibility04:45
Psi-Jack__Interesting though.. Why it doesn't depend on the postgresql-client-8.3, but /recommends/ postgresql, a virtual package for all of postgresql.04:45
giovaniPsi-Jack__: what use is recommending/depending on the pgsql client?04:46
jmarsdenPsi-Jack__: Because the expected common use case is not to move the syslog data over the network twice.04:46
maekjmarsden: thanks. but preseed is the "ubuntu" way?04:46
giovanimaek: look at http://www.ubuntu.com/products/whatisubuntu/serveredition/features/autodeploy04:46
jmarsdenmaek: Yes, I think so.  I've not used it; years ago I used Kickstart on RedHat 5.x and 6.x :)04:46
Psi-Jack__Still, though, it should depend specifically on the postgresql client libraries, and not just rely only on the recommends.04:47
Psi-Jack__That is a bug.04:47
maekjmarsden: I use kickstart now for rhel5, but I got a new job and its a 100% ubuntu shop :)04:47
maekgiovani: thanks04:47
giovaniif you don't want to register for the pdf -- http://www.ubuntu.com/system/files/u1/AutomatedDeploymentsWP-20090126.pdf04:48
giovaniPsi-Jack__: I'm not sure that it is a bug ...04:49
giovanithere's no way to make a single depends/recommends setup work for every situation04:49
Psi-Jack__How would it not be a bug? Recommends are optional recommendations, not absolutely required to run it.04:49
giovanithey've found a middle ground by making the server/client a recommend04:49
giovaniPsi-Jack__: not according to the debian manual04:49
giovaniwhich is what the recommends being automatically installed thing is all about04:50
Psi-Jack__No, no, that definately sounds incorrect.04:50
Psi-Jack__That's not even the meaning of recommendations.04:50
giovanithe english meaning of recommendation isn't relevant to what the debian manual describes them as04:50
giovaniit's pretty common for technical terms based on english words to deviate from the definition04:51
giovanisubmit the bug report if you wqnt to ...04:51
Psi-Jack__It is a bug, truely.04:53
Psi-Jack__I wouldn't want to run postgreql on EVERY system I put rsyslog-pgsql on, thats just hideous.04:53
Psi-Jack__And I'm speaking with the debian people now, about it. I am right.,04:53
Psi-Jack__Recommends are /optional/ and Not even Debian installs them by default, it just offers them.04:54
poi77Hi! I just set up a gui in Ubuntu server. But the /etc/X11/xorg.conf file is empty! Also, my Xorg process is taking up 100% of a cpu core. Can I resolve this?04:54
poi77I have the following card:04:54
poi77http://ati.amd.com/products/server/es1000/index.html04:54
jmarsdenIf rsyslog-pgsql absolutely cannot under any circumstances run without postgresql-client, then there should be a Depends: for it.04:54
Psi-Jack__Correct.04:54
giovaniPsi-Jack__: you should not be using multiple rsyslog-pgsql instances on different servers04:54
jmarsdenpoi77: Ubuntu server has no GUI.  If you add one you are creating a non-standard installation.  Maybe ask in #ubuntu ?04:54
giovanithere should be one central syslog server responsible for writing to the db04:55
Psi-Jack__postgresql-client is what it should minimally depend on, because it needs those libraries to work, period and simple, but it doesn't need the full blown server to work, as-is by itself.04:55
poi77jmarsden: My distributer set it up; but got the xorg.conf wrong04:55
Psi-Jack__giovani: Wow.. Oh hell no, That'd be a HELL of a SPF!04:55
Psi-Jack__giovani: Single Point of Failure.04:55
Psi-Jack__giovani: rsyslog keeps track of what it cannot send to the pgsql server, and will re-spool them once it can connect.04:56
Psi-Jack__giovani: Where-as if you used udp or tcp methods, you could loose some messages.04:56
poi77Any ideas? This is really important. If not, can I get paid support for ubuntu server05:00
giovanipoi77: you're welcome to contact canonical -- but they'll likely tell you to run regular ubuntu desktop05:01
poi77What is canonical and I need to run server (my company specifies that)05:01
Psi-Jack__Why would you run X on a server05:02
Psi-Jack__That's the first question.05:02
jmarsdenCanonical is the commercial company that does Ubuntu support etc if you pay them for it... the big organization behind Ubuntu, if you like.  And ... the right way to run a server is to run it without a GUI.  It is more secure, and leaves more resources available for doing real work, the thing the server is for...05:03
Psi-Jack__poi77: Seriously.. Answer the question. Why would you ever run X on a server?05:04
macrocosmUbuntu server is trying to remove everything... when runing any apt-get command it comes up with a shit ton of "no longer required:" programs to auto-remove .. only if I do autoremove them .. I wont have a working system. ..  WTF!  anyone else had this issue b4?05:04
poi77I am just configuring a machine for a customer05:04
giovanimacrocosm: you probably removed the metapackage05:05
giovanipoi77: you need to talk to your customer about their "need" for a gui then05:05
Psi-Jack__Indeed.05:05
macrocosmwhich meta?  I dont remember removing anything recently but small apps05:05
poi77Can you run ssh -X without a gui?05:05
Psi-Jack__You should NEVER run X on a server.05:05
Psi-Jack__poi77: Yes, you can.05:05
poi77How05:05
Psi-Jack__ssh -X forwards X to the origin.05:05
jmarsdenThe GUI will be on your workstation, not on the server :)05:05
poi77Oh :-) they wanted a gui05:06
poi77I will tell them05:06
giovaniwhy do they want a gui? we've asked this dozens of times05:06
Psi-Jack__poi77: They can get it without installing Xorg on the server. They just need an X server on their workstations.05:06
poi77Sorry I don't know why05:07
poi77I think they want to attach a monitor for debugging and their tech guys need it05:07
macrocosmgiovani: is there a way to convince ubuntu not to jump ... what should i google?05:07
giovanipoi77: well like I said, you need to talk to them about this -- and learn yourself, then explain to them why it's a bad idea05:07
giovanipoi77: plugging in a monitor is not a reason to need a gui05:07
poi77Why is it a bad idea?05:08
poi77If the GUI is used only intermittently05:08
poi77and not running in other cases05:08
giovaniit's buggy, bloated code that offers no advantages whatsoever05:08
Psi-Jack__poi77: Memory consumption, stability, the list is huge.05:08
poi77But of course it will only be started when needed...05:08
giovaniso?05:08
Psi-Jack__It should never be started, period.05:08
giovanithat doesn't make it less buggy05:09
giovanithere's NO reason to use it05:09
giovaniyou haven't offered one05:09
giovaniyou just keep saying it's needed05:09
macrocosmuse webmin for a gui instead05:09
giovanino05:09
giovanido not use webmin, it breaks the debian way of doing things05:09
giovaniebox is the only supported web gui05:09
macrocosmwell it works05:09
giovanino, it doesn't work05:10
giovaniit's specifically not supported05:10
Psi-Jack__Eh?05:10
jmarsdenwebmin is not a supported solution... use ebox, if you need a web UI.05:10
giovaniubuntu is clear on this05:10
macrocosmwtf is ebox05:10
giovani!ebox05:10
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox05:10
macrocosmive never had a single problem with webmin05:10
giovanimacrocosm: you have a problem right now you're tryign to get us to help with05:10
macrocosmand thats using it for years05:10
giovaniwonderful05:11
giovanianyawy05:11
giovaniwebmin isn't supported05:11
poi77Thanks for the suggestions05:11
giovanidon't recommend it here05:11
jmarsdenmacrocosm: https://help.ubuntu.com/community/WebMin05:11
macrocosmon a test dev virtualized server that does not have webmin05:11
Psi-Jack__Heh. ebox is nice, though.05:11
Psi-Jack__I'm waiting for them to fix a few things before I truely can use it properly. ;)05:11
jmarsdenPsi-Jack__: Why wait... fix them yourself and submit patches :)05:12
macrocosmI only use it for simple stuff .. so thats prolly why ive never had trouble with it05:12
macrocosmI will check out ebox tho .. sounds cool05:12
Psi-Jack__jmarsden: It's been a loooong time since I messed with perl, let alone Mason.05:12
giovanimacrocosm: webmin will totally ruin your clean configs05:12
jmarsdenhttps://answers.edge.launchpad.net/ubuntu/+question/2873 has more pointers to why webmin was dropped...05:13
SJrMy console seems to have fallen asleep05:13
SJrhow can I wake it up05:13
giovaniSJr: press some keys05:13
SJrnope05:13
SJrthe screen isn't coming on05:13
jmarsdenTurn it on?05:13
macrocosmhasnt yet ... check out . turnkey linux .. all their servers are ubuntu with webmin .. no issues05:13
giovanithen it's probably an issue with your monitor05:14
giovanior your video card05:14
giovanior the server is not "asleep05:14
giovani"05:14
SJrwell no the apm kicked in would be my guess.05:14
giovaniuh05:14
giovanithat's not related to the console05:14
SJrlike to turn the monitor off05:14
giovanithat would be a hardware-level issue05:14
macrocosmhttp://www.turnkeylinux.org/  how can they use it so successfully .. if you say its an ubuntu killer05:15
giovanimacrocosm: nobody said "killer"05:15
macrocosmwell .. an irritant .. perhaps lol05:15
jmarsdenmacrocosm: Itr isn;t us saying it, it is the Debian and Ubuntu communities, and we have provided pointers to official docs... read them :)05:15
giovanimaybe they modify it05:15
giovanimaybe they don't use webmin -- it's not mentioned on that page05:16
giovanithe bottom line is05:16
macrocosmthey all have webmin05:16
giovaniit's not supported -- and hasn't been for a long time05:16
macrocosmor at least the ones ive used05:16
giovaniif you're not willing to configure a server by hand -- you probably don't belong on linux anyhow05:17
macrocosmbeen using it for years ... and sometimes you start from scratch .. like my production server .. and other times a virtual quickstart is handly for testing05:18
giovaniI couldn't agree less -- but it's a free world, and a free os05:19
macrocosmcertainly .. time is money05:19
giovaniproper, non-graphical configuration can be done 10s to 100s of times faster by someone competent05:20
macrocosmabsolutly05:20
jmarsdenmacrocosm: BTW, does your server still have the ubuntu-minimal and ubuntu-standard metapackages installed?05:20
giovanithis is proven by looking at all major, professional linux installations and seeing how they do things05:20
macrocosmI never use webmin for any of that .. but I like the file browser and the mysql admin pages05:20
poi77I asked the customer; he did killall Xorg and then ran Matlab bench. Performance is terrible05:21
giovanioh yes, open your files to a web interface -- that sounds safe05:21
poi77From the workstation I mean05:21
jmarsdenpoi77: So this machine is a graphical mathematics workstation?  If so, install Ubuntu desktop on it.05:22
poi77Yes basically05:22
poi77Why the desktop05:22
poi77Does the desktop support raid05:23
jmarsdenBecause you seem to want local graphics.  And yes.05:23
giovaniabsolutely05:23
poi77Is it configured automatically05:23
jmarsdenDid you really do your research before offering this client Ubuntu server as a graphical math workstation??05:23
Psi-Jack__Heh05:23
poi77He asked for it; he needs virtualization05:23
giovanipoi77: the same way it is on the server05:23
jmarsdenI am running about 4 VMs on a Ubuntu desktop right here... what does virtualization have to do with server vs desktop?05:25
poi77Isn't server optimized for virtualization? We're talking hundreds, not 405:26
jmarsdenIs it?  In what way?  How did you determine whether it it or is not optimized for your clients massively virtual workload?05:26
Psi-Jack__Hundreds of virtual servers? on a single box?05:27
Psi-Jack__Must be a supercomputer.05:27
poi77I didn't make the decision05:27
poi77But see http://www.bmighty.com/blog/main/archives/2008/10/ubuntu_server_o.html05:27
poi77Yes it's pretty powerful05:27
Psi-Jack__With at least 100 CPUs, and petabytes of RAM.05:28
jmarsdenI didn't know Ubuntu scaled to 100 cores...05:28
jmarsdenpoi77: All the features that blog lists as new for 8.10 server were and are also in the Desktop edition.  Use more informed sources :)05:29
jmarsdenpoi77: https://help.ubuntu.com/community/ServerFaq#What%27s%20the%20difference%20between%20desktop%20and%20server?05:30
Psi-Jack__Well, currently, AFAIK, Linux supports up to 32 x86 CPUs, or 64 64-bit CPUs.05:31
Psi-Jack__And only 64GB of memory on 32bit, 128GB on 64-bit05:32
jmarsdenYes.  So for hundreds of VMs doing complex math calculations, life will get slow in a hurry, I suspect.05:32
Psi-Jack__Ayup05:32
Psi-Jack__Though.05:32
Psi-Jack__Linux cluster systems can scale up to 1,024 CPUs.05:32
jmarsdenUnless it is one VM per end user and end users won;t all happen to do computation at once...05:33
jmarsdenMost clusters I know of use customized cluster-oriented distributions of Linux, though.05:33
poi77The maxed specs for ubuntu are plenty for this applications. VM's will not all be doing math; in fact none will be. Same system, different users :-)05:33
poi77As a result of budget cuts, I guess05:34
poi77VM's each need 256 mb mem05:34
poi77But I am wondering if the desktop installer will automatically set up software raid05:34
nick125That's still 25-50GB of RAM05:34
poi77Ubuntu supports that :-)05:35
jmarsdenpoi77: It will do it just as automatically as the server installer will.05:35
poi77jmarsden:  I did not install server; what  do you mean05:35
jmarsdenThe automation in the one is as good as in the other.  So this has no bearing on your choice of desktop vs Server edition of Ubuntu.05:36
jmarsdenIt doesn't decide all by itself "oh, I think I'll set up RAID for this guy, he seems to have more than one drive"... it does let you specify RAID partitions and various RAID levels etc at install time.  On either edition.05:37
macrocosmthankx for the ebox heads up ... looks pretty cool in spite of its missing features ... not really comprable to webmin but still useful none the less05:37
Psi-Jack__macrocosm: What kind of missing features?05:37
macrocosmfilebrowser ... I really like having it05:38
macrocosmsilly I know but I like it05:38
Psi-Jack__You mean like using nautilus or dolphin directly over a secure protocol like ssh?05:38
macrocosmnever used those05:38
Psi-Jack__Well, start.05:38
macrocosmlol .. thanx .. ill deffinately check them out05:39
macrocosmdefinitely*05:39
poi77Thanks for the help05:39
Psi-Jack__nautilus == gnome, dolphin == KDE05:39
macrocosmwill those work on vista?05:39
Psi-Jack__Not really.05:39
jmarsdenmacrocosm: Only over a Windows-based X server like Xming05:40
macrocosmwell .. that sux05:40
Psi-Jack__macrocosm: WinSCP will though.05:40
macrocosmis that similar to filezilla? or someas much05:40
Psi-Jack__Heh, one of these days I gotta find me a better file manager than Finder, for OSX05:41
Psi-Jack__macrocosm: FileZilla will work too.05:41
jmarsdenmacrocosm: Yes, FileZilla and WinSCP are pretty similar.05:41
Psi-Jack__Both have SFTP support05:41
macrocosmyeah ... but the webmin filebrowser will decompress tars and edit files in place05:41
macrocosmfilezilla cant go that far05:41
Psi-Jack__That's because the webmin runs ON the server, where-as sftp is a protocol from client->server.05:42
macrocosmim sure there is something out there ... just need to dig .. I wasnt aware of webmin conflicts .. maybe cause ive never used it to manage system stuff05:42
jmarsdenEmacs does that kind of thing for you, why use a separate file browsing tool if you want an all-in-one do-everything swiss-army-knife app :)05:42
poi77I am talking to client ... can you confirm there are no differences (other than lack of gui) between server and desktop05:42
Psi-Jack__There's also simply just mounting sftp resources directly to your own machine as if it were local.05:43
jmarsdenpoi77: https://help.ubuntu.com/community/ServerFaq#What%27s%20the%20difference%20between%20desktop%20and%20server?   As I already said... did you read this?05:43
poi77I read that05:43
Psi-Jack__Read it again.05:43
jmarsdenThose are the only differences.05:43
poi77Okay thanks; so all the blogs are wrong?05:44
Psi-Jack__blogs are blogs.05:44
macrocosmemacs looks cool .. thanks for the tip05:44
jmarsdenIf they say there are other differences and provide no evidence to support their claims, yes.05:44
jmarsdenmacrocosm: Emacs and TRAMP mode lets you do inplace file editing over SSH (and other transports)... worth learning.05:45
macrocosmyeah .. looks very cool indeed.05:45
poi77What does "Ubuntu server install by default a server optimized kernel. "05:47
poi77mean?05:47
jmarsdenpoi77: Different scheduler configuration by default, and I don't remember exactly what else.  Tuned for sever workloads, basically.05:47
poi77are these differences documented anywhere?05:48
jmarsdenProbably... :)  I'll google for you... but really, next time do your own research ahead of time!05:48
jmarsdenpoi77: http://www.ubuntu.com/products/whatisubuntu/serveredition/features/kernel05:49
jmarsdenIf you really need that kernel, there's nothing to stop you installing it on a desktop install, I suppose... I've not tried it but it should work fine.05:50
poi77Here is what the client was referring to, from the above page "  Virtualization is better supported in the Server Edition through the enabling of IPC namespaces.  "05:50
jmarsdenAnd the client really needs those IPC namespaces for what they are doing?  You know this?05:51
Psi-Jack__Wait, what?Pre-emption is turned off in the Server Edition. ?05:51
jmarsdenPsi-Jack__: The real time stuff that helps sound and video editing go smoothly at the expense of total throughput, yes, I think so.05:52
jmarsdenOSes are (should be) tubed for their expected workload, if you really need every alst drop of performance out of them.05:53
jmarsdens/tubed/tuned/05:53
poi77I showed the client that page; he does not understand the tech details. Is there a layman's explaination05:54
Psi-Jack__Okay.. That's better. You can't turn off something that's native to how the kernel runs. It's a pre-emptive multi-tasking environment totally.05:55
jmarsdenThat *is* the laymans explanation.  The details for techies are in the source code and kernel configuration :)05:55
jmarsdenpoi77: If you are consulting for the client, he needs to trust you to know your stuff and make a solid recommendation based on the research you did ahead of time...05:55
poi77I am not in a consulting position05:56
poi77I just install what he asks for05:56
jmarsdenThen why are you showing him web pages and why is he asking you questions about what they mean?05:56
Psi-Jack__Heh05:56
poi77I am trying to relate the information you are giving05:57
jmarsdenSo now I'm doing free consulting for your client?  perhaps he can call my company on Monday and we can work something out with him? :)05:57
* Psi-Jack__ grins.05:57
Psi-Jack__Or mine!05:58
poi77He might be interested if you provide a web page05:58
macrocosmjmarsden: ahh my ubuntu-standard metapackage was gone .. thanks for that tip05:59
Psi-Jack__So, Ubuntu now also auto-removes stuff that's no longer "needed" anymore?06:00
jmarsdenPsi-Jack__: Only when you run apt-get autoremove06:00
Psi-Jack__Instead of just telling you they're not needed anymore?06:00
Psi-Jack__Ahh06:00
Psi-Jack__Okay. That makes me feel better. ;)06:00
jmarsdenIt just complains a lot...06:00
Psi-Jack__Auto-installing recommendations was bad enough. heh06:01
macrocosmlol ... was just reading that I may have removed something with a dependency and in return it chewed my system a bit06:01
macrocosmwell at least its just a vertual test server .. no sweat there06:02
jmarsdenmacrocosm: Once you have ubuntu-standard back you can do apt-get -s check   to see if all is well06:02
jmarsdenAh, make that apt-get check06:02
* jmarsden wonders what a simulated check would do? :)06:02
macrocosmcool thanks man.... could always try and see06:03
jmarsdenLooks like it ignores the -s and does the check as usual.  Seems reasonable under the circumstances.06:03
macrocosmyeppers06:04
macrocosmeverything checked out fine .. thanks a mill ... wasnt looking forward to reverting to an old snapshot .. thats so windows06:04
jmarsdenGood, you're all set.06:05
macrocosmtime to dive into emacs... thanks everyone!06:06
jmarsdenNo problem, and have fun with emacs :)06:06
macrocosmcheers!  I will!06:08
jmarsdenPsi-Jack__: Looks like the default for auto-installing recommendations changed in Intrepid, not Hardy, BTW.06:09
Psi-Jack__Yes, I know. ;)06:14
Psi-Jack__Noticed, anyway.06:14
Psi-Jack__I've turned it off on one system so far, plan to do it on all of them.06:15
Psi-Jack__Not even Debian devs recommend it.06:15
Psi-Jack__Ubuntu devs must've misinterpretted something somewhere.06:15
jmarsdenIt's more a convenience feature for desktop newcomers than something useful for server admins, I think.06:15
Psi-Jack__Bleh, not.. Really.06:23
Psi-Jack__I find it mostly annoying, and again, Debian doesn't even recommend it.06:23
jmarsdenYou are not the target audience for that feature :)06:24
Psi-Jack__Seeings' I use Ubuntu Server more than I do Desktop.06:24
jmarsdenExactly.06:24
Psi-Jack__I believe I'd constitute myself part of the audience.06:24
Psi-Jack__It's Server edition that's screwing it up. ;)06:25
Psi-Jack__Not making that alteration between server, and desktop for apt.06:25
Psi-Jack__1 file is all it would take to make that change. ;)06:25
jmarsdenwell... I meant, turning that on was intended to help newcomers -- they know one package name and install it, and get everything "most" people who use that package will need.  Oh... well, I see what you mean on that, but minimizinb the differnces between the two editions is also good.06:26
Psi-Jack__Or even just an altered 01ubuntu in apt.conf.d06:26
Psi-Jack__1 file.06:26
Psi-Jack__Is not that big a change.06:26
Psi-Jack__Since there's no GUI for server edition, apt CLI tools would be used, they would see recommendations when installing before answering do they want to continue.06:27
jmarsdenBut different behaviour for a commonly used command (apt-get)... IRC tech support would be harder if you had to remember to say --no-install-recommends on one edition but not the other.06:27
Psi-Jack__it would change nothing, except making it less a security hazard for server admins.06:27
Psi-Jack__Not even OpenSUSE is that assinine to make recommendations mandatory installations.06:28
jmarsdenFile a but report, if you can really see a clear security risk there.06:28
jmarsdens/but/bug/06:28
Psi-Jack__I feel it is a serious security risk, actually because it installs servers, such as postgresql, when it's not needed. ;)06:28
jmarsdenThey still are not mandatory.  You can still remove them if you want later... they are not Depends: .06:29
jmarsdenThen file a bug.06:29
Psi-Jack__jmarsden: Would the general audience know that though?06:29
Psi-Jack__See the difference? ;)06:30
Psi-Jack__At work, we have a whole shop of techs, totalling like only 6 actual techs.06:31
Psi-Jack__Well, 7 including me. :)06:31
jmarsdenYes, I see what you mean.  I'm not exactly the general audience... I just noticed the change somewhere during Intrepid alphas (I think it must have been) and got used to it :)06:31
Psi-Jack__They're all PHP developers, some with knowledge of minimal administration skills, some with other language skills.06:31
Psi-Jack__But, EVERYONE, still has to ask me, how to use the adduser command.06:32
jmarsdenThen why do they have root (or sudo) powers?  And if they don't, they can't run apt-get anyway :)06:32
Psi-Jack__course, everytime, I answer back, it's still useradd -m usernae06:32
Psi-Jack__jmarsden: Heh, We use Gentoo at work.06:32
Psi-Jack__Yeah, even more a headache, because they don't know how to truely manage it.06:32
qman__gentoo can be a real disaster if you don't know exactly what you're doing from the get go06:33
Psi-Jack__I know, exactly.06:33
jmarsdenThat does seem a strange choice of distribution for a work environment...06:33
Psi-Jack__I had to upgrade them from a 2007.0 profile to 2008.0, the hard way, on 6 servers.06:33
Psi-Jack__A friend of the department head, also his roomate, suggested Gentoo to him. And he liked it a lot over RHEL.06:34
Psi-Jack__The guy is a serious OSX user, too. ;)06:34
qman__I've never been a fan of redhat06:34
Psi-Jack__When it comes to OSX, he knows it fairly well. But Linux.. Not so much.06:34
Psi-Jack__Nor I.06:35
Psi-Jack__Personally, for a server environment, I'd have recommended 1 of two options: opensuse, or ubuntu-server06:35
Psi-Jack__Never gentoo.06:35
qman__ubuntu makes everything so easy, there's little reason to use anything else06:35
qman__some specific applications might be more difficult on ubuntu, but in general, that's my main choice06:36
Psi-Jack__yeah.06:36
Psi-Jack__That's why I setup my home server farm with ubuntu-server, I am trying it out, testing it, making sure it's what I want.06:36
Psi-Jack__Cause opensuse, it's nice, ... VERY nice in fact, but desktop-wise, 11.1 still has some major issues.06:36
Psi-Jack__KDE system tray icons, for example, they gitter, quite a lot.06:37
Psi-Jack__SaX, is horrible, horrrrrrible.06:37
qman__heh06:37
qman__I don't have any experience with suse06:37
Psi-Jack__SaX and ATI, don't mix.06:37
Psi-Jack__YaST on the other hand.......06:37
Psi-Jack__That's some sweet stuff there! You can setup a full-scale LDAP+KerberosV+SAMBA-LDAP server in minutes.06:38
qman__nice06:38
qman__that's one thing that's seriously lacking in ubuntu and pretty much all other distros06:38
Psi-Jack__And manage it, in X GUI, or TUI06:38
Psi-Jack__Same program.06:38
Psi-Jack__yast detects wether it's running under Qt, GTK+, or console.06:38
Psi-Jack__Yeah.. The only thing I'm not too fond of so far, is YaST-Firewall, which is why I'm looking at shorewall.06:39
Psi-Jack__shorewall mimics a lot of ideas from Cisco, including the safe-restart method.06:40
Psi-Jack__It'll restart with the new firewall rules, and wait for confirmation to keep it, if you don't respond, it'll revert it back in 60 seconds.06:40
Psi-Jack__Perfect for remote management.06:40
qman__nice06:41
macrocosmpardon the probably dumb question ... but do I install emacs on my server and access it from my vista box . or do i install in windows?  The instructions dont really differentiate... cause its looking like the win version tis a port to work on win file sys, havnt found anything to connect to external server.06:41
Psi-Jack__Even I, Linux user, Unix/Linux admin for 10+ years, have made firewall rules that blocked me out of the entire system before.06:41
qman__macrocosm, you install it where you want to edit text files06:41
Psi-Jack__heh06:41
Psi-Jack__I cannot stand emacs. :)06:41
macrocosmahh .. lok that makes sense06:41
qman__I'm a vim guy06:42
Psi-Jack__Another thing I truely liked about opensuse.. :)06:42
macrocosmlooks a bit peckish but there seems to be a lot of features ... ugh .. I have to search for a standalone replica of the webmin file manager chingus06:42
Psi-Jack__The ABILITY to lock specific packages from ever being removed, changed, or installed.06:42
Psi-Jack__I don't think apt can yet still do that.06:43
qman__yeah, you can hold packages but that's about it06:43
Psi-Jack__If it can, I'd like to know!06:43
qman__and if you do hold packages, it cmoplains endlessly06:43
qman__complains*06:43
Psi-Jack__I'd put postgresql-8.3 on the do-not-install list in a heartbeat, on ALL but my actual DEDICATED PostgreSQL server.06:43
qman__I've had to deal with that on my laptop, thanks to networkmanager06:44
Psi-Jack__Heh06:44
macrocosmI like nano but sometimes a file browser/editor that feels native is nice to have.06:44
qman__needed the intrepid kernel to connect to college wireless, but they removed the proper options in networkmanager 0.806:44
qman__and no other managers supported them06:44
Psi-Jack__Yeah, Network Manager is still beta too, so.06:44
qman__apparently it finally got fixed for karmic06:45
qman__of course, ideally06:45
Psi-Jack__That does remind me though, I need to find my opensuse cd, and toss it on my box I intended to use ldap for. Simplest way to make my auth box work 100%. ;)06:45
qman__my college wouldn't have a retarded wireless setup06:45
qman__that doesn't work on anything right06:46
qman__they use PEAP-GTC + dynamic WEP, with no certificates06:46
qman__it doesn't even work right on windows without installing special software06:47
Psi-Jack__Heh wow.06:54
Psi-Jack__OpenSUSE 11.1 actually was able to start the full GUI installer for this old Compaq P3-730 with not quite 512mb RAM.06:55
kappaluppahi... i need some help setting up a nameserver07:07
kappaluppai registered a nameserver for a domain, but its not resolving when i ping it. i need to know where on the server i need to make the change so that it recognizes ns1.domain.ws07:09
=== macrocosm_ is now known as macrocosm
=== maek_ is now known as maek
kblinhi folks09:37
kblinhow do I turn off the mechanism that tries to make sure network devices have constant names?09:39
kblinah, right :) IRC is working again. I found it, right after asking the question, as always09:40
kblin/etc/udev/rules.d/75-persistent-net-generator.rules09:41
uvirtbotNew bug: #417660 in samba (main) "package samba-common 2:3.3.2-1ubuntu3.1 failed to install/upgrade: defektes Tar-Dateisystem - Paketarchiv ist defekt" [Undecided,New] https://launchpad.net/bugs/41766011:53
leaf-sheepPlease make my day.  How can I run "Select Best Ubuntu Server" in terminal? No GUI.12:06
twbleaf-sheep: I don't understand the question.12:07
twbleaf-sheep: are you trying to configure a local apt mirror?12:07
leaf-sheeptwb: There are Ubuntu archive mirrors all over the world. Often, in Software Source / Synpathetic, there will be a setting where you can test/ping for fastest mirror closed to your area.12:08
twbUsually I know in advance what mirror to use.  Then, I edit /etc/apt/sources.list or sources.list.d/12:08
twbOn Debian, there is apt-spy, but IIRC it's not in Ubuntu.12:09
leaf-sheeptwb: Something like http://linuxhelp.blogspot.com/2007/05/using-netselect-apt-tip-to-select.html but that's outdated.12:09
twbSure, netselect is like apt-spy12:09
kinnazwe need something like gentoos mirror-select12:09
leaf-sheep!info apt-spy jaunty12:10
ubottuPackage apt-spy does not exist in jaunty12:10
leaf-sheepI'm surprised that there are one for GUI -- but no terminal command. Heh.12:10
kinnazthats what you get from gui orianted thing12:10
kinnazoriented12:10
twbleaf-sheep: there are such tools, but they can't be trivially pinched from Debian, because Ubuntu's mirror list file (if it exists) has a different format.12:11
leaf-sheepNow we know what feature Ubuntu is lacking.12:13
leaf-sheepHmm.12:13
leaf-sheepThanks. Even my Google Fu is failing me too, :<12:13
twbleaf-sheep: do you want to work this out for a specific host, or do you want to automate it?12:23
twbThe former, we can probably hold your hand for.12:23
leaf-sheeptwb: Just as long as it's in my country.  But I decided to give this part up and ask the author about that.12:28
leaf-sheeptwb: Also, komp-something in #ubuntu extraced the code --> http://pastebin.ubuntu.com/258021/12:29
twbleaf-sheep: which country are you in?12:30
twbYou IP is masked so I can't easily tell12:30
twbPrimary mirrors have the form XX.archive.ubuntu.com, where XX is a two-letter country code.12:31
leaf-sheeptwb: United States.  You probably should include all Ubuntu official mirrors and publish.12:31
twbI don't work for Ubuntu12:31
twbofficial = primary12:31
twbBut obviously secondary and tertiary mirrors (such as your ISP or university provide) are faster and cheaper12:32
twbSearching for "ubuntu archive mirrors" turns up stuff like http://www.ubuntu.com/getubuntu/mirror12:32
leaf-sheepAnd easier on loads. I believe my best mirror is the university -- but yeah, that's nice.12:32
twbAlso https://wiki.ubuntu.com/Mirrors12:33
leaf-sheeptwb: Did you made a localhost mirror for yourself?  Is it *really* fast?  I have been thinking about doing that for both benefits and experiments.12:33
twbleaf-sheep: I maintain on-disk mirrors because I regularly build chroots12:34
twbIt is still I/O bound by the disk speed, or the speed of NFS over 100baseT.12:34
twbTBH it is not noticably faster than my ISP's mirror, except for large (>50MB) runs12:35
leaf-sheepI see. I don't work with servers myself but I came in to find answers.  I recently bought computer parts for XBMC.  Still waiting on the case.12:37
maswanMy mirror is faster than local disk, usually. ;)12:37
leaf-sheepOh I finally got my network bridge to work. It nearly killed my laptop wifi. :<12:40
leaf-sheepAnd that was few hours ago.12:40
leaf-sheepNow I'm liking it.  There are something nifty about playing Halo3 off your laptop's wifi. :)12:40
twbUbuntu servers support Halo3?12:42
leaf-sheepNay.12:42
leaf-sheepBungie may be secretly running Ubuntu servers. ;)12:43
uvirtbotNew bug: #417635 in nagios3 (main) "package nagios3-common 3.0.6-2ubuntu1.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,Invalid] https://launchpad.net/bugs/41763512:50
=== cemc1 is now known as cemc
FoolsRunhey, is there some kind of Ubuntu alternative to the host side of Remote Web Workplace? Basically something running on an Ubuntu server that I could have users log into and then RDP to their (Windows) workstations from?14:11
FoolsRunI guess I could just hand-maintain a web page with rdp:// links on it and password protect the page...14:14
leaf-sheepIs it possible to apt-mirror few packages (eg, ubuntu-minimal, ubuntu-desktop)?16:01
obstleaf-sheep, if you want to mirror only a few packages, apt-proxy may be for you16:11
leaf-sheepobst: Ahh. I'm uninstalling apt-mirror then.16:12
leaf-sheepobst: I'm using Ubuntu 64bit and I'd like to create apt-proxy for Ubuntu 32bit.  Is that possible? I know this is the case for apt-mirror16:15
obstYes this is possible, you can configure to use any repo that you want or let the proxy simply learn your repos16:17
obstI use this at home to make downloading the same packages on multiple machines faster.16:19
leaf-sheepobst: https://help.ubuntu.com/community/AptProxy --> It does not say anything about packages for 32, 64, etc.16:21
obstYou want to install it on a 64 bit system and let a 32 bit system retrieve packages from it, that is possible I think16:26
obstI have it installed on a 32 bit machine and my 64 bit desktop can use it16:28
leaf-sheepobst: I wanted to download all 32-bit pacakges for ubuntu-minimal on my laptop then let my mini-itx machine with minimal usb installation getting all packages from my laptop (bridged).16:30
leaf-sheepobst: For some reason, it's getting packages really slow... sometimes failing/frozen.16:31
obsthmm, apt-proxy loads the packages when they are requested for the first time and stores them in a cache so the next request is fast16:32
leaf-sheepBut the binaries for amd64 and i386 is not same. I think I could do this with apt-mirror but I don't want to download entire main/restricted -- Only ubuntu-minimal and its dependencies.16:32
leaf-sheepobst: Have a good day.  Thanks for helping.  I need to look more into this apt-proxy thing.16:36
leaf-sheepIt sounds very useful.16:36
obstOkay but maybe you also lookup APTonCD16:38
leaf-sheepobst: I knew about that one.  It's in M350 case -- Pretty small -- No CD/DVD reader.16:38
leaf-sheepobst: I'm going to run apt-mirror for a minute and see if I can "throw"  all the needed packages in the same folder it's mirroring to.16:39
obstyou could also for your use-case simply download all packages of ubuntu-minimal, transfer them to the target machine and execute "sudo dpkg -i *.deb"16:43
metalfan_hi17:35
metalfan_im trying to rebuild a ubuntu kernel (reason: need a modified version to support the fitpc2), ive changed the default .config and copied it to linux-version/.config. after running:   fakeroot make-kpkg --append-to-version=.030320 kernel_image    the resulting .deb file did not contain the expected results, my changes were also reverted in the .config file...why?17:37
=== PhotoJim is now known as PhotoJim_
=== lamont` is now known as lamont
=== johe_ is now known as johe
johegood evening all19:52
shally87hi20:15
shally87I want to ask if anyone know a better interface for server other than webmin20:15
shally87I have my lamp server20:15
Nafallo!ebox20:23
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox20:23
Nafallo^-- shally8720:23
uvirtbotNafallo: Error: "--" is not a valid command.20:23
Nafalloo_O20:24
Claw6_can i import a phpmyadmin sqldump with mysqldump ?21:21
matttClaw6_: i would hope so!  :)21:22
matttClaw6_: well, you'd use the 'mysql' command, not mysqldump -- mysqldump is to get data OUT21:22
Claw6_aaaaaaaaah21:22
Claw6_lets see21:22
Claw6_mattt : ERROR 1007 (HY000) at line 12: Can't create database 'db260642497'; database exists21:25
Claw6_well i know that is already exists but i want to update it21:25
_rubenthere's an option in phpmyadmin to add "IF NOT EXISTS"21:26
Claw6_im using mysqldump _ruben21:27
Claw6_not phpmyadmin21:27
matttClaw6_: didn't you say you dumped w/ phpmyadmin tho?21:27
_rubenoh .. and also an option similar to 'overwrite' iirc21:27
_rubenhuh?21:27
Claw6_i just exportet the dump with myadmin21:27
_ruben*confused*21:27
Claw6_but want to import it with the terminal21:27
matttClaw6_: can you re-dump w/ the option ruben recommended?21:28
Claw6_mh...21:30
Claw6_i will try something different21:32
matttotherwise, drop the datbase :P21:33
mattt(and then import)21:33
StrangeCharmwhat's a good way of doing a connection speed test from a terminal?22:51
=== niclasa is now known as Nicke_
uvirtbotNew bug: #417889 in openvpn (universe) "redirect-gateway not working for openvpn 2.1_rc11" [Undecided,New] https://launchpad.net/bugs/41788923:56

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