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