/srv/irclogs.ubuntu.com/2018/03/15/#lubuntu.txt

=== Kamilion|ZNC is now known as Kamilion
=== LaserAllan is now known as Guest25362
=== dzho_ is now known as dzho
=== anon is now known as Guest48416
ripdiskHello everybody! I'm having a very odd problem. I host a particular game server, but the windows box in my rack died, and since its a tiny daemon i figured i'd just run i in a virtualbox win7 setup21:20
ripdiski had a very hard ime getting it to work.... but now, finall, my game client can connect.  BUT UH-OH...21:21
ripdisknow, suddenly out of nowhere.... apache is completely broken21:21
ripdiski cannot access ANY webfiles in /var/www/html/21:21
ripdisknot even when i do it from the server itself using 127.0.0.121:21
ripdiski've restarted apache... made sure port 80 is specified21:22
wxlthis all sounds like maybe a virtualbox question?21:22
ripdiskthat21:22
wxl /join #virtualbox21:22
ripdiskthat's incorrect, sir21:22
ripdiskmy virtualbox is working completely fine21:22
ripdiski'm not having any problems with that, i just typed that.21:23
ripdiski typed 'it took a long time, but now finally my game client can connect'21:23
wxli'm having a little trouble understanding what server/client is running on what host/guest21:23
wxlthat may explain things21:23
ripdiskok, that has absolutely nothing to do with my problem.21:23
ripdiskhere, lets pretend i never mentioned a virtual computer21:24
ripdisknow. apache broke for no reason.21:24
wxlso yuor problem is apache running on a lubuntu machine?21:24
ripdiskyes.21:24
wxlwell, i doubt that has anything to do with lubuntu specifically. again, it's probably just as applicable to any *buntu flavour21:24
wxlstill, i'd start by looking at permissions21:24
ripdiski'm on a PC wiht lubuntu installed as the OS I boot into. I set up a virtualbox and installed windows 7 in there, so i could run my game server without having to get rid of my linux21:25
ripdiskok, heres some more information21:25
ripdiski was working perfectly for a long time, and the ONLY Other thing aside from settintg up virtual box was an upgrade21:25
ripdiskit was working*21:25
wxlwhat got upgraded?21:25
ripdiskand now.... ihave virtualbox completely shut down.21:25
wxland.. did you check the permissions?21:26
ripdiskvirtualbox is no longer running whatsoever,and i cannot access any of my webpages21:26
ripdiskok, permissions of what? and.. if  thats the case, why would they suddenly change all on their own?21:26
wxlno clue what updated, so can't tell you21:26
ripdiskno, UPGRADE21:26
ripdisknot update.21:26
wxlbut the permissions of the files you're trying to serve21:27
wxlsame difference. some part of your system changed.21:27
ripdiskOK, i changed the permissions of /var/www/html to 77721:28
ripdiskabsolutely no difference.21:28
wxlwhat about ownership?21:28
ripdiskwho should it belong to21:28
ripdisk'cos i DID at one point mess with permissions and i didn't realy know hwat i was doing...tryijg to get my game sever working21:28
wxlthat's likely your problem21:29
wxlbut i don't know much about apache21:29
ripdiski think i did chmod ripdisk -R html21:29
ripdiskwel21:29
ripdiskif its set to 777 i shouldn't matter WHO owns it21:29
wxlnot necessarily true21:30
wxlso let's start with dumb questions though21:30
wxlis apache running?21:30
ripdiskyeah. I Mentioned up top that I restarted it several times21:31
wxlhave you looked for eerrors in the logs?21:31
ripdiski woulnd't know what log to look at... but hey here's some more info21:33
ripdiskwhen i try to visit the folder, even from localhost21:33
ripdiskit says unable to connect21:33
wxlcan you telnet to localhost 80?21:34
ripdiskhow do you do that? telne 127.0.0.1:80 ?21:35
wxltelnet 127.0.0.1 8021:36
ripdiskremote connection refused21:36
ripdiskits a port beng blocked i just know it21:36
wxlthere ya go21:37
wxlone sec21:37
ripdiskat one point i was looking at ports and stuff to get my client to work but i forgo where i found those setings21:37
wxldoes `netstat -lntu | grep 80` return anything?21:39
wxlyou could use ss instead of netstat fwiw21:41
ripdisknope, nothing... dude i just accidently did something really stupid21:42
wxlso it sounds like either you don't have apache listening on 80 or you have a firewall rule working against you21:43
ripdiskfoar whatever reaqson, i hit a key and it pasted apt install apache2-bin21:43
ripdiskand it started doing something so i hit ctrl c to stop it21:43
ripdiskand now when  type service apache2 start it says21:43
ripdiskJob for apache2.service failed because the control process exited with error code.21:43
ripdiskSee "systemctl  status apache2.service" and "journalctl  -xe" for details.21:43
ripdiskcrap man i dont know wtf i did21:44
wxljust install apache2-bin21:44
wxlthere's nothing wrong with installing it21:44
wxlit is a dependency of apache221:44
wxli.e. you need to have it21:44
wxlyou might want to just `sudo apt update && sudo apt-get install --reinstall apache2`21:45
ripdiskok, its dong that21:46
ripdiski hope tis didn't break my phpmyadmin and my mysql stuff cos i dont have it written down anwhere21:46
wxlit shouldn't clobber your configs21:47
ripdiskok, the reinstall finished21:47
ripdiski just typed service apache2 start21:47
ripdiskand it saId this again21:47
ripdiskJob for apache2.service failed because the control process exited with error code.21:47
ripdiskSee "systemctl  status apache2.service" and "journalctl  -xe" for details.21:47
wxlwhat version are you on?21:48
ripdiski was on an oldder one, and the other day i just did the 'upgrade'21:48
ripdiskeverything was working fine until i started messing with ports21:48
wxlnot helpful; `lsb_release -a`21:48
ripdisk17.1021:48
wxlpastebin the results of systemctl status apache2.service21:49
ripdiskhttps://pastebin.com/YwDFcmzd21:54
wxlthat output seems really messed up like something's cut off21:55
wxlhowever it's clear there's something wrong with your conf file21:55
wxllooks like there also may be an error with mods-enabled/php5.load21:56
ripdiskdude21:56
ripdiski found the problem, SOME DAMN IDIOT21:57
ripdiskI'M SO ANGRY21:57
wxlthat's surprisngly more often the case than not :)21:57
ripdiskhttps://pastebin.com/fLipm8PT21:58
ripdiskif i cant fix this, i will ruin everything i've been working with for a long time21:58
wxlapache2 remember21:58
ripdiskIT SAYS THE SAME THNG21:59
ripdiskhere's the same thing with apache222:00
ripdisk          this or Ctrl-C to cancel.22:00
ripdisk [15:00] [ripdisk(+i)] [3:freenode/#lubuntu(+Ccnt)] [Act: 1]22:00
ripdisk[#lubuntu] https://pastebin.com/0yrHfNJB22:00
ripdisksorry22:00
ripdiskhttps://pastebin.com/0yrHfNJB22:00
ripdiskthats the one.22:00
ripdiskdude.... if i cant get this shit working...22:01
wxltry doing systemctl start apache2.service22:01
wxloh wait nevermind22:01
ripdiskI dont know ANY of my mysql information, all my phpmyadmin info will be gone which means EVERYTHING i made that relies on mysql is EFFED22:01
wxlyou said it says the same thing but it doesn't22:01
wxlnow do systemctl status apache2.service again22:01
wxlalso: freaking out ain't going to fix nothing, so chillax22:02
ripdiskhttps://pastebin.com/rQn3TDJV22:03
ripdiskno, if i cant fix this i'm calling the cops on  him22:03
wxlSyntax error on line 146 of /etc/apache2/apache2.conf22:03
ripdiski have his name, address, number, license plate, number to his job, number to his wife's job22:03
wxlfix that22:03
wxlSyntax error on line 1 of /etc/apache2/mods-enabled/php5.load22:03
wxlthen fix that22:03
ripdiski dont know what you mean by fix it22:04
ripdiskit only has one line22:04
ripdiskLoadModule php5_module /usr/lib/apache2/modules/libphp5.so22:04
ripdiskthats the whole file22:04
wxlyou fixed the first problem?22:05
ripdiskno, thats whats in the file you told me to edit22:05
wxlSyntax error on line 146 of /etc/apache2/apache2.conf22:05
wxl^^ that22:05
wxldo that first22:05
ripdisk# Include module configuration:22:06
ripdiskIncludeOptional mods-enabled/*.load22:06
ripdiskIncludeOptional mods-enabled/*.conf22:06
ripdiskthatsa the line.22:06
wxl146 is one line22:06
wxlthose are 322:06
ripdiskIncludeOptional mods-enabled/*.load22:06
wxlbut suffice it to say it looks like the problem is the fact that it's loading the other file22:06
ripdiskthats the line22:06
wxldoes /usr/lib/apache2/modules/libphp5.so exist?22:07
ripdiskno22:08
wxllooks like it's part of php5-dbg which is only available for trusty22:09
ripdiski'm getting really freaking angry. everything worked absolutely perfectly as of yesterday, i didn't touch any settings or do ANTHING other than upgrade22:09
wxldoesn't sound like it22:09
wxllooks like we're up to about php7 now22:09
ripdiskdoesn'tsound like what22:10
wxlyou didn't do anything other than upgrade22:10
ripdiski didn't. i upgraded, and then i installed virtual box.22:10
ripdiskit worked RIGHT before i did that, and hasn't worked since.22:10
wxland then messed with ports and permissions and some guy did something and blah blha blah22:10
ripdiskthat guy did something was not yesterday22:12
ripdiskthat happened like maybe months ago22:12
ripdiskand he only ports i messed with were on my router and within virtual obx22:12
wxldo you need php for what you're serving?22:14
ripdiski mostly work in php22:20
wxlwhat's php --version give you? please tell me it says 722:20
wxlwell, 7.1. more specifically22:20
ripdiskripdisk@bmt-one:~$ php --version22:21
ripdiskPHP 7.1.11-0ubuntu0.17.10.22:21
wxllovely22:21
ripdiskok, fr shits and giggles, how do i disable php entirely22:21
ripdiskjust to try22:21
wxlyou can get rid of or remove that php5.load file22:21
wxlthere will not be php5 for the version of *buntu you're on22:22
ripdiskyeah, wher'es it aga again22:22
wxlin mods-enabled22:22
ripdiski'm in irssi i cant freaking scroll up22:22
ripdiskeugh22:22
wxlpage up22:22
ripdiskf /etc/apache2/apache2.conf22:23
ripdiskthat file?22:23
wxlnope22:23
wxlall of apache2 stuff is in /etc/apache222:23
wxlthen go into mods-enabled22:23
wxlanything php5 in there, you do not want22:23
wxlactually, you don't want anything less than 722:23
ripdiskfunny, her4e is no 7s in there22:24
ripdiskonly 5s22:24
wxlburn them22:24
ripdiskok i moved them to a temp folder for now22:24
ripdiskhey look i think it worked hold on22:24
ripdiskit sure as hell did22:24
ripdiskok, now we'r making progress22:25
wxlgo check to see your php is working22:25
ripdiskbut i'm not sexually excited at the moment22:26
ripdiskoh my PHP22:26
ripdiskdidn't see the H22:26
wxlif it's not, `a2enmod php7.1` should get you there22:26
wxlword to the wise: things like programming language version changes that often occur between major system version changes often result in a little extra work22:27
ripdisk<?php22:27
ripdiskecho a horse is a horse of course of course;22:27
ripdisk?>22:27
ripdiskdid not load.22:27
ripdiskoh wait22:27
ripdiskit'd help if i knew how to code22:28
wxl^^22:28
wxl`phpinfo();` would probably suffice22:28
ripdisk<?php22:29
ripdiskecho "a horse is a horse of course of course";22:29
ripdisk?>22:29
ripdiskwon't work22:29
ripdiskno mas php :( no bueno22:29
wxldid you do what i suggested?22:30
ripdisk`a2enmod php7.22:32
ripdiskwhere would i et that22:32
wxlsorry i'm not drunk enough to understand that22:33
ripdisket = get22:33
ripdiskwhere would I get that22:33
ripdisk`a2enmod php722:33
ripdisktatswhat you said22:33
ripdisk< wxl> if it's not, `a2enmod php7.1` should get you there22:33
ripdiskis that not what you meant by 'doing what you told me to do' ?22:33
wxlgo to the command line and type that22:34
ripdiskroot@bmt-one:/etc/apache2/mods-enabled# a2enmod php7.122:37
ripdiskERROR: Module php7.1 does not exist!22:37
wxlinstall libapache2-mod-php22:38
billybobI am unable to connect a wireless Canon MG2922 to an ACER Aspire laptop running Lubuntu 17.10. I want to connect without using an access point, that is, connect directly to the printer wirelessly without using a router. The printer is properly set to access point mode. The printer shows up in Wi-Fi networks and I can connect the laptop but I'm unable to print.23:56

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