=== 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 [21:20] Hello 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 setup [21:21] i had a very hard ime getting it to work.... but now, finall, my game client can connect. BUT UH-OH... [21:21] now, suddenly out of nowhere.... apache is completely broken [21:21] i cannot access ANY webfiles in /var/www/html/ [21:21] not even when i do it from the server itself using 127.0.0.1 [21:22] i've restarted apache... made sure port 80 is specified [21:22] this all sounds like maybe a virtualbox question? [21:22] that [21:22] /join #virtualbox [21:22] that's incorrect, sir [21:22] my virtualbox is working completely fine [21:23] i'm not having any problems with that, i just typed that. [21:23] i typed 'it took a long time, but now finally my game client can connect' [21:23] i'm having a little trouble understanding what server/client is running on what host/guest [21:23] that may explain things [21:23] ok, that has absolutely nothing to do with my problem. [21:24] here, lets pretend i never mentioned a virtual computer [21:24] now. apache broke for no reason. [21:24] so yuor problem is apache running on a lubuntu machine? [21:24] yes. [21:24] well, i doubt that has anything to do with lubuntu specifically. again, it's probably just as applicable to any *buntu flavour [21:24] still, i'd start by looking at permissions [21:25] i'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 linux [21:25] ok, heres some more information [21:25] i was working perfectly for a long time, and the ONLY Other thing aside from settintg up virtual box was an upgrade [21:25] it was working* [21:25] what got upgraded? [21:25] and now.... ihave virtualbox completely shut down. [21:26] and.. did you check the permissions? [21:26] virtualbox is no longer running whatsoever,and i cannot access any of my webpages [21:26] ok, permissions of what? and.. if thats the case, why would they suddenly change all on their own? [21:26] no clue what updated, so can't tell you [21:26] no, UPGRADE [21:26] not update. [21:27] but the permissions of the files you're trying to serve [21:27] same difference. some part of your system changed. [21:28] OK, i changed the permissions of /var/www/html to 777 [21:28] absolutely no difference. [21:28] what about ownership? [21:28] who should it belong to [21:28] '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 working [21:29] that's likely your problem [21:29] but i don't know much about apache [21:29] i think i did chmod ripdisk -R html [21:29] wel [21:29] if its set to 777 i shouldn't matter WHO owns it [21:30] not necessarily true [21:30] so let's start with dumb questions though [21:30] is apache running? [21:31] yeah. I Mentioned up top that I restarted it several times [21:31] have you looked for eerrors in the logs? [21:33] i woulnd't know what log to look at... but hey here's some more info [21:33] when i try to visit the folder, even from localhost [21:33] it says unable to connect [21:34] can you telnet to localhost 80? [21:35] how do you do that? telne 127.0.0.1:80 ? [21:36] telnet 127.0.0.1 80 [21:36] remote connection refused [21:36] its a port beng blocked i just know it [21:37] there ya go [21:37] one sec [21:37] at one point i was looking at ports and stuff to get my client to work but i forgo where i found those setings [21:39] does `netstat -lntu | grep 80` return anything? [21:41] you could use ss instead of netstat fwiw [21:42] nope, nothing... dude i just accidently did something really stupid [21:43] so it sounds like either you don't have apache listening on 80 or you have a firewall rule working against you [21:43] foar whatever reaqson, i hit a key and it pasted apt install apache2-bin [21:43] and it started doing something so i hit ctrl c to stop it [21:43] and now when type service apache2 start it says [21:43] Job for apache2.service failed because the control process exited with error code. [21:43] See "systemctl status apache2.service" and "journalctl -xe" for details. [21:44] crap man i dont know wtf i did [21:44] just install apache2-bin [21:44] there's nothing wrong with installing it [21:44] it is a dependency of apache2 [21:44] i.e. you need to have it [21:45] you might want to just `sudo apt update && sudo apt-get install --reinstall apache2` [21:46] ok, its dong that [21:46] i hope tis didn't break my phpmyadmin and my mysql stuff cos i dont have it written down anwhere [21:47] it shouldn't clobber your configs [21:47] ok, the reinstall finished [21:47] i just typed service apache2 start [21:47] and it saId this again [21:47] Job for apache2.service failed because the control process exited with error code. [21:47] See "systemctl status apache2.service" and "journalctl -xe" for details. [21:48] what version are you on? [21:48] i was on an oldder one, and the other day i just did the 'upgrade' [21:48] everything was working fine until i started messing with ports [21:48] not helpful; `lsb_release -a` [21:48] 17.10 [21:49] pastebin the results of systemctl status apache2.service [21:54] https://pastebin.com/YwDFcmzd [21:55] that output seems really messed up like something's cut off [21:55] however it's clear there's something wrong with your conf file [21:56] looks like there also may be an error with mods-enabled/php5.load [21:56] dude [21:57] i found the problem, SOME DAMN IDIOT [21:57] I'M SO ANGRY [21:57] that's surprisngly more often the case than not :) [21:58] https://pastebin.com/fLipm8PT [21:58] if i cant fix this, i will ruin everything i've been working with for a long time [21:58] apache2 remember [21:59] IT SAYS THE SAME THNG [22:00] here's the same thing with apache2 [22:00] this or Ctrl-C to cancel. [22:00] [15:00] [ripdisk(+i)] [3:freenode/#lubuntu(+Ccnt)] [Act: 1] [22:00] [#lubuntu] https://pastebin.com/0yrHfNJB [22:00] sorry [22:00] https://pastebin.com/0yrHfNJB [22:00] thats the one. [22:01] dude.... if i cant get this shit working... [22:01] try doing systemctl start apache2.service [22:01] oh wait nevermind [22:01] I dont know ANY of my mysql information, all my phpmyadmin info will be gone which means EVERYTHING i made that relies on mysql is EFFED [22:01] you said it says the same thing but it doesn't [22:01] now do systemctl status apache2.service again [22:02] also: freaking out ain't going to fix nothing, so chillax [22:03] https://pastebin.com/rQn3TDJV [22:03] no, if i cant fix this i'm calling the cops on him [22:03] Syntax error on line 146 of /etc/apache2/apache2.conf [22:03] i have his name, address, number, license plate, number to his job, number to his wife's job [22:03] fix that [22:03] Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load [22:03] then fix that [22:04] i dont know what you mean by fix it [22:04] it only has one line [22:04] LoadModule php5_module /usr/lib/apache2/modules/libphp5.so [22:04] thats the whole file [22:05] you fixed the first problem? [22:05] no, thats whats in the file you told me to edit [22:05] Syntax error on line 146 of /etc/apache2/apache2.conf [22:05] ^^ that [22:05] do that first [22:06] # Include module configuration: [22:06] IncludeOptional mods-enabled/*.load [22:06] IncludeOptional mods-enabled/*.conf [22:06] thatsa the line. [22:06] 146 is one line [22:06] those are 3 [22:06] IncludeOptional mods-enabled/*.load [22:06] but suffice it to say it looks like the problem is the fact that it's loading the other file [22:06] thats the line [22:07] does /usr/lib/apache2/modules/libphp5.so exist? [22:08] no [22:09] looks like it's part of php5-dbg which is only available for trusty [22:09] i'm getting really freaking angry. everything worked absolutely perfectly as of yesterday, i didn't touch any settings or do ANTHING other than upgrade [22:09] doesn't sound like it [22:09] looks like we're up to about php7 now [22:10] doesn'tsound like what [22:10] you didn't do anything other than upgrade [22:10] i didn't. i upgraded, and then i installed virtual box. [22:10] it worked RIGHT before i did that, and hasn't worked since. [22:10] and then messed with ports and permissions and some guy did something and blah blha blah [22:12] that guy did something was not yesterday [22:12] that happened like maybe months ago [22:12] and he only ports i messed with were on my router and within virtual obx [22:14] do you need php for what you're serving? [22:20] i mostly work in php [22:20] what's php --version give you? please tell me it says 7 [22:20] well, 7.1. more specifically [22:21] ripdisk@bmt-one:~$ php --version [22:21] PHP 7.1.11-0ubuntu0.17.10. [22:21] lovely [22:21] ok, fr shits and giggles, how do i disable php entirely [22:21] just to try [22:21] you can get rid of or remove that php5.load file [22:22] there will not be php5 for the version of *buntu you're on [22:22] yeah, wher'es it aga again [22:22] in mods-enabled [22:22] i'm in irssi i cant freaking scroll up [22:22] eugh [22:22] page up [22:23] f /etc/apache2/apache2.conf [22:23] that file? [22:23] nope [22:23] all of apache2 stuff is in /etc/apache2 [22:23] then go into mods-enabled [22:23] anything php5 in there, you do not want [22:23] actually, you don't want anything less than 7 [22:24] funny, her4e is no 7s in there [22:24] only 5s [22:24] burn them [22:24] ok i moved them to a temp folder for now [22:24] hey look i think it worked hold on [22:24] it sure as hell did [22:25] ok, now we'r making progress [22:25] go check to see your php is working [22:26] but i'm not sexually excited at the moment [22:26] oh my PHP [22:26] didn't see the H [22:26] if it's not, `a2enmod php7.1` should get you there [22:27] word to the wise: things like programming language version changes that often occur between major system version changes often result in a little extra work [22:27] echo a horse is a horse of course of course; [22:27] ?> [22:27] did not load. [22:27] oh wait [22:28] it'd help if i knew how to code [22:28] ^^ [22:28] `phpinfo();` would probably suffice [22:29] echo "a horse is a horse of course of course"; [22:29] ?> [22:29] won't work [22:29] no mas php :( no bueno [22:30] did you do what i suggested? [22:32] `a2enmod php7. [22:32] where would i et that [22:33] sorry i'm not drunk enough to understand that [22:33] et = get [22:33] where would I get that [22:33] `a2enmod php7 [22:33] tatswhat you said [22:33] < wxl> if it's not, `a2enmod php7.1` should get you there [22:33] is that not what you meant by 'doing what you told me to do' ? [22:34] go to the command line and type that [22:37] root@bmt-one:/etc/apache2/mods-enabled# a2enmod php7.1 [22:37] ERROR: Module php7.1 does not exist! [22:38] install libapache2-mod-php [23:56] I 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.