[04:48] <minashokry> hello, does anyone know a way to use ProxyPass to affect only requests coming from a specific subdomain?
[04:49] <Patrickdk> that is what virtual hosts are for
[04:50] <minashokry> Patrickdk, I have ProxyPass inside a virtual host, but it affect all requests even those directed to other virtual hosts
[04:50] <Patrickdk> you did something strange then, it doesn't do that for me at all
[04:51] <Patrickdk> I have it setup for 20 different subdomains, each proxy to a different server
[04:51] <Patrickdk> and then one vhost without any proxy
[04:53] <minashokry> I have it like this http://pastebin.com/6A9iLR2d
[04:54] <Patrickdk> and you have a default vhost?
[04:54] <minashokry> yes
[04:54] <minashokry> but what happens is that when I access any url ending with example.com using https, it get directed to the application running on port 8081
[04:55] <Patrickdk> well, I'm not going be able to help you I guess
[04:55] <Patrickdk> really would have to see full configs, and your only pasting partials
[04:55] <Patrickdk> cause if it matchs more than subdomain.example.com, then something outside the vhost is doing it
[04:56] <minashokry> ok, what else you'd like to see? the default virtual host?
[04:57] <minashokry> when I disable this vhost, everything else goes fine
[04:59] <minashokry> the default vhost I have is the default-ssl file installed with ubuntu, here it how it looks like http://pastebin.com/FS8Pw7QG
[04:59] <Patrickdk> so in other words, you don't have a default vhost
[04:59] <Patrickdk> oh wait
[04:59] <Patrickdk> multible ssl vhosts
[05:00] <minashokry> let's be sure we are speaking the same language, what do you mean with default ssl vhost?
[05:00] <Patrickdk> not sure about that, I never run multible ssl websites on the same ip
[05:00] <Patrickdk> well, you need a default vhost per ip:port combination
[05:01] <Patrickdk> I didn't realise the first one was ssl
[05:01] <minashokry> and how to do that?
[05:01] <Patrickdk> I dunno
[05:01] <Patrickdk> like I said, I don't run multible websites on a single ssl ip
[05:02] <minashokry> hmm... ok, thanks for your time :)
[05:02] <Patrickdk> not sure what all is involved, but the ssl part could be messing it up
[05:02] <Patrickdk> though, that should be easy to test, if you change it to non-ssl
[05:04] <minashokry> I have many other vhosts running smoothly without ssl
[05:04] <minashokry> it looks like an ssl problem
[05:24] <minashokry> Patrickdk, I figured it out, if you are interested I can tell you how
[09:09] <linocisco> hi all
[13:15] <Syria> Hi, I want to execute a command at the startup.... and the command is /usr/bin/VBoxManage startvm "docx" --type headless,, please tell me how to do this.
[13:27] <RoyK> Syria: add it to /etc/rc.local
[13:28] <RoyK> or create a proper init script - see /etc/init.d/skeleton
[13:28] <RoyK> Syria: btw, why do you use virtualbox when kvm probably does that job just as good (or better) and is better supported?
[14:40] <RoyK> http://karlsbakk.net/fun/weather_forecast_december_2012.jpg
[14:53] <ikonia> RoyK: ammusing as it is, please keep it out of the ubuntu channels
[14:55] <RoyK> sorry ;)
[15:23] <SpamapS> ikonia: oh please.
[15:23] <SpamapS> "Amusing has no place in Ubuntu" -- One person, ever
[15:23] <RoyK> SpamapS++
[15:34] <ikonia> SpamapS: its just trying to keep the channel in line with it's function,
[15:34] <ikonia> there is #ubuntu-offtopic which would appreciate such things,
[15:35] <RoyK> well, keeping a channel 100% "professional" doesn't always make people happy
[15:35] <RoyK> it's sunday, relax!
[15:43] <ikonia> no, it doesn't have to be professional, I fully agree, but #ubuntu-offtopic would be more appropriate for a bit of fun
[15:44] <RoyK> ikonia: so long it doesn't flood the already idle channel - what would be the problem?
[15:44] <ikonia> it's not a "problem", but if you do it, then others are allowed to do it, and if they do it others are allowed
[15:44] <ikonia> "why don't you ask Royk to stop, why just me"
[15:44] <ikonia> it's better to just not have that sort of thing, when #ubuntu-offtopic would welcome it
[15:46] <RoyK> well, so far my post of something funny, has generated more traffic on the channel due to your bossing around than others so far today ;)
[15:47] <ikonia> RoyK: I can either explain it to you as you "asked" or you can try to justify it more
[15:48] <ikonia> #ubuntu-offtopic is there for some fun stuff, it would be most appreciated if you could put that sort of post in #ubuntu-offtopic rather than #ubuntu-server
[15:48] <RoyK> not trying to justify anything - just saying that it won't hurt to post some fun into an idle channel
[15:49] <ikonia> RoyK: I've explained why, so please don't do it, you've been asked many times before,
[15:49] <RoyK> no, I have not
[15:49] <ikonia> you've never been asked to not post offtopic stuff ?
[15:49] <RoyK> I have been confronted with "bad language" a couple of times, but no more
[15:50] <ikonia> ok, well, in that case, I'll ask you to be clear now. "please don't post offtopic things in #ubuntu channels, #ubuntu-offtopic is there for friendly/fun stuff
[15:51] <RoyK> just please rest, it's sunday, ok? all you anti-bad-christian-language people must know how to treat a sunday
[16:54] <lwhalen> hey all, I'm trying to drop 12.04 LTS server on an HP Z400 desktop box
[16:54] <lwhalen> but it's not detecting the disk drives
[16:55] <lwhalen> HP lists the box as 'Ubuntu Certified", but the site only explicitly lists 11.04 and 11.10.  Is there something that's changed in 12.04 that would've broken the ability to detect disks?
[16:56] <RoyK> lwhalen: any raid stuff?
[16:56] <lwhalen> I'm POSTing the machine right now to figure that out
[16:57] <lwhalen> (it takes its sweet time to post, aparently)
[17:02] <lwhalen> looks to be just a single-disk Intel ICH7
[17:12] <lwhalen> ah hah
[17:12] <lwhalen> dead drive
[17:12] <lwhalen> FML
[18:07] <YuriRev01> would someone be able to help me with vsftp
[18:07] <RoyK> !ask
[18:09] <YuriRev01> i need help with vsftp i can access it through filezilla but cannot read/write to root
[18:10] <RoyK> you generally don't want to use FTP for access to the root, it uses insecure/cleartext passwords
[18:10] <RoyK> you'd want to use sftp instead, ftp over ssh
[18:11] <YuriRev01> I have php/msql setup the server will be used just for an administration program for a game server i didnt know the best way to do it
[18:12] <escott> YuriRev01, do you have openssh-server installed?
[18:12] <RoyK> filezilla supports sftp
[18:12] <YuriRev01> i can connect through an ssh terminal session
[18:12] <YuriRev01> from my other computer
[18:13] <RoyK> sftp user@host
[18:13] <escott> YuriRev01, so then you already have sftp on the system. just remove vsftpd and use sftp or scp
[18:13] <YuriRev01> what would be the command to uninstall
[18:13] <RoyK> apt-get remove
[18:16] <YuriRev01> by itself?
[18:16] <YuriRev01> im totally new to linux and im not understanding it 100% yet
[18:16] <KM0201> apt-get remove vsftpd
[18:17] <KM0201> or (if you're not root)
[18:17] <KM0201> sudo apt-get remove vsftpd
[18:17] <KM0201> what are you using your server for, if you dont mind me asking?
[18:18] <YuriRev01> the only thing this server will be doing is hosting files to operate a web administration toll for a gameserver
[18:18] <YuriRev01> tool*
[18:18] <KM0201> i see..
[18:19] <YuriRev01> so using ssh what user/pass do i connect with?
[18:20] <escott> YuriRev01, best practice is to use auth keys, but you would ssh your_username@server and use your password
[18:21] <escott> YuriRev01, to generate a key you can: ssh-keygen; ssh-copy-id user@server; ssh user@server. properly configured you will not be asked for a password
[18:21] <YuriRev01> so it would be user@192.168.1.8
[18:22] <KM0201> usually (at least in my experience)... a key is generated automatically..
[18:22] <KM0201> the first time you connect...
[18:22] <escott> KM0201, not the system key. the user id key
[18:22] <YuriRev01> im using filezilla
[18:22] <escott> YuriRev01, yes
[18:22] <KM0201> oh ok, gotcha.
[18:22] <YuriRev01> ok
[18:22] <KM0201> wshy would you not want a password though
[18:23] <escott> KM0201, because passwords are weak compared to auth keys
[18:23] <escott> KM0201, and passwords are inconvenient
[18:23] <KM0201> i dunno.. i guess i'm old school and just stick to the old "uppercase/lowercase and numbers" passwords.
[18:25] <YuriRev01> it says the authenticity of host 192.168.1.8 cant be established ecdsa key fingerprint is (a long line that looks like a mac address)  im guessing i continue from there?
[18:28] <YuriRev01> i comtinued and it states      Warning: permenently added 192.168.1.8 to the list of known hosts   Write failed:broken pipe
[18:29] <escott> YuriRev01, every ssh server has a unique identification number that is supposed to be stored so that when you access that server in the future it can be compared
[18:29] <escott> YuriRev01, protects against MitM attacks
[18:30] <escott> YuriRev01, http://xkcd.com/177/
[18:34] <YuriRev01> ok i connected so any files i want to use should be put in the home directory ?  it denies me access to make a new folder
[18:36] <escott> YuriRev01, not sure why you would have any problems. what are the permissions on the folder
[18:37] <chmuri> hi there
[18:37] <chmuri> some one have maybe direct admin on ubuntu?
[18:37] <YuriRev01> 755 is the numeric value
[18:38] <escott> YuriRev01, and you are the owner of the folder
[18:39] <YuriRev01> well this server sits next to me
[18:39] <YuriRev01> mkdir /hydra: permission denied
[18:40] <YuriRev01> i dont want anyone to have accecc but me
[18:41] <YuriRev01> access*
[18:41] <escott> YuriRev01, thats normal you would not have permissions to make folders on the system root directory
[18:42] <escott> YuriRev01, "mkdir /hydra" != "mkdir hydra"
[18:43] <YuriRev01> mkdir /hydra: no such file or directory
[18:44] <escott> YuriRev01, seems you dont understand the basics of paths and relative vs absolute
[18:44] <YuriRev01> pretty much
[18:44] <YuriRev01> i dont understand much of anything yet
[18:45] <escott> YuriRev01, http://www.physics.utah.edu/~detar/lessons/unix_intro/unix_intro/node2.html
[18:46] <YuriRev01> well i understand that /home/hydra leads to a folder called hydra
[18:46] <escott> YuriRev01, not really true
[18:47] <YuriRev01> would you happen to have teamspeak or ventrilo>
[18:47] <escott> YuriRev01, /home/hydra is /home/hydra. if you were in /home you would see a folder called hydra whose relative path is "hydra" or "./hydra" and whose absolute path is "/home/hydra" or "/home/./hydra"
[18:48] <escott> YuriRev01, when you say "mkdir /hydra" that is saying make a directory inside "/"
[18:48] <escott> YuriRev01, when you say "mkdir hydra" that means make a directory inside the current working directory "."
[18:48] <YuriRev01> ok
[18:51] <YuriRev01> ok ive created the folder
[18:52] <YuriRev01> Now uploading files through filezilla and it denies me again'
[18:53] <YuriRev01> im pretty sure i have write permissions
[18:54] <escott> YuriRev01, other than saying "you did something wrong" i cant say much
[18:54] <escott> YuriRev01, what folder did you create. how did you create it. what are you trying to do in filezilla
[18:54] <YuriRev01> i created a folder called hydra in root
[18:54] <escott> YuriRev01, why would you do that?
[18:54] <YuriRev01> now im trying to upload some files/ folders to it
[18:56] <YuriRev01> im not sure im just trying to get files to the webserver in a folder called hydra
[18:58] <YuriRev01> the files in the folder communicate with mysql
[18:59] <escott> YuriRev01, presumably those files should go in /var/www/hydra or something like that
[19:01] <YuriRev01> ah ok
[19:01] <YuriRev01> so sudo mkdir/var/www/hydra
[19:03] <escott> YuriRev01, sudo mkdir /var/www/hydra; sudo chown www-data:www-data /var/www/hydra; sudo chmod 775 /var/www/hydra; sudo chmod g+s /var/www/hydra; sudo usermod -a -G www-data hydra
[19:06] <YuriRev01> usermod: user hydra does not exist
[19:06] <escott> YuriRev01, you were talking about /home/hydra earlier
[19:08] <YuriRev01> basically the only ftp ive used before is shared hosting and when i was using that i created a folder and uploaded files to that folder and thats what im trying here
[19:08] <YuriRev01> hydra is a folder
[19:08] <YuriRev01> my name im assuming is the user?
[19:09] <escott> YuriRev01, those commands create a folder called hydra in /var/www and make it owned by www-data and set it up so that other files and folders created in that folder will be owned by www-data and make it 775
[19:09] <escott> YuriRev01, the last bit is meant to add your user to the www-data group
[19:10] <YuriRev01> ok
[19:12] <YuriRev01> ok i have the files uploaded now in /var/www/hydra now how would i access it through a web browser?
[19:17] <ikonia> YuriRev01: through a web server
[19:18] <YuriRev01> the files are on a web server
[19:21] <escott> http://www.youtube.com/watch?v=ZkwrIZQDt50
[19:22] <YuriRev01> pretty much lol
[19:22] <escott> YuriRev01, its nearly impossible for us to tell you what to do
[19:22] <escott> you need to pick some kind of software to setup for your webserver
[19:23] <escott> YuriRev01, unless you just want to serve raw directory contents via apache
[19:25] <YuriRev01> Right now i have a shared webhosting account with godaddy but with a shared hosting account i cant open certain ports i need, so i figured i would make my own dedicated box. i pretty much want it set up just like a shared hosting account. its hard to explain typing it out i guess
[19:30] <YuriRev01> http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/
[19:30] <YuriRev01> this is what a used
[19:30] <linuxman> yo
[19:30] <linuxman> when is ubuntu 10.04 server getting discontinued?
[19:31] <ikonia> linuxman: 5 years from release
[19:31] <linuxman> excellent
[19:31] <linuxman> ubuntu 10.04, thats what i like
[19:31] <linuxman> =)
[19:34] <linuxman> ikonia why is ubuntu getting bloated and bloated
[19:34] <escott> YuriRev01, setting up a webserver is easy. setting up a webpage is a bit harder
[19:35] <linuxman> ubuntu 12.04 uses 100 cpu on my laptop
[19:35] <linuxman> ubuntu 10.04 runs best..
[19:35] <patdk-lap> odd
[19:35] <ikonia> linuxman: it's not as far as I'm concerned
[19:35] <patdk-lap> I have no issues with 12.04 on 5 different laptops
[19:35] <ikonia> linuxman: if you find it bloated there are other distros you can choose
[19:35] <escott> YuriRev01, do you want something that looks like this: http://archive.ubuntu.com/ubuntu/pool/main/a/apturl/
[19:36] <YuriRev01> basically it was  www.mywebsite.com/hydra with godaddy and this brought up a control panel
[19:38] <ikonia> YuriRev01: what are you actually trying to do
[19:47] <YuriRev01> administrate a gamer server with a web based rcon control panel
[19:49] <ikonia> YuriRev01: ok - so what's the problem that's blocking you ?
[19:52] <YuriRev01> i have all files on ftp
[19:53] <YuriRev01> in a folder called hydra. accessing the folder called hydra using 192.168.1.8/var/www/hydra should bring up a control panel but does nothing but htp404 not found
[19:54] <ikonia> no, /var/www is the webserver root
[19:54] <ikonia> so http://yourdomain.com/hydra should bring up something
[19:54] <YuriRev01> (:
[19:56] <YuriRev01> ok were in business
[19:57] <ikonia> excellent
[20:15] <YuriRev01> thank you to everyone that helped me much appreciated
[20:15] <ikonia> glad you're working
[20:15] <streulma> hello, does anyone recommend Ubuntu Server for Drupal 7 ?
[20:16] <YuriRev01> 1 more thing i guess lol is there a way to make sure no on e but me can view/edit/upload files to ftp
[20:16] <ikonia> no more/less than any other distro
[20:16] <ikonia> YuriRev01: permissisions
[20:16] <ikonia> permissions
[20:16] <ikonia> not using ftp would also be a good start
[20:17] <streulma> YuriRev01: chmod 700
[20:18] <YuriRev01> can i chmod root so everything is just usable by me?
[20:19] <YuriRev01> its 775 right now
[20:23] <streulma> YuriRev01: chmod -R 700
[20:24] <streulma> YuriRev01: sudo chmod -R 700 folder
[20:29] <ikonia> that's not going to work
[20:29] <ikonia> as the web server will need access rights
[20:33] <stiv2k> wat
[20:44] <streulma> I want to install another OS on my servers that I run privatly and from the work, I don't know what to run. Likely NO CENTOS, but better Ubuntu, I now run Debian. I don't know
[20:49] <blkperl> streulma: thats a statement not a question, choose the OS for the tasks you need it to do, all 3 will probably work fine for general cases
[20:51] <streulma> blkperl: to run postgresql and other gis components, use Ubuntu/Server
[20:53] <streulma> should I run my own mail server or Gmail :)
[20:53] <storrgie> Anyone over here use KVM on their ubuntu-server box?
[20:53] <blkperl> streulma: {apt|yum}.postgresql.org make that really easy, GIS stuff might be newer on Ubuntu
[20:53] <storrgie> streulma: its a philosophical choice...
[20:54] <rbasak> !anyone
[20:54] <blkperl> storrgie: I use kvm via ganetti, whats up?
[20:54] <storrgie> blkperl: I had two questions I asked over in the #kvm channel but it appears to be dead
[20:55] <storrgie> lemme copy and paste really quick, sorry for so much spam:
[20:55] <storrgie> I just manually created a bridge interface 'br0' is there a way to add it via virsh so its listed when I use my virt-manager?
[20:55] <storrgie> I'm also very interested in doing something, I have some virtual machiens that need to talk directly to the host. I would like to do that through a virtual nic if I can (and use NFS) so I don't throw anything out on the network. Is this possible?
[20:55] <escott> YuriRev01, you aren't using ftp. and since you uploaded the files yourself nobody else can upload. the web server is just for viewing
[20:56] <escott> YuriRev01, hopefully you did not run streulma's command because that broke the setup from earlier
[20:56] <YuriRev01> ah ok
[20:56] <YuriRev01> i did not
[20:57] <YuriRev01> how would i let public connect to my webserver if im behind a router
[20:58] <escott> YuriRev01, forward port 80
[21:03] <storrgie> blkperl: have you played with filesystem passthrough?
[21:06] <berndt> Hey everyone, I need some help with my PPTPD not working properly.
[21:07] <berndt> Current issue is: Clients can connect to my server, but once connected they lose internet access
[21:07] <berndt> i.e. they are inside my server but my server won't allow them to connect elsewhere
[21:09] <berndt> log from /etc/log/syslog last connection http://pastebin.com/vzQbTNhr
[21:10] <berndt> My /etc/pptpd.conf http://pastebin.com/3Y5C60cx
[21:10] <anepanal1ptos> berndt: windows users?
[21:10] <berndt> Yes
[21:10] <berndt> the client at least
[21:11] <berndt> but I also tried connecting to the VPN with my phone, which also stopped its internet access
[21:11] <berndt> (android, so running some kind of linux)
[21:11] <anepanal1ptos> yeah i know what you mean
[21:11] <anepanal1ptos> well im not a pro on this, so if anyone knows more jump in
[21:12] <anepanal1ptos> but... what subnet is the pptp's lan interface on?
[21:12] <berndt> I am very new to this
[21:12] <anepanal1ptos> oh no problem with me
[21:12] <berndt> so let me just start by telling you I don't really know how to configure this properly
[21:12] <anepanal1ptos> what kind of IPs do you have on your network?
[21:12] <berndt> oh
[21:13] <berndt> I am using a d-link, so 192.168.0.X
[21:13] <anepanal1ptos> tbh, i have never setup a poptop server, just read about it a bunch of times. i know how to do it in windwos, but that's cheating
[21:13] <anepanal1ptos> ok, what's the ip of the server? (last part)
[21:13] <berndt> 137
[21:14] <anepanal1ptos> and what do you have set as the poptop server ip?
[21:14] <anepanal1ptos> (the "virtual" one)
[21:14] <berndt> try looking at this first, and you'll have a bigger idea http://pastebin.com/3Y5C60cx
[21:14] <berndt> there's my configuration file
[21:14] <anepanal1ptos> :)
[21:14] <anepanal1ptos> hang on let me read
[21:14] <anepanal1ptos> thanks!
[21:14] <anepanal1ptos> hmm ok
[21:14] <anepanal1ptos> seems you have set it up righ
[21:14] <anepanal1ptos> t
[21:16] <berndt> That's what I thought
[21:16] <anepanal1ptos> oh, do you have bridgeutils installed?
[21:16] <anepanal1ptos> open a console and type brctl and push enter
[21:16] <berndt> I don't know... :(
[21:16] <berndt> nope
[21:16] <berndt> I am guessing I need it?
[21:16] <anepanal1ptos> ok hang on let me test this on my ubuntu server
[21:16] <anepanal1ptos> i dont know, im not a pro at this either. just thinking out loud.
[21:26] <YuriRev01> ive forwarded port 80 but noone can connect
[22:05] <zoidberg-> Hey guys, i have a really wierd problem on Ubuntu server (latest 64bit version).  i setup ssh keys, and now when i try logging in i get pubkey access denied errors repeatedly and then all of a sudden it allows me in, check out this: http://codepad.org/XD5lXU6d - It is a vmware guest, running on an vmware esxi host.  Whats even stranger is, when i get the failed ssh attempts, i jump onto the vmware console for that v
[22:05] <zoidberg-> If that question got cut off, please let me know :)
[22:07] <qman__> zoidberg-, my guess, you enabled encryption on your home directory
[22:08] <qman__> which prevents openssh from being able to read your authorized keys file until you log in locally
[22:09] <qman__> there's a workaround by placing the authorized keys file elsewhere, I forget the details but google should find it easily
[22:20] <zoidberg-> ohhh right ok thanks for clearing that up :)
[22:20] <zoidberg-> makes sense
[23:29] <TheLordOfTime> are server ISOs set to automatically LVM by default?
[23:29] <TheLordOfTime> LVM install *