[02:44] <max64> if i have an IP address .. can i detect his geographical location percisely?  and how?  thanks
[02:44] <virusuy_> max64: yes, with geoip
[02:45] <jkitchen> I wouldn't call it "precisely" though.
[02:45] <virusuy_> it's a program that you can install from repos
[02:45] <jkitchen> not like you're gonna get his address.
[02:45] <virusuy_> yeah, not 'that' precisely
[02:45] <virusuy_> but at least you'll now the country
[02:45] <virusuy_> or state
[02:48] <jpds> max64: sudo apt-get install geoip-bin; geoiplookup $IP
[02:48] <max64> no other method possible to detect his percise point location?
[02:48] <jpds> max64: What are you trying to do to this poor IP?
[02:49] <max64> i'm trying to learn only no other that it
[02:49] <jpds> Uh-huh.
[02:49] <virusuy_> max64: basically it's really hard to you know that information
[02:50] <max64> :) thats ok
[02:50] <ag763> anyone know why a wireless nic wouldn't start on boot?  its config is in the interface file and 'ifconfig wlan0 up' works fine.  working on setting up an AP
[02:58] <ag763> take it no one has run into anything like that
[03:23] <Matrix3000__> need some help with ldap, i've followed both https://help.ubuntu.com/community/ActiveDirectoryHowto and https://help.ubuntu.com/community/LDAPClientAuthentication?highlight=%28%28OpenLDAPServer%29%29
[03:24] <Matrix3000__> I was able to get ldapsearch to work, but it keeps on saying it couldn't validate the password.
[03:24] <Matrix3000__> I am going up against a windows server 2003 domain controller
[04:01] <bkboggy> hi guys, I'm new to Linux/Servers... I just installed the "server" version of Ubuntu and I'm trying to install Apache 2 package... so I typed in    sudo apt-get install apache2   and got back information about the package and how much space it'll take to install, i confirmed it and then got a list of errors that say in essense that there is a failure resolving 'us.archive.ubuntu.com'
[04:01] <bkboggy> and then a list of failures to fetch archives..... i tried sudo apt-get update and got failures messages as well
[04:01] <bkboggy> any ideas how to fix it?
[04:04] <jpds> bkboggy: Your DNS is broken.
[04:04] <bkboggy> how do i fix it
[04:04] <jpds> bkboggy: Found out when your proper DNS nameservers are, and set them correctly in /etc/network/interfaces
[04:06] <bkboggy> jpds: so, I have the IP address for the DNS servers, I am a bit confused on the setting part... I'm not familiar with linux terminal commands
[04:06] <bkboggy> do i just type /etc/network/interfaces and then type DNS servers... or?
[04:07] <jpds> bkboggy: No.
[04:07] <jpds> bkboggy: You type: sudo nano /etc/network/interfaces
[04:08] <bkboggy> jpds: and then it'll have options for me?
[04:08] <jpds> bkboggy: And somewhere in your interfaces definition, you need a "dns-nameservers IP.ADD.RH.ERE" line somewhere.
[04:09] <bkboggy> oh, so it's like a text file?
[04:09] <bkboggy> *configuration file
[04:09] <jpds> bkboggy: Yes.
[04:09] <bkboggy> i see, thank you very much
[04:09] <bkboggy> i will be right back if i have more problems :)
[04:18] <Matrix3000__> wish someone could be that helpful with ldap auth on a windows server 2003 domain haha libnss-ldap is not being friendly to me
[04:20] <jpds> Matrix3000__: Well, you could always go for something like: https://shop.canonical.com/index.php?cPath=41_39
[04:21] <Matrix3000__> haha, don't need that for a whole server haha
[04:21] <Matrix3000__> already have it working with kerb
[04:21] <Matrix3000__> why waste the money
[04:21] <jpds> Why's it a waste of money if you get an answer from a expert? Anyway.
[04:21] <Matrix3000__> It's not a necessity
[04:22] <Matrix3000> ll
[04:22] <Matrix3000> there we go
[04:23] <Matrix3000> was wondering why I had the _
[06:05] <DenBeiren> i'm planning on building a testing device based on some old (small) hdd's i have lying around,..
[06:05] <DenBeiren> in the future, the hdd's would need to be swapped for bigger ones
[06:06] <DenBeiren> can i put 6 hdd's in software raid, and have boot, root, home and data on lvm's?
[06:06] <DenBeiren> or should i pick one disc for boot, root and swap and have home and data on raid and lvm?
[06:07] <jpds> DenBeiren: It's a test machine, good and try it.
[06:07] <jpds> s/good/go/
[06:07] <DenBeiren> yes, ofc, but is it a good idea to spread boot root and swap over raid and lvm?
[06:10] <jpds> DenBeiren: Everyone will tell you a different answer based on their experience. I don't see why not, you don't want your /boot not to not survive a disk failure.
[06:11] <DenBeiren> uhu
[06:12] <DenBeiren> and are there any tuts out there to migrate to bigger disks? cfr rebuild raid, expand lvm etc
[07:30] <DenBeiren> I've been getting this message for quite a while now,.. should i be worried? *** /dev/mapper/samantha-data will be checked for errors at next reboot ***
[07:30] <DenBeiren> seems like it is never checked
[08:25] <jamespage> Madkiss, around? I'd like to pull ceph-deploy into the pkg-ceph team for Debian if thats OK with you.
[08:32] <Madkiss> jamespage: i haven't touched the package in ages, but sure, please go ahead
[08:34] <jamespage> Madkiss, ta
[08:35] <jamespage> Madkiss, I should have spotted your ITP before I packaged it for Ubuntu - that was my bad :-(
[08:47] <wiehan> Hi. I'm having some issues with my first ubuntu server install with a RAID setup. I have a Asus p8 H77 MLE mobo and it says it supports RAID (It doesn't specify whether it's actual physical or Fake RAID), but nonetheless the problem comes in when I start to setup the ubuntu server. Firstly I am unsure at this screen http://bayimg.com/GaOAHAAeC what to choose. These are some other pics of the RAID config http://bayimg.com/gAOAg
[08:47] <wiehan> aaeC  and  http://bayimg.com/GAoafAAec
[08:51] <wiehan> If I've set RAID at a hardware level, i.e. the mobo, what does it mean when ubuntu server asks me "One or more drives containing Serial ATA RAID configs have been found... Activate Serial ATA RAID devices"?
[08:56] <Madkiss> jamespage: no need to apologize; you were the guy to spend time uselessly ;-)
[08:56] <jamespage> Madkiss, not much tbh
[08:56] <wiehan_> I Need some help with RAID setup in ubuntu server.
[08:59] <wiehan_> What does it mean: "one or more drives containing Serial ATA RAID configs found... activate Serial ATA RAID devices?" I've setup a RAID1 in the mobo, I don't know what to choose at this screen
[09:00] <Madkiss> jamespage: every second is too much. :P
[09:09] <wiehan_> Anyone that can assist with RAID setup? Please.
[09:10] <frojnd> Hm, anyone here OpenVPN server side experienced user? :) Trying to setup up in a way when client is using OpenVPN _ALL_ the data goes through OpenVPN, not just reaching the server...
[09:22] <frojnd> Hm
[09:23] <frojnd> I'm reading this doc: https://help.ubuntu.com/12.04/serverguide/openvpn.html correct me if I'm wrong, but when using Adcanced configuration -> Advanced router VPN configuration on server I should be able to browse the internet with server's ip while using OpenVPN?
[09:23] <frojnd> Instead, I can't even ping 8.8.8.8 but only server with ping 10.8.0.1
[09:27] <mic_> routing?
[09:27] <mic_> tried mtr?
[09:28] <frojnd> mic_: mtr?
[09:28] <mic_> see where it stops.
[09:28] <mic_> apt-cache search mtr
[09:28] <mic_> and then apt-get install mtr
[09:28] <mic_> it's a better traceroute
[09:29] <mic_> and check your routing.
[09:29] <frojnd> ko installed
[09:29] <frojnd> mic_: simple configuration works..
[09:29] <frojnd> https://help.ubuntu.com/12.04/serverguide/openvpn.html#openvpn-simple-server-configuration I can reach server on lan
[09:29] <frojnd> now I'm trying to use internet as well
[09:30] <frojnd> In documentation says: If you want to reach more servers or anything in other networks, push some routes to the clients. DONE: push "route 10.0.0.0 255.0.0.0"
[09:31] <frojnd> And then it further says: If enabled, this directive will configure all clients to redirect their default network gateway through the VPN, causing all IP traffic such as web browsing and and DNS lookups to go through the VPN (the OpenVPN server machine or your central firewall may need to NAT the TUN/TAP interface to the internet in order for this to work properly).
[09:31] <frojnd> mic_: this mtr is X11 package
[09:31] <mic_> it can do x11
[09:31] <mic_> but it's also console.
[09:32] <mic_> so you have two issues - check if you have proper routes
[09:32] <mic_> and then - since these people connect from private addressess - make sure you nat the stuff
[09:33] <frojnd> mic_: 1194 port is opened with ufw
[09:33] <frojnd> on server side
[09:34] <frojnd> oh, btw, you mean I check routes while connected to OpenVPN with client?
[09:35] <mic_> yes.
[09:35] <mic_> and then try also experimenting with your firewall turned on and off
[09:39] <frojnd> Hm.. when mtr 8.8.8.8 while connected to openvpn it gives me nothing
[09:39] <aruna__> when Installing ubuntu server, and RAID 1 setup in Bios, What do I select when it asks me "SATA RAID devices found... activate them?"
[09:40] <mic_> frojnd: then your stuff dies immediately on the machine
[09:40] <mic_> frojnd: check routing & NAT.
[09:41] <DenBeiren> thanks jpds
[09:43] <frojnd> mic_: netstat -rn says: http://sprunge.us/XaJf
[09:43] <DenBeiren> hmm,.. i must be overlooking something in the samba config
[09:43] <frojnd> mic_: don't know exactly what am I looking at in order to find out what might go wrong
[09:43] <DenBeiren> i set up the workgroup, the share and added a sambauser
[09:44] <DenBeiren> anything i am missing? i can't connect to my share :s
[09:44] <frojnd> mic_: where it say ext.e.r.nalIP it's server's IP
[09:45] <mic_> frojnd: try to use ip r l
[09:46] <mic_> frojnd: it shows the route information in a bit friendler mode
[09:46] <mic_> frojnd: and from that it seems yuo have to default gws
[09:46] <mic_> two default gateways.
[09:47] <frojnd> mic_: netstat ip r l ?
[09:47] <mic_> frojnd: ip route list
[09:47] <mic_> ip is a command.
[09:47] <frojnd> ah ok
[09:48] <mic_> frojnd: what I told is pretty much all from the generic bag of pointers - because I am not an OpenVPN expert.
[09:48] <frojnd> mic_: it's ok, I bet you know alot more about networking than me: http://sprunge.us/RdbW
[09:49] <frojnd> and I appreciate your help
[09:50] <frojnd> mic_: this is ip route list while I'm not using OpenVPN on a client: http://sprunge.us/hKjJ
[09:52] <mic_> frojnd: can you ping things in the local network of the VPN server?
[09:53] <frojnd> I can ping from client to server. I can ping 10.8.0.1 (server) from client and I can ping 10.8.0.5 (client) from server
[09:54] <mic_> anything else on that remote network?
[09:54] <frojnd> mic_: jst nginx and gitolite
[09:56] <mic_> frojnd: in terms of machines ;)
[09:56] <mic_> frojnd: did you setup the NAT as the manual was saying?
[09:56] <frojnd> mic_: no :) It's somewhere it data centers..
[09:57] <frojnd> mic_: I've added those commands
[09:57] <frojnd> push "redirect-gateway def1 bypass-dhcp"
[09:57] <frojnd> server 10.8.0.0 255.255.255.0
[09:57] <frojnd> ifconfig-pool-persist ipp.txt
[09:57] <frojnd> push "dhcp-option DNS 10.0.0.2"
[09:57] <frojnd> push "dhcp-option DNS 10.1.0.2"
[09:57] <frojnd> bah.. let me paste it, sorry for multiline
[10:01] <frojnd> mic_: http://sprunge.us/ciDR
[10:02] <frojnd> that's server.conf without empty lines and lines starting with '#'
[10:05] <frojnd> I've explicitly followed rules and red the text so I understood what spesific command means but maybe I missed something
[10:06] <mic_> I am just wondering about that NAT
[10:06] <frojnd> mic_: the only thing I didn't do was: uncomment user nobody, group nogroup
[10:06] <mic_> I am not sure OpenVPN does natting
[10:07] <mic_> and you probably have to use iptables to set it up.
[10:07] <frojnd> mic_: hm can you guide me thrugh? I was using ufw till now :) didn't have much ports to open
[10:08] <mic_> frojnd: I am afraid you have also a bit of reading ahead
[10:09] <mic_> frojnd: ufw, ok. Make sure you read about NAT and its purpose in this case (and how to set it up)
[10:09] <mic_> frojnd: I can tell you that in iptables it's the MASQUERADE and SNAT targets
[10:11] <mic_> frojnd: I am not trying to sound like a condescending bastard, but checking details about that will really pay off
[10:12] <frojnd> mic_: what exactly would I have to do in iptables/ufw
[10:13] <frojnd> probably everythinh that says here in docs? push routes to client
[10:19] <mic_> push routes - one thing
[10:19] <mic_> and you seem to be doing that. Second part
[10:20] <mic_> is to setup the NAT, so that your VPN clients can in fact access the Internet
[10:20] <mic_> and that's necessary, because their addresses are in the 10.0.0.0 network
[10:20] <mic_> right? ;)
[10:22] <frojnd> mic_: yeah, that's how I set it up in server.conf for OpenVPN, but before that there was no "LAN"
[10:34] <frojnd> Maybe I found something relavant: https://wiki.archlinux.org/index.php/OpenVPN#Configure_ufw_for_routing
[11:27] <Ennea> i have a problem: i have no idea where the "nologin" dummy shell is. it's not in /sbin/, as several guides suggest. it's there, though. i just don't know where. running 12.04. any ideas?
[11:28] <ogra_> try /usr/sbin
[11:30] <Ennea> there it is. thanks a bunch. do you have an explanation for why it's there?
[11:32] <ogra_> i think its there since forever in debian/ubuntu ... not sure thugh
[12:04] <indistylo> Folks I had installed Jboss AS 7 Server on ubuntu 12.04 following this link (https://www.digitalocean.com/community/articles/how-to-install-jboss-on-ubuntu-12-10-64bit ), I am having port conflict problem, not able to login at Jboss Admin console. Port 127.0.0.1:8080 tomcat6 is being used and by default Jboss also using localhost. Please suggest how to fix it
[12:05] <indistylo> Folks I had installed Jboss AS 7 Server on ubuntu 12.04 following this link (https://www.digitalocean.com/community/articles/how-to-install-jboss-on-ubuntu-12-10-64bit ), I am having port conflict problem, not able to login at Jboss Admin console. Port 127.0.0.1:8080 tomcat6 is being used and by default Jboss also using localhost. Please suggest how to fix it
[12:07] <pmatulis> ok
[12:07] <pmatulis> ok
[12:26] <indistylo_> Folks I had installed Jboss AS 7 Server on ubuntu 12.04 following this link (https://www.digitalocean.com/community/articles/how-to-install-jboss-on-ubuntu-12-10-64bit ), I am having port conflict problem, not able to login at Jboss Admin console. Port 127.0.0.1:8080 tomcat6 is being used and by default Jboss also using localhost. Please suggest how to fix it
[12:28] <mollerup> indistylo_: change the listening port of one of the services ? your choice.
[12:29] <indistylo_> mollerup, How?
[12:31] <mollerup> cant remember which config file its in, sorry been ages since ive played with either jboss or tomcat
[12:43] <jamespage> indistylo_, try uninstalling tomcat6
[12:43] <indistylo_> jamespage, i need that too for development purpose
[12:44] <jamespage> indistylo_, OK - /etc/tomcat6/server.xml should have the port definitions in it
[12:44] <jamespage> OR
[12:44] <jamespage> you could add an IP alias to the server the run JBoss on the alias
[12:45] <jamespage> indistylo_, I think "-b <IP alias>" should do the trick when starting JBoss
[12:45] <jamespage> you might need to restrict where tomcat6 runs as well
[12:47] <indistylo_> trying to fix it
[12:47] <indistylo_> jamespage, trying to fix it
[13:43] <yolanda> hi, is there any charm that generates some ssh key and passes it into the relationship? i need to do something like that and i'd like to have some sample
[13:45] <jamespage> yolanda, hmm - yes
[13:45] <jamespage> yolanda, I think the nova-cloud-controller and nova-compute charms do that
[13:45] <yolanda> ok, let me take a look
[13:45] <jamespage> to setup live instance migrations over SSH
[13:46] <yolanda> i need that for gerrit-zuul
[14:51] <wiehan> I urgently need some help setting up  software raid on ubuntu server... I have read the guides (most of them are old). I need help with the ubuntu server 12.04 partitioning screen. I am at the stage where I can see SCSI1 (0,0,0) (sda) 3TB and SCSI2 (0,0,0) (sdb) 3TB. My goal is to have a software RAID1 for my home server
[14:53] <xnox> wiehan: https://help.ubuntu.com/lts/serverguide/advanced-installation.html#software-raid
[14:53] <yolanda> jamespage, is ok to setup that ssh keys on the joined hook? i'm finding that sometimes it's correctly grabbing the key, but other times isn't, and exactly with the same process all the time
[14:54] <wiehan> How do I achieve the above?
[14:56] <xnox> wiehan: the guide tells exact steps.
[15:04] <msafi> How can I know if a server have SFTP installed and can listen in on connections?
[15:04] <wiehan> xnox ty, this is the best guide so far
[15:05] <wiehan> xnox, I am having trouble where the Bootable Flag: off can't be changed to on??
[15:11] <wiehan> I can't make a partition bootable in the manual partitioning??
[15:55] <Lcawte> Hi, I have a VPS running 12.04, and I was wondering if I can get some help with ip routes, at the moment I'm using a command everytime the server reboots to add the route (ip route add 10.33.252.0/24 via 10.33.252.76) but I need to add the route into whatever config so its permenant. I read somewhere it is something to do with /etc/network/interfaces, mine is http://pastebin.com/0usYa7WG ... any i
[15:56] <dv81> can i update 13.04 to the next LTS when it comes out?
[15:59] <resno> dv81: sure
[16:01] <patdk-wk> dv81, no
[16:01] <patdk-wk> 13.04 can only be upgraded to 13.10
[16:01] <dv81> patdk-wk: how so?
[16:01] <patdk-wk> 13.10 and 12.04 can be upgraded to 14.04 (likely the next lts)
[16:01] <dv81> right ok, thanks :)
[16:03] <Lcawte> Hmm, I see my client cut the end off my question, it was "any idea how I do that?" :)
[16:03] <resno> patdk-wk: you cant upgrade none lts to lts?
[16:03] <resno> or did i misunderstand the question
[16:03] <patdk-wk> resno sure you can
[16:03] <patdk-wk> you can only upgrade lts -> lts
[16:03] <patdk-wk> or release to release
[16:04] <patdk-wk> not release (skip next) to lts
[16:04] <resno> ah
[16:04] <resno> gotcha
[16:04] <patdk-wk> so 13.10 -> 14.04 ok
[16:04] <patdk-wk> 13.04 -> 14.04, bad
[16:04] <patdk-wk> 13.04 -> 13.10 -> 14.04, ok
[16:04] <resno> ok
[16:04] <resno> i misunderstood the question then
[16:04] <dv81> if my 13.04 gets updated to 13.10, and then to the 14.04 LTS, will the install be the same as an 14.04 LTS install?
[16:05] <patdk-wk> no
[16:05] <dv81> patdk-wk: what's the difference? :)
[16:05] <patdk-wk> dunno, 14.04 isn't out
[16:06] <dv81> i believe when using an LTS release, it only checks for a upgrade to the next LTS?
[16:06] <patdk-wk> but there can be slight differences and compatability and packaging things
[16:06] <patdk-wk> the big one was, for 12.04, grub wsa not updated, but kept the same
[16:06] <ScottK> For all practical purposes it will be the same.  There are sometimes things it safe to do on install, but not on upgrade (migration from grub1 to grub2 is an example), but they are rare.
[16:06] <ScottK> patdk-wk: Yes, because there's no sane way to do it.
[16:07] <patdk-wk> yes, so it won't be the same, but should be functionally equiv and 99% the same
[16:07] <patdk-wk> but this is why people spend time to create *release notes*
[16:07] <patdk-wk> why do people not read these things?
[16:07] <dv81> patdk-wk: i am now :)
[16:08] <patdk-wk> well, 14.04 doesn't exist, so alittle hard to do that now :)
[16:08] <dv81> so for a production server, i should really be using 12.04 and only be updating to the next LTS?
[16:08] <patdk-wk> that is up to you
[16:08] <dv81> i refer to 14.04 just as the next LTS :)
[16:08] <patdk-wk> lts is good for 5 years
[16:08] <patdk-wk> non-lts is 18months
[16:09] <patdk-wk> how long do you want your server to function, without changes?
[16:09] <resno> patdk-wk: how long do you stay on a version before jumping to the next?
[16:09] <patdk-wk> resno, till, I prove the next version is stable
[16:09] <patdk-wk> it took me 8months to get my issues with 12.04 solved
[16:09] <patdk-wk> it took me a year to then upgrade everything
[16:10] <resno> you have more then 50 servers?
[16:10] <ScottK> Actually non-LTS is 9 months now (starting with 13.10)
[16:10] <resno> im curious what stablity issues occur from version to version
[16:11] <patdk-wk> resno, I start my testing long before release
[16:12] <patdk-wk> resno, only like 40 or so linux servers at the moment
[16:12] <patdk-wk> breaking 370 windows servers
[16:13] <resno> patdk-wk: you moving from one to oter, or just as needed b clients?
[16:13] <patdk-wk> heh?
[16:14] <resno> are you dumping linux in favor of windows? or do your numbers represent client needs/requests
[16:15] <patdk-wk> neither
[17:06] <wiehan_> hi
[17:09] <wiehan_> I really need assistance with Ubuntu Server software Raid setup. The following two guides https://help.ubuntu.com/lts/serverguide/advanced-installation.html#software-raid http://www.howtoforge.com/how-to-install-ubuntu8.04-with-software-raid1 has reference
[17:09] <wiehan_> Both are outdated. And Both Fails.
[17:10] <xnox> wiehan_: define outdated? server guides are published for each ubuntu release and are up to date.
[17:11] <wiehan_> I cannot get a Grub2 bootloader 2 install with the ubuntu server installation promtps. It fails every time. I have tried to leave a bios-boot-partition. I have tried leaving a separate /boot on one drive, I have tried making a RAID boot partition. But nothing works. The guides are outdated. There are parts in the guides that says" Make this partition bootable, but unfortunately the installer doesn't allow that on occasions
[17:11] <wiehan_> where you select use as raid-volume
[17:11] <xnox> wiehan_: starting from https://help.ubuntu.com/ pick your version, and select appropriate server guide.
[17:11] <wiehan_> I am using ubuntu 12.04 server
[17:12] <xnox> wiehan_: "marking partition as bootable" is not necessary at all (grub doesn't need it)
[17:12] <mollerup> wiehan_: which format did you choose on the partition table ?
[17:13] <wiehan_> xnox ok, but the GRUB installer still fails, every time
[17:13] <xnox> wiehan_: it's best to leave off the beginning of the partition (e.g. 4MB) such that grub for sure has enough space in the beginning to install its bootcode.
[17:13] <xnox> wiehan_: swithc to TTY4 and tell us what the errors from grub are?
[17:15] <wiehan_> xnox, I will leave a 10mb partition for Grub and try that too. But this solution offers its own problems, i.e. GRUB won't be mirrored like the other data - what's the point of having a RAID 1? Secondly, what filesystem and what mount point should be selected for this 4 (or 10mb) partition
[17:16] <xnox> wiehan_: you should install grub on to both drives, into mbr. E.g. /dev/sda and /dev/sdb. Your /boot should be on the raid device and thus also mirrored on both drives.
[17:17] <xnox> wiehan_: one only ever boots from one mbr, thus the fallback here is, that you can boot from either of the drives.
[17:17] <xnox> (if one of the drive happens to fail for example)
[17:18] <wiehan_> xnox, ok, So I should then create 3 partitions on each drive and software RAID them together. The new one being /boot.
[17:18] <wiehan_> xnox, I am doing what you said now (I believe that I have tried exactly this earlier today - and it failed)
[17:19] <wiehan_> xnox for creating the 3 Partitions Swap, / , /boot I am following this guide: https://help.ubuntu.com/12.04/serverguide/advanced-installation.html verbatim
[17:19] <wiehan_> xnox I have two 3tb seagate drives just btw
[17:20] <xnox> 3 partitions on each drive, creating 3 raid1 devices (one for each of the partitions) ?
[17:20] <xnox> and it should be "_____ /boot, /, swap" since one should have /boot earlish on the disk (physically)
[17:21] <wiehan_> xnox will 15mb for /boot suffice? And what does "______ /boot" imply
[17:21] <xnox> wiehan_: no, 15mb is not enough. a single kernel is 50MB ....
[17:22] <xnox> (with extra & optional modules)
[17:22] <xnox> wiehan_: 300 MB is default, but I tend to use 500 MB for /boot
[17:22] <wiehan_> xnox I will make /boot 500mb
[17:22] <xnox> wiehan_: and ext2 without journal for /boot, otherwise you loose space for nothing.
[17:23] <wiehan_> so on both drives I first make the three partitions and select use as "physical volume for RAID"
[17:23] <mollerup> grub2 probably wont install because of the GPT partition table and lack of a partition marked with bios_grub: on
[17:23] <wiehan_> or for /boot must I select ext2 straight away?
[17:24] <wiehan_> mollerup, I have briefly seen a similar explanation somewhere else, could you please adumbrate ;)
[17:25] <mollerup> http://velenux.wordpress.com/2012/07/12/grub-failing-to-install-on-debianubuntu-with-gpt-partitions/
[17:25] <mollerup> i have experienced that when setting up partitions manually
[17:27] <wiehan_> mollerup, Ok so what you are saying is install it, and let it fail, continue without grub, but how do you install this if you can't boot into anything?
[17:28] <mollerup> and you could always just install default on a single disk and convert to raid1 after with this: http://raider.sourceforge.net/
[17:30] <mollerup> livecd can fix the missing grub after install, but you could just setup the partitions correctly from the beginning.
[17:30] <wiehan_> mollerup, I can't believe that one cannot install a software RAID 1 by default and that you have to use something like RAIDR
[17:31] <mollerup> I must confess ive never done md-raid on any setups, never had to.
[17:31] <wiehan_> mollerup, if you're willing to assist, I would like to do it right from the installer
[17:32] <mollerup> wiehan_: you should be able to get it from the beginning, if you get the partition-table right.. that is a different problem, unrelated to md-raid
[17:36] <wiehan_> mollerup, http://bayimg.com/KAOCNaAEC does this look right thus far?
[17:36] <wiehan_> Now going into the "Configure Software RAID screen"
[17:36] <xnox> mollerup: grub2 can handle gpt, and it really does not care about partitions marked for anything.
[17:37] <wiehan_> xnox can you have a look at that link and see whether it looks good up to this point.. I've literally been pulling my hair out this whole day about this
[17:40] <xnox> wiehan_: yeah, looks ok.
[17:43] <wiehan_> xnox and mollerup now after the software RAID config it looks like: http://bayimg.com/mAoCgaaEc
[17:44] <wiehan_> xnox and mollerup still on the right track?
[17:45] <mollerup> wiehan_: looks ok, partition-wise
[17:47] <mollerup> xnox: yes grub2 works fine on GPT if you set up partitions correctly, if you dont have the free space and boot_grub you will get the error in the blog that I linked earlier, been there done that ...
[17:51] <wiehan_> mollerup, xnox here are the crucial partitioning specifics, is this all correct? http://bayimg.com/MaOcMaaec
[17:53] <mollerup> looks ok to me
[17:54] <msafi> How do I specify the initial path for the user when he logs in with sFTP? (I want to give him root access)
[17:55] <wiehan_> When it ask: Do you want to boot your system if your RAID becomes degrade? What do I choose?
[17:55] <mollerup> wiehan_: yes, else it wont boot if one of the disks are missing ...
[17:57] <mollerup> msafi: define root access ? normal user with / as his homedir ? or real root with access all areas ?
[17:58] <msafi> mollerup, normal user with / as his homedir :)
[17:59] <mollerup> msafi: then just set that as the users homedir with usermod
[18:02] <msafi> mollerup, I get "sftpuser is currently used by process 7420" Do you kow why that is?
[18:06] <mollerup> msafi: is the user logged in ?
[18:06] <msafi> mollerup, Maybe he was. I killed the process and it sorta shutdown the whole thing. I restarted and set the directory like you told me! :D
[18:12] <wiehan_> mollerup, xnox all went well, grub2 said it installed without a hitch but now When I rebooted: Black screen: Reboot and select proper Boot device or Insert Boot Media in Selected Boot device and press a key... dope!!!!
[19:36] <a|3x> hi
[19:36] <a|3x> i am having issues mounting encrypted volume
[19:37] <a|3x> i am 100% sure the password is right, i've used it before
[19:37] <a|3x> i've set it up to mount at boot with /etc/crypttab
[19:37] <a|3x> it tells me this error when i enter the password:
[19:38] <a|3x> modprobe: FATAL: Error inserting padlock_sha (/lib/modules/2.6.32-38-server/kernel/drivers/crypto/padlock-sha.ko): No such device
[19:39] <a|3x> if i enter the password again, it doesn't show me this error any more
[19:40] <a|3x> my system partition is unencrypted and i can boot if i skip, but after boot, i can't mount it either
[19:41] <sarnold> a|3x: do you have the corresponding VIA hardware for the packlock-sha?
[19:41] <a|3x> its a virtual machine running on vmware esxi 5 / vsphere
[19:42] <a|3x> this used to work a few months ago :(
[19:42] <a|3x> when i last booted it
[19:43] <sarnold> a|3x: eh, perhaps something just modprobes everything that says it can do sha sums.. does lsmod show anything that looks like it might also provide sha family of hashes?
[19:44] <a|3x> also, one time i tried to mount from terminal after booting, it told me 'device is busy'
[19:47] <a|3x> lsmod: http://pastebin.com/YQWXQhRE
[19:47] <sarnold> a|3x: woo, sha256_generic. I think that first error message about padlock is not a problem in your environment.
[19:48] <a|3x> its fatal
[19:48] <a|3x> not a warning
[19:48] <sarnold> a|3x: it is fatal to that specific invocation of modprobe, yes, but I don't think it is fatal to the larger operation
[19:49] <a|3x> then why doesn't my password work