/srv/irclogs.ubuntu.com/2014/09/07/#ubuntu-server.txt

pmatulisdustinspringman: the hints provided didn't yield any useful results?00:12
dustinspringmanpmatulis: 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
dustinspringmansomething is happening only when a user drops.. it causes a process to run and that process will continue forever if allowed..00:32
=== peter is now known as Guest94105
=== esde is now known as Guest87023
=== a1berto_ is now known as a1berto
PupenoWhat would be the appropriate place to define an environment variable system-wide?09:21
arc__Hello13:12
arc__i am some problems with apache2 on ubuntu server 12.04 i keep on getting "404 Not Found"13:13
lordievadero/13:13
lordievaderarc__: What does your apache error log say about that?13:13
arc__i dont know how to access the logs ("I feel ashamed")13:14
arc__FYI i can access phpmyadmin13:15
arc__but i cant see the default index.html page13:15
RoyKarc__: /var/log/apache2/13:15
RoyKarc__: the logs are there13:16
RoyK404 means the file doesn't exist13:16
arc__ahh ok ty Roy13:16
lordievaderarc__: You are probably using a vhost that is wrongly configured.13:16
arc__ok13:17
arc__i am using a shared ip13:17
arc__i have a 100 ports13:17
arc__which logs do you want to see ?13:17
lordievaderarc__: Do you use multiple vhosts?13:18
arc__no i have just set this up on a vps13:18
lordievaderarc__: Allright, are you getting the 404 on the root of the website?13:18
arc__wait i found something in the logs13:19
arc__it says  "File does not exist: /etc/apache2/htdocs"13:19
arc__does that help ?13:19
arc__yea its on the root of the site13:20
lordievaderarc__: Does the default site happen to point to that directory?13:20
arc__i dont think so13:20
lordievaderWith default site I mean /etc/apache2/sites-available/000-default.conf13:21
arc__-bash: cd: /etc/apache2/htdocs/: No such file or directory13:21
lordievaderDoes that vhost definition point to a valid document-root?13:21
=== Pupeno_ is now known as Pupeno
RoyKarc__: there shouldn't be any htdocs under /etc/apache213:21
RoyKarc__: web data belongs under /var/www somewhere13:22
RoyKnot in /etc13:22
arc__here is the file http://paste.ubuntu.com/8279932/13:23
arc__pwd13:23
arc__wrong window :)13:23
lordievaderarc__: does "grep htdocs /etc/apache2/sites-available" return anything?13:28
arc__let me try13:28
arc__nope13:28
lordievaderarc__: How about "grep htdocs /etc/apache2/conf-available"?13:30
arc__ grep: /etc/apache2/conf-available: No such file or directory13:30
RoyKlordievader: grep -r13:31
lordievaderAh, right: grep -r /etc/apache213:31
arc__so i need to grep -r ?13:33
lordievaderarc__: Yes: grep -r /etc/apache213:34
arc__ok13:34
arc__its doing something :)13:35
lordievaderPlease pastebin the full output from that command.13:35
arc__kk13:36
arc__i think its froze or something13:37
arc__i will give it time13:37
RoyKarc__: grep -r /etc/apache2 will wait for input - try grep -r htdocs /etc/apache213:42
RoyKarc__: just press ctrl+c on that grep thing13:42
arc__kk13:43
arc__nope nothing returned13:43
lordievaderErr right, forgot that part. Sorry.13:44
arc__np13:44
lordievaderHmm, 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 somewhere13:45
arc__i havent changed anyting expecpt the ports.conf13:45
arc__why is it trying to goto htdocs13:49
lordievaderarc__: That's what we are trying to figure out ;)13:50
arc__sorry i am just mind blow aswell :)13:51
arc__blown*13:51
RoyKarc__: reinstall - you probably changed something and forgot about it13:53
arc__i just installed it 10 mins ago13:53
arc__and i only changed the ports13:53
arc__i was on debain and the same thing happened so i installed 12.0413:55
arc__this is as fresh as it gets13:55
lordievaderarc__: I'd still like to see the 404 line from your access log ;)13:56
arc__the access logs are blank13:56
arc__there is nothing inside of that log13:57
arc__is that wired13:57
lordievaderarc__: That is not supposed to be.13:57
arc__ahh ok13:57
lordievaderarc__: 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 done13:58
lordievaderWhy 13.10? Rather install 14.04.13:59
lordievader13.10 is EOL.13:59
arc__there is no choise for it in the vps os menu13:59
arc__it goes from 9 to 13.1013:59
arc__i can reinstall 12.0414:00
lordievaderarc__: Hmm... first purge apache2, make sure all the config is gone. And then reinstall apache.14:00
arc__i have just reinstalled 12.0414:00
arc__start fresh14:00
arc__goto wait 2 mins while it installs14:03
zubairahmedDocumentRoot /var/www/ ??14:03
arc__ok i have installed a fresh copy of 12.0514:05
arc__12.04 :)14:05
arc__now i need to install apache 2 mysql and phpmyadmin14:06
arc__can you take me throught this14:06
zubairahmeduse tasksel14:07
zubairahmeduse tasksel arc__14:07
lordievaderarc__: We'll do one at a time: sudo apt-get install apache214:07
arc__kk14:07
arc__k done14:08
arc__i need to config my ports14:08
lordievaderarc__: Ok, what do you get when you go to the server's ip address?14:09
arc__i need to change the port first14:09
arc__as its a shared ip14:09
lordievaderarc__: Don't forget the vhost.14:09
arc__ok how do i change the ports14:10
lordievaderarc__: Open /etc/apache2/ports.conf and edit what you need.14:11
arc__ok14:11
lordievaderThen open /etc/apache2/sites-available/000-default.conf to reflect that change.14:11
arc__dont you mean default.conf not 000-default.conf14:13
lordievaderarc__: Ah, right Precise still has 2.214:13
lordievaderYes that's the one.14:13
arc__kk what do i change here ?14:13
arc__as i have change the ports in ports.conf14:13
lordievaderarc__: The line "<VirtualHost *:80>"14:14
arc__ok do i change that to my new port ?14:15
lordievaderarc__: Yes.14:15
arc__ok14:15
arc__ok thats done14:16
arc__do i restart apache2 now ?14:16
lordievaderarc__: Restart apache2 and go to the servers ip.14:16
arc__kk14:16
arc__it works ! yay http://starknw.fr:34780/14:16
arc__thanks lorkievader14:16
arc__[Sun Sep 07 18:16:22 2014] [warn] NameVirtualHost *:80 has no VirtualHosts14:17
arc__is that normal ?14:18
lordievaderarc__: Do you have another vhost definition (or is that line present in default.conf)?14:18
arc__ahh ok i forgot to change it in ports.cinf14:19
arc__conf*14:19
arc__i have changed it and restarted apache and i dont get the error14:19
arc__now how do install phpmyadmin and mysql,  lord ?14:20
lordievaderarc__: Same way ;)14:21
arc__kk14:21
arc__lol14:21
_1_Jenningdu14:37
=== Guest87023 is now known as esde
=== lazypower-travel is now known as lazyPower-sprint
teward_is there a way to configure ubuntu server to prever v4 over v6 as preferred protocol?17:51
teward_such that things bind to v4 before they bind to v6?17:52
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
geb_part21:36
zermannoHi, how do i change the locale on ubuntu server 14.04?21:40
gebassettipart22:01
=== phillips1013 is now known as phillips1012

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!