[01:38] if I want to sample sound from a sound card using alsa, what .deb to i install? [02:25] how can you view your NIC settings on a remote server? [02:26] ssh to it [02:27] just ssh'ing to it doesnt give me the NIC settings [02:27] Then ifconfig, like you would locally. [02:31] tonyyarusso: im looking form the speed and duplex setting of my NIC [02:35] mynous: hmm, I'm not aware of a built-in way of getting that. You may need to use a network monitoring utility of some sort. [02:35] ahh [02:36] i know ethtool to set it but i wanted to check and see what it was set at [02:36] can ethtool do a dump of current settings? [02:37] im not sure [02:37] sudo ethtool DEVICE maybe [02:37] would that be the EEPROM? [02:38] (although that gives me "Unknown!" in both fields here) [02:38] ahh, thats it [02:38] ty [02:39] for some reason it doesnt seem like its running full duplex === macd_ is now known as macd [04:40] dpkg-shlibdeps: failure: no dependency information found for /usr/lib/debug/libm.so.6 (used by debian/transcode/usr/lib/transcode/filter_levels.so [04:40] how did that happen? [04:41] trying to build transcode same way I have alwas done it. and that magically happened [04:41] lets see if this changes it: unset LD_LIBRARY_PATH [04:42] god i wish some one could help me... I'm setting up a RAID 10 array with 4 disks, each disk as 2 partitions on it, 1 encrypted (for swap) and 1 set up for RAID10 by mdadm, and 1 disk as a standard ext3 /boot partition. I installed just fine to the RAID10 md0 device, but when I try and boot, the first encrypted swap partition is decrypted fine, and then the md0 encrypted RAID10 device is "not found"... How can I make it recogni [04:42] ze my multi-disk device? [04:54] Hmm. [04:54] * antdedyet is on the search to find out why apt can't authenticate some packages [04:55] ... in ibex === tonyyarusso is now known as anthony [05:36] anyone who is interested, please take a look and vote up: http://brainstorm.ubuntu.com/idea/15043/ [06:20] in 8.10, how do I enable apache user directories? [06:22] Wavesonics: http://httpd.apache.org/docs/2.2/howto/public_html.html [06:34] thanks [06:41] if I want to have a user able to edit /var/www what group should I put him in? [06:56] Wavesonics: www-data, and double-check that there are write permissions for the group. (I think so, but haven't looked lately) [07:10] i added my user to that group: usermod -G www-data username [07:10] but i still can't modify /var/www [07:11] what are the persmissions on /var/www? [07:13] hhmm [07:13] 1 moment, installing SVN :/ [07:14] drwxr-xr-x 3 root root [07:16] is there a lilo guru in here ? my server hangs at boot. probably after kernel upgrade. it says "LILO 22.8 Loading Linux" anda a lot of "." (dots), after 2lines it stops. Its Hardy with LVM [07:16] can i enable debug output somewhere [07:21] Weasel[DK]: Can you boot an older kernel? [07:22] soren, nahh i tryed to edit the lilo.conf and set default kernel to "LinuxOLD", but the same result [07:23] Weasel[DK]: How did you get to edit lilo.conf if you can't boot? [07:23] soren, rescue boot from the CD... ;) [07:23] Weasel[DK]: I see. [07:23] Weasel[DK]: Could you try adding "large-memory" to your lilo.conf and try again? [07:24] (of course you need to run lilo after changing the config) [07:29] soren, just a line at the top ? [07:29] Weasel[DK]: Something like that, yes. [07:29] Weasel[DK]: As long as it's not in one of the kernel stanzas. [07:30] And you're sure you're correctly rerunning lilo? [07:31] soren, nahh i just noticed that inside lilo.conf there is a boot=/dev/sda [07:31] i use lvm [07:31] That's fine. [07:31] ok [07:31] boot=/dev/sda means that it'll install the bootloader on the mbr of /dev/sda [07:32] soren, when runing lilo i get -> fatal device-mapper: mapped boot device cannot be on multiple real devices [07:33] Weasel[DK]: And you didn't before you added large-memory? [07:34] did't put in the memmory stuf yet... struggeling with vi... im used to vim ;) [07:35] Ah :) [07:35] So you're in a chroot? You have /proc mounted and all that? [07:36] And /dev bind-mounted? [07:38] i am booting from the install cdrom in rescue mode, runing mount shows that my LVM volume is the root [07:39] had to be some kind of chroot env. [07:39] has* [07:40] soren, what do oyu mean by "And /dev bind-mounted" [07:40] Weasel[DK]: Do you have e.g. /dev/mapper/control ? [07:41] soren, nah i have /dev/mapper/root-lv_root which is the rootfs [07:42] Ok, that's fine. [07:42] I'm still a bit confused. You said you tried setting the default to LinuxOLD... So running lilo back then worked, but not now? [07:42] Or did you forget to run lilo back then? [07:44] soren, it allways where like that no matter what kernel i choose [07:47] Weasel[DK]: What is root set to in your lilo.conf? [07:47] opps [07:47] soren, my notebook lost power :( sorry [07:48] No worries. [07:48] im back now did i miss anything ? [07:49] 07:47:34 < soren> Weasel[DK]: What is root set to in your lilo.conf? [07:50] /dev/mapper/root-lv_root [07:52] Weasel[DK]: Oh, that's not going to work. [07:52] Weasel[DK]: I presume you have a /boot partition ? [07:53] soren, no its LVM all way [07:54] Has this ever worked? [07:54] yeah sure ;) [07:55] I didn't t hink the installer would let you do that.. :/ [07:55] until yesterday... i suspect the kernel update to be the reson but i dont know [07:57] soren, well i also wondere why it was using LILO, the default is grub. maby LILO is better than grub for LVM ??? [07:58] grub will not work at all. lilo might have a chance. [07:58] Do you have multiple disks? [07:58] Is it possible that your root volume is spread over multiple pv's? [07:59] yeah, 3 disks with 2 LVM partition om each 1 for root one for swap [07:59] By "LVM partition" you mean physical volume? [07:59] sda1 +sdb1 + sdc1 = root-lv [07:59] Oh. [08:00] That will *definitely* not work. [08:00] :) [08:00] it has worked ;) [08:00] It might have worked at some point. [08:00] If the kernel is now spread across multiple pv's, you're screwed. [08:00] (or the initrd) [08:01] ahh.... [08:01] crap [08:01] so you are saying.... put an IDE drive in and put /boot and bootloader on that ? [08:03] Either that or shrink one of your pv's on your /dev/sda and put it there. [08:04] ...and next time do yourself a favour and make sure to have a boot partition. [08:04] soren, ill do that for sure ! [08:06] moin [08:06] soren, ok, ill try to shrink sda1.. [08:07] soren, Thank you very much for the help :) [08:14] Weasel[DK]: Oh, don't just shrink sda1. [08:15] Weasel[DK]: You need to pvresize the data first, *then* shrink the partition. [08:16] soren, yes ofcourse... orelse im in "real" trouble" ;) [08:20] Weasel[DK]: Yeah. Just wanted to make sure you knew :) [08:23] * soren takes a break [08:56] does anyone has a idea what might cause "Setting up landscape-common (1.0.23-0ubuntu0.8.10.1) ...^M [08:56] Your account has expired; please contact your system administrator^M" (bug #291334) [08:56] Launchpad bug 291334 in pam "package update-manager 1:0.93.32 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1)" [High,Triaged] https://launchpad.net/bugs/291334 [08:56] I have seen that in other reports as well [08:56] (not many though) [08:57] hello all [09:04] mvo: Sounds like the root account has expired. [09:06] I'm not sure of the correct way to do it but you can fix it by editing /etc/shadow [09:12] hads: thanks, I saw it in some bugreport while doing triage on udpate-manager and wonder what is the best way to avoid this kind of error and how it happend [09:13] I'm not sure, I've seen it on VM's created with ubuntu-vm-builder === gaw is now known as gawin [09:14] * soren nods [09:15] u-v-b for a while created locked root accounts. [09:15] :( [09:20] oh, thanks. I will ask about that [09:21] mvo: ...but it's a certainly a bug that a locked root account makes chfn fail, IMO. [09:22] ok, I reassign to pam [09:24] soren, i reduced the filesystem on LVM then reduced with lvreduce and did a pvresize now fdisk still says the ther are no free sectors ? [09:24] what did i forget ? [09:25] Weasel[DK]: To resize the partition that holds the pv. [09:48] mvo: Hm... It seems to happen in Hardy as well. [09:49] soren: with ubuntu-vm-builder? or in genral? [09:50] mvo: I mean chfn failing if the root account is locked. [09:50] I thought that was a side effect of the changes we made to the pam config in Intrepid. [09:52] * mvo nods [10:13] New bug: #226369 in ubuntu "VFS Not responding error on shutdown (dup-of: 211631)" [Undecided,New] https://launchpad.net/bugs/226369 [10:15] New bug: #291186 in dnsmasq (universe) "disabling dnsmasq in /etc/default/dnsmaq disables init.d script" [Low,Confirmed] https://launchpad.net/bugs/291186 [10:31] any hardy backport repo for mono-runtime? [10:31] i want newer version of mono-runtime [10:40] [10:40] I think i somehow screwed up my account's permitions :( The main account I created during instal can no longer sudo, any ideas? [10:49] Weasel[DK]: Any luck? [10:53] soren, nahh the phone keeps ringing.... :( ill let you know soon... i hope [10:53] Weasel[DK]: :) [11:12] soren, at last.... ;) do you have an advise for resizeing the physical partition on sda.... i have bootet an knoppix 5.1 with qtparted, but it does not seem to be up for the job [11:18] soren, this parted does not know partitions types of LVM ? === Abracadabra is now known as vendetta === vendetta is now known as Abracadabra [11:57] Weasel[DK]: what I usually do is this: [11:58] Say I have a pv of 100GB, and I want to downsize it to 80G. I start by resizing the pv to something well below 80G (say 75G). [11:59] ...then I reduce the partition size to 80G. Depending on the tool at hand, this might involve removing the partition and creating it again. This feels scary, but make sure the starting cylinder is the same, and you'll be fine. [11:59] Then I use pvresize again to grow the PV to the full size of the partition. [11:59] Before that last step, I probably reboot, though. [12:00] ...but that's pretty much the process I use. It's a bit more involved than it has to be, but I prefer to err on the side of caution. [12:14] soren, ok, but i think i messed up, if i do a pvdisplay the sda1 i was working on is way too big. Data seems still to be ok. [12:14] bigger than the entire disk [12:16] Weasel[DK]: With pvdisplay? umm.. Do you still have the command line you used? [12:17] soren, no but i should be able to set it at the same size at the other disks... the are identical [12:18] well a bit smaller... verything should have been shrinked from the top [12:18] *everything [12:23] Weasel[DK]: Yeah, i'm jus curious how it happened. === Abracadabra is now known as Vendetta [12:27] soren, i guess i typed the size of the whole lvm group instead of the disk. It matches the size. on the other hand that would be clumsy to do so ? [12:30] hello, I installed suphp but phpmyadmin does not work. I then enable mod_php5 (suphp still enabled) and phpmyadmin worked but my script does not run as my user [12:31] I tried to comment all lines in /etc/apache2/mods-enabled/php5.conf and it still assign itself to .php === Vendetta is now known as Abracadabra [12:42] hi. i'm mid way through an ubuntu update. ssh'd into the sever to do it and lost connecgtion mis way. any way to get the session back [12:42] No. [12:43] :( [12:43] bugger [12:43] so start the install process again? [12:43] next time, start your upgrade in screen [12:43] yeah :)....live and learn [12:43] Yes. It might pick up around where it left off, though. [12:44] ok [12:44] i'lll get off and do that then. thanks [13:39] thanks i thought it might be quieter in here - it's really hard to kepe an eye on the other chat while at work with distrcations [13:39] okay so this alternate cd thing... i'm assuming that's just download latest version, burn iso, and mount like normal? [13:39] i've been on an rpm-based distro at home for years, this is my first time dealing with apt [13:40] Frozen-Solid: Are you installing a server? [13:40] yeah [13:40] running on a blade center [13:40] ubuntu se blows my mind in how awesome it is on our new environments [13:41] Generally you boot the CD on the machine you intend to install on. [13:41] we gt the install done... i'm looking into how upgrading works [13:41] we built our new systems on 8.04... and then 8.10 came out so i was charged with finding out hte best ways to upgrade with least amount of downtime and least invasive [13:42] Oh. [13:42] You don't need a CD for htat. [13:42] What I usually do, is set the Alternate CD as a repository [13:42] sudo do-release-upgrade should fire it off [13:42] And do the apt-get distro upgrade [13:42] komotheit was talking about using an alternate cd, so that's what i was asking about [13:43] make sure you edit /etc/update-manager/release-upgrades is set to "normal" - because hardy is a lts it will not upgrade to a non-lts release by default [13:43] upgrades via the alternate cd are possible as well, but the upgrade should work fine over the net [13:43] is it generally recommended to stick to lts editions, rather than the fall reelases? [13:43] depends on your use-case :) [13:44] if you want the long support then lts is certainly a good choice, if you want (or need) the latest stuff then upgrading is probably a good idea [13:44] Well, unless you need something only offered in a new version, its best to stick to LTS releases [13:44] we're not sure our use case yet... we're migrating from an ancient novell netware 6.5 web server setup [13:44] Frozen-Solid: ^^^ wrote the upgrade tools, so you are getting advice directly from the best expert. [13:45] oh cool [13:45] I didn't upgrade yet, I'm snooping around tech support chat/forums to get an idea of issues from upgrades [13:46] we're not doing a support contract yet, but it's something we may look into in the future... depends on how well we manage this new setup ourselves. I was just getting a feel for how upgrades should be looked at, because noene of us have done linux in such a live environment before [13:48] so way for april. apt-get distro upgrade should be safe - does ubuntu require a full restart after an upgrade like that because of the new kernel? [13:48] s/way/wait [13:49] Frozen-Solid: For going from release to release, do-release-upgrade is recommended because it often has special processing to deal with known issue. [13:49] Since you're running a server, I wouldn't know. I'm running a desktop environment, I probably would need a restart unless I would shut down X-server before upgrading [13:49] Frozen-Solid: You do have to reboot. [13:49] Because of the new kernel. [13:49] okay thought so [13:51] i need to remember do-release-upgrade. *makes note* [13:52] while this hsouldn't happen, say network goes down... ubuntu's server's go down... something odd happens during an upgrade... what kinda safty procautions do i need to make? [13:52] Frozen-Solid: You should always back up important data. [13:52] Was going to say that too :P [13:53] yeah i know that much, i meant specifically from a ubuntu se perspective [13:53] If you lose power on a half upgraded system, it's possible that it could be in an odd state, but generally would be bootable/fixable. [13:53] like, if the network goes down, can i just rerun do-release-upgrade again and it can recover? or what happens [13:53] Should work. [13:53] Just don't reboot a half-upgraded system. [13:53] losing power would be pretty much impossible on this server [13:54] Generally it's pretty straight fowared. [13:54] cool [13:55] i tend to do much more invasive upgrades on my home systems... full format cept for the /home partition, reinstall from scratch [13:55] obviously i dont' want to do that here [13:55] There's generally no need for that. [13:56] i use Mandriva at home, it's not quite as "neat" of an upgrade as ubuntu seems to have [13:56] I've only ever had to reinstall after doing experiments I knew were risky. [13:56] and it feels nice starting fresh [13:56] Upgradability is one of the key features of Debian based systems. [13:56] yeah that's why we chose Ubuntu SE. so far i'm VERY impressed from a server perspective [13:57] it's "easy" but it still expects you know what you're doing and doesn't hold your hand. i really appreciate how it's setup [13:57] mathiaz: I have been considering revisiting https://wiki.ubuntu.com/ImproveSSLCert for Jaunty... what is your position on that spec ? Something you want to do yourself, something you want someone to do... [13:57] Good morning [13:57] * ScottK points Frozen-Solid to http://ubuntukids.org/blog/?p=117 [13:57] I have a question that I hope someone has an answer to [13:57] soren, i changed my angle of attack a bit... i now removed one of my swap partitions, re-formated it for ext3 and copied the old /boot into the partition. [13:58] Koon: I don't really have strong opinion on doing it myself. [13:58] haven't used ubuntu desktop yet... i'm kinda aattached to my mandrake i've used for 10 years [13:58] Koon: if you have more ideas, please add them to the spec. [13:58] Weasel[DK]: Heh. That should certainly work, too. [13:58] edited fstab, now i have trouble with lilo again [13:58] Weasel[DK]: You need to adjust lilo.conf accordingly. [13:58] mathiaz: ok :) [13:58] I'd like to make a bootable DVD of my install so if a HDD or two decide to screw the pooch, I can stick in this bootable DVD and restore my system to a working state, then restore the most up-to-date stuff from backup [13:59] anyone with any ideas? [13:59] Frozen-Solid: Right, well I've never actually used Ubuntu on the desktop for more than a minute or two myself. Kubuntu (KDE) is my thing. [13:59] lol excellent post scott [14:00] I'm a big Gnome fan... but the fact that ubuntu seems to pick one distro to base it's installs around (kubuntu vs ubuntu) rather than give you abit of everything like i'm used to with mandriva keeps me off ubuntu/kubuntu [14:01] soren, can you tell me how to set those options... i tried diffent things bu i always get : Fatal: Trying to map files from unnamed device 0x0010 (NFS/RAID mirror down ?) [14:01] i use gnome, but a lot of KDE software on it (K3B, Amarok, Kaffeine) as opposed to the gnome counter-parts [14:01] Frozen-Solid: They are both in the same repository, so you can certainly install whatever KDEish bits you want. [14:01] That's what I did [14:01] yeah... mandriva just does it all though, so it's hard for me to go for a switch [14:01] I'm a fan of klipper :) [14:01] Myself I like having a common core system so I only need to know one. [14:01] i'm also attached to my root user and it feels rong not being able to log into my good ole root on ubuntu [14:01] Weasel[DK]: Let me think.. [14:02] That's easy enough to enable if you want it. [14:02] s/rong/wrong [14:02] i'm sure i'll swithc and try ubuntu soonish. mandriva's starting to show it's bloat [14:02] i need to look into ubuntu install on a Novell Netware network, i haven't checked if the novell client is on the apt-get repos yet [14:03] thne i'll totally switch for work purposes [14:03] Weasel[DK]: What is boot and root set to? [14:04] thanks for all your help, i gotta meeting to go to so. [14:05] soren, boot=/dev/sda boot is only in the append line and says /dev/mapper/root-lv_root [14:05] the new boot is on sda2 [14:06] soren, right now i have booted knoppix, mounted the rootfs and mount the new boot into that [14:07] Frozen-Solid: Take care and good luck on your upgrades! :) [14:09] Weasel[DK]: I wish I had a box with a similar setup so that I could be more sure.. [14:09] Weasel[DK]: I keep forgetting how much stuff lilo works out on its own. [14:10] Weasel[DK]: If you run lilo now, what happens? [14:10] soren, i run lilo -C /mnt/root/etc/lilo.conf [14:11] and it responds with Fatal: Trying to map files from unnamed device 0x0010 (NFS/RAID mirror down ?) [14:11] Weasel[DK]: oh, do this: [14:11] Weasel[DK]: lilo -r /mnt/root [14:12] soren, Fatal: raid_setup: stat("dev/sda") [14:14] Weasel[DK]: sudo mount --bind /dev /mnt/root/dev [14:14] Weasel[DK]: And try again. [14:16] soren, i get some complaints but at the end i says Added Linux and LinuxOLD [14:17] should i give it a try [14:17] Go for it :) [14:20] soren, IT IS BOOTING.... ! [14:20] soren, you are my hero [14:21] Weasel[DK]: I accept beer deliveries. http://www.øltorvet.dk/ for your clicking pleasure :) [14:21] Weasel[DK]: Make sure you check that lilo runs as expected in the running system. [14:29] soren, seems to be ok [14:29] Fantastic. === Abracadabra is now known as Vendetta [14:41] hello [14:42] I'm using 12 GB of ram on a 32bit version of Ubuntu 8.04.1 Ubuntu Server === Vendetta is now known as Abracadabra [14:43] Someone is worried that even with PAE you can't assign 9-10GB to one process, because that [14:43] "overflows size_t" [14:44] Technoviking: Well.. [14:45] Technoviking: The explanation is not entirely accurate, but the problem is real. [14:45] size_t is mandated by the hardware, and it happens to be 32 bits, which limits you to 4 GB of addressable memory. [14:47] so even with PAE, you can not use more than 4 GB for a process/app PostgreSQL for example [14:47] Technoviking: That's correct. === jkerihuel_ is now known as kerihuel [14:50] soren: thank for clearing that up for me [14:51] soren, PM me your delivery address or do you live near by ? [15:06] * Weasel[DK] promised his family a trip to Bilka... so c u later. [15:13] Weasel[DK]: Other end of the country, unless I'm much mistaken. Aalborg, specifically. [16:08] hi [16:21] hello, guys... 2 x 1 TB drives just got here, and i'm reading up on setting up RAID-1 in ubuntu server... can someone tell me how i can determine if dmraid now supports error handling? the fakeRAIDhowto isn't very clear... https://help.ubuntu.com/community/FakeRaidHowto#RAID-1%20Notes [16:24] jtmoney, i would guess that it is not in there [16:25] heh okay [16:25] but how can i find out definitively? [16:30] jtmoney, i'd try to find a site for the author of the patch that enables it, and see if they have any kind of info about it [16:30] or you could go through the kernel package and try to figure out what patches they have applied etc [16:34] I see Ubuntu Server has an ad running on the Ubuntu home page [16:34] props to the person who got that ball rolling [16:35] wasnt there something on slashdot yesterday about ubuntu loosing money but if server takes off for a couple years they will be in the black? [16:36] I wouldn't doubt CANONICAL is losing money right now, but they have a lot of it, so their demise is not imminent. A takeoff of their server OS and the support that businesses would buy for it would really help the company, though. [16:38] thats what the article said, almost exactly. [16:38] can I resize an ext3 partition on the fly? [16:38] IIRC Canonical has not made a secret of being in the red nor not being particularly worried about it. [16:38] Greetings! [16:39] i think he said he'd continue to fund it for 5 years [16:40] Fenix|work, no [16:40] Fenix|work, that kind of thing is reserved for 'real' filesystems, like advfs :P [16:40] How long does an offline resize take? [16:40] if its not heavely fragmented i'd guess it doesn't take very long [16:41] course depends on your hardware [16:41] are you making it bigger or smaller? [16:41] 5 years for ubuntu losing money before MarkS turns off the tap? It sounds like a long time, but it will be here before we know it. I'm sure profitability is in their sights. [16:41] I have a 458GB partition that I'd like to lop off 58GB and make another partition [16:41] lukehasnoname, 13.04 could be the last version :P [16:41] Fenix|work, that could take quite a while [16:42] Rubin: heh [16:42] i did that a while ago to break /home into its own, but i didnt time it or anything [16:42] Rubin, it's a production web/ftp server and the previous admin failed to make web and ftp separate [16:42] completed it in an evening if i recall [16:42] Fenix|work, clone it, do the change on the other one, swap the IP over [16:43] or add another hard disk :P [16:43] for that matter, he failed to move web and ftp out of the system partition [16:43] so everything is lumped into /dev/sda1 [16:43] yeah lame. [16:43] hard disks are cheap though. juts add another [16:43] hard disks may be cheap, but servers aren' t:) [16:44] I don't have a spare to swap to [16:44] psh. real production setups have hot spares or failover pairs :P [16:44] Rubin, real servers use hardware raid and the OS can't see hot spares :) [16:44] no i mean whole spare systems [16:45] BTW I just read about the installation-time server profile of "Virtualization Host" [16:45] totally awesome [16:45] ooh, well in that case I don't have a real production server :) [16:45] Fenix|work, then they can handle some down time :P [16:46] corporate website may not handle downtime well with marketing and execs [16:46] five nines [16:47] how does one check the fragmentation of a partition? [16:47] Fenix|work, then they should spring for a real setup with failover and/or hot spare servers :P [16:47] uptime costs money [16:47] yes, yes it does [16:48] but that still doesn't solve my more immediate problem :) [16:48] Rubin: What's the problem with software raid? For a SMB server, wouldn't software raid do alright? === lamont` is now known as lamont [16:48] lukehasnoname, there are several problems with it, but it does alright yes. [16:49] it doesnt handle errors very well, as you noticed. its slower than hardware raid, etc [16:49] but if a disk full out fails, your golden after a reboot (and maybe unplugging it worst case) [16:49] i run a mirror lvm setup on my home server [16:56] gentoo4life, lol [17:05] Hello all, if I have 6x147GB SCSI drives in a RAID6 array... what would be my total available space? [17:06] Or could someone give me a rule of thumb to calculate RAID space in general? [17:11] Sorry, my client crashed. [17:11] If anyone responded to my question, could you please re-respond. [17:11] :) [17:49] hey guys, recently purchased 2 x 1 TB drives for a file server... it seems like fakeraid (through dmraid) is in its infancy and has poor error reporting... i'm too paranoid that i would screw something up if i used softraid... would it make sense at this point just to use rdiff or something similar to copy files from one partition to another? [17:49] seems like there's no good answer [18:02] * antdedyet dwindles in the fun that is email delivery [18:30] i has 8.10 [18:50] Hello all, if I have 6x147GB SCSI drives in a RAID6 array... what would be my total available space? [18:50] Or could someone give me a rule of thumb to calculate RAID space in general? [18:54] raid6 - you 'lose' 2 disks worth of space for parity data [18:54] raid5 - you 'lose' 1 disks worth of space for parity data [18:56] ScottK: hi, i have a couple of dumb mail server questions ... [18:56] OK [18:57] raid10, you lose half of the space for parity data [18:57] r00tintheb0x: you can potentially 'lose' more disks if you factor in that it's sometimes smart to have a 'hot spare' as well [18:57] ScottK: i simply want an ubuntu system to accept incoming mail, and if there's a local user matching the address, use his .forward file [18:58] ScottK: so machine, "foo", dustin@foo address, with a .forward file pointing to gmail or some such [18:58] OK, so no actual local delivery? [18:58] ScottK: i've got mail to dustin@localhost actually working [18:58] OK. [18:58] ScottK: right, no local delivery [18:59] i think i just need some magic to accept traffic from outside, perhaps? [18:59] Do you need to use actual .forward files or is that just the effect you want? [19:00] kirkland: I assume you're using Postfix? Please pastebin the output of postconf -n [19:00] ScottK: yes, postfix [19:01] ScottK: .forward is the effect i want, if it can be configured differently, that's cool too [19:01] I do this with virtual alias domains. It's pretty easy. [19:02] cool, let me pastebin that for you [19:03] ScottK: http://pastebin.ubuntu.com/65346/ [19:03] * ScottK looks [19:04] kirkland: foobar.com is your actual domain you want mail from or the machine's hostname? [19:05] ScottK: i just sed-replaced that [19:05] Yeah. I figured. [19:05] For virtual alias domains, here's what I have ... [19:06] virtual_alias_domains = example.com (note that it should not be listed in mydestination. [19:06] Then I have virtual_alias_maps = hash:/etc/postfix/virtual [19:06] This is all in main.cf BTW [19:06] right [19:07] That map has entries like example.com Whatever (need that, it doean't matter what's on the right side) [19:07] scott@example.com scott@example.org [19:07] etc. [19:08] Then in smtpd_recipient_restrictions I have check_recipient_access hash:/etc/postfix/somename [19:09] somename has postmaster@example.com permit [19:09] gotcha [19:09] That can be permit, reject, or dunno [19:09] So the virtual table says where it goes. [19:09] right [19:09] the check_recipient_access does your recipient validation. [19:10] let me give that a shot [19:10] Don't forget to postmap or postalias your table. [19:10] s [19:10] so no dovecot required at all for this, then? [19:10] Nope. [19:10] good [19:10] You do this all in the MTA. [19:10] right, i was hoping so [19:11] * ScottK needs to run out. Back later if you have questions. [19:11] There's a good REAME on virtual stuff on postfix.org too. [19:11] That's pretty much straight out of it. [19:14] ScottK: awesome, thanks for your help [19:14] You're welcome. [19:18] for a single user (PC sitting in my house) is there any real benefit to using a non-root login? (it seems like a pain to have to sudo everything) [19:19] i su in to root [19:20] im used to freebsd so it seems sane to me [19:20] trashguy: If you want to do that, use sudo -i. It gives you a slightly more sane environment. [19:21] on my debian install, i just logged in as root all the time, i know for multi-admin users, it's better to not have one ROOT that everyone/anyone uses, but for a home/personal use, i didn't know if there were any real security flaws [19:21] ScottK, root is sane for me [19:21] ShawnR: i find it keeps me from stepping on my own ... feet [19:21] trashguy: sudo -i gets you a root prompt. [19:21] ShawnR, there are program like irc i wouldnt run as root [19:22] yeah, that is true [19:22] but for administration [19:23] i'll run many programs as not root, but for configuring everything... i mean, i couldn't even make /downloads without having to sudo... then i had to sudo chmod it to allow myself write access [19:23] these are good things [19:24] oh? [19:24] well [19:24] im all for having to do extra steps to promote secure methods ^^ [19:25] i would be, too... but is it really any more secure than me having a password on the root account? [19:25] if you need to do a bunch of admin stuff you can sudo -i or su [19:25] i won't be running services as root, just configuring things as root [19:25] hmm [19:25] then use sudo -i [19:25] maybe i'll try and get in the habit of doing that [19:25] i guess part of me just loves the idea of logging in as "root" [19:25] it just t hrows you in a root prompt [19:26] root@WOPR:~# just looks so sexy [19:26] i only log in as root on most machines if im local [19:26] avonders@avonders-desktop:~$ sudo -i [19:26] [sudo] password for avonders: [19:26] root@avonders-desktop:~# [19:26] 9/10 times i will be local [19:26] ShawnR: Up until you rm -rf * and aren't in the dir you thought you were, sure. [19:26] or umount var [19:26] ^^ [19:26] trashguy: Error: "^" is not a valid command. [19:26] that'll be my own problem... but i don't do those things [19:27] Of course. [19:27] this is just going to be a personal file/media streaming server with LAMP things just for when it's convenient [19:27] smash buttons [19:27] RAWR [19:27] ShawnR: If it's exposed to the internet be sure to turn off SSH root login. [19:28] yeah [20:20] how can I turn ono the cpu fan? [20:22] put a hairdryer on it, that should trigger the thermal sensors [20:23] it's not on currently? [21:18] the server guide needs to be moved from doc.ubuntu.com to help.ubuntu.com as the 8.10 guide [21:28] so I've got Ubuntu Server installed, and I got it all setup in webmin, but I can't get ppl outside the home network view it? [21:30] Appl3Kork: Webmin isn't in the Ubuntu repositories, so it's not supported here. Ask the webmin people. [21:31] well I'm not using webmin to configure it. sorry. I'm trying to get the ddclient working through putty [21:32] appl3kork ppl from outside can't view what? can't access webmin or what services? [21:33] can't access my server [21:33] it's running apache [21:34] and you cna view it locally, right? [21:34] yes [21:34] I've forwarded ports [21:34] can you access any other service from outside? [21:34] no [21:34] nothing [21:35] what error do ppl get? [21:35] well I just give them the url, and it just says cannot be found [21:35] what url? [21:35] g3rm.dontexist.com [21:36] I'm just trying to do the basics right now, of them seeing it say "It Works!" [21:36] on port 80, right? [21:36] I think port 80 is blocked by my ISP, so my buddy said to use 81 [21:37] and you forwarded ports 81? [21:37] yes [21:37] both router and modem [21:37] and when you access it locally, you use http://g3rm.dontexist.com:81 [21:37] right? [21:37] no actually [21:37] .... [21:37] I just typed in g3rm.dontexist.com [21:37] http:// will default to port 80 unless otherwise specified [21:37] so you're still running on port 80 [21:37] o [21:38] k let me change that really quick [21:38] have you restarted apache? [21:38] either port 80 nor port 81 works [21:38] 80 works locally, and 80 is blocked by ISP [21:39] well I don't think on dyndns.org will allow me to make the site say g3rm.dontexist.com:81 [21:39] what kind of isp block port 80? [21:39] gay ones [21:39] comcast used to [21:39] some still do, they don't want you using your home ISP connection as a server [21:39] no, dyndns will not [21:39] I don't really think you can forward [21:39] you just gotta tell ppl to use the :81 at the end [21:39] I was about to write that [21:40] not necesarily [21:40] whats the command to restart apache? [21:40] ubuntu? [21:40] ya [21:40] ./etc/init.d/apache restart [21:40] as I remember it [21:40] tanathos what would be the alternative to telling ppl to include port #? [21:41] make a redirect from another page [21:41] lol [21:41] true [21:41] ? [21:41] oh I thought you were laughing at me [21:41] but that'd be a lot of work [21:41] no, just at the backbending [21:41] well in webmin it actually asks what port for the server [21:41] he could make a redirect from another page [21:41] and I put 81 [21:41] Appl3Kork yes [21:41] but that is locally [21:42] o [21:42] you need to redirect from outside your isp [21:42] yeah, but if he has a hosted page somewhere, why not just put the website there? [21:42] true [21:42] i didn't think I had a hosted page [21:42] or is that the g3rm.dontexist.com [21:42] wait [21:42] by hosted i mean on someone else's computer... like at a website hosting company [21:42] do you have another hosting account somewhere [21:43] no [21:43] even better [21:43] not that I know of [21:43] do you own dontexist.com [21:43] no it was just a free one with dyndns.org [21:43] nope, that's a dyndns.org name [21:43] all they do is redirect the subdomain to his IP at home [21:43] I could give you a hosting package at my comapny [21:43] well, this looks like a match made in IRC heaven [21:43] ya but how much is that? [21:44] lol [21:44] but still you have to own a domain [21:44] Appl3Kork for free [21:44] I own the company [21:44] so if I own a domain you can host it for free? [21:44] I got about 16 working servers [21:44] i want a free hosting package! [21:44] :)) [21:44] hold your horses [21:44] i'm just playin [21:44] Appl3Kork is in trouble not you [21:45] i've got one hosted now, i'd hate to keep switching... unless you can get me exchange for free :P (which i highly doubt you'd do for me) [21:45] ShawnR how much do you pay for that package [21:45] I'll make it half:)) [21:46] well, i don't have exchange right now [21:46] and try not to lie [21:46] :)) [21:46] it's ike USD $80/yr [21:46] i think 84 to be exact [21:46] when does it expire? [21:46] i just paid for another year... heh [21:47] but all i want is shell access to do file management and backup and i'd REALLY like exchange [21:47] well your los [21:47] loss [21:47] exchange server? [21:47] yup [21:47] Micro shit? [21:47] I only have 2 of those [21:47] exchange being that i could sync up my phone contacts with outlook and not have to worry about when i get a new phone [21:48] sorry I can't give you on MES [21:48] but it's not worth me paying like $100/yr more or whatever it is, just to have that feature [21:49] it's ok [21:49] are rented [21:49] and can't really mess them up [21:49] i think I own a domain name [21:49] had one before [21:49] lemme check my email really quick [21:49] well, i'm headed out now... good luck appl3 [21:49] thanx [21:51] so TANATHOS if I've got a domain name and you can host it, does that make it so people can see my server? [21:52] yes [21:52] ok [21:52] im just checking to see where my domain name is [21:53] ok [22:04] Appl3Kork? [22:04] yup [22:05] domain? [22:06] i was just going to get a new one cause it was 1.99 [22:06] just trying to think what it should be called [22:06] o lol [22:06] only 1.99 [22:06] well then get me tanathos.org [22:06] :)) [22:07] does it matter if it's .com .net and whatnot? [22:08] for your hosting [22:08] no [22:28] so my update to ibex failed during the download and now update-manager -d wont show it as an option. how can i upgrade my system? [22:32] mindframe: if that happend during the download (and not during the install then its odd) - should work [22:32] but TANATHOS when I have a domain and a host, how does it all setup with the server? [22:32] mindframe: could you put your /var/log/dist-upgrade/main.log up somewhere please? [22:36] damnit pastebin wont let me paste.. saying i trip the spam filter [22:36] paste.pocoo.org [22:37] http://mibbit.com/pb/9mtFY2 [22:38] http://paste.pocoo.org/show/89757/ [23:11] is there an easy way to move cron jobs from one system to another? [23:13] copy / paste?