/srv/irclogs.ubuntu.com/2009/03/11/#ubuntu-server.txt

Vog-workI find tha ubuntu is much more friendly to a newbie.00:00
ScottKVog-work: That's true.  Ubuntu generally has a more friendly culture.00:00
Vog-workOr at least I did a few years ago.00:00
ScottKAlso we do try to do stuff to make it easier that's hard to do in Debian.00:00
ScottKBecause we team maintian it's easier for us to implement stuff that touches several packages.00:01
bazin terms of stability there are no issues at all besides the inherent risk of using newer packages? is it totally world-class?00:01
ScottKMy experience has generally been good.00:01
Deepslikewise00:01
ScottKNewer also means more support for newer hardware too.00:01
Vog-workSo has mine, Debian is really quite stable, but will be missing features available in ubuntu.00:01
Deepsthat said, lenny's quite current for a debian release00:02
ScottKYes, but when did Lenny freeze?00:02
Vog-workDeeps: I'll need to go look at lenny, it's been awhile.00:02
bazwhats a *big* feature ubuntu server has that debian lacks? it seems apt-get is 90% of what we need00:02
DeepsScottK: unsure, but it does pack a .26 kernel i believe00:02
bazin terms of ease-of-use that is00:02
ScottKAs an example, even though Lenny just released and 8.10 released months ago, 8.10 has a newer kernel.00:03
Vog-workbaz: out of box support for various raid controllers, even the crappy on board ones.00:03
ScottKDeeps: Intrepid, that's 4 months old has .27.00:03
DeepsScottK: no doubt, i meant compared to debian releases of yore, it's quite current by debian release standards00:03
ScottKDeeps: Certainly.00:03
DeepsScottK: i was in no way attempting to compare against ubuntu00:03
jmedinaI use Ubuntu for the LTS, and because it just works better than others00:04
ScottKCertainty of support times is another difference.00:04
bazScottK, what do u mean by that00:04
ScottKUbuntu Server is supported for 5 years.  Debian Stable is supported one year after the next release.00:04
ScottKSo how long is Lenny supported for?00:05
Deepsbaz: tasks, ubuntu has predefined tasks for webservers, mailservers, printservers, and so on00:05
Vog-workScottK: Good call I always forget to point that out.00:05
Deepsbaz: which makes installation of such services relatively simple00:05
ScottKDebian has tasksel too.  In some ways not as refined however.00:05
bazDeeps, i think I have seen that before - are u refering to checking the LAMP box during install and having it all built automatically for you?00:06
Deepsbaz: thats the one00:06
ScottKMyself I like that Postfix is the MTA of choice, since that's my MTA of choice too.00:06
bazyeah, thats too awesome00:06
Vog-workBaz: It's weird I always find things that happen automatically with ubuntu that I used to have to do manually. But I never remember them after thae fact.00:06
Deepsbaz: like ScottK says, debian has tasks too, but they're not as refined in some ways00:06
ScottKThat said, Debian does stop and spend a long period of time fixing bugs and stabilizing stuff, so it is likely to be more stable for some uses.00:07
Vog-workThe user base for ubuntu is so much larger and the fourms are much more active. So when you get thet weird problem somoen else has probably already had it and figured it out.00:07
bazVog-work, big time, i often append "ubuntu" at the end of a google search even if my question is not ubuntu related and i get better aNSWRS00:08
Vog-workAnd theose bug fixes that ScottK mentions are subsequently incorporated into the Ubuntu code base most of the time.00:08
ScottKYes, but we get more new versions with new features in the meantime, so who knows.00:08
jmedinaone think I thanks is the MOTU effort to incluide packages in main00:08
ScottKI find Ubuntu very stable for what I do.00:09
ScottKOf course since I'm an Ubuntu developer and have fixed a lot of stuff that affected me, it's not random.00:09
bazso it seems ubuntu is the way to go for me... I am not running huge clusters that require 99.99999999999% availability and i dont have a full team of geeks backing me up, so ease of use is important00:10
jmedinaand of course the biggest community00:10
Vog-workBaz: alot of us are in the same situation. Hence, why the community exists.00:10
Deepsbaz: that said, if you're looking for an impartial opinion, asking in #ubuntu-* whether ubuntu is better than X isn't likely to lead to many votes for X ;-)00:11
bazhehe, true00:11
bazbut instead of votes i got logical facts00:12
Vog-workBy the way it makes me proud to be part of it when I see a user come into the channel asking a question and then a semi clear answer can be hashed out.00:12
jmedinaand I think it is easier to contribute to ubuntu than debian, Ubuntu has launchpad, the whole infraestructure to work with an community operating system00:12
Vog-workOn that noe I need to head home.... :) Good luck baz00:13
bazthanks Vog-work!00:13
Deepsindeed, best of luck00:13
jmedinathe only thing I dont like about ubuntu is the logo00:13
Vog-worklol00:13
* jmedina still prefers slackware logo (not the new one)00:13
Deepsbed time for me, work in 8 hours :/00:13
* Vog-work is a Tux purist00:14
* jmedina is using a gentoo t-shit, so I look a linux hardcore user XD00:14
* ScottK gives Vog-work a smack just to remind him of the good old days in #debian.00:14
ScottKjmedina: Gentoo T-shirt says to me "way to much free time".00:15
Vog-workmy last emerge world was the day I started to use ubuntu :)00:16
jmedinaScottK, actually, using ubuntu there is a lot of spare time00:16
jmedinaI  have not used gentoo since I migrated to dapper in desktop and servers00:18
jmedinabut not these days, people in crisis wants to learn and migrato to linux, most here in mexico00:18
jmedinathis econimical crisis its good for linux and open source00:19
ballI have to go00:20
lonelywind1403today i used aptidue to update ubuntu server 8.10 and get and error message about GPG (invalid signature) error on http://security.ubuntu.com and don't know how to fix it. ( screen captures here http://www20.tok2.com/home/naaikada/Ubuntu%20Server-2009-03-11-08-48-42.png ). can I resolve this problem?02:17
ScottKlonelywind1403: What happens if you do sudo apt-get update?02:20
ScottKvorian: All the Main rdepends for libdb4.2 are gone, so it's likely killable.  I'm patching kolab right now, so maybe you could hunt through for any others that are left?02:21
lonelywind1403ScottK: still that error message (screen capture: http://www20.tok2.com/home/naaikada/Ubuntu%20Server-2009-03-11-09-23-16.png)02:24
ScottKlonelywind1403: What does "dig a security.ubuntu.com +short" return?02:27
lonelywind1403ScottK: it return 91.189.88.3702:30
ScottKWell that's at least right.02:31
JanClonelywind1403: is there a proxy between you and the internet?02:34
ScottKlonelywind1403: https://bugs.launchpad.net/apt/+bug/117010/comments/3 give an example of how to manually add a key for apt.  I'd try that with the key ID in the error message.  JanC's question is also a good one.02:36
uvirtbotLaunchpad bug 117010 in apt "invalid GPG key - is this a big problem? (dup-of: 24234)" [Undecided,New]02:36
uvirtbotLaunchpad bug 24234 in apt "apt-get update failing with bad signature." [High,Confirmed]02:36
lonelywind1403no, this server is connect direct to internet02:37
lonelywind1403uvirtbot: trying sudo apt-get update -o Acquire::http::No-Cache=true and having same error message02:46
uvirtbotlonelywind1403: Error: "trying" is not a valid command.02:46
JanClonelywind1403: uvirtbot is not human  ;)02:51
lonelywind1403JanC: yeah, but i'm  wondering how can it answer my question like that. ( searching ??? ) :D02:56
JanClonelywind1403: it saw Scott's mentioning of a Launchpad bug #03:00
lonelywind1403JanC: did you get same error message at this time ?03:05
JanCI don't have any apt key errors no03:05
lonelywind1403JanC: if not, what if U send me a pgp database ( /etc/apt/trusted.pgp )03:08
ScottKlonelywind1403: Did you try the manual key adding step in the bug comment I linked you to?03:13
lonelywind1403ScottK: ~$ gpg --keyserver subkeys.pgp.net --recv 40976EAF437D05B5 && gpg --export --armor 40976EAF437D05B5| sudo apt-key add -03:22
ScottKThat looks right.03:22
lonelywind1403ScottK: result is  ( gpg:               imported: 1)03:22
ScottKNow try sudo apt-get update again.03:22
lonelywind1403but when run apt-get update03:22
lonelywind1403still same error :(03:23
ScottKOdd.03:23
ScottKlonelywind1403: You've got the correct key then.  I don't know what to tell you.03:23
lonelywind1403ScottK: i'll try copy /etc/apt/trust* from other server, hope it work :(03:28
ScottKGood luck.03:29
lonelywind1403ScottK: bad news , nothing changed :(03:33
JanCI suspect something else is broken03:34
ScottKI think so, but I don't know what.03:35
JanCmaybe check for a leftover lock file for the apt/gpg database?03:35
JanCor something like that03:35
lonelywind1403may be something outdate ( cause i'm just installed this system from yesterday )03:38
ScottKA lock file would give a different error.03:39
JanCScottK: I would hope so, but I've seen too many errors being masked by apt and/or dpkg to trust that  :-(03:41
lonelywind1403All: should I post this error on forum ?03:47
nappleWhen I'm calling a blocking function (like recv(), accept() or something similar) in a process which has just a single thread (that is, I use no threading library or such).. does the blocking call prevent the process from being scheduled for execution? The reason why I ask is this: I have a lot (>400) of small worker processes, 80% of them in a blocked state because they are waiting for data to be received. However, scheduling all 400 p04:01
napplerocesses is just a nightmare for the platform. So it'd be good if only processes are scheduled, which are not in blocking mode.04:01
=== rgreening_ is now known as rgreening
=== lonelywind1403 is now known as Guest26356
lonelywind1403ScottK , JanC: the problem is solved, :D ( flowing this post http://ubuntuforums.org/archive/index.php/t-821058.html )05:50
JanClonelywind1403: what exactly worked?05:52
lonelywind1403sudo apt-get clean05:52
lonelywind1403cd /var/lib/apt05:52
lonelywind1403sudo mv lists lists.old05:52
lonelywind1403sudo mkdir -p lists/partial05:52
lonelywind1403sudo apt-get clean05:52
lonelywind1403sudo apt-get update && sudo apt-get upgrade05:52
subcheehello07:10
subcheecould you tell me please, that a basic Apache (on Ubuntu Server 8.10) which worker uses as default? worker or prefork?07:12
subcheesorry, prefork or mpm07:12
hadsDepends. dpkg -l will tell you07:14
subcheethank you, apache2-mpm-prefork is installed :)07:15
subcheeI allways forget about basic commands, like dpkg -l :(07:15
hads:)07:16
ballI'm in the process of installing Ubuntu Server on my old Dell07:16
ballI've wasted a whole day trying to bring up NetBSD on another old machine and...basically I give up.  I need to get some work done and Ubuntu Server seems like the path of least resistance.07:17
ballhello _coredump_07:23
_coredump_hello ball07:23
ballWhat's a light Web server to run on Ubuntu Server ?07:29
hadsapache, lighty, cherokee, nginx, thttpd07:30
subcheecould you please take a look at my Apache2 config? I'm trying to tuning it... http://pastebin.com/d775394dc07:31
ballhads: thanks07:31
subcheethe HW: AMD6000+ x2 64bit, 4x2 GB dual channel DDRII 800MHz, SataII winchesters in Raid array07:32
ballWhere can I find out more about local Ubuntu communities?07:32
subcheethis a web server with a few domains, but I'd like to host more domains... in the evenings 500+ users are online07:33
ballHow do you host more than one domain on a Web server?  Do they all share a single IP address?07:34
subcheeyes07:34
hadsDepends07:34
* ball sighs07:35
ballI'm pretty sure I want to set up a loco07:35
ball..or at least a local user group07:35
Blinkizkirkland, With ecryptfs, will my folder names be encrypted as well?07:45
Blinkizkirkland, Will ecryptfs work on top of ext4?07:46
Blinkizkirkland, What kind of encryption are ecryptfs using as default? AES 128? Can I change this myself?07:46
ballwhat's the command to type to update an Ubuntu Server host?07:48
Blinkizball, You mean between ubuntu releases, like 8.04 to 8.10?07:49
ballBlinkiz: no, just to make sure that security patches are applied etc.07:49
hadssudo apt-get update && sudo apt-get dist-upgrade07:49
Blinkizball, oki.. Yeah, like hads said07:49
Blinkizoh, not dist-update. Should be just "upgrade"07:50
hadsdist-upgrade07:50
ballThanks, that's running now07:51
Blinkizball, :)07:51
subcheebye people07:53
ballI need to decide what Web server to install07:53
ballhello drdebian_07:53
ballIf I install thttpd, will it automatically be configured to launch at boot time?07:55
hadsLikely07:57
Blinkizball, But they way, if you want security updates to be installed automatic on your ubuntu server, you can do "sudo apt-get install unattended-upgrades". Config file will then be in /etc/apt/apt.conf.d/50unattended-upgrades"07:57
ballHmm... that might be a good idea.07:59
ballhello BrunoX1ambert08:00
ballHow do I turn on sshd?08:11
hadsInstall it08:12
ballE: Couldn't find package sshd08:15
ballI think I tried "openssh" too08:15
ballshould it be OpenSSH ?08:15
hadsSearch08:16
hads"apt-cache search" and grep are your friends.08:16
jpdsball: openssh-server.08:18
ballThat's great, thanks.  I've written down te "apt-cache search" tool too.08:18
jpdsball: And most services installed will be launched at boot time, unless you change it with update-rc.d.08:18
ballThat's good, it'll save me a job08:19
^law1^guys, if wan install tomcat which package to install ? there r so many package tomcat6, tomcat6-admin, tomcat6-common, tomcat6-docs, tomcat6-examples,08:21
^law1^tomcat6-user08:21
ttx^law1^: depends on what you want to get08:22
uvirtbotttx: Error: "law1^:" is not a valid command.08:22
^law1^i want to get tomcat run just like in windows08:23
ttxUsually "tomcat6" is what you want (the system daemon)08:23
ttx"tomcat6-user" is a package that lets you deploy multiple private instances08:23
ttxanyway, the server guide is your friend here08:24
ttxhttp://doc.ubuntu.com/ubuntu/serverguide/C/tomcat.html08:24
^law1^oh i'm opening it now :)08:26
^law1^ttx, THX this is a great guide :D08:30
twb#openvz is silent, but maybe someone here knows.  How do I increase the maximum memory available to an OpenVZ VE?08:40
twbIt seems to default to 256MB, which isn't enough for fat ol' GHC.08:40
ballWhat's a GHC?08:44
incorrecthello, is there a server tuning guide?08:47
krautmoin08:47
ballhello incorrect08:49
incorrecthello ball08:49
^law1^moin kraut :)08:50
ballhello oly08:54
olyhi ball,08:54
* thefish feels the love08:54
^law1^hi ALL :)08:55
olyhello to you all :)08:55
ballI'd be awfully tempted to install Ubuntu Server on the box behind me if I could get the installer to work.08:57
olywhere does it get to ?08:57
balloly: if I can get this rewired slightly, I'll try it again.08:59
olyokay, just asking possible you need to provide a parameter to the kernel to get it to boot or something :p08:59
=== mdz_ is now known as mdz
=== ScottK2 is now known as ScottK
incorrectwhat is the ulimit pipe size?10:10
=== jussio1 is now known as jussi01
sorenincorrect: "ulimit -p"10:34
incorrecti mean what is pipe size10:34
olyguessing some one here might know the answer to this, can i copy files over ssh but use sudo / su to increase my permissions ?11:00
jservercould anyone test my upstream for me?11:03
jserversomeone with at least a 300kb/s download rate11:04
incorrectjserver, why don't you use http://www.speedtest.net/11:04
jservernot accurate, im am on a 15Mb connection and it reports 511:05
incorrectso11:05
incorrectcould well be accurate11:05
jserverumm11:06
jserver1/3 of the bandwith alloted to me11:06
incorrectyep11:06
jserverbut my downstream im not worried about, I get so many mixed results for my upstream, I would like to have someone just max it out to see what it can do11:07
jserverof course I dont wanna bother anyone, just figured I would ask and see if anyone would.11:10
incorrectdo you have an iso image i can pull from you then?11:14
incorrecturl?11:14
incorrectwget jserver isn't working11:14
jservermy server is locked down at the moment11:16
incorrectwell that isn't exactly helpful11:16
jserveris ddc reliable?11:16
jserverdcc11:16
incorrectI will wget a file from you11:16
jserver1 min11:17
jserverheres a 24mb file, should be enough to test the bandwidth11:22
jserverhttp://www.sites4christ.org/LimeWireLinux.deb11:25
jserverone of my client sites11:25
maswanjserver: 90KB/s11:28
jserveryou got to be kidding me11:29
jservercant run a server on that kinda shit11:30
* jserver smacks his ISP in the ear11:30
jserversuppose to be a whole lot more than that11:31
heath|workAnyone know of a way I can monitor a folder for changes?12:11
Jubeznietchzie12:13
Jubezmy bad, wrong window12:13
Jubezforgive the spelling too, hehe12:14
olyheath|work, inotify-tools ?12:22
heath|workI will look into that thanks12:25
olyi dont know for sure, but i know inotify can notify you of filesystem changes i have never tried the command line tools though12:31
olyonly ever used it in python :p12:31
heath|workfunny you mention python, that's what I am reading now12:49
heath|workhmm.. check out dnotify12:50
olyi used it to detect when a ftp script had down loaded a file so that i could act on it12:51
olyworks really well12:51
heath|workoly, does it run all the time, or do you cron it?12:53
olywell the ftp script is a cron job, but the python script is a daemon thats always running in background12:54
Scixa quic question: Is rc.local runned after the network is up?13:28
Scixi have to wget some configuration files everythime a computer starts13:29
ivoksyes13:29
ivoksunless network is dhcp13:29
ivoksif you want to run something after bringing up network interface, /etc/network/if-up.d/ is much better place13:30
ScixThe network is using DHCP. does if-up.d have root access?13:35
ivoksscripts in that directory are executed with root privileges, yes13:35
Scixok, and all i have to to is to add it and make i executable?13:36
ivoksyes13:36
Scixtanks, you are an angel, ivoks13:37
sorenScix: Note, though, that it gets executed for *every* interface. Even the loopback interface.13:38
sorenScix: ... You can check the $IFACE environment variable for the right interface.13:39
Scixsoren, tanks for the note :)13:40
sorenSure :)13:40
ivokssoren: you will never be a better angel than I am! :p13:40
ivoks:D13:40
* soren bows to ivoks13:41
cliebowcompiling openldap-2.4.15..when running make test port 9001 appears already in use?? any workaround?15:12
cliebowahh..15:16
geniicliebow: lsof -i:9001     should tell you whats currently using it15:16
cliebowa n opensuse bug says pull localhost from ::1 line in /etc/hosts..15:17
cliebowthat got things going..15:17
geniiHopefully you don't use anything ipV6 anywhere15:20
cliebownope..15:20
cliebowill set it back if the tests are successful..15:20
incorrectI am looking for a smarter web load generating tool,  siege is great, but it doesn't spider the side or pull any of the links in the page15:47
incorrectdoes anyone here know of a tool to do this?15:47
JanCincorrect: what some people do is use a script that "replays" real traffic based on webserver log files, but of course you need the site to already be in production for that15:50
incorrectI have a set script i want to simulate15:51
ballincorrect: wget?15:52
incorrecti could write something, but i don't have massive amounts of time15:53
heath|workincorrect, does this help? http://www.joedog.org/index/siege-faq#a2115:59
heath|worklooks like you can build a url text file15:59
incorrectheath|work, siege isn't very smart16:00
incorrecti am using siege right now16:00
incorrecti think apache's flood might do the trick16:00
ttxScottK: fyi, I should post a FFe for bug 323601 by tomorrow. It should end up in your plate, being server-related.16:14
uvirtbotLaunchpad bug 323601 in likewise-open "Upgrade to likewise-open 5 for Jaunty" [Wishlist,In progress] https://launchpad.net/bugs/32360116:14
ScottKttx: likewise-open is in Main, so that needs ubuntu-release approval, not motu-release.16:16
ttxScottK: It would be done as a separate, new package, since you can't update from likewise-open 4 to the 5 version.16:17
ttxso it should hit universe...16:17
ScottKAh.16:18
ttxand conflict with the version in main.16:18
ttxScottK: the Ffe will detail that aspect.16:18
ttxScottK: just wanted you to know about it before I post it.16:18
ScottKAlso make sure you cover if this relates to any spec.16:18
dendrobatesScottK: the main reason for doing like this is to protect users.  likewise did not create a clean upgrade path (IMO) from 4.x to 5.x.16:27
=== zul_ is now known as zul
dendrobatesScottK: it requires users to rejoin the domain.16:27
ScottKdendrobates: Makes sense.  My major question would be should this just wait for Karmic and get an early backport at this point?16:27
ScottKI'll have a look at it when it's ready.16:28
dendrobatesScottK: we have been discussing that, but there is a huge customer demand,  5.x was actually released during the intrepid cycle and we held off then.16:29
ScottKI see.  Grumble.16:29
dendrobatesScottK: so users are doing the upgrade themselves, in not so good ways.16:29
ScottKWell if Canonical is up to doing the archive admin work on it and there's a ready package there isn't a lot of reason to not put it in.16:30
dendrobatesScottK: but look at it and let me know what you think.16:30
ScottKAlso if we get it in now, we could backport to Intrepid/Hardy soonish and reduce non-standard installs.16:30
bdmurrayWhere does bug 341030 belong?16:31
uvirtbotLaunchpad bug 341030 in ubuntu "Local mail delivery missing in default server install" [Undecided,New] https://launchpad.net/bugs/34103016:31
* ScottK looks16:32
ScottKbdmurray: That behavior is by design.16:33
ScottKbdmurray: I commented in the bug.17:12
bdmurrayScottK: great, thanks for doing that!17:13
ScottKThe reporter won't be happy, but at least they have an answer.17:14
orudiehow would i add a user to sudoers list17:24
giovani3orudie: you either add the user to the admin group, or you can explicitly add the user in the sudoers file: https://help.ubuntu.com/community/Sudoers17:26
orudieis it a good idea to match the hostname with a domain name /?17:57
orudieif the primary use of the vps server is a website for this domain name17:57
ivokshow can you match hostname with domainame?18:03
ivokshostname.domainame18:03
ivoksserver.server? :)18:03
orudieivoks, hi friend ?18:05
orudie:)18:05
orudieivoks, we are about to do the transition of the email accounts to the host you helped me with a few weeks ago18:05
ivoksok18:08
orudieivoks, can you help me with some stuff ?18:10
jcrowAnyone knowledgeable about LVM? After completing a 8.10 install I added a vg and created my lv. The three lvs are mounted as /tmp /home and /var. /var fails to mount on boot but the other two automount ok. The /var lv can be mounted after boot so I know it is ok. Any idea where to start fixing this one?18:10
ivokssure18:10
ivoksjcrow: /etc/fstab18:11
jcrowivoks: /etc/fstab is configured for /var partition18:11
ivokshow is configured?18:12
jcrowYou may have hit the nail on the head. I went to look at the fstab and noticed that the line for var has default vice defaults for the mount options. I did not notice that before. I am rebooting now. This is a server so it takes a minute or five.18:13
jcrowivoks: /etc/fstab was the problem. I had been digging through the Ubuntu boot process for the last hour to find where it might be failing. All I needed was a kick in the right direction. Thanks!18:17
ivoksjcrow: np18:17
orudieivoks, how reliable is zoneedit ?18:25
ivokswhat's that?18:26
ivoksah... dns service18:27
ivoksnever used, i have my own dns servers18:27
giovani3I've had success with dnsmadeeasy18:28
giovani3they're quite diversified, and unbelievably cheap for what they offer18:28
giovani3http://www.dnsmadeeasy.com/s0306/price/dns.html18:29
orudieivoks, so if i want my email clients to be set up as pop, i cat use mail.mydomain.com as incoming mail server, it should be pop.mydomain.com instead?18:34
ivokserr?18:38
ivoksi don't understand18:38
ivoksyou can use single hostname18:38
ivoksyou don't have to set up different hostnames for different services18:38
frojndHello there18:39
frojndAny good guys here ?18:39
ivoksno, only bad guys18:40
frojnd:P18:40
frojndI've finally shutdown the server after 2 months or more..18:40
frojndnot because id' wann't to but because I had to, they had to do some electricity maintance..18:40
frojndSomehow something is going wrong18:41
frojndI got message that filesystem check went wrong or smth and to look into /var/log/fsck/checkfs http://pastebin.ca/135838218:42
frojndWhat exactly  does this error mean ?18:42
frojndDoes it has to do something with my external USB hard drive ?18:42
frojnddid fstab it wrong ?18:42
frojnddid I fstab it worng ?18:42
frojndAny ideas ?18:43
ivoksyou don't know what UUIDs are?18:43
frojndivoks: id of hard didsk ?18:43
frojnddisk18:43
ivoksright18:44
ivoksuniq id of the partition18:44
frojndivoks: and something is crossing over18:44
ivoksno...18:44
ivoksyou are using -A switch18:44
ivoksand fsck can't read lines with UUID in /etc/fstab18:44
ivoksdoes this happen during the boot or you are manually running fsck?18:45
frojndivoks: no during the boot :) as I said the first time shutdwon and start today: http://pastebin.ca/135838518:45
frojndthis is my /etc/fstab18:46
frojndnot sure if it's right18:46
ivoksnot during the boot OR no, during the boot?18:46
ivoksi see18:46
ivoksyou configured your fstab wrong18:47
ivoks#18:47
ivoksUUID=B4B0049FB00469E6 /mnt/p2p ext3 relatime 0 218:47
ivoksthat last '2' at the end means 'stop everything if you find an error on this partition'18:47
ivoks'0' would mean 'just ignore everything'18:47
ivoksfor partitions that aren't crucial for server's operations, it should be 0 or 118:48
frojndivoks: funny part is I can't see my 1tb external HDD if I do fdisk -l, just 200gb /mnt/p2p and /home, /  160gb: http://pastebin.ca/135838818:48
ivoks2 will stop booting in case of an error, as you can see in your case18:48
frojndivoks: so there are errors :S18:48
ivoksmy guess is that you don't have that disk in server18:48
ivoksor your IDE controller is broken, or something else18:48
ivoksanyway, replace that '2' with '0'18:49
ivoksreboot18:49
ivoksand then fix the partition problem18:49
frojndivoks: about IDE's, I'll stop server now, check the cables18:49
ivoksfrojnd: don't18:49
ivoksfrojnd: fix fstab, boot the system, let it work18:49
ivoksand then check if there are driver problems or something like that18:50
frojndso just change 2 into 018:50
ivoksmaybe it isn't hardware problem18:50
frojndI see18:50
ivoksher, 2 into 0 only for /mnt/p2p18:50
ivoks/sher/yes/18:50
ivoksgrr...18:50
frojnd:)18:50
frojndrestarting18:51
frojndlet me see the monitor18:51
ivoksthat UUID is wrong18:51
ivoksyou added it yourself?18:51
ivoksit's too short18:52
ivoksfor ext318:52
frojndivoks: I've changed it into 0 and it still says that UUID is worng :)18:53
frojndit doesn't exist18:53
ivokscause it is wrong18:53
frojndivoks: for /mnt/p2p18:53
ivoksbut the server will boot now18:53
frojndivoks: yes18:53
frojndivoks: before you help me further...18:53
frojndivoks: I have to plugin CD-ROm18:53
ivoksfrojnd: so, again, you added that uuid yorself?18:53
ivoksyourself18:54
frojndivoks: I think I foud some how to identify UUIDS..18:54
ivoksok, well, this one is wrong :)18:54
frojndivoks: If I have onyl ONE IDE cable and HD and CDROM18:54
ivokslog in to your server18:54
frojndcan I put jumpers to Cable select ?18:54
ivoksdon't touch hardware18:54
frojndso CDROM and HD would be rocognized18:55
ivoksjust boot your server18:55
frojndivoks: yes yes..18:55
frojndivoks: this one isn't the ubuntu issue :)18:55
frojndbefore I'll set any UUIDS I'd also like to plugin CDROM18:55
frojndnow I only have HD18:55
ivoksok18:55
frojndI jsut have to put pins on Cable select ?18:56
ivoksyes18:56
frojndon bouth CDROM and HDD ? if I have one cable for both ?18:56
frojndok18:56
frojndbrb18:56
frojndThanx for now, and please don't go away :)18:56
frojndI'll need some more help from you :)18:56
=== JanC_ is now known as JanC
frojndivoks: here ?19:05
heath|workhow do you view the uid of a user?19:06
ivoksyes19:06
frojndivoks: now I only see 160GB DISK :D19:06
frojndhowever cdrom works19:06
frojndivoks: this has something to do with pins I've select right ?19:07
chamunksHey i need some information on importing and exporting mysql thru phpmyadmin.19:07
frojndI've put pins on hdd to cable select, also on cderom but only cdrom is recognized19:07
ivoksfrojnd: i still don't understand why you touched hardware in the first place19:07
frojnd:S19:07
frojndivoks: I'd like cdrom to be there...19:08
ivoksyour system was fine19:08
frojndivoks: but without cdrom19:08
ivoksyou really need it?19:08
chamunksI cant remember my passwords to my databases but if im exporting them to a plaintext file that shouldnt matter once i've imported them to the new system?19:08
jbernardheath|work: grep $USERNAME /etc/passwd19:08
heath|workthanks jbernard19:09
ivokschamunks: mysqldump --default-character-set=utf8 -u root -p --all-databases &> mysql_dump_all_databases.sql19:09
chamunksIm pretty sure that my assumption is correct but i need someone who's done this before to tell me that im okay to format my old server.19:09
ivokschamunks: then, on import, again --default-character-set=utf819:09
jbernardheath|work: more specifically: grep ^$USERNAME /etc/passwd | cut -d: -f319:10
frojndivoks: ocasionally :\19:10
chamunksivoks, thanks so much.  since i dont like using root for my web apps and only like assigning separate users for separate processes will this be easy to do on the new system?19:10
frojndivoks: not important as we speak... I'll play with cables some other time, How can I figure iut ouw UUIDS for both disks ? the one that's on IDE cable and the one that's plugged int via USB ?19:11
chamunksivoks, im not mysql savvy I just know that its required to keep settings etc.19:11
ivoksok, too much lines with 'ivoks' on the screen19:11
frojnd:)19:12
ivoksfrojnd: sudo vol_id /dev/sdXY19:12
mathiazkirkland: do I have to update the kernel on hardy if I want to test/run kvm 84 from the ubuntu-virt PPA ?19:12
chamunksoops :P  ill keep those lines you hooked me up19:12
dementorry i need some help becouse im new whit linx ,i instal verlihub but i canot run any lua scripts19:12
ivoksmathiaz: imo, yes; i don't see how it would work without kernel module of same version19:12
ivokschamunks: different mysql servers/clients have different character sets conffigured19:13
ivokswhile we are at it19:13
chamunksIm going ubuntu to ubuntu im just going through some growing pains.19:13
ivoksmathiaz: why do we predefine latin1-sweeden as default character set in mysql? :)19:14
ivoksmathiaz: why not... utf-8?19:14
Nafallooooh19:14
NafalloSweden! :-D19:14
ivokssweden, right :)19:14
mathiazivoks: probably because this is what upstream does...19:14
ivoksit's a compile time option19:14
ivoksiirc19:14
mathiazivoks: I agree we should use utf-8 - I think 5.1 may use it though19:14
ivoksdidn't try it yet :/19:15
ivokschamunks: well, however, it's wise to add --default-character-set=utf8 during export and import19:15
frojndivoks: ok, which one is correct ? ID_FS_UUID=c3652bfc-ad3b-479f-96d0-fbac77abf314 or ID_FS_UUID_ENC=c3652bfc-ad3b-479f-96d0-fbac77abf314 ?19:16
chamunksstandards rock19:16
ivoksfrojnd: notice that they are the same :)19:16
frojndivoks: right :)19:17
frojndivoks: thanx19:17
frojndI just have to replace the previous one with this one now19:17
ivoksyes19:18
frojndivoks: what about the USB one ? If I can't even see it on fdisk -l19:19
kirklandmathiaz: i just reinstalled my hardware with hardy server19:20
kirklandmathiaz: let me do some harder kvm-84 testing on hardy19:20
kirklandmathiaz: previously, i just sniff-tested it on my mythtv box19:20
kirklandmathiaz: but i can't risk downtime on that machine--my wife kills me when mythtv goes down :-)19:20
ivoksfrojnd: usb/scsi/lvm/ide/whatever everything's the same19:20
kirkland"mission critical server" in the kirkland household19:20
frojndivoks: after what command?19:22
chamunksivoks, what if for some reason the databases "collation" before export is latin1_sweedish_ci19:22
chamunksFor some strange reason.19:23
ivoks:)19:23
ivoksthat's default in ubuntu19:23
ivokschamunks: then you can import without --default-character-set19:23
chamunksso that will convert to utf8 with no hicks?19:24
ivoksnope19:24
ivoksit will stay like that19:24
chamunkssorry i meant if i used the set=utf8 switch you sent do you think it would be okay?19:25
ivoksno, don't use switch19:25
ivoksi told you to export and import with that switch19:25
ivoksif you exported with another charset (and you did), then don't use that switch19:25
frojndI don't think I udnerstand what u meant with  usb/scsi/lvm/ide/whatever everything's the same ivoks19:25
chamunksright my wording is bad19:25
chamunksI havent exported yet im looking at the phpmyadmin stuff to give myself a visual.19:26
ivoksfrojnd: it will work with usb19:26
frojndivoks: what exactly will work with usb19:26
ivoks20:19 < frojnd> ivoks: what about the USB one ? If I can't even see it on fdisk19:26
frojndivoks: I can't see the 1tb sotarage on fdisk -l :P19:27
frojndwhich is connected via usb19:27
chamunksill use the default charset i wont complicate things thanks for the advice.19:27
ivoksfrojnd: check dmesg19:28
frojndivoks: on what should I be throwing my eye ?19:28
chamunksivoks, thanks again take care.19:28
frojndivoks: at the end some usb device is using adresses from to a lot :D19:32
frojndnow I can't see the whole dmesg19:32
frojndjust the last lines19:33
frojndivoks: at the beginning of the boot process there is a message that this ID..something should use another chip, perhaps another driver... dunno what exactly it say19:33
frojndivoks: here is the dmesg output, right after the boot: http://pastebin.ca/135842719:35
ivokstake care people...19:36
frojndivoks: don't go :S19:36
ivoksfrojnd: something's wrong with your usb disk19:37
ivokstry disconnecting and connect it again19:37
frojndivoks: ok19:38
frojndivoks: wait19:38
frojndwhen in OFF mode right ?19:38
frojndmaybe usb port isn't recognized :S19:38
ivoksfor the love of god...19:38
ivoksi better disconnect than continue...19:39
ivoksbye19:39
frojndhehe :)19:39
frojndI scared him19:39
mathiazkirkland: ok - I was planning to update to kvm 84 on my hardy server once I've finished with this round of iso testing20:00
mathiazkirkland: and then re-rerun the iso tests with kvm 84 - that should be a good test case20:00
mathiazkirkland: as far as stability is concerned.20:01
kirklandmathiaz: i would definitely appreciate your help testing kvm-8420:01
kirklandmathiaz: i'm still working out the kernel bits20:01
mathiazkirkland: ok - as far as I can back out the changes easily I'm glad to help20:02
mathiazkirkland: but for now I cannot use kvm 84? I should wait for the kernel bits?20:02
kirklandmathiaz: i think you can use the userspace for kvm8420:02
kirklandmathiaz: but you won't get all of 84's goodness until you use the kernel module too20:03
mathiazkirkland: hm ok.20:03
mathiazkirkland: and the plan is to try to push both userspace and kernel ?20:03
kirklandmathiaz: the userspace bits will get you a much newer, better, shinier qemu20:03
kirklandmathiaz: the kernel space will get you a better kernel module, for handling the virtualization acceleration stuff20:04
kirklandmathiaz: there's important magic in both places20:04
kirklandmathiaz: bugs fixed by each20:04
mathiazkirkland: my question is actually whether I should upgrade to userspace 84 now and if that would be helpfull to you20:04
kirklandmathiaz: and potential regressions introduced by each :-)20:04
mathiazkirkland: or wait for you to sort out the kernel bits20:04
kirklandmathiaz: i think it would be interesting to test the userspace20:04
kirklandmathiaz: knowing that existing kvm-62 kernel issues won't be solved by a kvm-84 userspace20:05
kirklandmathiaz: however, kvm-62 userspace issues (qemu-related) may well be solved by kvm-84 userspace20:05
mathiazkirkland: ok - so I'll give 84 a shot once I've finished this round of iso testing20:05
kirklandmathiaz: thanks.20:05
uvirtbotNew bug: #341278 in tomcat6 (universe) "CVE-2009-0781: XSS in tomcat6 and tomcat5.5" [Undecided,Confirmed] https://launchpad.net/bugs/34127820:09
pjsturgeonwereHamster: Looking at your script move finished passwords, it has no clear support for adding in authorization. Where to stick in a user/pass?21:24
pjsturgeonI tried a few things with no luck21:25
pjsturgeonlemme start again, this script: http://pastie.org/357738 gives the error: ** Exception: Problem with http://localhost:9091/transmission/rpc21:27
mrwesI just installed Denyhosts on my server, and now I can ssh into my box. The /etc/hosts.deny is adding my IP -- how do I change that?21:54
mrwesdo I need to add myself to the /etc/hosts.allow?21:54
mrweshrmm21:58
hansindoes anyone know if there is a CLI prefered method to upgrade to a new release?  i know upgrade-manger -d work in GUI land, but has anything been made to work for CLI?  i usually just change my apt sources to newer version but that may not be the safest i am thinking.  thanks.22:04
ajmitchhansin: do-release-upgrade22:13
goofeyhow about sudo apt-get dist-upgrade?22:15
hansinajmitch: thanks, that looks like CLI style update-manager equivalent.22:16
hansingoofey: that is how I usually do it, and have never had issues (after updating sources list), but I think there can be a small chance if there are some major infrastructure adjustments that something could be missed.  i think "dummy/transitional" packages are sometimes used to help alleviate this.22:17
goofeyhansin: ahh, I wasn't sure that was the "official" way to do it, just one way I happened to know of22:18
hansingoofey: that is how i have always done it actually, but wanted to find a more "official" way.  i'm not saying this is it, but i bet it is considered more appropriate.  maybe it doesn't matter, but i'm going to try this way when jaunty gets released.22:20
goofeyhansin: my guess is there will be "upgrade your server to jaunty" webpages after the release too22:21
MK-BBhi22:25
MK-BBanyone here?22:25
hansinsure, why not.22:25
MK-BBI was wondering if you guys know good website for a beginner to set up chtoor22:26
MK-BBchroot*22:26
hansinMK-BB: take a look at this; there seems to be quite a few options though don't know much about how to chroot: http://www.google.com/search?hl=en&q=ubuntu+chroot+howto&aq=0&oq=ubuntu+chroot+how22:27
MK-BBhansin, I was trying to setup jailed ssh but google is not seem to help me22:29
mrwesI just installed Denyhosts on my server, and now I can ssh into my box. The /etc/hosts.deny is adding my IP -- how do I change that?22:31
mrwesdo I need to add myself to the /etc/hosts.allow?22:31
mathiazkirkland: http://people.ubuntu.com/~mathiaz/jaunty-raid1-degraded-boot-fail.png <- is this the RAID1 failure you saw?22:52
kirklandmathiaz: http://launchpadlibrarian.net/23151208/Screenshot.png22:54
kirklandmathiaz: that's my error22:54
kirklandmathiaz: which looks to be the same22:54
kirklandmathiaz: https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/33499422:54
uvirtbotLaunchpad bug 334994 in linux "Degraded RAID boot fails: kobject_add_internal failed for dev-sda1 with -EEXIST, don't try to register things with the same name in the same directory" [High,In progress]22:54
* mathiaz nods22:55
Nafalloso ehrm... once it works. there will be a way for me to tell the machine to always start in degraded mode without me having to run around to the data centres and press buttons, right?22:55
uvirtbotNew bug: #341432 in krb5 (main) "package libkrb5-dev 1.6.dfsg.4~beta1-3 failed to install/upgrade: failed to delete `/usr/lib/libkrb5support.so.dpkg-tmp': Read-only file system" [Undecided,New] https://launchpad.net/bugs/34143222:56
kirklandNafallo: yes, i added that in intrepid22:56
kirklandNafallo: and backported it to hardy22:56
kirklandNafallo: you can preseed the debconf question22:56
Nafalloaha! it should already work then :-P22:56
kirklandNafallo: or configure with 'dpkg-reconfigure mdadm'22:56
Nafallokirkland: was just about to ask. thanks.22:57
kirklandNafallo: there's a question about 'do you want to boot your raid if it becomes degraded'22:57
* Nafallo fixes22:57
Nafallountil I have money to buy an E200 and a hotswap kit :-)22:58
_dbd_l12just had the hardest (well - most tries) install of ubuntu server 8.04 on an old machine (P III) with an AOpen DVD drive. The iso I md5summed and burned to CD kept getting random read errors during install... Tried the usual suspects (slow burning, different cd-types, bootflags (all_generic_id nodma etc.) but in the end i could only resolve it by burning the iso to a dvd instead and booting from dvd. The installation went flawless from23:07
_dbd_l12there. Should i report a bug with details concerning hardware for this?23:07
ivoksdid you do md5sum on CD?23:10
_dbd_l12i did the md5sum on the iso before burning (using a different machine). I still have the cd so i could still md5sum them...23:12
ivokstry that23:12
ivoksso you could eliminate 'burning errors'23:12
_dbd_l12ok, i'll see what md5summing the disc itself gives23:13
_dbd_l12damn, its seems like i have already thrown the used cd's away so it seems like i'll have to reburn / check if the problem persists and then md5sum the disc itself. if the md5 is ok i'll come back but that will prob. be tomorrow or in 2 days. thanks for the idea ivoks23:20
ivoksnp23:21
ivoksgood luck23:21
mathiazkirkland: http://testcases.qa.ubuntu.com/Install/ServerRAID1 <- does that make sense?23:33
mathiazkirkland: does it cover all of the RAID1 use case?23:33
NafalloI'd suggest swap to be on RAID0 to be a more real world example but... *shrugs*23:34
Nafallogood enough for a test case I guess.23:34
mathiazNafallo: why raid0? if you loose a disk you may be screwed23:35
maxbWhy would you put swap on a raid0?23:35
Nafallomathiaz: how often do you need swap afterwards? it's better to keep that as fast as possible in case it ACTUALLY is needed.23:36
kirklandmathiaz: raid0 is important for non-mission-critical data that you want to serve very fast23:36
maxbSurely two separate swap partitions would be better?23:36
maxbSave the raid overhead23:36
kirklandmathiaz: my archive mirror, and iso mirror are on a RAID023:36
Nafallomaxb: not sure it's such a huge overhead?23:36
kirklandmathiaz: if i lose a disk there, i gotta resync with the archive, but meh ...23:36
kirklandmathiaz: i'd rather have the more space, and faster read/writes23:36
mathiazkirkland: oh yes - I agree with this use case23:37
mathiazkirkland: however if you setup a system with RAID1 it means you wanna protect yourself from disk failure23:37
JanCkirkland: if you want it to be fast you must cache your archive/mirror in RAM  ;)23:37
kirklandmathiaz: that description looks good23:37
Nafalloraid0 can't compete with memory performance, but gets hell a lot closer than raid1 :-P23:37
mathiazkirkland: and by putting swap on raid0 you're not doing it correclty23:37
kirklandmathiaz: to be exhaustive, you should try booting from each disk in the array23:37
ivoksjust create two swap partitions23:38
ivoksraid0 for swap is pointless23:38
kirklandswap sucks altogether, i don't use it at all23:38
mathiazright - but raid1 for swap makes sense IMO23:38
kirkland8GB of ram is enough :-)23:38
kirklandmathiaz: i agree with you23:38
ivoksi use raid1 for swap23:39
kirklandmathiaz: i have exhaustive test instructions at https://wiki.ubuntu.com/BootDegradedRaid#Implementation23:39
mathiazkirkland: wiki page updated with a link to your instructions. Thanks for the review!23:46
kirklandmathiaz: you bet;  thanks for putting this together23:46
kirklandmathiaz: i hate to see regressions in this :-)23:47

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