[00:12] <pmatulis> dustinspringman: the hints provided didn't yield any useful results?
[00:32] <dustinspringman> pmatulis: Still haven't been able to track it down... I'm thinking its a script running when a client d'conns.. like maybe in the /etc/ppp/if-down (maybe)...
[00:32] <dustinspringman> something is happening only when a user drops.. it causes a process to run and that process will continue forever if allowed..
[09:21] <Pupeno> What would be the appropriate place to define an environment variable system-wide?
[13:12] <arc__> Hello
[13:13] <arc__> i am some problems with apache2 on ubuntu server 12.04 i keep on getting "404 Not Found"
[13:13] <lordievader> o/
[13:13] <lordievader> arc__: What does your apache error log say about that?
[13:14] <arc__> i dont know how to access the logs ("I feel ashamed")
[13:15] <arc__> FYI i can access phpmyadmin
[13:15] <arc__> but i cant see the default index.html page
[13:15] <RoyK> arc__: /var/log/apache2/
[13:16] <RoyK> arc__: the logs are there
[13:16] <RoyK> 404 means the file doesn't exist
[13:16] <arc__> ahh ok ty Roy
[13:16] <lordievader> arc__: You are probably using a vhost that is wrongly configured.
[13:17] <arc__> ok
[13:17] <arc__> i am using a shared ip
[13:17] <arc__> i have a 100 ports
[13:17] <arc__> which logs do you want to see ?
[13:18] <lordievader> arc__: Do you use multiple vhosts?
[13:18] <arc__> no i have just set this up on a vps
[13:18] <lordievader> arc__: Allright, are you getting the 404 on the root of the website?
[13:19] <arc__> wait i found something in the logs
[13:19] <arc__> it says  "File does not exist: /etc/apache2/htdocs"
[13:19] <arc__> does that help ?
[13:20] <arc__> yea its on the root of the site
[13:20] <lordievader> arc__: Does the default site happen to point to that directory?
[13:20] <arc__> i dont think so
[13:21] <lordievader> With default site I mean /etc/apache2/sites-available/000-default.conf
[13:21] <arc__> -bash: cd: /etc/apache2/htdocs/: No such file or directory
[13:21] <lordievader> Does that vhost definition point to a valid document-root?
[13:21] <RoyK> arc__: there shouldn't be any htdocs under /etc/apache2
[13:22] <RoyK> arc__: web data belongs under /var/www somewhere
[13:22] <RoyK> not in /etc
[13:23] <arc__> here is the file http://paste.ubuntu.com/8279932/
[13:23] <arc__> pwd
[13:23] <arc__> wrong window :)
[13:28] <lordievader> arc__: does "grep htdocs /etc/apache2/sites-available" return anything?
[13:28] <arc__> let me try
[13:28] <arc__> nope
[13:30] <lordievader> arc__: How about "grep htdocs /etc/apache2/conf-available"?
[13:30] <arc__>  grep: /etc/apache2/conf-available: No such file or directory
[13:31] <RoyK> lordievader: grep -r
[13:31] <lordievader> Ah, right: grep -r /etc/apache2
[13:33] <arc__> so i need to grep -r ?
[13:34] <lordievader> arc__: Yes: grep -r /etc/apache2
[13:34] <arc__> ok
[13:35] <arc__> its doing something :)
[13:35] <lordievader> Please pastebin the full output from that command.
[13:36] <arc__> kk
[13:37] <arc__> i think its froze or something
[13:37] <arc__> i will give it time
[13:42] <RoyK> arc__: grep -r /etc/apache2 will wait for input - try grep -r htdocs /etc/apache2
[13:42] <RoyK> arc__: just press ctrl+c on that grep thing
[13:43] <arc__> kk
[13:43] <arc__> nope nothing returned
[13:44] <lordievader> Err right, forgot that part. Sorry.
[13:44] <arc__> np
[13:45] <lordievader> Hmm, then I wonder why it errors with /etc/apache2/htdocs. In /var/log/apache2/access.log what does the 404 line read?
[13:45] <arc__> it must be getting that dir from somewhere
[13:45] <arc__> i havent changed anyting expecpt the ports.conf
[13:49] <arc__> why is it trying to goto htdocs
[13:50] <lordievader> arc__: That's what we are trying to figure out ;)
[13:51] <arc__> sorry i am just mind blow aswell :)
[13:51] <arc__> blown*
[13:53] <RoyK> arc__: reinstall - you probably changed something and forgot about it
[13:53] <arc__> i just installed it 10 mins ago
[13:53] <arc__> and i only changed the ports
[13:55] <arc__> i was on debain and the same thing happened so i installed 12.04
[13:55] <arc__> this is as fresh as it gets
[13:56] <lordievader> arc__: I'd still like to see the 404 line from your access log ;)
[13:56] <arc__> the access logs are blank
[13:57] <arc__> there is nothing inside of that log
[13:57] <arc__> is that wired
[13:57] <lordievader> arc__: That is not supposed to be.
[13:57] <arc__> ahh ok
[13:58] <lordievader> arc__: Jup I'm starting to think there is something definitely wrong with your config.
[13:58] <arc__> ok i will install ubuntu 13.10 and you can take me step by step so you know what i have done
[13:59] <lordievader> Why 13.10? Rather install 14.04.
[13:59] <lordievader> 13.10 is EOL.
[13:59] <arc__> there is no choise for it in the vps os menu
[13:59] <arc__> it goes from 9 to 13.10
[14:00] <arc__> i can reinstall 12.04
[14:00] <lordievader> arc__: Hmm... first purge apache2, make sure all the config is gone. And then reinstall apache.
[14:00] <arc__> i have just reinstalled 12.04
[14:00] <arc__> start fresh
[14:03] <arc__> goto wait 2 mins while it installs
[14:03] <zubairahmed> DocumentRoot /var/www/ ??
[14:05] <arc__> ok i have installed a fresh copy of 12.05
[14:05] <arc__> 12.04 :)
[14:06] <arc__> now i need to install apache 2 mysql and phpmyadmin
[14:06] <arc__> can you take me throught this
[14:07] <zubairahmed> use tasksel
[14:07] <zubairahmed> use tasksel arc__
[14:07] <lordievader> arc__: We'll do one at a time: sudo apt-get install apache2
[14:07] <arc__> kk
[14:08] <arc__> k done
[14:08] <arc__> i need to config my ports
[14:09] <lordievader> arc__: Ok, what do you get when you go to the server's ip address?
[14:09] <arc__> i need to change the port first
[14:09] <arc__> as its a shared ip
[14:09] <lordievader> arc__: Don't forget the vhost.
[14:10] <arc__> ok how do i change the ports
[14:11] <lordievader> arc__: Open /etc/apache2/ports.conf and edit what you need.
[14:11] <arc__> ok
[14:11] <lordievader> Then open /etc/apache2/sites-available/000-default.conf to reflect that change.
[14:13] <arc__> dont you mean default.conf not 000-default.conf
[14:13] <lordievader> arc__: Ah, right Precise still has 2.2
[14:13] <lordievader> Yes that's the one.
[14:13] <arc__> kk what do i change here ?
[14:13] <arc__> as i have change the ports in ports.conf
[14:14] <lordievader> arc__: The line "<VirtualHost *:80>"
[14:15] <arc__> ok do i change that to my new port ?
[14:15] <lordievader> arc__: Yes.
[14:15] <arc__> ok
[14:16] <arc__> ok thats done
[14:16] <arc__> do i restart apache2 now ?
[14:16] <lordievader> arc__: Restart apache2 and go to the servers ip.
[14:16] <arc__> kk
[14:16] <arc__> it works ! yay http://starknw.fr:34780/
[14:16] <arc__> thanks lorkievader
[14:17] <arc__> [Sun Sep 07 18:16:22 2014] [warn] NameVirtualHost *:80 has no VirtualHosts
[14:18] <arc__> is that normal ?
[14:18] <lordievader> arc__: Do you have another vhost definition (or is that line present in default.conf)?
[14:19] <arc__> ahh ok i forgot to change it in ports.cinf
[14:19] <arc__> conf*
[14:19] <arc__> i have changed it and restarted apache and i dont get the error
[14:20] <arc__> now how do install phpmyadmin and mysql,  lord ?
[14:21] <lordievader> arc__: Same way ;)
[14:21] <arc__> kk
[14:21] <arc__> lol
[14:37] <_1_Jenning> du
[17:51] <teward_> is there a way to configure ubuntu server to prever v4 over v6 as preferred protocol?
[17:52] <teward_> such that things bind to v4 before they bind to v6?
[21:36] <geb_> part
[21:40] <zermanno> Hi, how do i change the locale on ubuntu server 14.04?
[22:01] <gebassetti> part