/srv/irclogs.ubuntu.com/2008/08/19/#ubuntu-server.txt

zultacone: yep00:28
taconenothing, I wrote to you on the ml, about the apache thingie.00:28
taconeI am not anymore sure it wasn't our fault though.00:29
vladdYcan someone help to install ubuntu server with software raid1 please02:21
vladdYi still couldnt do it, after 6+ hours02:21
wantoktook me a while to figure out too.02:22
vladdYis there any tutorial/guide, im kinda linux noob too "/02:23
wantokon help.ubuntu.com is the server guide02:23
vladdYi looked but there's nothing on Raid102:24
wantokdifferent raids use all the same steps02:24
wantokjust you need to seelct raid1 not raid[other] at the right moment02:24
sommervladdY: you can try the instructions in the develpment version of the serverguide: http://doc.ubuntu.com/~mdke/test/serverguide/C/advanced-installation.html02:26
vladdYsommer: this is very useful link, thanks02:28
sommervladdY: cool, if you have any feedback concerning the guide please let me know02:29
jmedinasommer: did you write the kerberos section?02:33
sommerjmedina: yeppers02:33
sommerit's new for intrepid as well02:33
jmedinasommer: you know how easy is use openldap as a database backend for MIT?02:34
jmedinaI've been working with heimdall and I think it is best documented, and afaik, samba4 works with heimdall02:34
sommerjmedina: I haven't actually done that yet, but it's on my todo list if there's time02:34
sommerjmedina: from the quick look I took at it a while back, it doesn't seem too complicated02:35
* jmedina hates time02:35
sommerjmedina: add the schema file, add the kerberos attributes to the users, configure the kdc to use ldap... boom :)02:35
jmedinasommer: pretty easy....02:36
jmedina:P02:36
sommerwell in theory, heh02:36
jmedinathe instructions for heimdal http://www.h5l.org/manual/heimdal-1-2-branch/info/heimdal.html#Using-LDAP-to-store-the-database02:38
jmedinasommer: any reason to choose mit?02:38
sommerjmedina: mit is in main... so for the "official" docs we try to stick to packages in main, where possible anyway02:40
sommerjmedina: I did some testing with heimdal, it is slightly simpler to setup and configure02:40
jmedinaok02:41
vladdYsommer: thanks again for that link, it helped a  lot, i think i got it running02:53
vladdYis there any easier way to test to make sure it works other than unplugging hd from motherboard :)02:53
vladdYhm, raid1 ubuntu server won't start if i unplug one of the hard drives, computer is stuck in "verifying DMI pool data"03:22
vladdYhm, i know im probably boring but have to ask03:32
vladdYhow can i Setup so that the other partition(disk) is bootable too using ubuntu server on raid103:32
sommervladdY: are you running hardy?03:33
vladdY8.0403:33
vladdYi honestly dont know which version is that03:33
sommervladdY: 8.04 is the latest... this howto may help: https://help.ubuntu.com/community/Installation/SoftwareRAID03:33
sommervladdY: you can probably start at the "Adding GRUB to 2nd drive" section03:34
sommerthe issue is being worked on for Intrepid, so in the future you won't have to go through the extra steps03:35
vladdYsommer: thanks again :)03:37
vladdYso, if I disconnect one hd, it should run from another one, correct or is there something I have to do (restore mbr or....)03:38
sommervladdY: I guess, once you've installed grub on the second hard drive and added the script to the initramfs, it should work fine03:39
sommervladdY: I've never actually used those instructions, so it's probably a good idea to test things before putting the machine into production03:40
vladdYsommer: ok, thank you very much for all your help03:40
sommervladdY: np03:41
nodoubtwhy would ports.conf in etc/apache2 be empty in pico/vi but have data/characters in the file when opened in desktop environment gedit??03:55
michalskidoes anyone know where i can find iptables config?04:06
=== afk_away is now known as folke
maswanDo I win a prize for storing ~56k copies of ubuntu-8.04.1-server-amd64.iso in a tape library? :)07:39
maswanjust in case it gets lost, I mean07:39
krautmoin08:13
uvirtbot`New bug: #259363 in apache2 (main) "Need to source envvars before being able to use 'apache2' binary." [Undecided,New] https://launchpad.net/bugs/25936312:56
trentsterhey all, I have the strangest problem, having extremely poor network performance slowdown when copying to an NFS NAS volume, will get a peak of 20-30MBps then almost no activity for about 40 seconds then another little peak. I have tried putting in an intel pro1000 network card, cable change etc, still same problem. However if I boot off the live cd and try the same thing I get a sustained 55MBps working perfectly....any i13:14
trentsterdeas?13:14
thefishtrentster: you boot the client that is copying the data with livecd, or the server? maybe compare nfs client versions and options?13:17
trentsterthefish, the client I booted the livecd on.13:18
trentsterthe server is actually a dedicated NAS appliance server13:19
thefishi guess you mount the nfs dir and then copy? maybe the mount options are a bit different? or the client version?13:20
trentsternaah the mount options are identical13:21
trentsterI think the versions of nfs are the same as well, I will double check..13:21
trentsterI think something else on the machine is interfering with it.13:21
=== mish_ is now known as thefish
thefishtrentster: what are you using for the copy? just cp?13:34
trentsterthefish, yes13:35
trentsterjust cp13:35
thefishtrentster: sorry, not sure - i have seen it where a gui file manager eg nautilus will be really slow, and cp will be fast13:36
thefishno iptables or anything like that?13:36
trentsterthefish, no iptables13:37
trentsterits a very strange one13:37
thefishhave you seen http://www.unix.com.ua/orelly/networking_2ndEd/nfs/ch18_01.htm13:38
thefishmaybe some bits in there that could help13:38
thefishplease say what fixes it ;)13:39
trentsterthefish, thanks I will let you know......I am busy getting ready to test via FTP to see if its def NFS related only or a general problem.13:41
thefishfair enough13:41
trentsterwow, its slow on ftp as well getting 6MBps13:43
trentsterit starts off super fast 50MBPS for 3-4 secs.....then slow....allmost like a buffering problem or something.13:43
ogradid you check your NIC with mii-diag ? on both setups you test ?13:46
ogramigh be that one runs in full and the other in half duplex13:47
trentsterthanks for the help guys, gonna reboot and try continue troubleshooting13:51
cxo_erichammond1, so dist-upgrade = kernel upgrade?14:32
kirklandzul: do you have time today to sponsor some init script changes?14:57
kirklandzul: the status action stuff14:57
zulkirkland: sure14:58
zulkirkland: just send me the list and I will get to them today sometime14:59
kirklandzul: okay, will do14:59
thefish!seen [diablo]15:01
ubottuI have no seen command15:01
thefishbugger15:01
nealmcbServer team meeting in #ubuntu-meeting in 30 minutes: https://wiki.ubuntu.com/ServerTeam/Meeting15:32
nealmcbThere is still time to propose another item for discussion....15:32
Oliberwill there be tea and coffee?15:34
* Oliber runs away ;)15:34
nealmcbOliber: Yes - but it will be distributed tea and coffee - just like our source control :)15:35
ScottK-laptopThe good news is the Ubuntu wiki is so slow if makes bzr feel fast in comparison.15:35
nealmcbwith pockets of milk, cookies, water and other beverages that fit the local culture and timezone15:35
sorenScottK-laptop: You think? Hm... It feels pretty snappy to me.15:36
ScottK-laptopWhich the wiki or bzr?15:37
sorenI mean the wiki.15:37
ScottK-laptopI'm editing.15:37
soreneditmoin or web?15:38
ScottK-laptopWeb.15:38
sorenAh. Wouldn't know about that.15:38
* soren <3 editmoin15:38
ScottK-laptopWell right now every time I go to the meeting page it wants me to login.15:39
ScottK-laptopI login and it takes me to the main page.15:39
ScottK-laptopI go to the meeting page it wants me to login.15:39
ScottK-laptopRinse repeat.15:39
sorenWhich browser?15:39
ScottK-laptopSo it's faster now.15:39
ScottK-laptopKonqueror.15:39
* ScottK-laptop tries another one.15:40
ScottK-laptopWorks in Firefox.15:41
zulnijaba: mirror?16:13
kirklandnijaba: i added the debconf entry to mdadm, at "medium" priority.  this will not popup during the installer, and will set the default to "no"16:13
kirklandnijaba: it would be trivial to raise the priority to make it popup the question, however, that might need more of a consensus16:14
kirklandnijaba: i would be very much in favor of that16:14
kirklandnijaba: but i left that part of the patch for later, so as not to embargo the rest of the functionality16:14
nijabakirkland: my question was more whether the default Raid1 install would duplicate /boot on both disk now16:15
kirklandnijaba: oh, the MBR ... yes, it should16:16
nijabakirkland: great16:16
kirklandnijaba: the code is there, but it hasn't made it into an ISO yet, so I haven't tested it16:16
kirklandnijaba: I tested it "by hand", but not "by ISO"  :-)16:16
nijabakirkland: let me know when it is there, I'll give it a go as well16:16
ScottK-laptoparakthor: Let me get you some links.16:16
arakthorScottK-laptop, ok16:16
=== chmac7 is now known as chmac
ScottK-laptoparakthor: https://wiki.ubuntu.com/ClamavSpamassassinInMain is the basic spec that lists the MIR that need to be done.16:18
arakthorwhat is a MIR?16:19
sorenMainInclusionReport16:19
ScottK-laptopMain Inclusion Report.16:19
ScottK-laptophttps://wiki.ubuntu.com/MainInclusionProcess describes the process.16:19
leonelScottK-laptop: as I've told you some time ago I'd like to  do the  clamav MIR   is there a deadline time  to do so ??16:19
ScottK-laptopThis is how we get stuff 'promoted' to be supported.16:19
ScottK-laptopleonel: We need it approved prior to Aug 29.16:20
ScottK-laptopThis would be a good time to work on them.16:20
ScottK-laptoparakthor: Were you interested in Spamassassin too or just Clamav?16:20
leonelwow 10 days16:20
ScottK-laptopYes.16:20
* ScottK-laptop notes he's been asking for help for weeks.16:20
arakthorehm, either or. I'm more interested in lending a hand and seeing how it goes16:20
ScottK-laptoparakthor: OK.  The Spamassassin ones are almost all Perl modules.  They tend to be relatively easy.16:21
ScottK-laptopAnd leonel is going to work on clamav anyway.16:21
arakthoralright16:21
ScottK-laptoparakthor and leonel: Please mark in the wiki what you are working on so there is no duplication of effort.16:21
arakthorScottK, alright. I will probably use another handle, kstewart, because I have it registered on launchpad ettc.16:22
ScottK-laptopOK.16:22
leonelScottK-laptop: ok16:22
ScottK-laptopI need to leave in about 5 minutes, so if you have questions, please ask them now.  I'll be back in a few hours.16:23
ScottK-laptopI'm glad to review work in progress or answer questions.16:23
leonelScottK-laptop: will you be online tomorrow ?16:23
ScottK-laptopYes.  Most of the day.16:23
leonelScottK-laptop: ok I'll contact you16:23
arakthorno questions atm, thanks.16:24
ScottK-laptopGreat.16:25
byte_slavehi everyone!17:04
byte_slaveanyone here using heirloom.mailx the new "nail" to send emails from command line / cron?17:04
byte_slavei've a script that executes "nail command" with no problem via commandline but via cron the email just doesn't go to the destiny recipients, and it produces the dead.letter17:07
byte_slaveanyone experienced this before?17:07
jmedinabyte_slave: any cron log?17:08
byte_slavecron log just says "Aug 19 16:55:01 elsa /USR/SBIN/CRON[4588]: (root) CMD (/root/scripts/est_disk_space_monitor.pl)"17:09
byte_slaveno reference about any error or access denied or whatelse17:09
Fenix|workGreetings!17:09
byte_slavehi!17:09
Fenix|workI have a question I'd like to prose.  I've recently upgraded from Gutsy to Hardy, and my ftp user disappeared from /etc/passwd.  Why would that happen?17:10
Fenix|workbyte_slave, how's it going?17:10
byte_slaveFenix|work, not that good actually, nail just doesn't work sending email via cron....17:11
Fenix|worknail? or mail?17:12
Fenix|workI guess they're both the same thing :)17:13
Fenix|workgoogle tells me nail is a replacement for mailx17:13
jmedinabyte_slave: and why nail instead clasic mailx?17:14
byte_slavei heard nice things about nail, and its simple to setup and supports smtp17:16
byte_slavemail doesn't as far as i know17:16
Fenix|workbyte_slave, what are you trying to accomplish?17:17
byte_slavewell, simple... a perl script goes check disk space and if space lower than x% i receive an email17:17
byte_slavemanually script runs perfectly17:17
byte_slavevia cron not working17:17
byte_slavecron is running the script as root17:18
byte_slaveshould work i guess17:18
Fenix|workare you using mail in your script?17:20
byte_slaveim using NAIL17:20
jmedinabyte_slave: mail doesnt what?17:20
jmedinasupport smtp?17:20
Fenix|workbyte_slave, I understand NAIL will alias mail and mailx when you install for backwards compatability17:20
Fenix|workcompatibility17:20
byte_slaveno alias, NAIL is a very cool comamndline tool17:21
byte_slavejmedina, i guess not, but anyway i guess to have mail working i should have a "full MTA" working and with "NAIL solution" i found i just use NAIL + msmtp17:22
jmedinabyte_slave: that is not true17:23
jmedinayou can use mailx +ssmtp17:23
jmedinassmtp it has support for SMTP AUTH, so you can send mail trough a mail relay host (smarthost)17:23
gsalahhello all, i have installed pptp vpn server, but vpn-clients use my DNS server to resolve anything instead of their server17:24
byte_slavemaybe i was making confusion about "SMTP AUTH" which is actually what i need17:24
Fenix|workjmedina, nail is heirloom-mailx in the package tree no?17:25
* Abron_Gru is back (gone 18:01:01)17:25
jmedinaFenix|work: dont know, last time I used nail was in slackware about 3 years ago17:26
byte_slavenail is now known as heirloom-mailx, thats true17:26
Fenix|workused nail with gentoo, but I don't have a preference... I just install mailutils and everything works17:27
Fenix|workor mail-utils, can't remember which connotation17:27
byte_slavebut mailutils installs exim right?=17:27
Fenix|workbyte_slave, just portions of it... not the full blown exim17:27
byte_slavei'll try use mailx..... i'll remove nail and see what happens17:28
vladdYi still cant get Raid1 to run properly, after I unplug one disk I'm unable to boot into ubuntu server17:35
vladdYi have followed everything from https://help.ubuntu.com/community/Installation/SoftwareRAID#Troubleshooting17:35
vladdYany clue17:35
BrazenvladdY: this has been discussed lately on the mailing list.  Apparently, linux will not boot to a degraded RAID array.17:40
Brazenyour information is safe, but you will have to boot to a live CD and rebuild the array before you can boot back into it.17:40
BrazenI haven't followed it too close though, as I've only used software raid to protect data drives, and never tried it for the /boot or root partitions.17:41
BrazenI believe they are trying to get this patched in the kernel before the next Ubuntu release17:42
jmedinaBrazen: he doesnt need to rebuild the raid, only install grub in the mirror disk17:43
jmedinawell and rebuild initramfs17:43
ScottK-laptoparakthor: I'm here briefly if you've come up with any questions.17:45
BrazenWouldn't grub already be installed in the mirrored partition?  Like I said, I didn't follow the issue too closely.17:45
ScottK-laptopBrazen: You only boot from one, so no.17:46
arakthorScottK-laptop, what6's involved in the source code review?17:47
arakthorScottK-laptop, also, should I start with a dependency of SA or just the SA package?17:47
ScottK-laptoparakthor: Review it for sound security practices.  If you aren't up for that, just say no.  It's not a hard requirement.17:47
ScottK-laptopDo the dependencies first.17:47
arakthorok, thanks.17:48
ScottK-laptopThat way when SA gets done the answer to are all the depends in Main will be yes.17:48
uvirtbot`New bug: #259477 in mysql-dfsg-5.0 (main) "mailx should not be Recommends" [Undecided,New] https://launchpad.net/bugs/25947717:55
* ScottK-laptop runs to mark that confirmed.17:56
vladdYdo you guys have any reference to that mailing list thread on booting from degraded raid118:20
vladdYalso, forgot to mention, this is software raid too, running on 2 disks18:21
jmedinaBrazen: did you try those instructions?18:27
jmedinafrom https://help.ubuntu.com/community/Installation/SoftwareRAID18:27
ivokshi all18:28
ivokszul: ping? :)18:28
sommerivoks: yo18:30
ivokswazup? :)18:30
sommersame old, same old... good times, heh18:31
zulivoks: yo18:31
ivoksnice18:31
ivokszul: yeah... um... those bacula bugs18:31
ivokszul: http://launchpadlibrarian.net/16211559/bacula-2.debdiff18:31
zulivoks: uploaded that this morning18:31
ivokszul: that's a patch for bacula in -proposed18:31
ivoksin intrepid, right18:32
ivoksbut how about hardy?18:32
zuland in hardy-proposed18:33
ivoksthat patch solves SRU problems18:33
ivoksok18:33
zulits sitting there waiting to be accepted18:33
uvirtbot`New bug: #259479 in php5 (main) "php5 crashed with SIGSEGV in _Unwind_ForcedUnwind()" [Undecided,New] https://launchpad.net/bugs/25947918:56
vladdYcan someone please confirm that solution from https://help.ubuntu.com/community/Installation/SoftwareRAID works19:24
ivokslet' see19:27
ivoksvladdY: yes19:28
_jmedinavladdY: why dont you ask kirkland, I think he wrote the doc and he is working on that theme for intrepid inclusion19:29
vikramIs there a static version of bash and friends i can use on ubuntu server?20:11
vikramor at least anything not linked against libselinux20:11
vikramtrying to apt-get remove libselinux looks really scary since it tries to pull everything out20:12
ivokswhy would you remove it?20:12
ivoksselinux isn't enabled on ubuntu, by default20:13
ivoksapplications are compiled with support for it, if someone decides to enable it20:13
vikrami know, i just dont want a userspace with libselinux support for it20:13
vikramis there a version of ubuntu with a clean userspace?20:14
ivoksthen you'll need to recompile... everything :)20:14
ivoksclean userspace?20:14
ivokswhat's clean?20:14
vikramjust libc and libssl/tls, the basics20:15
ivoksbash is clean :)20:16
ivoksyou know libc can be compiled with support for lots of things, so having only libc isn't a guaranatee that something is clean, whatever that means20:18
zulor your could use gentoo ;)20:19
zulwhois vikram20:19
zuldoh..20:19
ivoks:)20:19
ivoksi don't think gentoo is clean20:20
ivoksanyway... take care...20:20
vikramzul, i is who i is20:39
uvirtbot`New bug: #259538 in samba (main) "computer reboots during winbind configuration" [Undecided,New] https://launchpad.net/bugs/25953820:50
AlexC_hey,21:00
AlexC_I have my main domain that I use for the server, eg: example.com and with that I have mail.example.com that is used for all email. Other domains, say 'domain.com' are hosted there and all email is sent and received via 'mail.example.com' - though the email addresses are still 'foo@domain.com'.   I'm wondering if I have to set an MX record for the 'domain.com' zone that points to 'mail.example.com'21:03
ScottKYes.21:04
AlexC_I currently don't set this, and it works fine. The reason I use mail.example.com instead of mail.domain.com for all other domains is that I use SSL/TSL for it, and so the certificate only covers mail.example.com21:04
ScottKIn the absence of an MX record, one is supposed to try and deliver to the A.21:05
ScottKIf it's all on the same box it'll work.21:05
AlexC_ScottK, ok, so before I was basically relying on an undocumented feature/correction thingy, and I should really set the MX record for it?21:05
ScottKI do not, however, recommend relying on the implicit MX rule.21:05
AlexC_ok, that's what I thought - I'll make sure I set it now21:06
ScottKIt's documented in RFC 821 and 2821, it's just not something I'd be so certain people get right that I rely on it.21:06
AlexC_true21:06
_jmedinaAlexC_ it is a good practice to use MX record for every domain, not all the MTA out there know how to act when they can't find a MX record21:06
AlexC_thanks very much ScottK _jmedina21:07
_jmedinaAlexc_ and your config is ok for SSL/TLS and single IP with multi domains21:08
_jmedinathe same when you use SPF21:08
AlexC_wont it complain that the cert is for a different domain?21:09
_jmedinawhen?21:10
vladdYjust wanted to say that21:10
AlexC_if I used mail.domain.com instead of mail.example.com21:10
vladdYoops21:10
AlexC_since the SSL cert is for mail.example.com21:10
vladdYhttps://help.ubuntu.com/community/Installation/SoftwareRAID does work, thank you very much for great work on ubuntu server21:11
vladdYand for support :)21:11
_jmedinavladdY: so what was the problem?21:12
vladdYi dont know, i think i didn't wait 180 seconds :)21:13
vladdYjust did clean reinstall, switched it few times back and forth disconnecting each hd and worked everytime21:13
ScottK_jmedina: He's right.  Most MUAs will warn for that.21:14
vladdYi was able to rebuild array and everything worked without any problems, including postgresql21:14
_jmedinaScottK_ the he needs to setup MUAs with mail.example.com or whatever the cert's CN says21:15
ScottKRight, so it's less complex if he just uses that for everything.21:16
=== freaky[t] is now known as c1|freaky
=== c1|freaky is now known as freaky[t]
kirklandsommer: _jmedina and vladdyy are asking about a RAID document above23:33
kirklandsommer: it's incorrectly attributed to me...  I didn't write it :-)23:33
kirklandsommer: though I've written a lot of patches on the matter lately23:34
pschulz01What is the difference between mailx and mailutils?23:48
pschulz01(In terms of functionality)23:49
pschulz01wantok: Morning23:52

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