Back to Home / #linode / 2018 / 10 / Prev Day | Next Day
#linode IRC Logs for 2018-10-02

---Logopened Tue Oct 02 00:00:07 2018
00:02-!-mteufel [~mteufel@0001c3f5.user.oftc.net] has quit [Remote host closed the connection]
00:06-!-mteufel [~mteufel@0001c3f5.user.oftc.net] has joined #linode
00:06-!-mteufel is "mteufel" on #linode #tor-project #tor-dev
00:18-!-technoid_ [~technoid@50-26-187-10.abilcmtk01.res.dyn.suddenlink.net] has quit [Ping timeout: 480 seconds]
00:32-!-harry [~oftc-webi@2409:4055:69c:49ac:bbbc:fc73:d58a:b010] has joined #linode
00:32-!-harry is "OFTC WebIRC Client" on #linode
00:33-!-fstd_ [~fstd@xdsl-84-44-232-253.netcologne.de] has joined #linode
00:33-!-fstd_ is "fstd" on #gentoo #linuxfs #oftc #vserver #linode #debian #kernelnewbies
00:35-!-fstd [~fstd@xdsl-84-44-232-253.netcologne.de] has quit [Read error: Connection reset by peer]
00:36-!-harry [~oftc-webi@2409:4055:69c:49ac:bbbc:fc73:d58a:b010] has quit [Remote host closed the connection]
00:46-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has quit [Remote host closed the connection]
02:11-!-Juan_Tek [~Thunderbi@2a02:1205:34f8:16b0:4d43:e881:e095:2b50] has joined #linode
02:11-!-Juan_Tek is "Juan_Tek" on #linode
02:17-!-fergtm [~fergtm@dyn-2001-0470-1f0f-006e-0216-3eff-fef3-1ad4.hq-ptr.nil.com.mx] has quit [Remote host closed the connection]
02:23-!-TomasCZ [~TomasCZ@yes.tenlab.net] has quit [Quit: Leaving]
02:57-!-bert_ [~oftc-webi@103.29.22.114] has joined #linode
02:57-!-bert_ is "OFTC WebIRC Client" on #linode
02:58<bert_>hi
02:58<millisa>hi
02:59<bert_>may I ask if linode also office bind multiple IP's
02:59<bert_>offers*
02:59<millisa>!ips
02:59<linbot>Each Linode comes with 1 public IPv4 address and 1 public IPv6 address. Additional IPv4 addresses are $ 1 per month, and require technical justification. A /64 or /56 of IPv6 can be routed to your Linode at no charge.
03:00<bert_>is the price depends on the specific region, for example in Asia,Honkong
03:01<dwfreed>no, but Linode doesn't have a datacenter in Hong Kong
03:01<dwfreed>Tokyo or Singapore are your Asia options
03:05<bert_>so the prices is same rate regarless of datacenter location
03:05<dwfreed>yes
03:05<bert_>regardless*
03:05<bert_>ok
03:06<bert_>Can you give some steps how to do it.Is there a link I can follow
03:07<dwfreed>to get additional IPs? You have to open a support ticket after you have purchased a Linode
03:07<millisa>With proper technical justification
03:08<bert_>Do you have tutorials on how to process multiple IP
03:11-!-fergtm [~fergtm@dyn-2001-0470-1f0f-006e-0216-3eff-fef3-1ad4.hq-ptr.nil.com.mx] has joined #linode
03:11-!-fergtm is "Fernando" on #linode
03:12<millisa>I'm not sure what you are asking. Do you mean how you configure the linode with the additional IP addresses that you receive after technical justification? or how to write up the justification?
03:14-!-marshmn [~matt@94.199.27.190] has joined #linode
03:14-!-marshmn is "Matt Marsh" on #linode
03:16<bert_>yes
03:17<grawity>that was not a yes/no question
03:17<bert_>the steps configuration
03:17<millisa>They usually link it to you in the ticket response; it's probably this one - https://www.linode.com/docs/networking/linux-static-ip-configuration/
03:18<bert_>yes!
03:18<bert_>thats what I need
03:18<bert_>thanks!
03:18<grawity>I'd say it's mostly not-really-different from configuring the primary IP
03:21<bert_>I just want to see the Linode managers part, the rest as what grawity said not-really differ from configuring IP
03:21<grawity>there's nothing to be done in the Linode manager
03:21<grawity>as far as I can remember, at least
03:22<grawity>the address is assigned to your linode and there it stays
03:23<bert_>then what if you want additional IP
03:23<bert_>as resolver
03:24<Peng_>What do you mean?
03:24<millisa>Can you rephrase the question?
03:26-!-marshmn [~matt@94.199.27.190] has quit [Ping timeout: 480 seconds]
03:27<bert_>What if I want to make multiple IP's per server? How would I do it? example If I will lookup google will give me more than one IP
03:27<grawity>the whole discussion above is literally how you do it
03:28<grawity>well, adding a 2nd address to your domain in DNS is a separate thing
03:28<grawity>but it's still no different from adding the 1st address usually: open up your DNS domain manager – wherever it is hosted – and just add a 2nd 'A' record
03:28<millisa>This doesn't sound like something that would get past the technical justification
03:33-!-bert_ [~oftc-webi@103.29.22.114] has left #linode []
03:54-!-Juan_Tek [~Thunderbi@2a02:1205:34f8:16b0:4d43:e881:e095:2b50] has quit [Quit: Juan_Tek]
04:05-!-Dani [~oftc-webi@202.129.163.230] has joined #linode
04:05-!-Dani is "OFTC WebIRC Client" on #linode
04:07-!-Dani [~oftc-webi@202.129.163.230] has quit []
04:10-!-shawon [~oftc-webi@li1870-215.members.linode.com] has joined #linode
04:10-!-shawon is "OFTC WebIRC Client" on #linode
04:10<shawon>hi
04:10<shawon>what is the data price
04:11<shawon>after the use limit
04:13-!-shawon [~oftc-webi@li1870-215.members.linode.com] has quit []
04:16<grawity>patience limit
04:18-!-saki [~Thunderbi@185.245.87.134] has joined #linode
04:18-!-saki is "saki" on #Qubes_OS #redditprivacy #privacytools.io #ovirt #virt #linode #debian #cryptoparty #whonix @##tor-project #moocows #oftc #qemu
04:26-!-saki [~Thunderbi@185.245.87.134] has quit [Ping timeout: 480 seconds]
04:31-!-Zimmedon [~zimmedon@borealis.zimmedon.com] has quit [Quit: Something happened]
04:31-!-Zimmedon [~zimmedon@2001:19f0:5c00:9042:225:90ff:fee8:1270] has joined #linode
04:31-!-Zimmedon is "Zimmedon" on #linode
04:55<linbot>New news from community: How to upgrade Ubuntu 18 LTS in stackscript. <https://www.linode.com/community/questions/17220>
06:22-!-NomadJim__ [~Jim@72.168.160.11] has quit [Read error: Connection reset by peer]
06:22-!-NomadJim [~Jim@72.168.160.11] has joined #linode
06:22-!-NomadJim is "Nomad" on #linode #debian
07:13-!-technoid_ [~technoid@50-26-187-10.abilcmtk01.res.dyn.suddenlink.net] has joined #linode
07:13-!-technoid_ is "Tech-noid" on #Corsair #debian #linode
07:36-!-marshmn [~matt@94.199.27.190] has joined #linode
07:36-!-marshmn is "Matt Marsh" on #linode
07:37-!-Hassan [~oftc-webi@103.255.6.83] has joined #linode
07:37-!-Hassan is "OFTC WebIRC Client" on #linode
07:38<Hassan>hello there?
07:40-!-Dreamer3 [~dreamer3@cpe-96-28-189-235.kya.res.rr.com] has quit [Ping timeout: 480 seconds]
07:42-!-Dreamer3 [~dreamer3@cpe-96-28-189-235.kya.res.rr.com] has joined #linode
07:42-!-Dreamer3 is "Josh Goebel" on #linode
07:51-!-Hassan [~oftc-webi@103.255.6.83] has quit [Quit: Page closed]
07:53-!-Nikolay [~oftc-webi@2001:67c:2660:425:3617:ebff:fee4:6060] has joined #linode
07:53-!-Nikolay is "OFTC WebIRC Client" on #linode
07:54-!-Nikolay [~oftc-webi@2001:67c:2660:425:3617:ebff:fee4:6060] has quit []
07:54-!-eyepulp [~eyepulp@50-83-205-92.client.mchsi.com] has quit [Ping timeout: 480 seconds]
08:08-!-marshmn [~matt@94.199.27.190] has quit [Ping timeout: 480 seconds]
08:16-!-ntox [~textual@164.51.190.98] has joined #linode
08:16-!-ntox is "Textual User" on #linode #ovirt
08:23-!-eyepulp [~eyepulp@c-71-239-4-144.hsd1.il.comcast.net] has joined #linode
08:23-!-eyepulp is "eyepulp" on #linode
08:29-!-_eyepulp [~eyepulp@c-71-239-4-144.hsd1.il.comcast.net] has joined #linode
08:29-!-_eyepulp is "eyepulp" on #linode
08:32-!-eyepulp [~eyepulp@c-71-239-4-144.hsd1.il.comcast.net] has quit [Ping timeout: 480 seconds]
08:37-!-_eyepulp [~eyepulp@c-71-239-4-144.hsd1.il.comcast.net] has quit [Ping timeout: 480 seconds]
08:55-!-zirpu [~zirpu@2600:3c01::f03c:91ff:fe2a:83b3] has joined #linode
08:55-!-zirpu is "Allan Bailey" on #linode @#zirpu
08:55<linbot>New news from community: Setting up a staging sub-domain: what have I done wrong? <https://www.linode.com/community/questions/17221>
09:02-!-anomie [~anomie@00018802.user.oftc.net] has joined #linode
09:02-!-anomie is "Anomie" on #linode
09:04-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has joined #linode
09:04-!-acald3ron is "Armando" on #linode #debian-next #debian-mx #debian-es #debian
09:12-!-eyepulp [~eyepulp@c-71-239-4-144.hsd1.il.comcast.net] has joined #linode
09:12-!-eyepulp is "eyepulp" on #linode
09:55-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has quit [Quit: Leaving]
09:59-!-bbigger [~bbigger@00027435.user.oftc.net] has quit [Ping timeout: 480 seconds]
10:21-!-ntox [~textual@164.51.190.98] has quit [Quit: ntox]
10:21-!-ntox [~textual@164.51.190.98] has joined #linode
10:21-!-ntox is "Textual User" on #ovirt #linode
10:22-!-ntox_ [~textual@164.51.190.98] has joined #linode
10:22-!-ntox_ is "Textual User" on #linode #ovirt
10:22-!-ntox [~textual@164.51.190.98] has quit []
10:29-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
10:29-!-bumbleVole is "bumbleVole" on #linode
10:52-!-xxh9 [~xxh9@vpn.space150.com] has joined #linode
10:52-!-xxh9 is "Chris R" on #linode
11:23-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has joined #linode
11:23-!-acald3ron is "Armando" on #linode #debian-next #debian-mx #debian-es #debian
11:41-!-kb_ [~kb@serenity.averageurl.com] has quit [Quit: leaving]
11:41-!-kb [~kb@serenity.averageurl.com] has joined #linode
11:41-!-kb is "kb" on #linode
11:42-!-thiras [~thiras@195.174.215.70] has joined #linode
11:42-!-thiras is "realname" on #tami #virt #linode #debian
12:21<bumbleVole>hi, so i have a drupal 7 app and a rocketchat app. i want people to (preferablly) be able to signup on the drupal website and then use the same login details for the rocketchat app. is this done thru LDAP? or oauth? or some other way? any advice would be appreciated, thanks!
12:22-!-ntox_ [~textual@164.51.190.98] has quit []
12:25<grawity>depends on which one is supported by rocketchat – maybe either, maybe none
12:25<LouWestin>bumbleVole: I'd check with the Drupal and rocketchat community since they'd know better.
12:25<bumbleVole>grawity: both are supported
12:25<bumbleVole>couldnt get oauth2 working tho
12:25<bumbleVole>thought maybe ldap would be easier?
12:46<LouWestin>https://www.irccloud.com/pastebin/Nugg1NXb/
12:47<LouWestin>That was quick! lol
12:47<bumbleVole>whats that lou?
12:47<LouWestin>A new CentOS Vm I just fired up to test out some things.
12:51<bumbleVole>for a small site (less than 1000 users) what is probably the best option? oauth, ldap, saml, something else? for user management. so many options, so many providers, I'm a bit lost
12:53<grawity>depends on what your apps support – often all of them
12:54<grawity>ldap is somewhat of an odd one here because it's often used as just the database backend for saml, but *also* often used directly by other apps
12:54<grawity>e.g. you could have five apps which support getting account info via saml, but the 6th only does straight ldap...
12:55<grawity>both oauth and saml also have the limitation of only informing the app about who's *currently logging in* – you can't get a whole list of users (or groups) through them
12:56<grawity>so sometimes an app might use ldap for obtaining a list of accounts, but saml/oauth for the user-facing auth process
12:56<grawity>I don't know what's more common outside, I'm mostly familiar with "intranet" services
12:57<bumbleVole>yeah my apps support all of them
12:57<bumbleVole>but after hours of tinkering with oauth, i gave up
12:58<bumbleVole>thought i'd try something else this time
12:58<bumbleVole>i guess ldap is straightforward...?
13:02<grawity>it's an acquired taste
13:07-!-AnMaster [~AnMaster@c193-150-228-32.bredband.comhem.se] has quit [Read error: Connection reset by peer]
13:14-!-ntox [~textual@164.51.190.98] has joined #linode
13:14-!-ntox is "Textual User" on #ovirt #linode
13:17-!-marshmn [~matt@113.91.112.87.dyn.plus.net] has joined #linode
13:17-!-marshmn is "Matt Marsh" on #linode
13:19-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has quit [Ping timeout: 480 seconds]
13:29-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has joined #linode
13:29-!-acald3ron is "Armando" on #debian-es #debian-mx #debian-next #linode
14:01-!-Hassan [~oftc-webi@103.255.7.59] has joined #linode
14:01-!-Hassan is "OFTC WebIRC Client" on #linode
14:01<Hassan>Hello there???????
14:01-!-Hassan [~oftc-webi@103.255.7.59] has quit [Remote host closed the connection]
14:02<DrJ>oh darn, we didn't meet his 11 second response requirment
14:02<DrJ>someone here is gonna have to be fired
14:07<@scrane>I volunteer as tribute.
14:10<tmberg>Hehe.
14:30-!-gecco [~oftc-webi@23-117-194-49.lightspeed.tukrga.sbcglobal.net] has joined #linode
14:30-!-gecco is "OFTC WebIRC Client" on #linode
14:35-!-LouWestin is now known as Guest325
14:35-!-LouWestin [~user@louwestin.user.oftc.net] has joined #linode
14:35-!-LouWestin is "Name" on #linode
14:36<gecco>hey linode, I just cloned a linode from a backup, my nic is not coming back up, this is centos, any suggestions?
14:38<millisa>udev rule?
14:40<millisa>does the nic come up if you manually ifup it?
14:42-!-LouWestin [~user@louwestin.user.oftc.net] has quit [Quit: Gone Fishing]
14:43-!-Guest326 [~user@24.14.25.19] has joined #linode
14:43-!-Guest326 is "Name" on #linode
14:43-!-bbigger [~bbigger@2600:3c03::f03c:91ff:fe88:8bb2] has joined #linode
14:43-!-bbigger is "bbigger" on #linode
14:43-!-mode/#linode [+o bbigger] by ChanServ
14:44-!-Guest326 [~user@24.14.25.19] has quit []
14:47-!-Guest325 is now known as LouWestin
14:55<gecco>it looks like eth0 is not present, how can I figure out what this might have changed to so I can bring it up?
15:12<gecco>yeah, it does look like a udev rule rm -f /etc/udev/rules.d/70-persistent-net.rules
15:30<millisa>after removing that file and rebooting, all is well?
15:40-!-Juan_Tek [~Thunderbi@2a02:1205:34f8:16b0:43a:4e80:e597:bb09] has joined #linode
15:40-!-Juan_Tek is "Juan_Tek" on #linode
15:43-!-Juan_Tek [~Thunderbi@2a02:1205:34f8:16b0:43a:4e80:e597:bb09] has quit []
16:02-!-marshmn [~matt@113.91.112.87.dyn.plus.net] has quit [Ping timeout: 480 seconds]
16:07<gecco>yes, all is well, wish I had remembered this from past times, that did the trick, thanks
16:08-!-gecco [~oftc-webi@23-117-194-49.lightspeed.tukrga.sbcglobal.net] has quit [Quit: Page closed]
16:12-!-thiras [~thiras@195.174.215.70] has quit [Quit: Leaving]
16:17<linbot>New news from community: Cant access website on mobile data? <https://www.linode.com/community/questions/17222>
16:26-!-Juan_Tek [~Thunderbi@2a02:1205:34f8:16b0:43a:4e80:e597:bb09] has joined #linode
16:26-!-Juan_Tek is "Juan_Tek" on #linode
16:26-!-marshmn [~matt@113.91.112.87.dyn.plus.net] has joined #linode
16:26-!-marshmn is "Matt Marsh" on #linode
16:30-!-jeremiah [~jeremiah@ool-4355a1bc.dyn.optonline.net] has joined #linode
16:30-!-jeremiah is "Jeremiah C. Foster" on #linode
16:38-!-harley [~oftc-webi@p4FFE3EF4.dip0.t-ipconnect.de] has joined #linode
16:38-!-harley is "OFTC WebIRC Client" on #linode
16:38<harley>hello
16:38<harley>any here who can support me?
16:38<harley>I have a quesiton
16:39-!-harley [~oftc-webi@p4FFE3EF4.dip0.t-ipconnect.de] has quit []
16:39<relidy>Apparently not quickly enough.
16:42<rsdehart>apparently the question wasn't urgent enough to actually ask, but merely allude to
16:50<LouWestin>5 secs. That’s a record I think
17:00-!-jeremiah [~jeremiah@ool-4355a1bc.dyn.optonline.net] has quit [Quit: jeremiah]
17:08-!-ckuehl [~ckuehl@2604:5500:c2c7:0:4ecc:6aff:fe8c:d243] has quit [Ping timeout: 480 seconds]
17:12<bumbleVole>lol
17:16-!-thiras [~thiras@195.174.215.70] has joined #linode
17:16-!-thiras is "realname" on #tami #virt #linode #debian
17:16<rsdehart>well, there are barely 300 people in here, surely the odds are extremely low that a single person is paying attention or will be in the next couple of minutes, at any given moment
17:21<Abi12>instant messaging has spoiled people.
17:22<warewolf>entitlement and zero patience
17:22-!-Juan_Tek [~Thunderbi@2a02:1205:34f8:16b0:43a:4e80:e597:bb09] has quit [Quit: Juan_Tek]
17:26-!-ntox [~textual@164.51.190.98] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:28<frailtyy>(◕‿◕✿)
17:29<warewolf>oh, that was in reference to the person who popped in and left real quickly
17:37<frailtyy>Oh I understand.
17:38<frailtyy>People are needy.
17:45-!-marshmn [~matt@113.91.112.87.dyn.plus.net] has quit [Ping timeout: 480 seconds]
17:52-!-anomie [~anomie@00018802.user.oftc.net] has quit [Ping timeout: 480 seconds]
17:53<Cromulent>sorry for the newbie question but if I want to write a networking application on Linux - I should use epoll right?
17:54<rsdehart>no need to apologize for a "newbie question". At least you asked it and didn't just ask to ask then leave. With that said, I have no idea
17:55<dwfreed>Cromulent: yes, you should always use epoll
17:55<Cromulent>thanks :)
18:00-!-xxh9 [~xxh9@vpn.space150.com] has quit [Quit: Leaving.]
18:11<Abi12>Cromulent: depends.
18:12<Abi12>Cromulent: https://www.kernel.org/doc/ols/2004/ols2004v1-pages-215-226.pdf
18:12<dwfreed>the performance difference isn't significant enough to matter
18:12<dwfreed>also that paper is from 2004
18:12<Abi12>Still makes some pretty good points.
18:12<Abi12>epoll_ctl eats up alot of processing.
18:13<dwfreed>not really
18:13<Abi12>They profiled it at almost 16%.
18:13<dwfreed>again, in 2004
18:13<dwfreed>Linux has changed *dramatically* since 2004
18:16<dwfreed>I have a simple python script that serves as a buffering proxy between 2 sockets, and will at most handle 6 connections at any given time (so 12 sockets); 99% of its CPU usage is because it's python, not because it's using epoll
18:16<Abi12>oh. I usually assume people are writing network applications in C.
18:16<dwfreed>this was a very simple need
18:17<dwfreed>and python made things convenient
18:18<dwfreed>didn't feel like implementing an efficient FIFO in C, when python gives me collections.deque already
18:18<Abi12>yeah case by case.
18:18<Abi12>heh just use c++.
18:18<Abi12>Clipping buffers in C is a pain anyways.
18:18<Abi12>std::string makes life a hell of alot easier.
18:19<dwfreed>C++ is a mess
18:19<Abi12>It's efficient if you write good code.
18:20<dwfreed>and messing with buffers in C isn't hard
18:20<Abi12>it's messy once things get complex though.
18:20<dwfreed>meh
18:20<dwfreed>not really
18:20<Abi12>because you no longer have RAI :p you're managing the memory down to the byte
18:20<dwfreed>it's RAII, fwiw
18:21<Abi12><--- newbie. Yeah, it's fun writing network stuff in C though.
18:22<Abi12>but if Cromulent is going to be using this application in production
18:22<Abi12>he should probably use boost aio or libev
18:22<dwfreed>meh
18:23<dwfreed>it's not hard to get straight epoll right, as long as you use level triggering
18:23<Abi12>dwfreed: I agree with your meh but \o/
18:23<Abi12>yeah but the efficiency comes from ET though.
18:23<Abi12>he should just use poll()
18:23<dwfreed>no
18:23<Abi12>epoll isn't POSIX
18:24<dwfreed>poll isn't efficient
18:24<dwfreed>it's better than select, but it still sucks
18:24<Abi12>That depends on the load.
18:24<dwfreed>and he also said Linux
18:24<dwfreed>so I don't think he cares about POSIX
18:26<Peng_>Why have POSIX when you can have a wrapper library around many non-POSIX event designs
18:28<Abi12>rip. People who are beginners with networking, should just use boost aio/etc etc for soon to be production projects. That's more real world.
18:28<Abi12>plus aio scales well. It's designed nicely...
18:28<Abi12>ahhhh it is a mess though dwfreed xD
18:29<dwfreed>no, they should learn the right way to do it from the start
18:29<dwfreed>bringing a 10,000 pound library like boost is a terrible idea
18:29<millisa>so you mean, perl, right?
18:29<Abi12>lul
18:29*dwfreed glares
18:30<Peng_>You mean https://metacpan.org/pod/UV ?
18:31<Abi12>The real world is ugly.
18:31<Abi12>Lots of companies use big libraries.
18:31<Abi12>It's bad design, but gets the job done.
18:31<Abi12>Same reason why people use java..... kk I'm out.
18:32<dwfreed>just because they do it doesn't make it a good idea
18:34<Abi12>\o/ I couldn't agree more, but not many fresh college grads like rolling around in low-level code. That's why they brainwash you with java classes for 4 years.
18:35<Abi12>*gasp* did you say malloc()?
18:35-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:35<Abi12>I'm a soon-to-be college graduate, and I remembering sitting through my x86 and system-level programming classes :p
18:36-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
18:36-!-bumbleVole is "bumbleVole" on #linode
18:36<dwfreed>I took an intro to C class my freshman year of college (was part of degree requirements); textbook for the class? K&R
18:38-!-thiras [~thiras@195.174.215.70] has quit [Ping timeout: 480 seconds]
18:38<waltman>dwfreed: it's a classic!
18:38<Abi12>dwfreed: I found it on goodreads. Did you attend college in 1988? :p
18:39<dwfreed>no, 2010
18:39<Abi12>mine was K.N King - 2nd edition. ( I'm looking at it right now )
18:39<waltman>The second editionw wasn't even out yet then.
18:39<Abi12>oh boi
18:39<dwfreed>there's a reason the teacher picked it
18:39<dwfreed>its principles are timeless
18:39<waltman>Your teacher attended college in 1988?
18:40<dwfreed>no, he actually wasn't much older, because he was a grad student
18:44-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:46-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
18:46-!-bumbleVole is "bumbleVole" on #linode
18:47-!-thiras [~thiras@139.59.128.187] has joined #linode
18:47-!-thiras is "realname" on #debian #linode #virt #tami
18:58-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:58-!-NomadJim [~Jim@72.168.160.11] has quit [Read error: Connection reset by peer]
19:00-!-NomadJim [~Jim@72.168.160.234] has joined #linode
19:00-!-NomadJim is "Nomad" on #linode #debian
19:05-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has quit [Quit: Leaving]
19:09-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
19:09-!-bumbleVole is "bumbleVole" on #linode
19:26<waltman>O'Reilly has a book called "21st Century C" which is a great resource on what's changed since K&R.
19:27<dwfreed>the reality is not that much
19:27<dwfreed>mostly just POSIX providing a standard for syscalls and stdlib
19:28<waltman>He covers things like the toolchain, updates to the language spec, etc.
19:28<dwfreed>there's a few new language features in C99 that are nice, like variable-length arrays, and the ability to declare your loop variable in your loop
19:28<dwfreed>a proper boolean type is nice
19:29<dwfreed>stdint.h is great too
19:29<waltman>I've mostly moved to C++, mainly because I want vectors, maps and strings.
19:38<dwfreed>pft
19:43-!-jeremiah [~jeremiah@ool-4355a1bc.dyn.optonline.net] has joined #linode
19:43-!-jeremiah is "Jeremiah C. Foster" on #linode
19:56-!-mode/#linode [+o marques] by ChanServ
20:02-!-thiras [~thiras@139.59.128.187] has quit [Ping timeout: 480 seconds]
20:14-!-thiras [~thiras@195.174.215.70] has joined #linode
20:14-!-thiras is "realname" on #debian #linode #virt #tami
20:15-!-anomie [~anomie@cpe-2606-A000-1010-71B-A2F2-4840-70BD-70A1.dyn6.twc.com] has joined #linode
20:15-!-anomie is "Anomie" on #linode
20:21-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:25-!-NomadJim [~Jim@72.168.160.234] has quit [Read error: Connection reset by peer]
20:32-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
20:32-!-bumbleVole is "bumbleVole" on #linode
20:35-!-Apache_loser [~oftc-webi@47.34.58.74] has joined #linode
20:35-!-Apache_loser is "OFTC WebIRC Client" on #linode
20:37<Apache_loser>I was wondering if someone could help me get Apache up. It's been kicking my ass.
20:38<linbot>New news from community: How do I find out or set up an ftp address <https://www.linode.com/community/questions/17223>
20:38<Apache_loser>I removed some directories and it borked apache. Now I've gone too far and can't figure out what way is up.
20:39<smallclone>Apache_loser: what directories did you remove?
20:40<smallclone>if you have backups, you will probably want to restore from one
20:40<Apache_loser>nothing system related, directories referenced by VirtualHost files. Contain web files I no longer needed.
20:41<Apache_loser>not sure why deleting those dirs would hose apache.
20:41<smallclone>what's the domain?
20:41<Apache_loser>SSL is also involved, via LetsEncrypt, but I no longer need that. So it would create error in VirtualHost referencing pem files, so I commented them out.
20:42<Apache_loser>one domain: gamingandbs.com
20:42<Apache_loser>ip 69.164.201.183
20:45<smallclone>so i'm guessing apache failed to start
20:45<smallclone>what's the os / version?
20:46<Apache_loser>correct, apache won't start
20:46<LouWestin>https://usercontent.irccloud-cdn.com/file/vEprNWxe/1538527572.JPG
20:46<Apache_loser>ubuntu 14.04.5 LTS
20:46<smallclone>Apache_loser: what's in the log from the time it fails to start?
20:47<smallclone>!paste
20:47<linbot>Please paste longer snippets over at https://bpaste.net/ and not in the channel
20:47<Apache_loser>so I do have gamingandbs.com going through cloudflare for SSL
20:47<Apache_loser>It was working fine
20:47<LouWestin>smallclone: Oops sorry.
20:49<Apache_loser>https://bpaste.net/show/622aca14ecb8
20:49-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has joined #linode
20:49-!-acald3ron is "Armando" on #linode #debian-next #debian-mx #debian-es #debian
20:50<smallclone>ah ok so
20:50<smallclone>did you remove /home/skelley/public/taleswithrails.com/
20:50<Apache_loser>yep
20:50<smallclone>ok
20:51<Apache_loser>I recreated the dir
20:51<Apache_loser>just to see if that would fix it.
20:51<Apache_loser>no dice
20:51<smallclone>did you disable the site
20:51<smallclone>a2dissite taleswithrails.com
20:51<Apache_loser>Not before deleting.
20:51<Apache_loser>did try after the fact, but then I think that did not work.
20:52<Apache_loser>says ERROR: Site taleswithrails.com does not exist!
20:52<Apache_loser>when a2dissite
20:52<smallclone>ok
20:53<smallclone>so the vhost file presumably no longer exists in the sites-enabled directory either?
20:53<Apache_loser>i don't see it when i do apache2ctl -S
20:54<Apache_loser>https://bpaste.net/show/323936952c52
20:54<LouWestin>He’s getting a 521 error now.
20:55<Apache_loser>Lou - probably because name servers are via cloudflare
20:55<LouWestin>Ok
20:55<Apache_loser>my apache server won't start
20:56<frailtyy>Apache_loser: Prettyh apt name
20:56<Apache_loser>I thought so
20:59-!-frailtyy [~frailtyy@0002753b.user.oftc.net] has quit [Quit: Thanks for nothing!]
20:59<Apache_loser>I do have taliswithrails.com virtualhost file
21:00<smallclone>Apache_loser: is it in sites-enabled?
21:00-!-frailtyy [~frailtyy@total.slav.estate] has joined #linode
21:00-!-frailtyy is "Thanks for nothing!" on #outerspace #linode @#eatfreshthunderdome
21:00<Apache_loser>under /etc/apache2/sites-available
21:01<Apache_loser>yes, there is...
21:01<Apache_loser>taleswithrails.com
21:01<Apache_loser>and
21:01<Apache_loser>taleswithrails.com-le-ssl.conf
21:01<smallclone>i would move or remove that if it's under sites-enabled
21:01<smallclone>then restart it
21:03<Apache_loser>no go
21:03<Apache_loser>skelley@matrix:/etc/apache2/sites-available$ sudo service apache2 restart * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/taleswithrails.com: No such file or directory Action 'conf
21:03<smallclone>well i think that's pretty self-explanatory
21:04<Apache_loser>you mentioned moving it. I did that in sites-available
21:05<LouWestin>Do you still have the actual site files and DB files?
21:05<smallclone>you should find that line in /etc/apache2/apache2.conf
21:05<Apache_loser>I can nuke anything taleswithrails.com
21:05<Apache_loser>I don't have domain.
21:05<smallclone>then remove that line too
21:05<Apache_loser>I'll check that line. Overlooked that.
21:07<Apache_loser>oh my god. I think it started
21:07<Apache_loser>Now I'm getting other errors, but apache is running.
21:08<smallclone>well that's progress at least
21:08<LouWestin>http://taleswithrails.com/ isn’t showing up right now
21:09<Apache_loser>Why would my sites go to 403 errors?
21:09<Apache_loser>the line I had to remove was
21:10<Apache_loser>Include sites-enabled/*
21:10<smallclone>oh
21:10<Apache_loser>I commented that out and restarted apache
21:10<smallclone>well
21:10<smallclone>that's not such a great idea
21:10<smallclone>ok so apparently you have files in sites-enabled that are referencing taleswithrails.com
21:10<smallclone>you should
21:11<smallclone>add that "Include sites-enabled/*" line back to apache2.conf
21:11<Apache_loser>done
21:11<Apache_loser>restarted apache, failed. wah wah
21:12<smallclone>you need to find the vhosts that are referencing it
21:13<smallclone>grep -R 'tailswithrails.com' /etc/apache2/sites-enabled
21:14<Apache_loser>skelley@matrix:/etc/apache2/sites-available$ grep -R 'taleswithrails.com' /etc/apache2/sites-enabled/ grep: /etc/apache2/sites-enabled/taleswithrails.com: No such file or directory /etc/apache2/sites-enabled/taleswithrails.com-le-ssl.conf: DocumentRoot /home/skelley/public/taleswithrails.com/public /etc/apache2/sites-enabled/taleswithrails.com-le-ssl.conf: ErrorLog /home/skelley/public/taleswithrails.com/log/error.log /etc/apache2/sites-enabled/tale
21:15<Apache_loser>here, better view
21:15<Apache_loser>https://bpaste.net/show/340b4fe4eb5b
21:16<smallclone>ok so you need to remove taleswithrails.com-le-ssl.conf
21:16<smallclone>in that directory
21:17<Apache_loser>i did a mv on it, renamed it
21:18<Apache_loser>restarted apache, syntax on that stupid line 244 of apache2.conf
21:18<smallclone>move it to a different directory
21:18<smallclone>anything in that directory will be treated as an active site
21:18<Apache_loser>ok
21:21<Apache_loser>moved them to home dir
21:21<smallclone>ok now restart apache
21:22<Apache_loser>same error
21:22<Apache_loser>https://bpaste.net/show/70a32538613c
21:23<smallclone>so
21:23<smallclone>taleswithrails.com
21:23<smallclone>that file exists in sites-enabled
21:23<smallclone>also?
21:23<Apache_loser>They are there, but different color than other files
21:24<Apache_loser>Can I nuke those?
21:24<smallclone>it's probably a symlink
21:24<Apache_loser>doesn't it carry over? right
21:24<Apache_loser>correct link
21:24<smallclone>just rm it
21:25<Apache_loser>ok
21:25<Apache_loser>gone
21:26-!-jeremiah [~jeremiah@ool-4355a1bc.dyn.optonline.net] has quit [Quit: jeremiah]
21:26<Apache_loser>restarting apache
21:26<smallclone>welp you know what to do
21:26<smallclone>reboot apache again
21:26<Apache_loser>did not start
21:26<Apache_loser>no error
21:26<Apache_loser>action 'start' failed
21:27<smallclone>nothing in the error log?
21:27<Apache_loser>your help is greatly appreciated sclone
21:27-!-ckuehl [~ckuehl@raziel.ckuehl.me] has joined #linode
21:27-!-ckuehl is "Chris Kuehl" on #linode #debian-printing
21:28<Apache_loser>https://bpaste.net/show/5813dc0aa596
21:29<dwfreed>"See /home/skelley/public/seanpkelley.net/log/error.log for more information
21:29-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has quit [Ping timeout: 480 seconds]
21:32<Apache_loser>https://bpaste.net/show/e4549ab68ed5
21:34<Abi12>Apache_loser: https://serverfault.com/questions/460876/server-should-be-ssl-aware-but-has-no-certificate-configured-hint-sslcertific
21:34-!-anomie [~anomie@00018802.user.oftc.net] has quit [Quit: Leaving]
21:35<Abi12>Use Solution 2..
21:37<Apache_loser>where is listen.conf ?
21:37<Abi12>Maybe it's ports.conf
21:38<Abi12>/etc/apache2/ports.conf
21:38-!-acald3ron [~acald3ron@2600:3c01:e000:20c::1002] has joined #linode
21:38-!-acald3ron is "Armando" on #linode
21:39<Apache_loser>ok edited ports
21:39<Apache_loser>restarting apache
21:39<Apache_loser>failed
21:39<Abi12>what
21:39<Abi12>what's the error now*
21:40<Apache_loser>apache error.log looks same
21:42<Apache_loser>https://bpaste.net/show/7b624aa71a80
21:43<Apache_loser>ugh
21:44<Apache_loser>apache error log https://bpaste.net/show/186ea9f837cf
21:46-!-NomadJim [~Jim@2001:5b0:2d1f:d4c8:d102:cc8d:23b3:124f] has joined #linode
21:46-!-NomadJim is "Nomad" on #linode #debian
21:46-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:47<Apache_loser>think I'm in for a long night.
21:47<Abi12>Apache_loser: Are you running this without ssl?
21:48<Apache_loser>Trying to...
21:48<LouWestin>Can you pull the import files and dump the database into a file for safe keeping?
21:48-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
21:48-!-bumbleVole is "bumbleVole" on #linode
21:48<Apache_loser>yeah, will take a bit.
21:48<Apache_loser>don't run linux command every day so it's a process for me.
21:48<LouWestin>*important files.
21:49<Apache_loser>I have sftp, so files should be in order, and have back up.
21:50<LouWestin>Worst case, you’ll have to start from scratch...been there once or twice.
21:50<Abi12>Apache_loser: are you trying to run it on port 443?
21:50<Apache_loser>yeah, not looking forward to that.
21:50<Apache_loser>I dont want to. Not sure where I need to 'un-do' Letsencrypt ie SSL
21:51<LouWestin>But as long as you have a backup you should be good
21:51<Abi12>Apache_loser: try `a2dismod ssl`
21:52<Apache_loser>done
21:52<Abi12>restart.
21:52<Abi12>^ apache.
21:52<Apache_loser>error
21:52<Apache_loser>line 11 on .conf file
21:52<Abi12>Can I see it?
21:53<Apache_loser>https://bpaste.net/show/3a4a2d2fbf47
21:54<Apache_loser>i remove line in that file in 'available' not 'enabled' correct?
21:54<Abi12>Can you comment out that line?
21:54<Apache_loser>in avail or enabled?
21:54<Abi12>`'SSLEngine'` in /etc/apache2/sites-enabled/seanpkelley.net.conf
21:56<Apache_loser>now getting could not bind to address 0.0.0.0:80
21:56<Abi12>do `ps -A | grep apache`
21:56<Abi12>check if it's still running.
21:56<Apache_loser>https://bpaste.net/show/1be6a7e4bcd0
21:56<Abi12>kill the process if it is, and then try starting.
21:57<Apache_loser>no process
21:58-!-acald3ron [~acald3ron@2600:3c01:e000:20c::1002] has quit [Ping timeout: 480 seconds]
21:58<Abi12>Apache_loser: try running the daemon as sudo
21:58<Abi12>`/etc/init.d/apache2 start`
21:58<Apache_loser>oh damn
21:58<Apache_loser>No error!!
21:58<Abi12>\o/
21:59<Apache_loser>grep produces process
21:59<Abi12>Can you access the site?
21:59<Apache_loser>no
22:00<Apache_loser>connection refused
22:00<Apache_loser>redirecting to https
22:01<Apache_loser>I have to check .htaccess
22:01<Abi12>Make sure it's Listening on 80.
22:01<Apache_loser>one site works http://talentjockey.com/
22:02<LouWestin>^
22:02<Apache_loser>so to check if listening on 80, do i have to check each VirtualHost file and .htaccess ?
22:02<Abi12>hmm weird. You can access one but not the others?
22:02<Abi12>Was that site originally running without SSL?
22:02-!-NomadJim [~Jim@2001:5b0:2d1f:d4c8:d102:cc8d:23b3:124f] has quit [Read error: Connection timed out]
22:03-!-NomadJim [~Jim@2001:5b0:2d1f:d4c8:d102:cc8d:23b3:124f] has joined #linode
22:03-!-NomadJim is "Nomad" on #debian #linode
22:03<Abi12>but yeah make sure the configuration is set to Listen 80, and remove any previous SSL redirection parameters.
22:05<Abi12>- in each VirtualHost file..? I'm not too familiar with how Apache manages vhosts, but if that's the way you set it up then yes. They must be in the 'sites-enabled' dir.
22:07<Apache_loser>ok
22:07<Apache_loser>I think I need to tweak some name servers
22:08<Apache_loser>have another site that works.
22:08<Apache_loser>so ones that weren't covered by ssl work
22:08<Apache_loser>some I have going through cloudflare, so I have to change that.
22:08<Apache_loser>Thank you everyone.
22:08<Apache_loser>Seriously.
22:08<Apache_loser>Not even sure what to say.
22:09<Abi12>I have a secret.
22:09<Abi12>I googled all your errors.
22:09<dwfreed>IT 101: we just google shit too
22:09-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has joined #linode
22:09-!-acald3ron is "Armando" on #debian-es #debian-mx #debian-next #linode
22:09<Abi12>dwfreed: phew
22:10<Abi12>Yeah, but next time just plug your error message into google Apache_loser. You'll find what you're looking for.
22:10<Abi12>ahh I use duckduckgo these days though..
22:13<LouWestin>Guides, google, trial and error, and IRC. ;-)
22:13<LouWestin>Keep good backups in case you reach the point of no return.
22:14<Apache_loser>well your google-fu was better than mine.
22:14<Apache_loser>It was driving me crazy
22:14<Apache_loser>so I have some sites working, just have to tweak the others. I hope
22:15<LouWestin>Take notes too. These guys helped me too when I needed it.
22:15<Abi12>Also make sure never to use epoll.. always use select Apache_loser
22:15<Abi12>*triggers dwfreed*
22:15<LouWestin>lol
22:16-!-eyepulp [~eyepulp@c-71-239-4-144.hsd1.il.comcast.net] has quit [Remote host closed the connection]
22:18<Apache_loser>wonder why some are resolving to https
22:18<Abi12>Apache_loser: You don't have a 'Rewrite' rule in any of the vhost configurations?
22:19-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:19<Apache_loser>checking them now
22:19<Abi12>Apache_loser: also you shouldn't be running anything on port 443 now. Do `netstat -autn -p` to make sure though.
22:20<Apache_loser>I don't see anything on port 443.
22:21-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has joined #linode
22:21-!-bumbleVole is "bumbleVole" on #linode
22:22<LouWestin>Check .htaccess too just in case
22:22<LouWestin>Might be more than one.
22:23<Apache_loser>gamingandbs.com is one I'm most concerned with
22:23<Abi12>Apache_loser: yeah looks like it's directing me to https when I curl it.
22:24<Apache_loser>won't do just 80
22:24<Apache_loser>hmmm...
22:24<Abi12>s/curl/wget. curling without redirects enabled returns some output.
22:24<Abi12>'this page has moved to.. etc'
22:25<dwfreed>curl -L will follow redirects
22:25<dwfreed>curl -vL for fun and profit
22:26<Apache_loser>curl -L returns cloudflare
22:26<millisa>unflip this switch over at cloudflare - https://blog.cloudflare.com/content/images/2017/07/image2-1.png
22:26<Apache_loser>changed DNS servers
22:27<Abi12>wget automatically follows redirects.
22:27<Apache_loser>did that switch at cloudflare
22:29<Apache_loser>think i need servers to resolve
22:36-!-Apache_loser2 [~oftc-webi@47.34.58.74] has joined #linode
22:36-!-Apache_loser2 is "OFTC WebIRC Client" on #linode
22:36<Apache_loser2>switched computers
22:42-!-eyepulp [~eyepulp@50-83-205-92.client.mchsi.com] has joined #linode
22:42-!-eyepulp is "eyepulp" on #linode
22:50-!-eyepulp [~eyepulp@50-83-205-92.client.mchsi.com] has quit [Ping timeout: 480 seconds]
22:57-!-bumbleVole [~bumbleVol@ool-43522b0d.dyn.optonline.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:19-!-JessicaNewb [~oftc-webi@124.189.227.143] has joined #linode
23:19-!-JessicaNewb is "OFTC WebIRC Client" on #linode
23:20<JessicaNewb>Hello. How do you add the private network settings on the new Ubuntu 18.04's?
23:21<JessicaNewb>I've enabled it on the dashboard/gui but now I want to configure it on the box itself.
23:24-!-acald3ron [~acald3ron@189.202.74.174.cable.dyn.cableonline.com.mx] has quit [Quit: Leaving]
23:25-!-beatdown [beatdown@beatdown.user.oftc.net] has joined #linode
23:25-!-beatdown is "from womb to waste" on #linode #Corsair #debian-next #debian #moocows #oftc
23:44-!-BerlinerPlatz [~root@2a01:7e01::f03c:91ff:fe92:a2e6] has joined #linode
23:44-!-BerlinerPlatz is "root" on #linode
23:53-!-BerlinerPlatz [~root@2a01:7e01::f03c:91ff:fe92:a2e6] has quit [Quit: WeeChat 1.9.1]
---Logclosed Wed Oct 03 00:00:09 2018