[02:32] <Roasted> Am I not allowed to set raid devices to mount in fstab by UUID?
[02:40] <jstoone> Hi guys, I'm trying to setup postfix, but I
[02:40] <jstoone> damnit
[02:40] <jstoone> Hi guys, I'm trying to setup postfix, but I'm a bit confused about "
[02:41] <jstoone> Hi guys, I'm trying to setup postfix, but I'm a bit confused about the "destinations to accept mail" part in the reconfiguration
[02:49] <twb> jstoone: well, suppose you run example.net.  Maybe you accept mail for fred@sales.example.net and sally@marketing.example.net.
[02:49] <twb> Then you would put "sales.example.net, marketing.example.net"
[02:50] <twb> In simple cases, you would only put your domain, because all your users are just foo@example.net
[02:52] <jstoone> twb: sorry for the late reply - I was fooling around - but I don't use any domain, I just have my ip address (I know this is pretty unsecure etc)
[02:57] <jstoone> I know it's a big favor to ask, but can you guys help/walk me through the configuration of postfix/sendmail?
[02:59] <Pats> hello ...
[03:00] <Pats> recently installed server 11.04, and am getting "Resolution not supported" on the monitor connected to it
[03:00] <Pats> unable to find info when googling for the same - any pointers?
[03:02] <twb> Pats: is the monitor connected when you boot the server?
[03:02] <Pats> hello twb ... yes it is
[03:02] <twb> Pats: also, is a KVM or similar connected between the server and monitor?
[03:03] <Pats> yes actually i am using a 2-way kvm switch to switch b/w my desktop and the server
[03:03] <Pats> but it worked with Ubuntu 10.10
[03:03] <twb> Try without the KVM
[03:03] <twb> sometimes that can interfere with EDID negotiation
[03:04] <twb> That is, boot with the monitor connected directly.  Once boot is finished it should be OK to remove and reattach
[03:04] <twb> Oh, and I'm assuming you're not running a GUI, i.e. you're only getting an fbcon login: prompt at boot
[03:04] <Pats> is there a way for me to force a console configuration - i understand that "vga=" has been deprecated with the latest grub
[03:05] <twb> IIRC for 10.04 I did it by adding "blacklist vga16fb" to /etc/modprobe.d/whatever
[03:05] <twb> And running "update-initramfs -u -k all", of course.
[03:05] <twb> It depends what, if any, framebuffer is currently loaded
[03:06] <twb> If a GUI is starting, I can't help you, except to uninstall the GUI stuff.
[03:06] <Pats> no GUI
[03:07] <Pats> i am actually using SSH to login to the system - but I do wish to have the option of working directly on the system as well
[03:07] <twb> No argument there
[03:09] <Pats> blacklist-framebuffer.conf?
[03:09] <twb> It doesn't actually matter, but that's where I put it
[03:09] <twb> as long as the filename is [a-z0-9-]+\.conf
[03:12] <Pats> :) worked
[03:12] <Pats> Thank you
[03:21] <twb> When symmetricaly encrypting an SSL private key, is -aes256 the strongest crypto I can choose?
[03:35] <fastveg> what is the proper format to use scp to copy a file onto your server?
[03:35] <twb> scp foo foo:
[03:36] <fastveg> scp filename.txt root@69.69.69.69:/folder/   -- should that work or am I offbase?
[03:36] <twb> Looks OK to me
[03:36] <twb> Although the leading / means it's relative to /, rather than relative to your home directory.
[03:37] <fastveg> it's giving me mad authentication errors, that don't make any sense
[03:37] <twb> pastebin the transcript
[03:37] <fastveg> I ever went so far as to reset the root password on the linode instance
[03:37] <fastveg> what transcript
[03:38] <fastveg> I mean the error is basically root@IP's password:  Permission denied, please try again.
[03:38] <fastveg> =/
[03:38] <twb> Can you ssh into that server as root?
[03:38] <jmarsden> adding a -v after the scp will give you more info on what is happening.  Did you set PermitRootLogin No in /etc/ssh/sshd_config ?
[03:39] <fastveg> I ssh in as another user, and somebody set it up where it uses a key, I don't really understand it
[03:39] <twb> jmarsden: I wasn't bothering because, by design, sshd will not disclose the nature of permission failures to the client
[03:39] <twb> fastveg: if you cannot "ssh root@foo", then you cannot "scp root@foo"
[03:39] <fastveg> let me try that
[03:39] <twb> fastveg: it sounds like key-based access to root is set up, but you are not using the key.
[03:40] <jmarsden> twb: I think it shows trying to use certificates, and falling back to password auth, etc... ? But OK.
[03:41] <fastveg> permission denied
[03:41] <fastveg> so frustrating..
[03:41] <twb> jmarsden: true
[03:41] <twb> jmarsden: or e.g. if he fucked up a -oProxyCommand
[03:41] <fastveg> I mean, this is the same root password that you would reset on linode, right?
[03:41] <fastveg> there's only one root password I dont get why it wont work
[03:41] <twb> fastveg: it is typical to deny password-based access for the root user
[03:41] <jmarsden> fastveg: Not if you have PermitRootLogon No   set :)
[03:41] <fastveg> ah ok then
[03:42] <twb> fastveg: IDEALLY, password-based access is denied for ALL users
[03:42] <fastveg> .....
[03:42] <twb> fastveg: if you can get in and read the /etc/ssh/sshd_config file, that will help us isolate the issue
[03:42] <twb> Ref. http://en.wikipedia.org/wiki/Multi-factor_authentication
[03:42] <fastveg> so how then do I copy over the files, if no passwords work
[03:43] <fastveg> I can get to the file probably, one min
[03:43] <twb> fastveg: using two-factor authentication -- SSH keys with passphrases
[03:46] <fastveg> twb: I have that file open, what are we looking for in it?
[03:46] <twb> fastveg: pastebin the output of egrep -v '^[[:space:]]*(#|$)' /etc/ssh/sshd_config
[03:46] <twb> Be sure to type that command exactly
[03:48] <fastveg> http://pastebin.com/6UxxHuJW
[03:48] <fastveg> I guess "# PermitRootLogin no" explains that
[03:49] <fastveg> =/
[03:49] <fastveg> I ssh in with the other user just by typing "ssh domain.com"
[03:49] <fastveg> but I don't know how to use scp with that user
[03:49] <qman__> same as with root
[03:49] <qman__> just use that username instead of root
[03:50] <twb> fastveg: right, that says you cannot log in as root at all
[03:50] <fastveg> let me try that
[03:50] <Proz01d> i'm running openvpn and I have a client connect to the server when the client pings the server i get a success. when the client pings any other address such as 4.2.2.1 it fails.
[03:50] <twb> fastveg: scp will be allowed for any user, but obviously you will not be able to write to, say, /var/www/ directly if that user has no write privileges there
[03:50] <twb> fastveg: you can simply scp the files across then run something like sudo cp to put them in /var/www
[03:52] <Proz01d> anyone have any idea?  forgot to mention that the server is able to ping other address ssuch asthe one above.
[03:53] <fastveg> if I do scp filename.txt otheruser@69.69.69.69:/folder/ it asks me for that users password -- which I don't know, because ssh just connects without any password
[03:54] <fastveg> how does ssh domain.com work without a password?  is there a way to get scp to work the same way?
[04:01] <twb> fastveg: because your key is allowed for $USER@domain.com, but not otheruser@domain.com.
[04:02] <fastveg> sorry, I dont understand
[04:02] <fastveg> this is such a mess, I'm literally just tying to move over one file
[04:03] <fastveg> are the ssh configs also preventing me from using SFTP to connect as root?
[04:05] <twb> Yes
[04:07] <fastveg> got something to work
[04:08] <fastveg> why do SSH settings, affect SFTP?
[04:08] <fastveg> just curious
[04:08] <fastveg> Is the secure part mean it uses SSH?
[04:13] <shauno> yes.  sftp uses ssh as it's carrier
[04:19] <twb> SFTP is a module of SSH
[04:20] <twb> As distinct from FTP/S, which is FTP over a TLS (SSL) tunnel.
[04:20] <twb> http://mywiki.wooledge.org/FtpMustDie
[04:59] <Proz01d> quick question ... are iptable changes effective immediately
[05:01] <guampa> quick answer: yes they are
[05:01] <Proz01d> ty
[08:43] <lool> hallyn_afk: http://people.canonical.com/~serge/seabios_0.6.2-0ubuntu1-package.tar.gz > 404 not found
[08:44] <lool> hallyn_afk: Oh I see you got it sponsored already
[08:45] <lool> hallyn_afk: and BTW new binutils had been uploaded yesterday allowing my patched package to build on i386 (it would also build on amd64, but that's not needed on launchpad)
[09:40] <AnAnt> Hello, have you guys heard of kerrighed (www.kerrighed.org) ? It would be nice to have that in Ubuntu
[09:41] <AnAnt> the problem (which is why I came here), is that upstream only supports a certain kernel version (2.6.30
[09:52] <twb> AnAnt: file an RFP
[10:03] <koolhead11|afk> AnAnt, yes do that
[10:04] <cxw> hello, i have a question that bothered me for quite some time : i bind many ipv6 addresses to one interface, but it keeps crashing after a while - i have do a /etc/init.d/networking restart although ifconfig still indicates that interface as "running". i'm wondering what could go wrong?
[10:25] <ClaudiuT> hello
[10:25] <ClaudiuT> I'm trying to set-up a vsftp server. I'm able to connect, but it fails to upload anything. write_enable=YES in /etc/vsftpd.conf
[10:26] <ClaudiuT> also chroot_local_user=YES if this counts
[10:27] <twb> http://mywiki.wooledge.org/FtpMustDie
[10:28] <twb> Is there a reason you can't use SFTP?
[10:29] <ClaudiuT> I want a simple way of sharing files without shell account
[10:30] <twb> Google for "sftponly"
[10:31] <ClaudiuT> thanks
[10:31] <twb> But ignore entries that don't use the "internal" sftp implementation -- it used to be a lot more fiddly
[10:32] <twb> Ah, here we go: http://paste.debian.net/117461/
[10:33] <twb> Strictly, the user still has a shell account, he just can't access it via ssh
[10:33] <ClaudiuT> is SFTP friendly with common Windows clients, like Total Commander?
[10:33] <ClaudiuT> or the user needs WinSCP to connect?
[10:34] <twb> most "ftp" clients I've seen speak SFTP
[10:34] <twb> Dunno how many do key-based auth, which I would recommend if poss.
[10:34] <ClaudiuT> that's great
[10:34] <ClaudiuT> I'm not very familliar with PAM, can I avoid it?
[10:35] <twb> Ignore that line, it'll already be there
[10:35] <twb> PAM just means "use normal user authentication", it's a good thing
[10:35] <ClaudiuT> great, thanks
[10:35] <twb> Obviously ignore AllowGroups as well, or add sftponly to that list
[10:35] <twb> "cyber" is the group all my users are in, because it's the company name
[10:38] <ClaudiuT> basically I need one very limited user to be able to put and retrieve some files
[10:38] <ClaudiuT> that's why I want to shell account
[10:38] <ClaudiuT> but SFTP seems ok for what I need
[10:38] <ClaudiuT> I always tried to avoid FTP anyway
[11:02] <twb> Good man.
[11:12] <real_ate> hi all! i'm looking for the libvirt documentation on vm snapshots but can't find any
[11:12] <real_ate> ... i assume libvirt supports snapshots, or at lease is there a way to do a snapshot for libvirt managed systems?
[13:15] <tyreza> hello there
[13:15] <tyreza> can  anyone explain what is soft raid ?
[13:16] <greppy> tyreza: instead of having a hardware raid controller, you let the linux kernel do it for you.
[13:30] <TeTeT> tyreza: for a more thorough treatment, please have a look at http://en.wikipedia.org/wiki/Software_RAID
[13:31] <zul> its raid that is soft
[13:31] <zul> morning
[13:32] <tyreza> when we have to use raid soft ?
[13:32] <TeTeT> tyreza: some info on raid levels is also on https://help.ubuntu.com/11.04/installation-guide/i386/module-details.html#di-partition
[13:32] <pmatulis> tyreza: typically when you do not have hardware raid
[13:33] <tyreza> what is a raid simply ?
[13:35] <TeTeT> tyreza: multiple disks looking like one big disk
[13:37] <Pici> Redundant Array of Inexpensive/Independent Disks
[13:40] <Error404NotFound> How much max RAM does U10.10 64b server support?
[13:42] <_ruben> a lot
[13:44] <pmatulis> :)
[13:44] <Error404NotFound> _ruben: how much?
[13:45] <real_ate> hi all
[13:45] <tyreza> 36GB Error404NotFound
[13:46] <Pici> Where are you getting that number from?
[13:46] <Error404NotFound> tyreza: what if i have 64G? any patches?
[13:46] <real_ate> I was here a while ago looking to see if snapshotting was supported in libvirt for 10.04... got disconnected... anyone care to comment?
[13:48] <_ruben> most chipsets can address 48 bits -> 256TB
[13:48] <tyreza> ok Error404NotFound
[13:48] <tyreza> an other question
[13:49] <tyreza> how to build a cluster machine ?
[13:50] <pmatulis> real_ate: what kind of snapshotting are you talking about?
[13:51] <real_ate> pmatulis: run up the vm, build packages on the disk image and then roll back the disk image
[13:51] <real_ate> either on shutdown or manually
[13:52] <real_ate> so baseImage.img > baseImage_snapshot1.img etc
[13:52] <pmatulis> real_ate: that would be part of the hypervisor (KVM) and, no, it doesn't have that
[13:53] <real_ate> pmatulis: is there any way to manually do it? ... can I just copy the image and override every time I want to "rollback" ?
[13:53] <_ruben> one would probably use lvm backed vms for that and use snapshotting on lvm level
[13:53] <real_ate> _ruben: i don't have lvm
[13:54] <real_ate> _ruben: and i can't re-install /re-format
[13:54] <_ruben> making a simple copy of the disk image should do it as well
[13:54] <tyreza> what is lvm ?
[13:54] <tyreza> is it raid soft also ?
[13:55] <real_ate> _ruben: thanks i'll try that
[13:55]  * _ruben hates trolls
[13:56] <tyreza> what is lvm ?
[13:57] <pmatulis> !lvm | tyreza
[14:09] <lynxman> ping zul
[14:09] <zul> lynxman: whats up?
[14:10] <lynxman> I have a packaging crack question for you :)
[14:10] <lynxman> I have a package that does not compile or install, just copies files to the right path
[14:10] <zul> sure
[14:10] <lynxman> using debian .install files
[14:10] <zul> right
[14:10] <lynxman> but I have to rename a couple of files
[14:10] <lynxman> tried to use in rules override_dh_auto_install
[14:11] <zul> okies
[14:11] <lynxman> but it complains that it can't find the file in $CURDIR/debian/tmp (as it does in mcollective)
[14:11] <lynxman> should I just drop the tmp since it's not "building" and go to the straight path?
[14:11] <zul> so i think you can put <fileA> /path/<fileb> in the install file
[14:12] <lynxman> zul: I was talking with Daviey about that one as well, looks like you can't, the install will only accept dirs as destionation
[14:13] <zul> hmm...im not sure then i would have to play with it
[14:13] <Daviey> :(
[14:13] <lynxman> zul: no worries, I'll keep hammering at it :)
[14:14] <lynxman> zul: the mcollective-plugins package is 99% complete, just need a couple tweaks and it'll be good
[14:14] <zul> lynxman:  k ill beat it into shape as well
[14:15] <lynxman> zul: cool, thanks mister :)
[14:28] <_ruben> weird .. got a tagged vlan interface on a bonded interface, when i tcpdump the vlan interface i do see traffic, but when i tcpdump the bond i do see other vlan's traffic but not that one
[14:30] <EvilMTeck> So... I installed dhcp3-server and had a client connect. They pick up an IP just find and great; but they can't connect to the domain to log in and I assumg name resolution isn't working right..
[14:30] <EvilMTeck> any help getting that working again?
[14:31] <EvilMTeck> s/again//
[14:32] <airtonix> what supports your theory that name resolution isn't working?
[14:32] <airtonix> other than your head
[14:34] <EvilMTeck> airtonix: my head
[14:34] <EvilMTeck> airtonix: really- i just don't know what i'm doing
[14:35] <airtonix> EvilMTeck: i assume your bind daemon is setup properly? can you use dig and host to get expected data ?
[14:35] <airtonix> EvilMTeck: i also assume your bind daemon is running on the same machine as your dhcpd3 daemon
[14:36] <EvilMTeck> airtonix: bind not setup..
[14:36] <EvilMTeck> maybe that's what's not working
[14:36] <airtonix> then how do you expect to resolve hostnames in a domain controlled environment?
[14:37] <airtonix> is it a windows server?
[14:37] <EvilMTeck> i was hoping this dhcp server would pass everything along
[14:37] <EvilMTeck> it's ubuntu
[14:37] <airtonix> no
[14:37] <airtonix> dhcpd only provides automatic IP addressing
[14:37] <EvilMTeck> we have a larger and better setup network above this
[14:38] <EvilMTeck> I'm trying to have one client sit entirely behind another client and still interact with the rest of the network the same way
[14:38] <airtonix> you need to enable tcp forwarding
[14:38] <airtonix> investigate ufw + nat options
[14:40] <jdstrand> (can do that by looking at the ufw-framework man page)
[14:40] <airtonix> ^
[14:46] <EvilMTeck> jdstrand: I'm noticing something about the author... that person seems familiar
[14:46] <EvilMTeck> you were referring to the full example?
[14:48] <queso> If I run ntpq -p and it returns "No association ID's returned", what does that mean?  That ntpd knows of no server with which to sync, and thus is not syncing?
[14:48] <EvilMTeck> I wonder how hard that is to do without having ufw at my disposal
[14:50] <jdstrand> the ufw *rules files are nothing more the iptables-restore files, so those things can be adapted to whatever tool or script you'd like
[14:50] <jdstrand> s/more the/more than/
[14:53] <EvilMTeck> yay
[14:53] <EvilMTeck> thanks :)
[15:31] <AlexMax> I just rebooted my server and nginx didn't come up, in spite of being in the correct rc.d directories
[15:31] <AlexMax> The last time I rebooted, sshd didn't come up, in spite of being configured correctly
[15:31] <AlexMax> it seems like every time I boot, some random service refuses to launch
[15:31] <AlexMax> How do I diagnose this issue?
[15:32] <AlexMax> Where would I even look for error messages
[15:33] <AlexMax> because I'd eally hate to reboot only to find my sshd is gone again
[15:37] <AlexMax> okay let me ask it this way
[15:37] <AlexMax> When i rebooted my system, nginx did not launch automatically
[15:37] <AlexMax> How do I figure out why it didn't launch
[15:38] <AlexMax> in spite of being in the correct rc.d directories
[16:10] <AlexMax> oh crap
[16:10] <AlexMax> just figured it out
[16:10] <AlexMax> one of my ip aliases never came up
[16:10] <AlexMax> so my http server couldn't bind to the ip
[16:13] <AlexMax> which is double weird because according to networking the alias is set to automatically come up
[16:13] <AlexMax> auto eth0:0
[16:16] <bencc> how can I see the ulimit of another process/user?
[16:24] <aradriel> piratenpartei
[16:24] <aradriel> wc ^^
[16:33] <ScottK> SpamapS: I'd propose dropping the task on timing the sourcing of /etc/defaults.  We can't stop sourcing /etc/defaults since Debian uses it so I think it's not worth worrying about.
[16:42] <SpamapS> ScottK: Actually I came up with a way we could drop them.
[16:43] <ScottK> Oh?
[16:43] <bencc> how can I get the max allowed file-descriptors for a specific process?
[16:43] <SpamapS> ScottK: If its worth the time to do it, we can very easily treat them as deprecated config files and convert anything non-default into env lines in the job file.. thus maintaining the changes specified by the user.
[16:44] <ScottK> How do we do that for packages we sync from Debian?
[16:46] <SpamapS> ScottK: oddly enough that plan never considered the impending (hopefully) changes in Debian that would allow upstart jobs. Hm.
[16:47] <SpamapS> ScottK: so maybe we should flip that one on its head a bit.. we can have the init.d scripts "source" the upstart job. ;)
[16:48] <ScottK> How does that help us for sysv only packages we sync from Debian?
[16:48] <SpamapS> ScottK: I think its worth the measurement, even if to just show that its not worth the time to implement such insanity. I'm hoping we can just go forward w/ sourcing them.
[16:48] <SpamapS> For sysv only there's nothing we can do to speed things up anyway.
[16:48] <ScottK> Right, but there's packages not designed to support upstart.
[16:48] <ScottK> We need to remain compatible with them.
[16:49] <SpamapS> /etc/default isn't going away...
[16:49] <SpamapS> and frankly, anything left in sysv isn't all that interesting in the boot speed argument anyway.
[16:49]  * ScottK never thought boot speed on servers was particularly interesting in any case.
[16:49] <SpamapS> This is mostly for the stuff that will get the system booted.. 1st phase of boot.. anything in the 2nd phase (not runlevel 2, but sort of..) can start as slow as it wants IMO. ;)
[16:50] <ScottK> OK.
[16:50] <SpamapS> ScottK: the slowest serial booting server still only takes a minute or so. The boot speed argument is more to get the GUI going ASAP .. since thats when the real heavy lifting starts.
[16:50] <ScottK> Maybe I over analyzed the spec, but it seemed to be contemplating getting rid of /etc/defaults entirely.
[16:51] <ScottK> Yep.
[16:51] <SpamapS> If it were 5x slower to use /etc/default.. we could consider getting rid of it. :)
[16:51] <ScottK> Which is why it's odd to see boot speed discussion in a server spec.
[16:51] <SpamapS> but my guess is, with ureadahead its going to be negligible.
[16:51] <SpamapS> Well because we have to share the boot w/ the desktop, we have to make sure we don't regress it.
[16:52]  * ScottK wishes the reverse were true.
[16:52] <SpamapS> Hah.. yeah...
[17:10] <queso> Could someone point me to the summary differences, pros and conts, between pure-ftpd, vsftpd, and proftpd?
[17:11] <gholms> smoser: Sorry about the sudden pile of cloud-init bugs. :-\
[17:38] <hggdh> Daviey: time for a quick chat?
[17:39] <Daviey> hggdh, yeppers
[18:28] <Trezker> Hello
[18:28] <Trezker> I'd appreciate some help with rewrite on my web server
[18:29] <zertyui> hi there
[18:31] <Trezker> I have a RewriteRule ^([a-z0-9/]+)$  /index.php/$1 [L] that works almost always
[18:32] <Trezker> but if I load /foo and foo.php exists, then foo.php gets loaded :(
[18:36] <RoyK> Trezker: try #httpd - lots of apache nerds there ;)
[18:37] <Trezker> thank you RoyK
[18:44] <zertyui> hi
[18:44] <zertyui> there
[18:54] <speakman> hi folks!
[18:56] <speakman> I've got a software RAID1 in which one disk has been replaced.
[18:56] <speakman> But since I didn't removed the faulty one, it looks like it's still waiting for it; http://pastebin.com/kguCfXKn
[18:57] <speakman> How can I remove it retroactively?
[18:59] <zertyui> lvm ?
[18:59] <speakman> no, mdadm
[19:01] <zertyui> i don't know how it happen on soft raid
[19:01] <zertyui> are you remove the raid ?
[19:02] <zertyui> broke the raid
[19:02] <zertyui> before replacing
[19:02] <gholms> Can't you add the new disk to the array as a spare?
[19:04] <axisys> how do I migrate an LV from one VG to another VG .. they are different PV on same box
[19:05] <speakman> I've added the new disk to the array, and it's syncing atm. But it seems to not have forgotten the old faulty disk. This is /proc/mdstat: http://pastebin.com/zaswJvy0
[19:08] <lambda_x> mdadm /dev/md0 -r /dev/sda1
[19:09] <speakman> the current sda1 and sdb1 is the one running
[19:09] <speakman> the previous failed disk was /dev/sdb1
[19:09] <speakman> but the new one is also sdb1 :)
[19:12] <lambda_x> but mdstat says that sda1 is missing, right?
[19:14] <speakman> lambda_x: ttp://pastebin.com/zaswJvy0
[19:14] <speakman> doesn't look so
[19:14] <speakman> but sda1 is 0 while sdb1 is 2
[19:14] <speakman> the 1 is missing
[19:14] <speakman> it should be sda1[0] sdb1[1]
[19:15] <pmatulis> axisys: how much data is in the logical volume you want to migrate?
[19:18] <axisys> pmatulis: the whole lv
[19:18] <pmatulis> axisys: how much data is in the logical volume you want to migrate?
[19:18] <lambda_x> speakman: but its raid1 so it is possible to leave one disk and rebuild md0 from it, what does mdadm -E /dev/sda1 says?
[19:19] <axisys> pmatulis: 50M
[19:19] <speakman> lambda_x: this is -E /dev/sdb1 which has the exact same output as -E /dev/sda1
[19:19] <pmatulis> axisys: why don't you just copy the data to a new volume?
[19:19] <axisys> pmatulis: but i want to do it for situation when the disk would be 20G or some ..
[19:19] <speakman> lambda_x: http://pastebin.com/kguCfXKn
[19:19] <axisys> pmatulis: for learning
[19:20] <axisys> pmatulis: doing it on a guest OS
[19:20] <axisys> pmatulis: this would be my tutorial
[19:20] <axisys> pmatulis: :-)
[19:23] <lambda_x> speakman: I would mdadm /dev/md0 -a /dev/sda1 -r /dev/sdb1, and then mdadm /dev/md0 -a /dev/sdb1
[19:23] <pmatulis> axisys: there is no proper way to do this.  i would choose some other project
[19:23] <speakman> lambda_x: why -a sda1?
[19:24] <lambda_x> speakman: I was rebuilding that way md some time ago (it is taken from my notes)
[19:26] <speakman> ok?
[19:26] <lambda_x> speakman: in case it wont help, remove /dev/sdb1 once more, do mdadm --zero-superblock /dev/sdb1, and then mdadm /dev/md0 -a /dev/sdb1 - again
[19:28] <speakman> lambda_x: this  is the case now; http://pastebin.com/3WaJ9YNq
[19:28] <speakman> -E sda1
[19:29] <speakman> can I --zero-superblock on sda1 as well?
[19:29] <speakman> or will the raid fail then?
[19:29] <lambda_x> and what mdstat says?
[19:29] <speakman> http://pastebin.com/xMCwY0k0
[19:30] <lambda_x> fine, have you already tried to -a /dev/sdb1 ?
[19:30] <speakman> noe
[19:30] <speakman> not yet
[19:31] <lambda_x> sda1 is in sync, try
[19:31] <speakman> -E /dev/sda1 still tells me faulty removed
[19:31] <speakman> this is --detail /dev/md0 http://pastebin.com/xMCwY0k0
[19:32] <speakman> http://pastebin.com/ny2k4TmP <- this
[19:33] <lambda_x> it is correct, he wants second device
[19:33] <speakman> yes
[19:33] <speakman> and now? just -a sdb1?
[19:34] <lambda_x> yup
[19:35] <speakman> http://pastebin.com/Zddxuc8g
[19:35] <speakman> still [2] instead of [1]
[19:35] <speakman> but it does work, so maybe It's just as it should be?
[19:36] <lambda_x> k, remove sdb1 once more and then mdadm --zero-superblock /dev/sdb1 ; and then mdadm /dev/md0 -a /dev/sdb1
[19:36] <speakman> that's what I just did?
[19:36] <speakman> it adds sdb1 as spare
[19:36] <speakman> http://pastebin.com/f0B3PK54
[19:39] <speakman> this is strange, but I have to leave the office for now.
[19:39] <speakman> thanks for helping out. will try further on on monday
[20:01] <_ruben> jikes .. kernel oops during fsck at boottime .. not good i guess :p
[20:40] <queso> What package gives the apache2 rewrite module?
[20:41] <queso> Oh, ha, nevermind
[20:41] <MTecknology> queso: you should consider nginx :)
[20:43] <queso> MTecknology: I use both, depending on the circumstances
[20:43] <queso> MTecknology: I'm less familiar with apache, actually.
[20:43] <MTecknology> cool :)
[20:43] <queso> MTecknology: Didn't realize you had to enable the module ;)
[20:44] <MTecknology> that behavior annoys me :P
[20:48] <AlexMax> I have an ip alias that is not being automatically started in spite of having auto in the definition.  Any clues as to why?
[21:58] <guntbert> meLon: hi
[21:58] <meLon> Hey guntbert
[21:59] <guntbert> meLon: 1) are you able to connect locally?
[21:59] <meLon> No, guntbert
[21:59] <meLon> mail.log contains no entries >_<
[21:59] <guntbert> meLon: look into /var/log/mail
[22:00] <meLon> There is no mail directory
[22:00] <guntbert> meLon: no, that is a file
[22:00] <meLon> I have mail.log, mail.err, mail.warn, procmail.log
[22:01] <guntbert> meLon: how did you install postfix?
[22:01] <meLon> Originally, using iredmail
[22:01] <guntbert> ?
[22:01] <meLon> Yeah, exactly :P
[22:01] <meLon> A friend of mine showed me iredmail, which installed postfix as well as postfixadmin to allow easy alias adding and stuff
[22:02] <guntbert> meLon: no idea about iredmail here
[22:02] <meLon> Well, I dont need/want to use it
[22:02] <meLon> Im just trying to diagnose why I am unable to connect to smtp
[22:02] <guntbert> meLon: how did you install that?
[22:03] <meLon> http://www.iredmail.org/download.html
[22:03] <meLon> Seems that they have an uninstall script I can use
[22:03] <meLon> but what else will that mess up :\
[22:04] <guntbert> meLon: I suggest to uninstall that for now, and install postfix by sudo aptitude install postfix
[22:04] <meLon> I followed the ubuntu guide on installing postfix
[22:04] <guntbert> meLon: you just said otherwise ??
[22:04] <meLon> Originally, using iredmail
[22:04] <meLon> Recently, using the ubuntu guide
[22:07] <guntbert> meLon: sorry, I misled you with the name of the log file (mixing up distros...), if the mail.* files are empty that implies that postfix is not running
[22:07] <guntbert> try /etc/init.d/postfix start
[22:08] <meLon> service postfix restart returns no errors
[22:08] <guntbert> does it say "started"?
[22:09] <meLon> Still cannot connect.  mail.log is still a 0b file
[22:09] <meLon> Starting Postfix Mail Transport Agent postfix                                                                              [ OK ]
[22:10] <guntbert> meLon: next step: lsof -ni       should list postfix as listening
[22:10] <meLon> postfix-p  3294  policyd    6u  IPv4   5200      0t0  TCP 127.0.0.1:10031 (LISTEN)
[22:11] <meLon> i like that command :D lsof
[22:11] <guntbert> ouch - 10031 ??
[22:11] <guntbert> meLon: try telnet localhost 10031
[22:12] <meLon> Says it has connected and just hangs.
[22:12] <guntbert> meLon: good, say HELO ImHere
[22:13] <meLon> No response.
[22:15] <meLon> ehlo localhost gives me no response, either
[22:16] <guntbert> meLon: hmm - that sounds weird - my suggestion, try to sudo aptitude purge postfix, and then install it again, there seem to lie some pieces from that other software around
[22:18] <meLon> lol
[22:19] <meLon> I was afraid that that would cause more issues.  I can now connect over port 25 guntbert
[22:19] <meLon> Now, I just have to see how iredmail made those aliases so I can re-create them
[22:19] <guntbert> meLon: good :) I cannot assist with iredmail in any way - sorry
[22:22] <meLon> No problems.  I normally don't do things like that because they cause problems like this
[22:22] <meLon> I manage multiple domains.  Do you have a recommendation on how to allow users access to mail, but not give them a system user?
[22:23] <guntbert> meLon: read up on "virtual users", autheticate them against ldap or so ?
[22:24] <meLon> Am I using dovcot >_< ? Gunni
[22:24] <meLon> guntbert*
[22:25] <guntbert> meLon: thats what I use - in our last system we authed against EDirectoy using ldap
[22:26] <meLon> I have a database (mysql) named vmail.  It contains admin/alias/alias_domain/log/,etc  are you familiar with something like this?
[22:27] <guntbert> meLon: no, but I have seen several web pages about how to use dovecot and mysql
[22:28] <guntbert> to an experienced user/admin I may suggest to use google (or the like)
[22:28] <guntbert> :)
[22:35] <meLon> I was gooooogling.  I was wondering if you recognized that scheme.
[22:35] <meLon> It's the standard postfix lol.  Everything converted over perfectly
[22:35] <meLon> thanks guntbert
[22:35] <meLon> Next time ./configure make make install vs ./install.sh :D
[22:36] <Lenhix> Hello. How can I install a new locale? dpkg-reconfigure locales just regenerates installed ones.
[22:36] <guntbert> meLon: glad it worked for you :)
[22:36] <meLon> For your time, Lenhix ?
[22:36] <Lenhix> ¿?
[22:37] <guntbert> Lenhix: see https://help.ubuntu.com/community/Locale
[22:37] <Lenhix> thx guntbert
[22:38] <guntbert> Lenhix: you're welcome :-)
[22:40] <skiold> hi, I see references to both 'preseed/url=' and 'url=' as kernel boot parameters to load a remote preseed
[22:41] <skiold> are the two syntax equivalent?