Bert_2 | Hi 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 |
---|---|---|
JanC | Bert_2: sounds like a logwatch bug to me | 07:59 |
=== JanC_ is now known as JanC | ||
MartesZibellina | I need some help. | 11:24 |
MartesZibellina | I can't connect to my server on a client PC, even thought apt update and local SSH-ing work fine. | 11:24 |
MartesZibellina | Hello? | 11:43 |
ikonia | define can't connect | 11:49 |
MartesZibellina | Cygwin says: "Could not resolve hostname <hostname>: Name or service not known". | 11:55 |
ikonia | ok - so there is no dns entry for it | 11:56 |
tomreyn | so this system has a name resolution issue | 11:56 |
ikonia | cygwin....ugh | 11:56 |
tomreyn | not an ubuntu issue | 11:56 |
MartesZibellina | WinSCP also reports the same issue. | 11:56 |
ikonia | you have no name server resoution for your ubuntu IP | 11:57 |
MartesZibellina | How do I alleviate that issue? | 11:57 |
ikonia | fix whatever your name service is | 11:58 |
ikonia | or put an entry in the hostfile on the client | 11:58 |
MartesZibellina | How? | 11:58 |
tomreyn | or connect to the servers' ip address , not hostname | 11:58 |
MartesZibellina | Oh. | 11:58 |
MartesZibellina | BTW, how do I check my IP address on the server? | 11:58 |
tomreyn | ip a | 11:58 |
MartesZibellina | Now it says "Connection refused". | 12:02 |
MartesZibellina | Which IP address should I connect to? | 12:13 |
tomreyn | the one the service your are trying to connect to listens on | 12:16 |
tomreyn | "netstat" -pn or "lsof -i" would show. | 12:17 |
MartesZibellina | Which IP address, to be exact? | 12:32 |
tomreyn | how would we know? | 12:37 |
tomreyn | you 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 |
tomreyn | so, without more details from your end, no one will be able to help you. | 12:39 |
MartesZibellina | The server and the client reside in the same home network. | 12:43 |
MartesZibellina | I can upload a photo if you want. | 12:43 |
MartesZibellina | https://s19.postimg.org/51wl94vsj/lsof_-i_output.jpg | 12:48 |
MartesZibellina | BTW, how can I scroll text in the non-desktop terminal? | 12:49 |
MartesZibellina | Ie., the one that you open with Alt+1-Alt+6. | 12:50 |
MartesZibellina | Hello? | 13:14 |
FManTropyx | did you try the PgUp/PgDn keys? | 13:15 |
MartesZibellina | They don't work and PgDn only yields me a tilde sign. | 13:18 |
rsx | Shift+PgUp/PgDn should work | 13:20 |
MartesZibellina | It works! | 13:22 |
MartesZibellina | But still, what am I supposed to do? | 13:34 |
rsx | is sshd running at your server? check i.e. with netstat -tlp | grep sshd | 13:37 |
MartesZibellina | https://s19.postimg.org/4b8gh0y7n/20171105_144153.jpg | 13:43 |
MartesZibellina | The command's output. | 13:43 |
rsx | what does /var/log/auth.log tells about connection refused? | 13:48 |
MartesZibellina | On the client? | 13:50 |
rsx | on the server | 13:50 |
MartesZibellina | May I post a picture of it? | 13:50 |
rsx | yes | 13:52 |
MartesZibellina | Or you know what? I'll just upload it on hastebin. | 13:53 |
MartesZibellina | https://hastebin.com/uyuwucerix.sql | 14:01 |
rsx | Can't see any ssh connection from your client. Did you try to ssh via ip address from your client? | 14:05 |
MartesZibellina | When I try connecting to the CORRECT IP address, on the correct port, it says "Connection timed out". | 14:12 |
rsx | that means your client cannot access your server at port 22/tcp. Do you get an replay for ping from client to server? | 14:16 |
rsx | reply | 14:16 |
MartesZibellina | How do I ping it? | 14:17 |
MartesZibellina | With cmd? | 14:17 |
rsx | cmd: ping <ip address> | 14:18 |
MartesZibellina | The host is unreachable. | 14:18 |
rsx | can you ping any other machine i.e. router from your client and your server? | 14:20 |
MartesZibellina | I can ping my router just fine. | 14:23 |
rsx | ping server to router is ok, ping from server to client any vice versa is not? | 14:28 |
MartesZibellina | Ping to router from client AND server are both fine. | 14:33 |
MartesZibellina | Let me try server->client. | 14:33 |
MartesZibellina | That works just fine. | 14:34 |
MartesZibellina | How do I stop the pinging process? | 14:34 |
rsx | CTRL+C | 14:35 |
rsx | do you have any kind of firewall configured on the server? | 14:36 |
MartesZibellina | No. | 14:37 |
rsx | check iptables -L -n | 14:37 |
MartesZibellina | On server? | 14:37 |
rsx | yes | 14:37 |
rsx | last idea: do all machines have the same netmask? | 14:38 |
MartesZibellina | How do I check it? | 14:38 |
rsx | ip a | 14:41 |
MartesZibellina | https://s19.postimg.org/y0ln9fetf/20171105_154331.jpg | 14:44 |
rsx | are client or server connected via WLAN? | 14:48 |
rsx | and if so, does your router (access point) allow communication between clients? | 14:49 |
ikonia | this is getting silly | 15:06 |
ikonia | why is someone trying to run a server who doesn't understand basic networking | 15:06 |
MartesZibellina | The client is connected through Ethernet, and the server through a wireless adapter. | 15:11 |
ikonia | MartesZibellina: have you got a basic grasp of IP networking | 15:12 |
MartesZibellina | I just want my problem to be solved. | 15:21 |
ikonia | MartesZibellina: I understand that, that's why I'm asking if you understand basic TCP IP networking | 15:22 |
MartesZibellina | I don't think so. | 15:27 |
ikonia | ok - so why are you trying to run a server ? | 15:27 |
MartesZibellina | I want to make an use of my old PC. | 15:28 |
MartesZibellina | Why would it be only lying around, after all? | 15:28 |
MartesZibellina | The SSH worked just fine before rebooting. | 15:28 |
ikonia | then I suggest you research a basic understanding of networking | 15:28 |
MartesZibellina | Are there any good sites? | 15:29 |
ikonia | just buy a book | 15:30 |
=== Isla_de_Muerte is now known as NwS | ||
MartesZibellina | Maybe removing desktop environments will help? | 16:36 |
MartesZibellina | Also, there's "A job is starting for Wait for Network to be Configured". | 16:41 |
MartesZibellina | And it fails. | 16:41 |
MartesZibellina | Upon boot. | 16:41 |
ikonia | MartesZibellina: again, this is why you need basic understanding of networking | 17:09 |
MartesZibellina | Now, the problem's solved! | 17:30 |
MartesZibellina | It's the desktop environment that's been interfering with the server! | 17:31 |
ikonia | what ? | 17:40 |
MartesZibellina | Now I can SSH just fine. | 17:44 |
ikonia | the desktop does not touch ssh | 17:44 |
MartesZibellina | Maybe the network manager did. | 17:45 |
ikonia | if you have configured /etc/interfaces and network manager then of course it will fight | 17:45 |
ikonia | as both are trying to manage the network card | 17:45 |
MartesZibellina | In any case, now I can rest assured that my client will SSH just fine to the server. | 17:50 |
MartesZibellina | I 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!