/srv/irclogs.ubuntu.com/2006/10/02/#ubuntu-server.txt

=== ToonArmy [n=chris@Lafrowda-6.ex.ac.uk] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== ToonArmy [n=chris@Lafrowda-2.ex.ac.uk] has joined #ubuntu-server
=== sanmarcos [n=sanmarco@unaffiliated/sanmarcos] has joined #ubuntu-server
sanmarcoswhy does dpkg-reconfigure generate an expired certificate for dovecot?05:38
Riessanmarcos: Maybe you have the 'back to the feature' edition of ubuntu?05:42
sanmarcosindeed05:42
sanmarcosill just genereate one of my own, anyhow I dont understand why it starts from 200505:42
sanmarcos/var/lib/dpkg/info/dovecot-common.postinst05:42
sanmarcosI wont bother reporting a bug report..05:43
Riessorry, I dom't know..... it sounds like a setting, but then again I am nnot much of a ubunto guru05:46
sanmarcosthat is the problem and yet again the most promiment feature with ubuntu05:46
sanmarcosnot enough people with years of experience05:46
sanmarcosbesides the core devs05:46
fabbionesanmarcos: is that on dapper?05:47
sanmarcosyeah05:47
fabbionedovecot shouldn't be even generating a certificate and use the one from ssl-cert05:47
fabbionethat's a common snake-oil cert in /etc/ssl/...05:48
sanmarcosdovecot-common does05:48
sanmarcossnake-oil I suppose is your all purpose ssl cert for the machine?05:48
fabbioneyeah the "fake" certificates autogenerated just to make the services happy to start for the user05:48
fabbionedovecot (1.0.alpha5-1ubuntu2) dapper; urgency=low05:50
fabbione  * Switch default config to use ssl-cert-snakeoil certificates.05:50
fabbione  * Add Depends on ssl-cert.05:50
fabbione  * Make postinst use a more generic grep for SSL_* otherwise it just doesn't05:50
fabbione    work.05:50
fabbionethe certificate is generated only if it can't find the pre-generated ones05:50
fabbioneand the path to the certificates is embedded in the config05:51
fabbioneif you did customize your config, then it might generate the snake-oil certificates for you05:51
fabbioneit's not really a bug.. it's wanted behavious05:51
fabbionebehaviour05:51
sanmarcosanyhow, I like to put some of my info in the cert05:52
sanmarcosit works, so whatever05:52
sanmarcoslatest on dapper does not check for snake oil05:52
fabbionei just checked the source in dapper.. it does05:53
sanmarcos*** 1.0.beta3-3ubuntu5.3 005:53
sanmarcospostinst for dovecot-common, does not05:53
sanmarcosdapper updates this is05:53
fabbione  ## SSL Certs05:53
fabbione  # Certs and key file05:53
fabbione  SSL_CERT=$( (grep "ssl_cert_file" /etc/dovecot/dovecot.conf  || echo '/etc/ssl05:53
fabbione  SSL_KEY=$( (grep "ssl_key_file" /etc/dovecot/dovecot.conf || echo '/etc/ssl/pr05:53
fabbioneivate/dovecot.pem') | cut -d'=' -f2)05:53
fabbione  # Generate new certs if needed05:54
fabbione  if [ -f $SSL_CERT ]  && [ -f $SSL_KEY ] ; then05:54
fabbione    echo "You already have ssl certs for dovecot."05:54
fabbioneyes it does05:54
sanmarcosohh that you mean, yes I have that05:54
fabbioneit expects 2 separate files for cert and key05:54
fabbioneor at least both the entry in the config05:54
sanmarcosyeah but does not check for /etc/ssl/certs/ssl-cert-snakeoil.pem05:54
fabbionethere is no need to05:54
fabbionethe default config points to that05:55
sanmarcosah ok05:55
fabbioneif you change the default config, it changes the check05:55
sanmarcosheh, that is why05:55
fabbioneso as i am saying.. it works :)05:55
sanmarcosthank you for taking your time to clarify my confusion05:55
fabbioneno problem05:55
fabbionegiven that i did the patch for ssl-cert-snakeoil thingy :)05:55
sanmarcosnice05:56
sanmarcosstill I dont know why it was generating a new dovecot.pem cert with start date 05 and end 06 (october)05:56
sanmarcosanyhow, I couldnt care, since I made my own05:57
sanmarcosahh it feels nice to do some maintenance on servers.. fixing all the erorrs05:58
=== whurley [n=whurley@cpe-70-112-219-150.austin.res.rr.com] has joined #ubuntu-server
=== dura [n=dura@24-179-202-21.dhcp.dlth.mn.charter.com] has joined #ubuntu-server
=== sanmarcos [n=sanmarco@unaffiliated/sanmarcos] has left #ubuntu-server [""Irssi]
=== nerophibia [n=nero@user-85-201-97-15.tvcablenet.be] has joined #ubuntu-server
=== yogurtthewise [n=yogurt@bb-87-81-167-77.ukonline.co.uk] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-server
=== thefish [n=thefish@unaffiliated/thefish] has joined #ubuntu-server
=== ToonArmy [n=chris@Lafrowda-17.ex.ac.uk] has joined #ubuntu-server
=== spike_ [n=spike@82.108.46.34] has joined #ubuntu-server
=== spike_ is now known as spike
=== truz_`24 [n=truz_`24@74.129.166.232] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== whurley [n=whurley@cpe-70-112-219-150.austin.res.rr.com] has joined #ubuntu-server
=== CarlFK [n=carl@c-24-13-53-221.hsd1.il.comcast.net] has joined #ubuntu-server
=== lbm [n=lbm@82.192.173.92] has joined #ubuntu-server
=== tpm [n=tpm@c-68-59-248-219.hsd1.tn.comcast.net] has joined #ubuntu-server
=== DJ_Mirage [n=martijn@biggetje.xs4all.nl] has joined #ubuntu-server
=== mooseman447 [n=mooseman@24.229.203.37.res-cmts.sm.ptd.net] has joined #ubuntu-server
=== tmarble [n=tmarble@192.18.101.5] has joined #ubuntu-server
=== yogurtthewise [n=yogurt@bb-87-81-167-77.ukonline.co.uk] has joined #ubuntu-server
=== whurley [n=whurley@cpe-70-112-219-150.austin.res.rr.com] has joined #ubuntu-server
=== porkpie1 [n=mark@cpc1-bsfd5-0-0-cust929.cmbg.cable.ntl.com] has joined #ubuntu-server
porkpie1Hi guy's ....can anyone tell me where I can find the driver for a PERC 5/i raid contoller08:45
porkpie1controller08:45
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== porkpie1 [n=mark@cpc1-bsfd5-0-0-cust929.cmbg.cable.ntl.com] has joined #ubuntu-server
porkpie1ivoks:hi11:15
ivokshi11:15
porkpie1I spoke to dell today and it's deffinatley hardware raid 11:15
ivokshehe11:16
porkpie1When I installed the os both drives were active ....I think the issue is the megaraid_sas driver11:16
ivoksdid you ask them do they know what's software raid?11:16
porkpie1Yeah ....11:16
ivoksand?11:16
porkpie1software raid is controlled by the OS 11:16
ivoksright11:17
porkpie1I have deleted the raid configuration and  recreated it  ...11:17
ivoksand, on install, you see one or two/three disks?11:17
porkpie1311:17
ivoksso... that's impossible with hardware raid11:18
porkpie1ubuntu is detecting the physical drive as well as the logical drive11:18
ivoksright11:18
ivokswith hardware raid you see one disk or you don't see anything11:19
ivokssystem can not see all disks11:19
porkpie1I even tried installing on sda but it still failed with error 2111:19
porkpie1I agree 11:19
ivoksthat's what linux calls fakeraid11:19
ivoksin the end, it's a software raid11:20
ivoksit's controlled by the driver11:20
ivoksi.e. driver for hardware raid is used to detect controller11:20
ivoksdriver for fakeraid is used to detect controller and set up raid fields11:20
porkpie1hmm!11:20
ivokssoftware raid is used when there is no raid controller11:21
porkpie1how did the other guy get his 1950 to work ....11:21
=== asw [n=asw@karuna.med.harvard.edu] has joined #ubuntu-server
ivoksporkpie1: it had other raid controller11:21
ivoksmaybe you noticed, but dell calls all their controllers PERC11:22
ivoksor whatever11:22
ivoksthey even have same number - 511:22
ivoksbut one costs 0$, and other 700$11:22
ivokswhich one do you think is hardware raid? :)11:22
ivoksgo with linux software raid11:23
porkpie1well according to dell the PERC 5/i is and LSI card11:24
porkpie1http://www.lsilogic.com/cm/LookupDownloads.do?role=1&geo=ALL&category=-1&family=-1&product=8279&subtypes=Driver11:25
ivoksporkpie1: please read http://linuxmafia.com/faq/Hardware/sata.html11:25
porkpie1http://www.lsilogic.com/products/megaraid_sas/index.html11:26
porkpie1ivoks:this is sas not sata11:26
porkpie1ivoks:the link you sent me is for sata which dell use on there desktops .....this is different it's scsi11:28
ivokshm11:31
porkpie1ivoks:I think if I can get the correct driver for the initramfs ...it might work ??11:32
ivoksinitramfs isn't the problem11:32
porkpie1??11:32
=== lbm [n=lbm@82.192.173.92] has joined #ubuntu-server
ivoksporkpie1: your grub dies... that's before initramfs is loaded11:32
porkpie1Yeah11:33
porkpie1IC11:33
ivoksporkpie1: this happens with fakeraids, when you install system on disk, but not on raid11:33
ivoksporkpie1: and you see disks, not raid in installation11:33
porkpie1Hmm! yeah11:33
ivoksporkpie1: maybe you didn't set up raid correctly?11:34
porkpie1ivoks:it's very simple ...I have set it up twice now ....I even went through it with Dell ...11:34
ivokshttp://lists.us.dell.com/pipermail/linux-poweredge/11:35
porkpie1what am I looking for11:35
ivoksanything :)11:35
porkpie1hahahaha11:35
porkpie1shit  ...I might as well send this box back 11:36
porkpie1ivoks:there must be a way to get this to work.  It works with RH and Suse11:36
ivoksso... megaraid_sas should detect raid, not disks11:36
ivoksmaybe some modules loads before and detects disks?11:37
porkpie1in the install you mean11:37
ivoksyes11:37
porkpie1hmm!11:37
porkpie1not much we can do about that is there ?11:37
ivoksstart install and, when you get to partitioner11:37
ivokschoose 'go back'11:38
porkpie1OK11:38
porkpie1doing it now11:38
ivoksthen shift to alt+f211:38
ivoksand lsmod | grep megaraid11:38
porkpie1megaraid_sas  11:42
porkpie1scsi_mod 160504 4 usb_storage,sg,sd_mod,megaraid_sas11:43
porkpie1ivoks:?11:44
ivoksthat looks ok11:45
ivoksbut you don't see raid :/11:45
porkpie1hmm! what does that mean11:46
ivokscould you export dmesg to some file11:48
ivoksand upload it somewhere?11:48
ivoksdmesg > dmesg_log11:48
ivoksmount /dev/fd0 /mnt11:48
porkpie1hmm! how would I get it off the drive11:48
ivokscp dmesg_log /mnt11:48
ivoksumount /mnt11:48
porkpie1ivoks:no floppy drive11:48
ivoksof course, you need floppy :)11:48
ivoksoh...11:48
ivoksscp?11:48
porkpie1not network connection11:49
ivoksdhclient eth011:49
porkpie1it  doesn't detect the card11:49
ivoksnice :/11:49
ivoksusb?11:49
porkpie1I have usb slots11:50
porkpie1yes11:50
ivoksand usb key/stick? :)11:50
porkpie1I have a usb stick as well11:50
ivoksthere you go11:50
porkpie1OK let me get the stick ...2 secs ...can you run me through the commands11:50
ivoksporkpie1: dmesg, lspci11:50
ivokssure11:51
ivoksdmesg : dmesg_log11:51
porkpie12 secs11:51
ivoksgrr11:51
ivoksdmesg > dmesg_log11:51
ivokslspci > lspci_log11:51
ivokslspci -vv > lspci-vv11:51
porkpie1OK doing it now11:52
porkpie1the last command didn't work11:55
porkpie1switch is wrong11:55
porkpie1invalid option w11:56
porkpie1-w11:56
ivoks-vv11:56
ivoksnot -w11:56
porkpie1OK11:56
porkpie1upper case11:56
ivoksno11:56
ivokstwo v11:56
porkpie1OK11:56
ivoksnot double w11:56
porkpie1OK ...it that it11:57
ivoksthat's it11:57
ivokscopy them to stick and upload somewhere11:57
porkpie1hmm! how do I cp to the stick 11:57
porkpie1sorry 11:58
ivoksrun dmesg11:58
ivokslast lines will tell you the name of the stick11:58
ivoksproabably /dev/sdd111:58
porkpie1yeah thats it11:58
ivoksmount /dev/sdd1 /mnt11:59
porkpie1do you only want dmesg_log12:02
ivoksno, all three files12:02
porkpie1blast I took the stick out before umount ....I need to remount12:03
porkpie1eh I cant remount12:04
ivoksumount it first12:04
ivoksthen mount it again12:04
ivokscopy12:04
ivoksumount12:04
porkpie1hmm! no such file or dir ..sorry about this 12:05

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