/srv/irclogs.ubuntu.com/2017/11/05/#ubuntu-server.txt

Bert_2Hi guys, I was looking into why logwatch for my NAS wasn't reporting zfs info and I noticed that the zz-zfs.conf service script for logwatch presumes the zfs and zpool binaries are in /usr/sbin while zfsonlinux in 16.04 installs those in /sbin/, should I file this as a logwatch bug or a zfsonlinux bug on launchpad?04:47
JanCBert_2: sounds like a logwatch bug to me07:59
=== JanC_ is now known as JanC
MartesZibellinaI need some help.11:24
MartesZibellinaI can't connect to my server on a client PC, even thought apt update and local SSH-ing work fine.11:24
MartesZibellinaHello?11:43
ikoniadefine can't connect11:49
MartesZibellinaCygwin says: "Could not resolve hostname <hostname>: Name or service not known".11:55
ikoniaok - so there is no dns entry for it11:56
tomreynso this system has a name resolution issue11:56
ikoniacygwin....ugh11:56
tomreynnot an ubuntu issue11:56
MartesZibellinaWinSCP also reports the same issue.11:56
ikoniayou have no name server resoution for your ubuntu IP11:57
MartesZibellinaHow do I alleviate that issue?11:57
ikoniafix whatever your name service is11:58
ikoniaor put an entry in the hostfile on the client11:58
MartesZibellinaHow?11:58
tomreynor connect to the servers' ip address , not hostname11:58
MartesZibellinaOh.11:58
MartesZibellinaBTW, how do I check my IP address on the server?11:58
tomreynip a11:58
MartesZibellinaNow it says "Connection refused".12:02
MartesZibellinaWhich IP address should I connect to?12:13
tomreynthe one the service your are trying to connect to listens on12:16
tomreyn"netstat" -pn or "lsof -i" would show.12:17
MartesZibellinaWhich IP address, to be exact?12:32
tomreynhow would we know?12:37
tomreynyou are trying to connect, using an unknown protocol, from some client (ip address unknown) to some service (unknown) listening on some (unknown) port on a server running ubuntu using an unknown protocol. it is unknown which network the client and the server reside in, and how connectivity between them can be established.12:39
tomreynso, without more details from your end, no one will be able to help you.12:39
MartesZibellinaThe server and the client reside in the same home network.12:43
MartesZibellinaI can upload a photo if you want.12:43
MartesZibellinahttps://s19.postimg.org/51wl94vsj/lsof_-i_output.jpg12:48
MartesZibellinaBTW, how can I scroll text in the non-desktop terminal?12:49
MartesZibellinaIe., the one that you open with Alt+1-Alt+6.12:50
MartesZibellinaHello?13:14
FManTropyxdid you try the PgUp/PgDn keys?13:15
MartesZibellinaThey don't work and PgDn only yields me a tilde sign.13:18
rsxShift+PgUp/PgDn should work13:20
MartesZibellinaIt works!13:22
MartesZibellinaBut still, what am I supposed to do?13:34
rsxis sshd running at your server? check i.e. with netstat -tlp | grep sshd13:37
MartesZibellinahttps://s19.postimg.org/4b8gh0y7n/20171105_144153.jpg13:43
MartesZibellinaThe command's output.13:43
rsxwhat does /var/log/auth.log tells about connection refused?13:48
MartesZibellinaOn the client?13:50
rsxon the server13:50
MartesZibellinaMay I post a picture of it?13:50
rsxyes13:52
MartesZibellinaOr you know what? I'll just upload it on hastebin.13:53
MartesZibellinahttps://hastebin.com/uyuwucerix.sql14:01
rsxCan't see any ssh connection from your client. Did you try to ssh via ip address from your client?14:05
MartesZibellinaWhen I try connecting to the CORRECT IP address, on the correct port, it says "Connection timed out".14:12
rsxthat means your client cannot access your server at port 22/tcp. Do you get an replay for ping from client to server?14:16
rsxreply14:16
MartesZibellinaHow do I ping it?14:17
MartesZibellinaWith cmd?14:17
rsxcmd: ping <ip address>14:18
MartesZibellinaThe host is unreachable.14:18
rsxcan you ping any other machine i.e. router from your client and your server?14:20
MartesZibellinaI can ping my router just fine.14:23
rsxping server to router is ok, ping from server to client any vice versa is not?14:28
MartesZibellinaPing to router from client AND server are both fine.14:33
MartesZibellinaLet me try server->client.14:33
MartesZibellinaThat works just fine.14:34
MartesZibellinaHow do I stop the pinging process?14:34
rsxCTRL+C14:35
rsxdo you have any kind of firewall configured on the server?14:36
MartesZibellinaNo.14:37
rsxcheck iptables -L -n14:37
MartesZibellinaOn server?14:37
rsxyes14:37
rsxlast idea: do all machines have the same netmask?14:38
MartesZibellinaHow do I check it?14:38
rsxip a14:41
MartesZibellinahttps://s19.postimg.org/y0ln9fetf/20171105_154331.jpg14:44
rsxare client or server connected via WLAN?14:48
rsxand if so, does your router (access point) allow communication between clients?14:49
ikoniathis is getting silly15:06
ikoniawhy is someone trying to run a server who doesn't understand basic networking15:06
MartesZibellinaThe client is connected through Ethernet, and the server through a wireless adapter.15:11
ikoniaMartesZibellina: have you got a basic grasp of IP networking15:12
MartesZibellinaI just want my problem to be solved.15:21
ikoniaMartesZibellina: I understand that, that's why I'm asking if you understand basic TCP IP networking15:22
MartesZibellinaI don't think so.15:27
ikoniaok - so why are you trying to run a server ?15:27
MartesZibellinaI want to make an use of my old PC.15:28
MartesZibellinaWhy would it be only lying around, after all?15:28
MartesZibellinaThe SSH worked just fine before rebooting.15:28
ikoniathen I suggest you research a basic understanding of networking15:28
MartesZibellinaAre there any good sites?15:29
ikoniajust buy a book15:30
=== Isla_de_Muerte is now known as NwS
MartesZibellinaMaybe removing desktop environments will help?16:36
MartesZibellinaAlso, there's "A job is starting for Wait for Network to be Configured".16:41
MartesZibellinaAnd it fails.16:41
MartesZibellinaUpon boot.16:41
ikoniaMartesZibellina: again, this is why you need basic understanding of networking17:09
MartesZibellinaNow, the problem's solved!17:30
MartesZibellinaIt's the desktop environment that's been interfering with the server!17:31
ikoniawhat ?17:40
MartesZibellinaNow I can SSH just fine.17:44
ikoniathe desktop does not touch ssh17:44
MartesZibellinaMaybe the network manager did.17:45
ikoniaif you have configured /etc/interfaces and network manager then of course it will fight17:45
ikoniaas both are trying to manage the network card17:45
MartesZibellinaIn any case, now I can rest assured that my client will SSH just fine to the server.17:50
MartesZibellinaI installed lubuntu-desktop before.17:50
=== Jynxie_ is now known as Jynxie
=== markthomas_ is now known as markthomas
=== techmagus_ is now known as techmagus
=== teward_ is now known as teward
=== duxklr is now known as jemurray
=== stgraber_ is now known as stgraber

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