=== 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 | ||
sanmarcos | why does dpkg-reconfigure generate an expired certificate for dovecot? | 05:38 |
---|---|---|
Ries | sanmarcos: Maybe you have the 'back to the feature' edition of ubuntu? | 05:42 |
sanmarcos | indeed | 05:42 |
sanmarcos | ill just genereate one of my own, anyhow I dont understand why it starts from 2005 | 05:42 |
sanmarcos | /var/lib/dpkg/info/dovecot-common.postinst | 05:42 |
sanmarcos | I wont bother reporting a bug report.. | 05:43 |
Ries | sorry, I dom't know..... it sounds like a setting, but then again I am nnot much of a ubunto guru | 05:46 |
sanmarcos | that is the problem and yet again the most promiment feature with ubuntu | 05:46 |
sanmarcos | not enough people with years of experience | 05:46 |
sanmarcos | besides the core devs | 05:46 |
fabbione | sanmarcos: is that on dapper? | 05:47 |
sanmarcos | yeah | 05:47 |
fabbione | dovecot shouldn't be even generating a certificate and use the one from ssl-cert | 05:47 |
fabbione | that's a common snake-oil cert in /etc/ssl/... | 05:48 |
sanmarcos | dovecot-common does | 05:48 |
sanmarcos | snake-oil I suppose is your all purpose ssl cert for the machine? | 05:48 |
fabbione | yeah the "fake" certificates autogenerated just to make the services happy to start for the user | 05:48 |
fabbione | dovecot (1.0.alpha5-1ubuntu2) dapper; urgency=low | 05: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't | 05:50 |
fabbione | work. | 05:50 |
fabbione | the certificate is generated only if it can't find the pre-generated ones | 05:50 |
fabbione | and the path to the certificates is embedded in the config | 05:51 |
fabbione | if you did customize your config, then it might generate the snake-oil certificates for you | 05:51 |
fabbione | it's not really a bug.. it's wanted behavious | 05:51 |
fabbione | behaviour | 05:51 |
sanmarcos | anyhow, I like to put some of my info in the cert | 05:52 |
sanmarcos | it works, so whatever | 05:52 |
sanmarcos | latest on dapper does not check for snake oil | 05:52 |
fabbione | i just checked the source in dapper.. it does | 05:53 |
sanmarcos | *** 1.0.beta3-3ubuntu5.3 0 | 05:53 |
sanmarcos | postinst for dovecot-common, does not | 05:53 |
sanmarcos | dapper updates this is | 05:53 |
fabbione | ## SSL Certs | 05:53 |
fabbione | # Certs and key file | 05:53 |
fabbione | SSL_CERT=$( (grep "ssl_cert_file" /etc/dovecot/dovecot.conf || echo '/etc/ssl | 05:53 |
fabbione | SSL_KEY=$( (grep "ssl_key_file" /etc/dovecot/dovecot.conf || echo '/etc/ssl/pr | 05:53 |
fabbione | ivate/dovecot.pem') | cut -d'=' -f2) | 05:53 |
fabbione | # Generate new certs if needed | 05:54 |
fabbione | if [ -f $SSL_CERT ] && [ -f $SSL_KEY ] ; then | 05:54 |
fabbione | echo "You already have ssl certs for dovecot." | 05:54 |
fabbione | yes it does | 05:54 |
sanmarcos | ohh that you mean, yes I have that | 05:54 |
fabbione | it expects 2 separate files for cert and key | 05:54 |
fabbione | or at least both the entry in the config | 05:54 |
sanmarcos | yeah but does not check for /etc/ssl/certs/ssl-cert-snakeoil.pem | 05:54 |
fabbione | there is no need to | 05:54 |
fabbione | the default config points to that | 05:55 |
sanmarcos | ah ok | 05:55 |
fabbione | if you change the default config, it changes the check | 05:55 |
sanmarcos | heh, that is why | 05:55 |
fabbione | so as i am saying.. it works :) | 05:55 |
sanmarcos | thank you for taking your time to clarify my confusion | 05:55 |
fabbione | no problem | 05:55 |
fabbione | given that i did the patch for ssl-cert-snakeoil thingy :) | 05:55 |
sanmarcos | nice | 05:56 |
sanmarcos | still I dont know why it was generating a new dovecot.pem cert with start date 05 and end 06 (october) | 05:56 |
sanmarcos | anyhow, I couldnt care, since I made my own | 05:57 |
sanmarcos | ahh it feels nice to do some maintenance on servers.. fixing all the erorrs | 05: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 | ||
porkpie1 | Hi guy's ....can anyone tell me where I can find the driver for a PERC 5/i raid contoller | 08:45 |
porkpie1 | controller | 08: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 | ||
porkpie1 | ivoks:hi | 11:15 |
ivoks | hi | 11:15 |
porkpie1 | I spoke to dell today and it's deffinatley hardware raid | 11:15 |
ivoks | hehe | 11:16 |
porkpie1 | When I installed the os both drives were active ....I think the issue is the megaraid_sas driver | 11:16 |
ivoks | did you ask them do they know what's software raid? | 11:16 |
porkpie1 | Yeah .... | 11:16 |
ivoks | and? | 11:16 |
porkpie1 | software raid is controlled by the OS | 11:16 |
ivoks | right | 11:17 |
porkpie1 | I have deleted the raid configuration and recreated it ... | 11:17 |
ivoks | and, on install, you see one or two/three disks? | 11:17 |
porkpie1 | 3 | 11:17 |
ivoks | so... that's impossible with hardware raid | 11:18 |
porkpie1 | ubuntu is detecting the physical drive as well as the logical drive | 11:18 |
ivoks | right | 11:18 |
ivoks | with hardware raid you see one disk or you don't see anything | 11:19 |
ivoks | system can not see all disks | 11:19 |
porkpie1 | I even tried installing on sda but it still failed with error 21 | 11:19 |
porkpie1 | I agree | 11:19 |
ivoks | that's what linux calls fakeraid | 11:19 |
ivoks | in the end, it's a software raid | 11:20 |
ivoks | it's controlled by the driver | 11:20 |
ivoks | i.e. driver for hardware raid is used to detect controller | 11:20 |
ivoks | driver for fakeraid is used to detect controller and set up raid fields | 11:20 |
porkpie1 | hmm! | 11:20 |
ivoks | software raid is used when there is no raid controller | 11:21 |
porkpie1 | how did the other guy get his 1950 to work .... | 11:21 |
=== asw [n=asw@karuna.med.harvard.edu] has joined #ubuntu-server | ||
ivoks | porkpie1: it had other raid controller | 11:21 |
ivoks | maybe you noticed, but dell calls all their controllers PERC | 11:22 |
ivoks | or whatever | 11:22 |
ivoks | they even have same number - 5 | 11:22 |
ivoks | but one costs 0$, and other 700$ | 11:22 |
ivoks | which one do you think is hardware raid? :) | 11:22 |
ivoks | go with linux software raid | 11:23 |
porkpie1 | well according to dell the PERC 5/i is and LSI card | 11:24 |
porkpie1 | http://www.lsilogic.com/cm/LookupDownloads.do?role=1&geo=ALL&category=-1&family=-1&product=8279&subtypes=Driver | 11:25 |
ivoks | porkpie1: please read http://linuxmafia.com/faq/Hardware/sata.html | 11:25 |
porkpie1 | http://www.lsilogic.com/products/megaraid_sas/index.html | 11:26 |
porkpie1 | ivoks:this is sas not sata | 11:26 |
porkpie1 | ivoks:the link you sent me is for sata which dell use on there desktops .....this is different it's scsi | 11:28 |
ivoks | hm | 11:31 |
porkpie1 | ivoks:I think if I can get the correct driver for the initramfs ...it might work ?? | 11:32 |
ivoks | initramfs isn't the problem | 11:32 |
porkpie1 | ?? | 11:32 |
=== lbm [n=lbm@82.192.173.92] has joined #ubuntu-server | ||
ivoks | porkpie1: your grub dies... that's before initramfs is loaded | 11:32 |
porkpie1 | Yeah | 11:33 |
porkpie1 | IC | 11:33 |
ivoks | porkpie1: this happens with fakeraids, when you install system on disk, but not on raid | 11:33 |
ivoks | porkpie1: and you see disks, not raid in installation | 11:33 |
porkpie1 | Hmm! yeah | 11:33 |
ivoks | porkpie1: maybe you didn't set up raid correctly? | 11:34 |
porkpie1 | ivoks:it's very simple ...I have set it up twice now ....I even went through it with Dell ... | 11:34 |
ivoks | http://lists.us.dell.com/pipermail/linux-poweredge/ | 11:35 |
porkpie1 | what am I looking for | 11:35 |
ivoks | anything :) | 11:35 |
porkpie1 | hahahaha | 11:35 |
porkpie1 | shit ...I might as well send this box back | 11:36 |
porkpie1 | ivoks:there must be a way to get this to work. It works with RH and Suse | 11:36 |
ivoks | so... megaraid_sas should detect raid, not disks | 11:36 |
ivoks | maybe some modules loads before and detects disks? | 11:37 |
porkpie1 | in the install you mean | 11:37 |
ivoks | yes | 11:37 |
porkpie1 | hmm! | 11:37 |
porkpie1 | not much we can do about that is there ? | 11:37 |
ivoks | start install and, when you get to partitioner | 11:37 |
ivoks | choose 'go back' | 11:38 |
porkpie1 | OK | 11:38 |
porkpie1 | doing it now | 11:38 |
ivoks | then shift to alt+f2 | 11:38 |
ivoks | and lsmod | grep megaraid | 11:38 |
porkpie1 | megaraid_sas | 11:42 |
porkpie1 | scsi_mod 160504 4 usb_storage,sg,sd_mod,megaraid_sas | 11:43 |
porkpie1 | ivoks:? | 11:44 |
ivoks | that looks ok | 11:45 |
ivoks | but you don't see raid :/ | 11:45 |
porkpie1 | hmm! what does that mean | 11:46 |
ivoks | could you export dmesg to some file | 11:48 |
ivoks | and upload it somewhere? | 11:48 |
ivoks | dmesg > dmesg_log | 11:48 |
ivoks | mount /dev/fd0 /mnt | 11:48 |
porkpie1 | hmm! how would I get it off the drive | 11:48 |
ivoks | cp dmesg_log /mnt | 11:48 |
ivoks | umount /mnt | 11:48 |
porkpie1 | ivoks:no floppy drive | 11:48 |
ivoks | of course, you need floppy :) | 11:48 |
ivoks | oh... | 11:48 |
ivoks | scp? | 11:48 |
porkpie1 | not network connection | 11:49 |
ivoks | dhclient eth0 | 11:49 |
porkpie1 | it doesn't detect the card | 11:49 |
ivoks | nice :/ | 11:49 |
ivoks | usb? | 11:49 |
porkpie1 | I have usb slots | 11:50 |
porkpie1 | yes | 11:50 |
ivoks | and usb key/stick? :) | 11:50 |
porkpie1 | I have a usb stick as well | 11:50 |
ivoks | there you go | 11:50 |
porkpie1 | OK let me get the stick ...2 secs ...can you run me through the commands | 11:50 |
ivoks | porkpie1: dmesg, lspci | 11:50 |
ivoks | sure | 11:51 |
ivoks | dmesg : dmesg_log | 11:51 |
porkpie1 | 2 secs | 11:51 |
ivoks | grr | 11:51 |
ivoks | dmesg > dmesg_log | 11:51 |
ivoks | lspci > lspci_log | 11:51 |
ivoks | lspci -vv > lspci-vv | 11:51 |
porkpie1 | OK doing it now | 11:52 |
porkpie1 | the last command didn't work | 11:55 |
porkpie1 | switch is wrong | 11:55 |
porkpie1 | invalid option w | 11:56 |
porkpie1 | -w | 11:56 |
ivoks | -vv | 11:56 |
ivoks | not -w | 11:56 |
porkpie1 | OK | 11:56 |
porkpie1 | upper case | 11:56 |
ivoks | no | 11:56 |
ivoks | two v | 11:56 |
porkpie1 | OK | 11:56 |
ivoks | not double w | 11:56 |
porkpie1 | OK ...it that it | 11:57 |
ivoks | that's it | 11:57 |
ivoks | copy them to stick and upload somewhere | 11:57 |
porkpie1 | hmm! how do I cp to the stick | 11:57 |
porkpie1 | sorry | 11:58 |
ivoks | run dmesg | 11:58 |
ivoks | last lines will tell you the name of the stick | 11:58 |
ivoks | proabably /dev/sdd1 | 11:58 |
porkpie1 | yeah thats it | 11:58 |
ivoks | mount /dev/sdd1 /mnt | 11:59 |
porkpie1 | do you only want dmesg_log | 12:02 |
ivoks | no, all three files | 12:02 |
porkpie1 | blast I took the stick out before umount ....I need to remount | 12:03 |
porkpie1 | eh I cant remount | 12:04 |
ivoks | umount it first | 12:04 |
ivoks | then mount it again | 12:04 |
ivoks | copy | 12:04 |
ivoks | umount | 12:04 |
porkpie1 | hmm! 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!