Search Debian Channel Logs

Thursday, February 2, 2017

#debian channel featuring somiaj, Throdne_, deznuts, mutante, buu, Hello71,

buu 2017-02-02 15:45:35
How do I remount my root partition as readwrite
mutante 2017-02-02 15:48:21
buu: mount -o remount, rw /dev/...
Hello71 2017-02-02 15:48:30
lol
buu 2017-02-02 15:52:04
mutante: mount: cannot remount /dev/mapper/localhost--vg-root read-write, is write-protected =[
mutante 2017-02-02 15:52:42
buu: try adding -n option too
mutante 2017-02-02 15:52:54
otherwise.. boot from something else, like a flash drive or cd
buu 2017-02-02 15:52:57
same
buu 2017-02-02 15:53:00
can't
buu 2017-02-02 15:53:10
How does does rebooting help me remount
mutante 2017-02-02 15:53:45
it let's you edit config files that are now readonly
mutante 2017-02-02 15:54:50
probably there is a reason that your / is read-only, which might be the disk is about to die
mutante 2017-02-02 15:55:23
might be best if you just backup it now
mutante 2017-02-02 15:55:59
check "dmesg" for more info
buu 2017-02-02 15:59:15
mutante: The reason is it's a shitty vps on a terrible host with the root mounted from a terrible san
buu 2017-02-02 15:59:25
Also that being said I still want it to rewrite
buu 2017-02-02 15:59:29
remount*
mutante 2017-02-02 16:01:45
buu: http://unix.stackexchange.com/questions/74090/linux-how-to-change-hdd-state-from-readonly-after-temporarly-crash
buu 2017-02-02 16:04:52
well
buu 2017-02-02 16:04:54
that's not great
mutante 2017-02-02 16:07:36
buu: yea, the best i have is the "
mutante 2017-02-02 16:07:36
try with blockdev --setrw or hdparm -r 0
mutante 2017-02-02 16:07:46
if that also fails.. dunno :/
mutante 2017-02-02 16:08:18
besides "open ticket with VPS provider"
buu 2017-02-02 16:12:00
hrm
buu 2017-02-02 16:12:01
dm-uuid-LVM-XNkIcXv0KgtUGrPT7f6ahDlWo0J3PxjQJMFIjXH3Ag6bHKUbOgF0MgMTFQvVWHH7
buu 2017-02-02 16:13:08
Hrm, --getro says "0"
Gazooo 2017-02-02 16:16:24
can I upgrade glibc to 2.23 or 2.24 easily on 8.7?
Throdne_ 2017-02-02 16:27:23
I know this might be the wrong channel, but I'm running this software off debian build I figure maybe someone knows what to do...
Throdne_ 2017-02-02 16:29:04
I have a homelab that is running XenServer running two VMs. One VM is apache and the other is a turnkey linux for gitlab. both VM have there own internal IP and runs on port 80 to 1 WAN IP.
deznuts 2017-02-02 16:29:32
11:55 PM My internet connection drops after 1 min aftet boot. debian jessie realtek driver up to date. Ethernet drops too. Can i get some help?
somiaj 2017-02-02 16:30:24
Throdne_: by off debian build, you mean debian is the host?
Throdne_ 2017-02-02 16:30:25
My problem is all my port 80 traffic routes to the apache VM but I want git.domain.com to route to gitserver VM
Throdne_ 2017-02-02 16:30:31
yes
Throdne_ 2017-02-02 16:31:50
I tried to post my question in channel #httpd but with 406 users the channel has been dead for 30 minutes.
somiaj 2017-02-02 16:33:02
Throdne_: the guest each have ip's that are visable to your network? Or do you have a virtual network in which the only outside ip is the host and the host usea a NAT to route ports to the correct guest?
somiaj 2017-02-02 16:34:09
deznuts: dmesg give any clues why it is dropping? Have you tried a backported kernel and firmware to see if that fixes the issue (for newer drivers)
Throdne_ 2017-02-02 16:35:19
on my router (edgerouter) I have a port forward (80) to internal ip of the apache VM. I not sure how I can have domain.com and git.domain.com using port 80 point to different VMs (each with there own ip 10.0.1.100, 10.0.1.101)
somiaj 2017-02-02 16:36:38
but this is the same network the guest is on, so it is the router that controls where trafic goes and not the host?
somiaj 2017-02-02 16:36:59
In this case you have to see if it is possible to configure the route to route based off of domian name in a http request and not just port
somiaj 2017-02-02 16:37:15
or you will have to put your git.domain.com on a different port.
deznuts 2017-02-02 16:37:42
https://usercontent.irccloud-cdn.com/file/ZVqFQi7q/irccloudcapture-1901711676.jpg
somiaj 2017-02-02 16:38:09
It might be the router can't do this, in that case you may need to set up some system that understands httprequests and can route to the correct domain based off of the name used and not just the ip
deznuts 2017-02-02 16:38:11
somiaj: masquerade lo ate my ip address
somiaj 2017-02-02 16:39:03
deznuts: what are you doing? I don't see how this relates to your question? What sort of routing/network setup do you have? Why do you have masquerade setup?
Throdne_ 2017-02-02 16:39:05
are you describing a load balancer like?
somiaj 2017-02-02 16:39:20
Throdne_: just a router, not a load balancer
somiaj 2017-02-02 16:39:50
Throdne_: but not all routers read http request info, so the router may only know what port is being requested and not what domain name was used by the client.
deznuts 2017-02-02 16:40:20
somiaj: until now i didnt know i had masquerade
somiaj 2017-02-02 16:40:27
Throdne_: but the idea is you want to route based off of domain name. Now most webservers already do this with virtual domains, but since you have these servers on two different guests, you need to configure your router to understand the difference.
somiaj 2017-02-02 16:40:40
deznuts: I really don't see what is going on, but I would assume that is your problem, but don't know where to look to debug/fix it
Throdne_ 2017-02-02 16:40:57
I think I see what you are talking about
deznuts 2017-02-02 16:41:07
Last thing i did was upgrade java se
somiaj 2017-02-02 16:41:40
Throdne_: and I don't know if simple routers can distnigish between foo1.com or foo2.com being the domain named used if they resolve to the same ip. In this case you may have to just use a differnt port for your git.domain.com address, and use git.domain.com:8080 or something like that
deznuts 2017-02-02 16:41:46
What is masquerade and how do i get rid of it
Throdne_ 2017-02-02 16:41:49
somiaj, you called it "read http request info" what would be the technical name so I can do some google searches.
somiaj 2017-02-02 16:42:03
Throdne_: and configure your router to route 8080 to the correct guest
somiaj 2017-02-02 16:42:29
Throdne_: I don't know the exact name, but it is in the http request header or http header...
Throdne_ 2017-02-02 16:42:52
that is what I had, domain.com (apache) and domain.com:81 (gitserver) but I would like to use subdomains now.
somiaj 2017-02-02 16:43:03
Throdne_: https://en.wikipedia.org/wiki/List_of_HTTP_header_fields -- it is the host in the header
somiaj 2017-02-02 16:43:15
Throdne_: but this is part of the http request and may not be visable to a basic router.
deznuts 2017-02-02 16:43:15
https://usercontent.irccloud-cdn.com/file/YL5gEEl7/irccloudcapture514330456.jpg
Throdne_ 2017-02-02 16:43:25
Thanks, somiaj !!!!
somiaj 2017-02-02 16:43:48
Throdne_: as in you may need a more sophosicated router than can read this info.
deznuts 2017-02-02 16:43:56
https://usercontent.irccloud-cdn.com/file/ND1GnLjV/irccloudcapture-845149576.jpg
somiaj 2017-02-02 16:44:41
deznuts: I'm having trouble reading that, and may not nkow enough to be of much help.
deznuts 2017-02-02 16:45:10
K
Throdne_ 2017-02-02 16:45:11
somiaj, you are the man!!!! I think I just found what I needed
Throdne_ 2017-02-02 16:45:12
https://community.ubnt.com/t5/EdgeMAX/Routing-to-Different-IP-s-Internally-for-Different-Subdomains/td-p/1261903