/srv/irclogs.ubuntu.com/2009/06/06/#ubuntu-server.txt

billybigriggerquick question00:16
billybigriggersetting up dovecot/postfix here...now my isp blocks outbound port 25 on me, so i am using postfix and a relay server to send my mail out via my ISP's smtp server...do i need to setup sasl/tls on this setup since i will be using my isp for smtp?00:18
billybigriggeri doubt my isp will accept encrypted outbound mail00:18
billybigriggererrr...not encrypted...wrong word00:18
billybigriggeror will it matter if it set it up? i'd rather not spend the time to figure out if it works or not....00:19
hggdhbillybigrigger, email can be encrypted, the headers are clear-text00:48
hggdhand if your ISP needs SSL/TLS for SMTP... depends on the ISP. Rule of thumb is it should probablymatch your direct contact to the SMTP server.00:50
=== asac_ is now known as asac
=== bk is now known as bk|away
=== ubuntu is now known as jeee
=== bk|away is now known as bk
Fenix|homeGreetings03:31
Fenix|homeI'm in a pickle and need some help03:31
Fenix|homeI'm having difficulties with dmraid03:32
Fenix|homemy upgrade to jaunty went fine, then 2 weeks later everything died03:32
Fenix|homeI'm trying to use dmraid to mount my volume so I can fix it all, but I'm getting a crapload of spaces at the end and my partitions won't activate03:32
Fenix|homeI think the spaces are screwing everything up... anyone know how to rename my raid?03:33
=== Sylphid_ is now known as Sylphid
bthompsonhey guys i am setting up a second webserver for failover...what would be the best way to ensure that each server stays configured the same exact way...active/active...also i am going to allow the firewalls to load balance accross the 2 as well..04:32
=== bk is now known as bk|away
Fenix|homeGreetings.  Anyone active?05:27
jmarsdenFenix|home: Most of us are sitting down in front of a keyboard and screen...05:27
Fenix|homew00t05:27
Fenix|homeI'm personally ripping my hair out.05:28
Fenix|homedmraid has busted my machine :(05:28
twbThat's what fakeraid is for05:28
jmarsdenYou used fakeraid?  Why?  Just use software RAID, it works better and is portable across different machines?05:28
Fenix|homejmarsden: well it's a bit late for that :)05:29
Fenix|homefakeraid was working fine...05:29
Fenix|homethen it stopped working.05:29
jmarsdenWhy ... you now have super valuable data on your machine that you didn't back up?05:29
Fenix|homeI upgraded to jaunty and all was fine for about 2 weeks.05:29
Fenix|homenow my fakeraid name has changed and my server won't boot05:30
jmarsdenIf you boot from a LiveCD can you then see the fakerad partition and mount it?05:30
Fenix|homeit used to be /dev/mapper/asr_1, but now it's /dev/mapper/asr_OS             105:30
Fenix|homejmarsden: partially05:31
jmarsdenYou can partially mount it? :)  Please explain ...05:31
twbjmarsden: it's very confusing when you put a question mark at the end of statements.05:31
Fenix|homeRAID set "asr_OS             " was activated05:31
Fenix|homeRAID set "asr_OS             1" was not activated05:31
Fenix|homeRAID set "asr_OS             5" was not activated05:31
Fenix|homethe volume became available, but the partitions won't05:32
jmarsdenOK... I don't use fakeraid, but I'm guessing the old /dev/mapper/asr_1 name may still be in some config files.  if so, (and if you can mount your old / partition at least) you could try changing them to the new name(s) and see if that helps.05:36
Fenix|homejmarsden: I agree... but how do I deal with the name of "asr_OS\ \ \ \ \ \ \ \ \ \ \ \ \ 1"?05:39
jmarsdenHmmm.  It's going to depend on the syntax of the config file concerned... you can try quoting it, or try backslashing the spaces.  Probably easier to try stuff than to read the code of whatever the config file is for to determine its rules for handling spaces in strings!05:41
jmarsdenDo you know if there was a kernel update you picked up just before it broke?05:42
Fenix|homeI don't think it was a kernel update as all my kernels no longer boot05:43
Fenix|homeI have 2.6.28 and 2.6.27 , both -1105:44
Fenix|homeI think it's dmraid-1.0.005:44
Fenix|homeI believe I was using dmraid-0.9.905:44
jmarsdenOK.  So dmraid got updated and that broke the world.  Let me download its source and read the changelog...05:45
jmarsdenHmmm.  dmraid went to 1.0.0.rc13-1 in October 2006... if you were running Intrepid, logically you'd have been using something at least that recent...05:48
Fenix|homeok, so what changed?05:48
jmarsdenSince then?  Tons and tons of patches... none I can see in the changelog that look obviously relevant to your situation, but there is so much it is hard to tell.05:53
jmarsdenThere have been 23 1.0.* releases since then !05:53
jmarsdenI don't see anything in the changelog that looks a likely culprit, at all.05:58
Fenix|homegrr05:58
jmarsdenAnd launchpad shows 0 open bugs...05:59
Fenix|homebug 381514 has my problem06:02
uvirtbotLaunchpad bug 381514 in dmraid "Jaunty not Booting with dmraid Active" [Undecided,New] https://launchpad.net/bugs/38151406:02
Fenix|homeexcept my raid has renamed itself :)06:02
jmarsdenYes, I was about to say, but he doesn't mention the naming issue at all, so it's perhaps not the same issue... hard to say.06:04
jmarsdenThe last couple of updates to dmraid in Ubuntu were done by Luke Yelavich <themuso@ubuntu.com>  -- maybe you could seek him out here on IRC or send him email?06:08
azazel`WHY ubuntu server06:19
azazel`and why not debian06:20
azazel`pitch your distro06:20
Fenix|homejmarsden: messages shows :: device-mapper: ioctl: error adding target to table06:26
Fenix|homeI think this is kernel related.06:27
Fenix|homehow do I go about an older kernel?06:27
Fenix|homekern.log shows the following06:28
Fenix|homeJun  6 05:22:28 ubuntu kernel: [ 3872.998802] device-mapper: table: 252:1: linear: dm-linear: Device lookup failed06:28
Fenix|homeJun  6 05:22:28 ubuntu kernel: [ 3872.998811] device-mapper: ioctl: error adding target to table06:28
jmarsdenFenix|home: Well, booting from a Jaunty LiveCD will get you the Jaunty kernel as at time of release...06:28
jmarsdenBut you already tried that and it only half works... so I'm not sure how much it will help.06:29
Fenix|homejmarsden: live cd is06:31
jmarsdenWIth the live CD, can you see all of your data?06:32
jmarsdenIf you cn. I'd back it up to a spare single drive, then rebuild the server using software RAID and put your data back...06:32
Fenix|homeI'm having hit and miss with mounting the partitions06:33
jmarsdenCan you mount the one(s) you care about for long enough to back them up?06:34
Fenix|homeno06:34
jmarsden:(06:34
jmarsdenI think you need someone who understands dmraid better than either of us do.06:35
jmarsdenIt is not a support channel, but Luke (themuso) is currently in the #ubuntu-motu channel... whether his is physically present or just logging I don't know...06:36
Fenix|homethanks06:38
=== ejat is now known as e-jat
erik78seNu är din chans att göra skillnad! Rösta på Pirapartiet i morgon den 7:e juni och sänd en chockvåg genom Bryssel! Din röst gör skillnad!14:40
^andrea^Hi everyone... I just installed ubuntu server 8.04 and I want to connect it to a router via wireless...14:53
^andrea^doing "sudo iwlist wlan0 scan" I see my network...14:53
^andrea^but it has a WPA-PSK ecrypted password and I don't know how to access it...14:54
^andrea^can anyone suggest me the right path to follow?14:54
waswasHi. I'm having trouble with ssh15:01
waswasIt's disconnecting me all the time15:01
waswasand then refuses to let me connect15:01
waswasIf i wait like  0-5mins its working again15:02
waswasubuntu 9.04 server15:02
fbc-mxwaswas during that down time are your rying to ping the server to see it you still have connectivity?15:07
fbc-mxwaswas, You may actually be losing connectivity to your server for 5 minutes or so.15:07
waswashmm15:09
waswasit seems tha i havent15:09
waswasbut i need to check, if its responsing when its working15:09
fbc-mxwaswas, When you lose ssh, ping the server to make sure you or the server haven't lost connectivity.15:10
waswasit seems that firewall is blocking ping when its working15:10
waswasi have to disable firewall15:10
fbc-mxwaswas, yeah just for testing purposes...15:11
waswasYep15:11
fbc-mxwaswas, is your server exposed to the internet?? on a DMOZ or collocated?15:11
waswasI disconnected pppoe connection for testing15:12
waswasThis is kinda pain in my ass, because problem is happening random time :P15:12
waswasit doesnt answer my pings, even when firewall is off15:13
fbc-mxwaswas, maybe it's happening when pppoe goes down, because the server need to reconfigure networking everytime the pppoe goes down. Not sure because I don't use pppoe.15:13
waswasWell actually i'm connecting using LAN15:14
waswasSo the problem isnt pppoe, at least i dont think so15:14
fbc-mxit your on a local lan, why are you running firewall unless you are on DMOZ?  Any ways, did the ping work??15:17
waswasI'm running firewall, because normally its connected to the internet15:17
fbc-mxwaswas, I would keep a constant ping going in a terminal window so I can tell when it goes down.15:17
waswashmm15:17
waswasI could try that15:18
fbc-mxwaswas, right... pppoe15:18
waswashmm its answering my ping when i'm using my laptop (ubuntu)15:18
fbc-mxDoes anyone know how to see/set BIOS settings from the command line?15:18
waswasbut now when i'm using my main computer what runs xp15:18
waswasHeh... Of course its not disconnecting when i'm trying to find the problem :>15:21
waswashmm15:44
waswasMaybe it was hardware problem ;P15:44
waswasAt least i hope so15:44
waswasnope. It answers the ping. But ssh is crashing15:49
waswasDamn, i cannot but this piece of s*** into closet, before ssh is working correctly15:51
waswasmaybe i should reinstall whole thing -_-16:09
fbc-mxwaswas, dunno, I've never had a problem with mine... Maybe the whole machine freezes for while.16:42
waswasfbc-mx yeah, this is first time for me also17:15
waswasIf i recall right, this problem started when i used ssh pipe17:16
waswasBut i installed OS yesterday, so i dont know if it's the reason17:17
fbc-mxwaswas, ohh then uninstall ssh pipe.17:22
philsturgeonAnyone know how to enable RTMP access through the iptables?17:25
philsturgeonim new to messing with firewalls. i have set up a flash server from these directions: http://scottmotte.com/archives/208.html. i set it up without following the firewall steps at the top and port 80 was running fine with its built-in web server. i have followed those rules and i have an empty firewall with no rules...17:26
philsturgeoni have re-enabled port 80 from the ubuntu how-to but not sure how to get RTMP live and kicking17:26
philsturgeonthink i got the rules17:28
philsturgeonis there a way to restart iptables without a reboot?17:29
giovaniwhy would you need to "restart iptables"?17:30
philsturgeonwas wondering if ithat was needed to get the rules working17:30
giovani... no17:30
philsturgeonseems they are not :( just manually ran all of the rules listed in that article, still no joy17:30
giovaniif you truly have no firewall rules ... then this is not a firewall problem17:31
giovanithe firewall by default doesn't block anything17:32
=== RoAk is now known as RoAkSoAx
asdf-hi, i have an old laptop that i installed xubuntu on... it is a little sluggish... i'm thinking about installing ubuntu server edition and install a window manager... does the server edition recognize hardware and auto install like regular ubuntu?21:08
giovaniasdf-: have you tried fluxbuntu?21:14
giovaniit's more lightweight than xubuntu21:14
giovanibut if you want to use the server install, just swap out the kernel for the desktop kernel, and you'll have the same hardware support as everyone else21:14
giovanior ... simply install flux/xubuntu and then remove the window manager -- same deal, really21:14
asdf-ok21:14
asdf-i don't need printer support21:15
asdf-so i uninstalled cups21:15
giovaniso remove it21:15
asdf-and now everything was removed21:15
giovanioh, yeah, you'll break some dependencies doing that stuff21:15
giovaniof xubuntu-desktop or something21:15
asdf-yeah, so i thought the server edition would be a slimmer install21:15
asdf-yes, exactly21:15
giovaniyeah, there are ways around that21:16
giovanibut install the server version and replace the kernel if you want21:16
asdf-will it give me that option during install?21:17
giovaniabsolutely not21:17
giovaniyou're installing a server21:17
giovaniwhy would it offer to install a desktop kernel?21:17
asdf-just curious if it prompt you for each part of the install21:18
giovaniit will prompt you for things21:18
giovanibut it's installing a server21:18
giovaniso it will not prompt you for anything desktop-related21:18
asdf-makes sense21:18
asdf-thank you for your help21:18
=== erichammond1 is now known as erichammond
jeiworthwell well, got my / on a 60gb disc and i have a 500gb raid1, so i was thinking mounting 50gb of the raid as /var and the rest as /home, /tmp/ might also be a good idea but how big should i make it? and any other tipps are welcome22:06
jeiworthah, and it will be a file and mysql db sevrer22:06
jeiworthserver, even22:06
doccmake tmp and var independent partitions22:08
jeiworthok, but how large should i make the tmp?22:09
doccif you have the space, take 20g22:10
doccso you can copy a dvd in there and uncompress eg22:10
doccit depends on how you use the sever22:10
jeiworthyeah, i was thinking something between 10 and 50gb22:10
doccsingle user?22:11
jeiworthwell, it will be fileserver and db-server for the erp and crm system of the company22:11
jeiworthnono22:11
jeiworththis is for a 5 man company22:11
jeiworthbut noone will actually be logged on directly, except for me to manage it22:11
doccso make var large, about 250-300g, and split the rest22:12
doccdedicated partitions keep the system running if one is taking too much space22:13
jeiworthhmm doesnt leave enough for all the network shares which i will put in /home22:13
jmarsdenjeiworth: if you don't know how the space will be used, you could / should use LVM so you can resize things later with minimal effort.  If you do know, then ignore random advice from people who don22:13
jmarsdent know your specific needs and do what works for your company :)22:13
jeiworthjmarsden: hehe good point, lets see if i can configure raid partitions within an lvm with the setup tool22:14
jeiworthnope22:15
doccyou can build lvm on top of raid22:16
jeiworthhmm i guess the best thing would be to install everything on the 60gb disk and then configure the raid1-partitions manually22:17
jeiworthdocc: true, but with the setup i can only do a raid1 with partitions and not with the physical device, i think the way to go is to start with / on the single disk and when the system is installed create the raid1 on device level, then i would be able to create more than one lvm partition22:18
jeiworthon the same raid1, that is22:19
jeiworthwith the setup here i have to create raid partitions and on top of them lvm partitions, but what use is that since i would have to resize the raid-partitions too if i wanted to resize an lvm partition22:20
jmarsdenjeiworth: ?  Create one big 500Gb RAID1 and then lvm that to divide it up however you want...22:21
guntbertjeiworth: I'd say you create physical volumes on your raid partitions, then you add those into a volume group and from this vg you create your logical volumes22:22
jeiworth<jmarsden> jeiworth: ?  Create one big 500Gb RAID1 and then lvm that to divide it up however you want... <-- yes, that is the idea but not possible in the server setup, i can create the raid1 and then an lvm, but i cant further create any partitions within this lvm so i cant configure mount points, hence i will have to install everything on the 60gb disk and then, after install, i can partition the lvm and set the mount points in the fstab22:24
jmarsdenjeiworth: OK, sure.  Sounds like the way to go then.22:24
jmarsdenThe "partitions within lvm" are logical volumes, by the way, not technically partitions22:25
jeiworthaight, thanks all22:25
jeiworthjmarsden: ok, check22:26
jeiworthmakes sence since its the logical volume manager(tm) ;)22:26
drbobbwell, I recently discovered a slightly disturbing weakness in the debian packaging system, when my server crashed in the middle of an upgrade, leaving the metadata files of several packages in a corrupted state22:37
drbobb(several rather important binaries, like /bin/sh, turned out to be corrupted as well)22:37
drbobbsome packages had corrupted postinstall scripts, and some - the pre and postremoval22:38
drbobband there seemed to be no way to configure, reinstall or remove them22:39
adaptrdrbobb: unless dpkg is corrupt, you can force a re-install22:48
adaptrdownload the debs for the corrupt packages and use dpkg to force a re-install22:49
drbobbwell I tried, but dpkg seemed to be using the corrupted copies of the scripts in /var/lib/dpkg/info anyway23:01
drbobbI finally replaced the corrupted scripts with "#!/bin/sh\nexit 0", and then succeeded in reinstalling23:01
=== smultron is now known as fjfjfj

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