/srv/irclogs.ubuntu.com/2008/06/21/#ubuntu-server.txt

captbaritoneI just bought my first sata drives (three of them) and created a raid 5. Now one is failing. How do I know which physical drive it is? Its /dev/sdb00:36
uvirtbotNew bug: #241796 in openssh (main) "sshd doesn't start properly" [Undecided,New] https://launchpad.net/bugs/24179600:51
lukehasnonamecaptbaritone: Are you sure it's failing or you just didn't configure it correctly? If you jsut bought it, you must have bought a gimp drive01:01
lukehasnonameI don't know the answer to your question, however01:01
captbaritoneI got some help in ubuntu-california01:02
captbaritoneI am investigating the posibility of a gimp drive01:02
captbaritonebut as I do hdparm -i /dev/sdb will tell me its serial number01:02
uvirtbotNew bug: #241802 in mysql-dfsg-5.0 "mysql clients ignore port specification when connecting to "localhost"" [Undecided,New] https://launchpad.net/bugs/24180201:32
hadsBecause it's using a socket?01:34
BashewHi, I'm running into a few issues here with Ubuntu Server and removing a few packages. When I installed xfce4 and xorg-xserver, and ubuntu-xen-server package, it tried to install policykit, xserver-xorg-input-wacom and xen-utils-3.2 which are all reporting Segmentation Faults04:28
BashewLater on, I had tried to install Konqueror, and the dependency konqueror-nsplugins is also causing a segmentation fault. it was originally installed as Ubuntu Feisty, but I used some console update-manager script to upgrade to Ubuntu Hardy04:29
ScottK-laptopBashew: Did you upgrade Feisty -> Gutsy -> Hardy or direct to Hardy?04:30
BashewI'm not entirely sure, hold on, let me find that package i used, really quick04:31
BashewI ran do-release-upgrade04:31
Bashewand I think it went direct to Hardy04:31
ScottK-laptopThat's a problem in and of itself.  It shouldn't do that.04:32
Bashewthere weren't any problems then, so I installed linux-xen, and that went successfully, but then later I read on a tutorial site that I could install ubuntu-xen-server, which would install several other packages04:33
Bashewand on top of other things, my dedi provider's techs are all out for the night, so would there be any alternative that I could try before getting it wiped clean?04:34
ScottK-laptopYou should probably want an xfce desktop or a kde desktop and install them or if you want to run a server.04:34
ScottK-laptopSure.04:34
ScottK-laptopI'd suggest starting to remove stuff that's giving your problems.04:35
BashewI tried that, and thats also causing segmentation faults :/04:35
ScottK-laptop!pastebin04:35
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)04:35
ScottK-laptopPlease pastebin the exact error you're getting.04:35
BashewOK04:35
Bashewhttp://paste.ubuntu.com/21730/04:36
* ScottK-laptop looks04:36
BashewI'm not sure if I should have tried to remove Hal, but it was causing issues04:36
ScottK-laptopwhat happens if you try "sudo apt-get -f install" (don't hit Y, just tell me what it says it's going to do)?04:38
Bashewsays the new packages are going ot be installed: "cryptsetup kdebase-kio-plugins konqueror-nsplugins", and reccomended packages are hal, kamera, kdemultimedia-kio-plugins and pmount04:39
ScottK-laptopAt this point we will probably have to install a bunch of crap to get your system back to a consistent state, so I'd try that.04:40
BashewOK04:40
Bashewis there any metapackage to simplify this?04:40
ScottK-laptopYou've got bits of two, so probably not.04:40
ScottK-laptopNormally that's better, but we're goint to have to find the path out of your current mess and I don't forsee a shortcut workin.04:41
ScottK-laptopThis will probably fail again in an interesting way.  Pastebin that please.04:42
BashewOK04:42
Bashewhold on, sorry im a bit confused, do you want me to run the apt-get -f again04:44
ScottK-laptopIt should ask you if you want to go ahead.  Say yes.04:45
ScottK-laptopIf you said no the first time, do it again.04:45
BashewOK04:45
Bashewlet me pastebin this, just a sec04:46
Bashewhttp://paste.ubuntu.com/21734/04:46
ScottK-laptopLooking04:47
Bashewit ran into a few errors, as you guessed04:47
ScottK-laptopI've not seen Konqueror do that, but I don't run it without a kubuntu-desktop.04:49
Bashewi didn't run an install for Kubuntu-desktop04:49
BashewI just tried to install konqueror by itself04:49
ScottK-laptopIn theory that should work.04:49
BashewOK, so i'll try installing kubuntu desktop04:50
ScottK-laptopThat's what I was about to suggest.04:50
BashewOK04:50
Bashewjust waiting for it to download04:50
ScottK-laptopI'm suprised at the segfaults.  I think it suggests something more fundamentally wrong with the system, but let's see.04:50
ScottK-laptopAre you confident that the hardware is in good shape?04:51
Bashewi'm not entirely sure, as the hardware is new04:51
Bashewif this keeps up, tomorrow I'll ask the provider to slap a KVMoIP on it, and I'll run Memtest04:51
ScottK-laptopIn general you ought to avoid putting X and such things on a server.04:52
BashewI was planning to do it was a temp. fix, as I needed to copy a few folders of info from the old dedi04:54
Bashewand to be honest im not too skilled in SCP04:54
ScottK-laptopDo you run Kubuntu or Ubuntu on your desktop?04:55
BashewUbuntu04:55
Bashewand 3 mins eta on the server04:56
ScottK-laptopI'm not sure how you do it with Ubuntu (I use Kubuntu) but with Konqueror you can run it on the desktop and manipulate the remote file system with SFTP.04:56
ScottK-laptopNo need to install X and such on the server itself.04:56
Bashewwell I mean, my provider has this LAN system setup between my two servers, and i didn't want to blow through 60GB of bandwidth both ways :/04:57
Bashewthen again, I could have tried using it over X11 Forwarding04:57
ScottK-laptopThere's also rsync too.  It's not so hard to do and doesn't need a gui.04:58
Bashewive never considered that, honestly04:58
ScottK-laptopssh into one server and rsync to/from the other.  No trouble at all.04:59
BashewOK, it finished, but there are still some Segfaults04:59
ScottK-laptopSame ones?04:59
Bashewyeah, konqueror04:59
ScottK-laptopI wonder if somehow your copy is corrupted.05:00
BashewI cleared the cache05:00
ScottK-laptopWhat architecture is the install (i386?)05:01
Bashewi38605:01
Bashewi'm curious though05:01
Bashewif Xen might be causing some of this, but i don't want to ptu blame on it yet05:02
ScottK-laptopConsidering you've modified the kernel by installing it, it's a good bet.05:02
ScottK-laptopcan you wget http://launchpadlibrarian.net/14327368/konqueror_3.5.9-0ubuntu7.2_i386.deb05:02
BashewOK05:03
ScottK-laptopThen sudo dkpkg -i konqueror_3.5.9-0ubuntu7.2_i386.deb05:03
ScottK-laptopurgh05:03
Bashewsame problem, Segfault05:03
ScottK-laptopdpkg05:03
ScottK-laptopI'm gonna start to blame your kernel.05:03
ScottK-laptopWhat Xen packages do you have installed.05:03
Bashewuh, xen-tools-3.1, the newest initrd and newest kernel05:04
ScottK-laptopI didn't think it was out for 2.6.24 yet05:04
Bashew2.6.24-19-xen05:04
Bashewthats what uname reports05:04
ScottK-laptopOK.05:05
ScottK-laptopKonqueror and policykit don't generally segault all over the place.05:05
ScottK-laptopI'd get Xen off if it was me and get your kernel as back to normal as possible.05:06
BashewOK05:06
Bashew...this has got to be kidding me05:08
Bashewthe Xen packages are broken, I'll go reorder the grub entries to put the normal one on top05:09
BashewScottK-laptop: Removing Xen seems to work05:13
BashewThank you very much :D05:13
ScottK-laptopBashew: Now that it's working, remove all that X crap off your server.  It'll only cause you pain there.05:14
BashewYeah05:14
Bashewwould running aptitude purge kubuntu-desktop take out most of the packages?05:15
ScottK-laptopProbably, you'll also need to remove the xfce4 stuff too.05:16
BashewI was able to remove that earlier, luckily05:17
Bashewthen again, while I do have X working and Konqueror working, I might as well transfer the data05:17
uvirtbotNew bug: #241427 in network-manager-openvpn (universe) "package network-manager-openvpn 0.3.2svn2342-1ubuntu4 failed to install/upgrade: problemi con le dipendenze - lasciato non configurato (dup-of: 241550)" [Undecided,New] https://launchpad.net/bugs/24142707:13
hedge-ho1Hi, I'm not a linux/sysadmin guru, but I have some Q's related to Ubuntu-server, Amazon's AWS EC2 service, Condor and Redhat's MRG effort... anyone willing/able to chat?07:53
Kamping_Kaiserif you have specific questions ...07:54
hedge-ho1OK, is there an ubuntu effort comparable to Redhat's MRG?07:55
Kamping_Kaiserwhats is that?07:56
hedge-ho1Kamping_Kaiser: The following says it better than I could :) http://www.redhat.com/mrg/07:58
hedge-ho1MRG: Messaging-Relatime-Grid07:59
* Kamping_Kaiser waits for it to load07:59
Kamping_Kaisertheres not one that i'm aware of08:00
hedge-ho1Is anyone using Ubuntu-AMI's with Condor?08:00
hedge-ho1How would I find if Condor is a fully maintained package on Ubuntu?  I see a page that lists 'common packages' but Condor is not listed...08:01
Kamping_Kaiserdepends what 'fully maintained' means. but packages.ubuntu.com could tell you where it is.08:03
Kamping_Kaiseri guess 'fully maintained' in ubuntu would mean 'main'08:03
hedge-ho1Hmm, Condor isn't listed for hardy on packages.ubuntu.com.  So what do people use for a batch-job manager?08:06
Kamping_Kaiserunless i misunderstand ... cron?08:07
hedge-ho1Thinking more of 'industrial' scale.  Say manage 10's of 1000's of heterogenous jobs amongst 10's of machines08:09
bestpvphello08:10
bestpvpanyone here know about converting hard raid?08:10
Kamping_Kaisercluserssh perhaps (but i'll let people who have experiance with such things speak up)08:11
nijabahedge-ho1: https://help.ubuntu.com/community/UbuntuOnCluster08:17
hedge-ho1nijaba: Thanks, I was digging, without luck, through https://answers.launchpad.net/ubuntu08:20
nijabahedge-ho1: hmm... might have been too quick, not sure there is what you need there08:21
hedge-ho1nijaba: That's OK.  That looks like a effort similar to Rocks.  My use case would be on Amazons EC2. Which is my next question...08:23
hedge-ho1Are people using Ubuntu server AMIs on EC2, is it supported?08:24
nijabahedge-ho1: we are working to have something for EC2 in 8.10, at the moment there is a cludge that runs but is not supported.  Cannot tell more ate the moment08:25
nijabas/ate/at08:25
hedge-ho1nijaba: Who is 'we': Canonical, another firm or some community?08:26
nijabahedge-ho1: canonical08:26
hedge-ho1OK sounds promising.  Does this effort involve merging Redhats MRG results?  Or is something seperate?08:27
nijabahedge-ho1: if you send me an email address, I'll send you more info as soon as I can08:28
bestpvpanyone know how to convery raid1 hard to raid0?08:30
Kamping_Kaiserbestpvp, via backup would be my suggestion :)08:30
nijababestpvp: yep, going from one to the other implies killing all data in between.08:36
bestpvpnp08:37
bestpvpwell let me show u what it looks like08:37
bestpvpp0     OK               u0     698.63 GB   1465149168    5QD1125A08:38
bestpvpp1     OK               u0     698.63 GB   1465149168    5QD18D9708:38
bestpvpthats hardware raid ppl say08:38
bestpvpbut u can convert it to raid0?08:41
* delcoyote hi08:58
=== bestpvp is now known as viperserv2
krautmoin10:44
uvirtbotNew bug: #241892 in net-snmp (main) "[CVE-2008-2292] Buffer overflow in __snprint_value() in snmp_get" [Undecided,New] https://launchpad.net/bugs/24189212:51
incorrecthello, i am trying to configure n-node replication with slapd15:10
GeekSquadSFnew guy... looking to find out possibilites about server16:59
GeekSquadSFis it possible to build a domain with an AD type of layout17:00
incorrecti have two ldap servers i would like to replicate info between them, what is the best way?17:36
tharis20hey, I'm trying to install ubuntu server 8.04 in a P2 and after it saying that is launching the partioner, it stops with the bluescreen and in the bottom a single gray line17:46
tharis20any help?17:46
nealmcbtharis20: how much disk space do you have?17:48
tharis20nealmcb, 6GB in total with 700MB from Windows that I don't need17:49
tharis20the PC is old17:50
tharis20P2 350Mhz with 64MB ram17:50
sethaltonwow17:50
=== sethalton is now known as GeekSquadSF
nealmcbhitting cntl-alt-f1 and/or f2 might show you some more info - I forget17:50
tharis20sergevn, lol, it is old, I know17:50
tharis20now i pressed alt+F417:51
tharis20and it shows a log17:51
tharis20Jun 21 16:43:54 partman:   Reading all physical volumes. This may take a while17:52
tharis20i think that 9 minutes are more than a while17:52
Ali_ixtharis20: check /var/log, there might be two files, system and partman, check if there is any strange log there17:53
Tharis_Ali_ix, how will i do that if the system isn't installed?17:56
GeekSquadSFdo you guys know if it's possible to use ubuntu server as a AD structure?17:56
Ali_ixGeekSquadSF: if by AD you mean ActiveDirectory you should take a look at Samba17:57
Ali_ixTharis_ check that in virtual terminals (ctrl+alt+f2-f8)17:57
nealmcbGeekSquadSF: we're making progress - look at the blueprints - but not all the way there yet17:58
nealmcbe.g. I think there are ways to have samba be the interface between clients and an AD master, but samba can't yet do everything that some clients want18:00
Tharis_Ali_ix, i'm goin' to do this from the beggining18:02
nealmcbTharis_: the alternate installer cd can also deal better with smaller systems18:05
Tharis_what alternate?18:05
nealmcblook at the download page - that's the name18:05
viperserv2anyone know how to convert raid1 to raid018:27
BallenaHi18:37
BallenaIs it possible to make the system auto start a script after boot and run it from my user?18:38
BallenaI have a script that startas some services but they must be started from my user.18:38
nealmcbBallena: you can put it in /etc/rc.local, with an su -u username18:38
nealmcbsorry - no "-u" option - that's for sudo...18:40
nealmcbjust su username18:40
Ballenanealmcb: ok. So in the /etc/r.local file i write liek this "/home/ballena/.start-script.sh su ballena" ?18:41
Ballenalike*18:41
nealmcbsu -c /home/ballena/.start-script.sh  ballena18:42
Ballenanealmcb: sounds like magic, I hope it works. I'm going to try that. Thanks!18:42
nealmcb:)18:43
nealmcbyou probably want to test it first, remembering that the environment it gets won't have much in it18:43
Ballenaenvironment?18:45
nealmcbwhat does the script do?18:45
nealmcbsee the "env" command18:45
Ballenanealmcb: it starts a session of screen. and in the screen session it start: rtorrent, irssi, tmsnc and top.18:45
nealmcbseems reasonable - so long as it isn't expecting ssh keys, $DISPLAY, etc18:46
BallenaI don't think so.18:48
BallenaAbout the environment. # man env did not tell me so much. But do you mean that when you start something with su -c X ballena it does not start with all privileges that the user ballena usually have?18:49
nealmcbit is about information, not really privileges, if you type just "env" you'll see lots of settings.  those setting are inherited from parent processes.  you won't have common settings for things like DISPLAY when started from rc.local18:51
Ballenaok. The $DISPLAY you mentioned, what is that? I get nothing when I type 'echo $DISPLAY'18:53
nealmcbyou only see that when you use X11 - and we have plenty of visitors who assume that servers run guis :/18:54
nealmcb(or gnome, etc)18:54
Ballenaok :) As far as I know I don't have X installed so then the $DISPLAy is probably nothing to worry about.18:55
* nealmcb nods18:55
Ballenagoing to try the /etc/r.local method now. brb18:56
mweicherthi guys, I'm using capistrano to setup my Ubuntu server using scripts. I want to install a package like mysql-server using apt-get, but dpkg-configure I think launches a process called whiplash which displays a curses-like GUI asking me to set the root password. Is there any way I can tell apt-get to ignore that step?18:57
nealmcbmweichert: hmm - there are ways to set the priority level for debconf19:01
mweichertnealmcb: oh?19:01
uvirtbotNew bug: #241952 in nagios-plugins (main) "check_disk_smb doesn't deal with special characters in the password fields correctly" [Undecided,New] https://launchpad.net/bugs/24195219:01
nealmcbmweichert: tell me more about how you're using capistrano, what sorts of scripts etc19:02
mweichertnealmcb: well capistrano connects to my server using ssh, and runs apt-get to install packages required for the deployment of an application. Some of the necessary packages include apache, build-essential, and mysql-server. The first two (and their dependencies) get installed no problem, but I get hung up at mysql-server because of debconf19:04
nealmcbhmmm - apt-get man pages says nothing about debconf priorities....19:07
mweichertI'll brb, I'm gonna try just sending across the channels the password19:08
nealmcbmweichert: you can also use a preseed configuration, but I haven't done much of that19:08
mweichertnealmcb: yeah, I've done that in the past...19:09
mweichertnealmcb: I could do that I suppose, but if there was a way to preseed apt-get I'd be much happier :)19:10
Ballenanealmcb: when I run 'su -c /home/ballena/.screen-start.sh ballena' in a normal terminal it prompts for a password. Wouldent it be the same if you put that command in the /etc/rc.local? because it did not work.19:12
mweicherthmm, it seems that whiptail isn't sent across the ssh channel, so I can't send the password and a carriage return or newline to get by it19:12
nealmcbBallena: ahh - prompting for passwords is another of those tricky things - the process probably doesn't really know which terminal to use19:14
fdghi. anyone here having kolab running on 8.04?19:14
Ballenanealmcb: hmm ok19:15
nealmcbBallena: which apps are asking for what kinds of passwords?19:15
Ballenanealmcb: probably the su, but I don't know. http://paste.ubuntu.com/21885/19:16
nealmcbBallena: no - you're already root so su shouldn't need a pw19:20
Ballenanealmcb: sure? i'm root but I'm trying to run something for the user erikw.19:20
nealmcbroot can do anything19:20
nealmcbexcept know passwords for random commands.  one of the scripts may depend on $HOME or something like that19:21
nealmcbthe "-l" argument to su may also help - it gives a login environment19:21
Ballenanealmcb:  ! you probably right. I'm using  ~ in some paths in the scripts19:22
Ballenaand that will refer to the roots home when i run it from rc.local.19:23
* nealmcb notes a slightly faster return this time around for Ballena19:29
captbaritoneMy server is a rather old computer and I am afraid its built in usb ports might be usb one, is there a way to find out?19:31
Ballenanealmcb: Works like a charm. Thank you 1000 times!19:31
nealmcb:))19:32
Insomnia1itycaptbaritone: lsusb might tell you19:35
nealmcbcaptbaritone: or dmesg|grep usb19:36
fdganyone here having kolab running on ubuntu 8.04 server?19:40
=== ScottK is now known as ScottK2
=== ScottK2 is now known as ScottK
nealmcbfdg: if you're having problems with it, go ahead and ask more specific questions19:42
fdgok. i sat up the server, on which bind and samba works fine. when i install slapd, that can bei started by "/etc/init.d/slapd start" - a "ps ax" shows it running. then i stop it again and run "kolab_bootstrap -b", which after having entered the deafult values stops whith "chown: cannot access `/var/lib/ldap/*': No such file or directory".19:47
fdgafter that trying to start slapd doesn't work anymore19:47
captbaritoneInsomnia1ity, nealmcb: no luck19:48
captbaritonewell19:48
captbaritonedmesg did refer to it as a "full speed usb devce" whatever that means19:49
=== QUILz_ is now known as QUILz
incorrecti am trying to configure slapd to replicate from a master server but when i start it it just dies20:03
RoAkSoAxincorrect, you using heartbeat or something like that?20:07
incorrecti was being dumb, its a parse error in the config20:08
RoAkSoAxok :)20:08
incorrecti had been using suse at work, sigh and was looking in messages20:08
incorrectwish i could figure out this n-way replication20:08
RoAkSoAxincorrect, what do you wan't to replicate?20:11
incorrectldap20:11
RoAkSoAxincorrect, the server config files or data?20:11
incorrectdata20:11
RoAkSoAxincorrect, try DRBD20:11
incorrectno no, openldap 2.4 supports multi master replication now20:12
incorrectdrdb is way too heavy over my vpn20:12
RoAkSoAxincorrect, http://www.highlandsun.com/hyc/ldapguide/replication.html20:13
RoAkSoAxthat miught help ya20:13
incorrectno20:13
incorrectthat is slurpd that is cack20:13
incorrectthat is version 2.220:13
incorrecthardy is shipping with 2.4 that does n-way replication20:14
incorrecthowever i can't create the objects needed20:14
RoAkSoAxi wouldn't know, i don't really use ldap20:14
incorrectldap is awesome for system admin20:15
incorrectjust for some reason i can't get replication working in ubuntu20:15
incorrectused to have it in rhel20:15
RoAkSoAxmaybe there's a bug or something20:17
incorrectwell rhel was using 2.3 at the time20:18
incorrect2.4 is a big update ditching all the old replication methods20:18
incorrectthank you for listening :) i understood why :)20:30
incorrecti am such a retard, i only ever understand a problem if i talk about it20:30
incorrectw00t :) whatever that means :)20:48
nxvlsoren: empty packages?21:42
sorennxvl: Only the stuff from /usr/share/doc is in there.21:42
sorennxvl: You've commented out dh_install in debian/rules.21:43
sorenSo the files are never moved into the package directories.21:43
nxvlmm21:43
* nxvl looks21:43
sorenI replaced it, added --sourcedir=debian/tmp, and prefixed /usr in debian/augeas-tools.install, and it seems to work now.21:44
nxvlheh21:44
nxvl:D21:44
sorenYou should rename augeas-dev to libaugeas-dev21:44
nxvlyes21:45
nxvli was having some doubt's on the binary names21:45
sorenThe package descriptions are the same for all three packages. That's not right. You can look at something like libvirt for inpiration.21:45
nxvlsoren: i used the rpm package as base and example and it was this way :P and i was a little busy and lazy21:46
sorenlintian gives me a bunch of errors, when I run it on the .deb's. You should fix those.21:47
sorenNo worries :)21:47
nxvllintian?21:48
nxvlmm21:48
* nxvl chacks21:48
nxvli hade clean lintian21:48
nxvlhad*21:48
sorenWell, with empty packages, you would :)21:50
nxvlwell i think i don't run lintian on the packages21:50
sorenNone of the packages contain augeas' lenses.21:51
nxvlmm21:53
nxvli knew i should't trust on the rpm packagin21:53
sorenYou probably want to either ship those in libaugeas0 or in a separate augeas-lenses package and have libaugeas0 depend on it.21:53
nxvlmmm21:54
nxvli think augeas-lenses it's a cool one, don't you21:54
nxvl?21:54
sorenI think that's what I'd do, yes.21:54
nxvland the section for -lenses would be? libs also21:56
sorenmisc, I guess.21:58
nxvlit's my first time packaging a multibinary and mixed package21:58
nxvl(as in binary + lib)21:59
nxvlso i'm kind of suffering with it21:59
sorenWell, feel free to ask.22:01
nxvlsoren: datadir is /usr/share, didn't it?22:03
sorenYes.22:04
nxvlsoren: how do you see they where empty? using less?22:16
nxvlsoren: i have just uploaded a new version of the package22:21
nxvlsoren: can you please take a look and send me an e-mail please, since i need to run22:21
* nxvl HUGS soren 22:26
nxvlsoren: thanks for your help!22:26

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