[00:08] <capitaninsaneoh> Is it possible to use and encrypted home directory with apache?
[00:09] <patdk-lap> sure if your logged in
[00:12] <capitaninsaneoh> what if I have a web app I have to sudo to root for?
[00:12] <capitaninsaneoh> and use tmux
[00:12] <capitaninsaneoh> wouldn't Tmux keep me logged in?
[00:17] <capitaninsaneoh> Doesn't tmux allow me to do that?
[00:17] <capitaninsaneoh> Or am I confused?
[06:00] <kennett> I'm trying to install Ubuntu Server using a USB drive but it says it can't mount CD image.
[06:21] <mysteriousdarren> kennett: details?
[06:27] <theguywithanaxe> Hello everyone
[06:29] <mysteriousdarren> Kentos: figuring things out?
[06:29] <theguywithanaxe> yeah, i pulled the drives out, cleared the OS HDDs and got through the install
[06:30] <theguywithanaxe> now im wondering if i can (after setting up a mirror raid for the OS drive) create post install another raid with my remaining 4 drives
[06:31] <theguywithanaxe> not sure how that would exactly work, but i want to use them for data storage
[06:36] <theguywithanaxe> i know the 4 drives i want to make a new raid for are on a seperate card, should be an md0 and a md1 if load in the drives again correct? or is the mdadm arrays only shown if configured already in a raid set-up?
[06:36] <theguywithanaxe> through the instalation that is
[06:38] <theguywithanaxe> odd, im using my alt username lol
[06:38] <Kentos> oh
[06:39] <Kentos> logged in twice lol
[06:42] <Kentos> did kennet figure it out?
[07:37] <Gargoyle> Is there a recommended / standard place to put "route add" commands for upstart (12.04)? Is rc.local still a good place?
[07:48] <lifeless> Gargoyle: generally in the ifup for the interface
[07:50] <Kentos> i can check the manual quick, i thought i saw something in there about routing
[07:51] <Kentos> static or dynamic routing?
[07:51] <Gargoyle> static.
[07:52] <Gargoyle> Node has two interfaces eth0 = iternet, eth1 = LAN. Routes are for LAN traffic
[07:53] <Gargoyle> the scripts in /etc/network/if-up.d look a bit mental, I might just stick with rc.local! :)
[07:56] <lifeless> Gargoyle: in interfaces, post-up ip route add foo via ar
[07:56] <lifeless> Gargoyle: don't need a separate script
[07:57] <Kentos> hmm, i don't see much info on the configuration of the IP routing. It does have some info on the ethtool program
[07:58] <Kentos> and how to route to a gatewal, and a little on Kernal IP routing tables
[07:58] <Kentos> gateway**
[07:58] <Kentos> are you using a seperate router for the lan?
[07:59] <Gargoyle> Kentos: Yes. The servers need to know the route to the other nets is via a second firewall / vpn endpoint. Not the default gw.
[07:59] <Gargoyle> thanks lifeless
[08:00] <lifeless> Gargoyle: man interfaces FWIW
[08:00] <lifeless> Gargoyle: you can do a script in network/if-up.d if you want
[08:00] <Gargoyle> lifeless: I keep forgetting that most config files have a man page!
[08:01] <lifeless> Gargoyle: just need to check for $IFACE at the top of each script.
[08:01] <Kentos> yeah, i found a nother way to do it, not sure if its as viable, but if its working via lifeless suggestion sounds like your set to go
[08:07] <Kentos> hmmm, reading up on networking =P interesting to note though it almost sounds like your bridging two network segments and then filtering from one to the other with a firewall
[08:07] <Kentos> almost sounds like something i would want to do for security reasons
[08:07] <Kentos> @Gargoyle of course
[08:08] <Gargoyle> Kentos: Yes. the firewalls are establishing IPSec VPN connections
[08:09] <Gargoyle> so from home I can just connect to 192.168.100.105, for example.
[08:09] <Gargoyle> On the internet side, everything is blocked except http and IPSec.
[08:09] <Kentos> I was also wondering, I have two hdd controllers, and I believe they both can be set up for a raid with 4 drives each, I unplugged the bottom array while figuring out how to get the installer to run properly, I then set up a mirror (RAID1) on two drives
[08:10] <Kentos> I was wondering, since ive already installed the OS, could i still go back now, with the 4 otehr drives plugged into the bottom controller and set up a raid for data storage?
[08:11] <Gargoyle> Kentos: Don't see why not. You can just mount it somewhere on the filesystem
[08:12] <Kentos> mount through mdadm?
[08:12] <Kentos> im just wondering how I go about this, I havent foudn any documentation on it
[08:13] <Gargoyle> err. Been a while since I did it, but IIRC, mdadm is used to create the RAID. then you would use normal mount. eg mount /dev/mdc1 /mnt/secondary_raid_storage
[08:17] <Kentos> alright, so i just have to create the RAID and then mount as a filesystem. Ill check out what i got on info and plow through it tonight
[08:18] <Gargoyle> Kentos: You create the RAID, and then you'll have a new block device like /dev/md??
[08:19] <Gargoyle> then you use that like you would any other disk. Create your filesystem, mount it, etc.
[08:20] <Kentos> yeah im pretty sure thats how it will go, md0 is already configured etc. so md1 would be the next raid array if set up i believe, basically acting as the software raid controller
[08:21] <Kentos> anyone familiar with website based data storage, like setting up upload/download options?
[08:22] <Kentos> im not sure if i have to use an FTP type set up, I'd rather have it handled over a webpage in the future
[08:22] <Gargoyle> Kentos: You mean just uploading via a page in the website (using PHP or something) ?
[08:23] <Kentos> yeah, i wasnt sure if it was a php thing or not, ussually looks like standard html buttons on websites, but if i can go with php. Learning to set something basic up to start
[08:23] <Gargoyle> Kentos: Or do you mean for updating your actual website html files?
[08:24] <Kentos> no no, I can update files well enough with webmin
[08:24] <Kentos> looking to have someone able to register and activate an account, and then proceed to log in and have an upload/download option
[08:25] <Kentos> with some sort of designated disk space
[08:55] <liam> Hi, what do you usually install on a ubuntu server? apache/nginx, mysql/postgres, chef, git, htop, memcached, newrelic, ntp, openssl, php/ruby/rvm/python, postfix/exim, god/monit/bluepill, nagios, haproxy, imagemagick, unicorn/mongrel/passenger....what am I forgetting? :-)
[08:56] <Kentos> what are you trying to do with it?
[08:56] <Kentos> im not all that knowledgable, don't recognize some of those packages
[09:00] <liam> Kentos: I need to configure 2 machines (with failover) for a rails application
[09:02] <Kentos> thats bigger then what i've done/am doing
[09:02] <liam> :)
[09:03] <Kentos> trying to set up an old tower server currently, rail application i have no experience with
[09:04] <liam> for rails sw i'm pretty confident, I'm not sure what extra software should I use, for example fail2ban, rkhunter, and others I probably don't know
[13:21] <manu91> hello
[13:21] <manu91> !list
[14:43] <decci> Any idea about migrate from internal samba authentication to LDAP authentication keeping the same functionalities.
[14:43] <decci> Currently there is a working Samba domain controller. On this server we have the samba domain controller as well as a file server with different shares for each user including profiles. The PCs are connecting with Windows Roaming Profiles. The two servers are up and running
[14:43] <Psi-Jack> decci: Migrate?
[14:44] <Psi-Jack> As in, keeping current database that's in use now, and migrate that into your LDAP store?
[14:45] <decci> Psi-Jack: Let me explain : Currently there is a working Samba domain controller. On this server we have the samba domain controller as well as a file server with different shares for each user including profiles. The PCs are connecting with Windows Roaming Profiles. The two servers are up and running.
[14:45] <decci> Psi-Jack: Integrate the existing, working (and in use!) Samba domain controller and file server with a new LDAP server. To summarize, the aim is to migrate from internal samba authentication to LDAP authentication keeping the same functionalities.
[14:46] <Psi-Jack> Okay, so yeah, you want to convert tdbsam to ldapsam.
[14:47] <Psi-Jack> Have you already imported all your user accounts into LDAP and just needing the Samba information?
[14:48] <decci> Psi-Jack: No..I need to do that too..
[14:48] <decci> Psi-Jack: Where shall I start...I did long time importing NIS users to OpenLDAP and 389 DS
[14:48] <Psi-Jack> you need to do that first, then you can do the pdbedit -i tdbsam -e ldapsam migration. :)
[14:49] <decci> Psi-Jack: But new to this case
[14:50] <decci> Psi-Jack: I am aware of PADL Migration tools though
[14:50] <decci> PADL migration tools is used to migrate the  POSIX accounts to LDAP but what about Samba to LDAP?
[14:51] <Psi-Jack> pdbedit, as I said.
[14:51] <decci> Psi-Jack: This is my smb.conf http://pastebin.com/uZkZwt1R
[14:52] <decci> Psi-Jack: Okie...so pdbedit will migrate my samba users to LDAP, then?
[14:53] <decci> Psi-Jack: What further configuration do I need and how much complicated it looks for setting up whole authentication through LDAP
[14:54] <decci> Psi-Jack: There are lots of windows related share and configuration as seen in http://pastebin.com/uZkZwt1R
[14:54] <decci> Psi-Jack:  we have the samba domain controller as well as a file server with different shares for each user including profiles. The PCs are connecting with Windows Roaming Profiles.
[14:55] <decci> Psi-Jack: Will it be a complicated?
[14:56] <Psi-Jack> decci: The only thing you're changing is where the samba user account information is stored, nothing else.
[14:56] <decci> Psi-Jack: Okie
[14:56] <Psi-Jack> And to configure samba to use ldap instead of tdb
[14:57] <Psi-Jack> Your LDAP setup will depend on what you use for an LDAP server. Personally, I'd recommend you use OpenDJ for an LDAP server since it has a lot of power behind it, and it can even keep your passwords automatically synchronized between samba's unique format, and passwd accounts.
[18:52] <orated> Hello! I've completed Ubuntu 12.04 server
[18:53] <orated> installation, I'd like to know how can I change it to Ubuntu desktop. Will ubuntu-desktop and X packages help?
[18:56] <orated> I know Ubuntu server does not have a GUI by default. I just would like to know if installed *-desktop package can give gui or is there anything else to do. I completed ubuntu-desktop package installation but I still see tty7 blank and booting to tty1
[18:58] <patdk-lap> nope, that is all
[19:00] <orated> patdk-lap: Its not working for me
[19:01] <tim-ct> hi all. I have set up my first set of iptables on 12.04. Please can someone look at to see if i have not screwed them up http://pastebin.com/UGUqH9DE
[19:01] <patdk-lap> I dunno what, not working for me, means
[19:01] <patdk-lap> atleast I have never heard of that error message before
[19:02] <orated> patdk-lap: I completed ubuntu-desktop package installation but I still see tty7 blank and booting to tty1
[19:25] <Troy^> hmm trying to test the upload speed on my ubuntu server but i have nothing to test it with outside network
[19:25] <mp_> hi all
[19:27] <mp_> is it possible to install the kvm host on a usb drive while the guest oses are installed on the hdd raid?
[19:28] <patdk-lap> sure, even possible to have it installed for pxe boot :)
[19:29] <mp_> will i have performance problems with such a setup?
[20:06] <LinuxAdmin> hi guys, I'm getting problems with Ubuntu Server 12.04 installation
[20:07] <LinuxAdmin> I can install everything without problems, but after update the system I cannot boot
[20:07] <LinuxAdmin> grub cannot recognize my disks
[20:08] <LinuxAdmin> I'm already reading some articles I think will solve the issue but I'm wondering why such a thing happens on a server flavor
[20:09] <LinuxAdmin> have someone experienced this before?
[20:09] <ikonia> define doesn't recognise disks, where does it not see the, what's the error ?
[20:10] <LinuxAdmin> when the system boots it goes to grub rescue command line
[20:11] <LinuxAdmin> I foot to say that I have raid configured
[20:11] <LinuxAdmin> my boot disk should be md0
[20:11] <Troy^> hmm probablly configure it wrong? this is a fresh install right?
[20:11] <ikonia> software raid, hardware raid, fakeraid ?
[20:11] <Troy^> mdadm i assume
[20:12] <ikonia> well, it's easy to let him answer
[20:12] <Troy^> lol right
[20:12] <LinuxAdmin> right Troy, the system installs correctly, I restart it after the installation and everything goes fine, but after some updates the system do not boot anymore
[20:12] <ikonia> software raid, hardware raid, fakeraid ?
[20:12] <LinuxAdmin> mdadm, yes Troy
[20:13] <ikonia> are you using an mdadm.conf ?
[20:13] <Troy^> so your at the grub rescue?
[20:14] <LinuxAdmin> I suppose mdadm uses it by default
[20:14] <ikonia> no, it doesn't
[20:14] <LinuxAdmin> I have not watch it yet
[20:15] <Troy^> type ls in grub rescue does your md0 come up?
[20:15] <LinuxAdmin> I installed ubuntu server before, with software raid and it used mdadm.conf, that's why I'm supposing it is configured by default
[20:16] <xnox> if there is no mdadm.conf, update-initramfs -u will create one in the initramfs
[20:16] <LinuxAdmin> I'm reading an article that advice editing mdadm.conf, do you think this can solve the problem?
[20:17] <LinuxAdmin> I'm considering editing mdadm.conf with a live cd and then restart the server
[20:17] <Troy^> http://paste.ubuntu.com/1195363/ this is what mine looks like 2x hard drives (Raid 1)
[20:18] <Troy^> I don't really know much but i know mine works lol, i can see the two drives in the array
[20:19] <LinuxAdmin> as I said I already installed an ubuntu server 10.04 with software raid and it has an mdadm.conf with the corresponding partitions configured
[20:19] <LinuxAdmin> it is pretty much the same of yours
[20:20] <Troy^> 10.04?
[20:20] <LinuxAdmin> I will check with a live cd what it looks like, if the raid is configured or if something was touched with updates
[20:21] <Troy^> LinuxAdmin: did you do a dist-upgrade?
[20:21] <LinuxAdmin> Troy, this happened on a 11.04
[20:21] <Troy^> a dist-upgrade might definietly break something like that
[20:22] <LinuxAdmin> no Try, I installed it from a cd, after the installation I restart the system and everything was fine, but after some automatic updates, the system could not boot any more
[20:23] <Troy^> hmm ok
[20:23] <LinuxAdmin> I'm talking about 10.4 because I installed a 10.04 before with software raid and it created automatically mdadm.conf file
[20:25] <Troy^> oh ok
[20:25] <LinuxAdmin> Troy, o you think if I edit mdadm.conf with a live cd and configure the correct partitions and raid arrays, should it boots normally?
[20:25] <Troy^> i would also check your grub config too
[20:25] <LinuxAdmin> ok
[20:25] <Troy^> make sure it's boot from the right partition
[20:27] <LinuxAdmin> ok it's what I'll check tomorrow
[20:27] <LinuxAdmin> thanks for the advice
[21:20] <Yippy_Tor> new to linux/ubuntu server here: sorry if this is a stupid question:  When I start a process on then command line...How do I get it to drop back to command line and not stay in the running process?
[22:09] <Kentos> interesting, if i configure a hardware Raid, and have two configurations, they will show up in ubuntu as two sperate HDD's correct? but they will be of the hardware configuration
[22:10] <patdk-lap> yep
[22:10] <Kentos> that is the better option to go with correct?
[22:10] <patdk-lap> heh?
[22:10] <patdk-lap> you didin't give options, how can I compare?
[22:11] <Kentos> as opposed to leaving them unconfigured as scsi drives and installing them via a software raid through ubuntu installation
[22:11] <patdk-lap> that all depends on your plans
[22:11] <patdk-lap> do you want to make use of the raid card features and benifits?
[22:11] <Kentos> Have no idea what those are
[22:12] <patdk-lap> do you perfer to do it yourself? or use mdadm instead? for better compatability if you need to change a failed raid card
[22:13] <Kentos> I want whatever is going to produce the least issues, but more importantly be configurable to set up online data storage
[22:14] <Kentos> im fairly sure if i go with the hardware it will simplify the installation and drive acess as it will be considered one HDD for each array
[22:14] <Kentos> essentially
[22:16] <Kentos> however the RAID setup for hardware Im not entirely familiar with, logical drives etc. it seems like its a bit more of a task wtih nothing here to really help me aka like a manual for the raid cards