/srv/irclogs.ubuntu.com/2018/10/30/#ubuntu-server.txt

Glorfindelalright, so now I just change sdb to xfs using the command above, move the tileserver to it and I should be golden, right?00:00
JanCit works the same, just on a different level/size00:00
RoyKGlorfindel: have you just created a VG or have you also created an LV and put a filesystem on it?00:01
Glorfindelehhhhh what00:01
JanCthis reminds me about the CERN data storage where the fast layer is (was?) spinning rust and the slow layer was tape robots...00:02
RoyKGlorfindel: pastebin the commands you used00:02
RoyK!pastebin00:02
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.00:02
GlorfindelI created the .img like you said, but haven't changed it to xfs yet or mounted it. then I mentioned that I added block storage and I'm assuming I can change the fs on that to xfs and run the tileserver from it, leaving the rest of the system intact?00:03
RoyKGlorfindel: you don't need that img file now - you have sdb00:03
JanCyeah, if you mount that filesystem on the block storage in the right place00:03
JanCyou want the tiles to end up on that  :)00:04
JanCor maybe point the tile server to the right place, dunno what's easier00:04
Glorfindelright, ok. so now I still need to set the filesystem to xfs, and move the data for tileserver over to it?00:05
JanChow do you get the data for the tile server?00:05
RoyKrsync?00:06
GlorfindelI run java -jar ./tileserver/tileserver.jar00:06
Glorfindeltileserver.jar and the config files I got from github00:06
GlorfindelI was planning on cp-ing them over00:07
RoyKGlorfindel: anyway - just start off with 'vgcreate myfineandgloriousvolumegroup /dev/sdb' and then 'lvcreate -n mynewlogicalvolume -l 100%FREE myfineandgloriousvolumegroup' and then mkfs -t xfs /dev/myfineandgloriousvolumegroup/mynewlogicalvolume00:07
RoyKthen mount it00:07
RoyKGlorfindel: and use rsync -avPHAX instead of cp00:08
Glorfindelis it ok if I change the name of my volume group? :P00:08
RoyKobviously00:08
RoyK:)00:08
RoyKand the name of the LV, of course00:08
Glorfindelmount: can't find /dev/sdb in /etc/fstab00:10
Glorfindelrunning "mount /dev/sdb"00:11
Glorfindelhttps://paste.ubuntu.com/p/Q2vV3wpQQ6/00:12
Glorfindelignore everything after the "ls /dev/" line00:13
RoyKwell, obviously you'll need to run those lvm and mount commands as root00:13
RoyKand you'll need to mkfs -t ext4 /dev/minetestvg/tileserver and that's the one to mount - not sdb00:14
RoyKalso - to have it mounted automatically, add it to /etc/fstab00:15
Glorfindeldidn't I want to create xfs though?00:16
Glorfindelor is ext4 part of xfs00:16
RoyKtwo separate things00:16
Glorfindelok00:16
RoyKthere's no mkfs.xfs or mkfs -t xfs in that pastebin, and you're trying to mount the pv, not the lv00:16
sarnoldRoyK: wait why ext4 here?00:17
RoyKsarnold: sorry - my fault00:17
RoyKGlorfindel: no - don't put ext4 on that - put xfs on it - typo00:17
RoyKtiredtypo00:17
Glorfindeltoo late. rerun it with xfs?00:18
RoyKyep00:18
RoyKit'll tell you there's an fs there00:18
Glorfindelmkfs: failed to execute mkfs.xfs: No such file or directory00:18
RoyKapt install xfsprogs00:18
Glorfindelhttps://paste.ubuntu.com/p/Z2PGJTqP35/00:20
Glorfindelam I supposed to put -f all alone?00:20
Glorfindelrather than with the -t00:20
sarnold-ft xfs would probably work00:20
RoyKno -f00:21
sarnoldif not, then indeed -f -t xfs00:21
RoyKsarnold++00:21
RoyK-t takes an argument00:21
RoyK-f does not so it has to come first00:21
Glorfindelinvalid option 'f'00:22
Glorfindelidgi00:22
RoyKpastebin that command00:22
Glorfindelon it00:22
Glorfindelhttps://paste.ubuntu.com/p/g8CqG7VTm5/00:23
RoyKerm - move -f to the back or just run mkfs.xfs directly00:23
RoyKmkfs -t xfs is an alias for mkfs.xfs00:23
sarnoldow. I sure didn't expect *that* mess..00:24
Glorfindelmkfs.xfs -f /dev/restof/path worked00:25
RoyKsarnold: well, you get what you pay for and it's free ;)00:25
sarnoldRoyK :D00:25
Glorfindelok, so attempting to mount it, still complains of not being able to find it in /etc/fstab00:27
RoyKmount /dev/bla/bla /somewhere00:27
Glorfindelooh I get it00:27
RoyKthen - when it works - add it to /etc/fstab00:28
Glorfindelok, I'll see if I can figure out this stuff myself, seems simple enough00:29
RoyKafter adding it there, umount /somewhere and try 'mount -a'00:29
RoyKit should work00:29
Glorfindelworked00:33
RoyK:)00:33
Glorfindelit seems I need sudo to modify it though, how do I fix that?00:33
RoyKfix what?00:33
RoyKyou need sudo to do system things00:34
Glorfindelneeding sudo to add a directory00:34
Glorfindelso I'm assuming I'll need to run the .jar as sudo also00:34
RoyKdepends on where00:34
RoyK!chmod00:34
ubottuAn explanation of what file permissions are and how they can be manipulated can be found at https://help.ubuntu.com/community/FilePermissions00:34
RoyK!chown00:34
Glorfindeloh, right. I'll investigate chown then. thanks :D00:35
GlorfindelRoyK: everything seems to be working perfectly, many thanks for walking me through all that!00:49
sarnoldnice :)00:49
Glorfindelonce I open the port I'll share a link to what I was running00:50
RoyKGlorfindel: good :)01:04
Glorfindeleh, I need to mess around with this a bit more before it runs I guess. oh well. Thank you all and have a good night :)01:25
Glorfindelbut here's it running on someone elses map https://pandorabox.io/map/#-1693/-58/801:28
sarnoldthat's cool01:29
TJ-18.04 (server) has an /etc/sysctl.d/xxxx that contains "net.ipv4.ip_forward=1" but it isn't being set ("systemctl status systemd-sysctl") shows the service ran. How to debug? "/lib/systemd/systemd-sysctl --prefix=net.ipv4.ip_forward" wants to set it correctly09:33
KazaaakHello, i faced with problem i was run ZNC but when i try connect to ZNC i got error (connection refused), what can be problem? P.S. znc online.11:27
fricklercoreycb: jamespage: can you please remind me of the URL for the version check matrix for UCA packages? somehow this has dropped from my list of bookmarks11:39
ahasenackgood morning11:41
coreycbfrickler: https://wiki.ubuntu.com/OpenStack/VersionTracking11:41
fricklercoreycb: perfect, thank you11:43
tomreynKazaaak: sounds like znc is no longer running or no longer reachable on the ip:port it binds to from where you are trying to connect from.11:52
Kazaaakznc true that running because i see nick is online, by /whois and i try connect via mIRC by command /server ... and i not sure or at server are firewall maybe you can tel what command at terminal i can open ZNC port?12:11
tomreynKazaaak: just running znc should make it bind to a port which you can then connect to. if this doesn't work, check your firewall configuration, try to connect with  nc -v  from the same server and from remote to see whether the TCP connection can be established.12:17
=== emerson is now known as GDPR
chillageGood time,13:05
chillageI'm here too help Kazaaak get help..13:05
chillageso we problem is that we can't connect to znc via mIRC, i think we need open port at ubuntu terminal window, so who can tell what command line can open port if port is 123413:08
ahasenackI have an old sysv initscript (squid on xenial) that has a restart) action, and does some checks there13:08
chillage?13:08
ahasenackxenial uses systemd, though, so that is "converted" into a service13:08
ahasenackbut it looks like systemd has no specific restart action and always interprets that as stop + start13:08
ahasenackwhich means the code in the restart() function of the sysv script is not executed. It looks like systemd just calls the sysv script with stop and then tsart13:09
ahasenackis that interpretation correct?13:09
ahasenack(my interpretation)13:09
ahasenackcpaelzer: do you know? ^13:14
ahasenacklooks like it's a known issue: https://github.com/systemd/systemd/issues/217513:17
cpaelzerahasenack: yes afaik it is as you describe13:21
ahasenackok13:28
kstenerud_Has ubuntu changed how initd scripts are generated from the debian dir between xenial and bionic? I'm looking at debian/sssd-common.sssd.init.in and I can't find the file anywhere in xenial, even though it was introduced in 201013:35
ahasenackcheck d/changelog for mentions, and also d/rules to see how it is and was installed before13:36
kstenerud_bionic has the file exactly in /etc/init.d/sssd, and xenial has something vaguely similar in /etc/init/sssd.conf, but it's not the same file13:36
ahasenackit might have been converted to systemd13:36
ahasenackor upstart13:36
ahasenack /etc/init/ is an upstart config directory13:36
kstenerud_ok13:37
ahasenackyou know, you can never have enough init systems13:37
kstenerud_so if I wanted to backport pidfile handling stuff, I'd need to redo it according to upstart conventions?13:37
ahasenacklooks like it13:37
Kazaaaktomreyn, thank you that you try help, but i dont know how to check firewall with nc -v, i need try write at terminal at same server where running znc this command: nc -v <server_ip>:<znc_port>? Then from another server terminal same command?13:51
gunixis there any official documentation and best practice for using network namespaces on ubuntu 18.04? does netplan support network namespaces?16:29
kierankIs it possible to do uefi, preseed and software raid 1 with 14.04?16:49
RoyKkierank: never tried with preseed - but then - why 14.04? it's soon out of support16:53
kierankjust to match some existing configurations16:54
nacckierank: preseed is certainly supported in 14.04.16:54
kierankyes we do preseed and software 1 raid one with legacy bios16:54
kierankbut not uefi16:54
nacckierank: but as RoyK said, all of those existing configs are going eol in ~1 year16:54
nacckierank: oh i see what you are asking now, sorry16:54
RoyKnacc: or ~7 months :รพ16:55
naccRoyK: rounding up ;)16:56
RoyKkierank: if it's not too complex stuff you're working with, an upgrade should be trivial16:56
kierankyes we plan to update soon but we need to match some existing configurations in a closed environment16:56
sarnoldtrusty is likely to get an ESM service too; if you need to keep running it beyond EOL, have a conversation with an ubuntu advantage support person about your needs16:59
kieranksure17:00
naccsarnold: announced a little over a month ago: https://blog.ubuntu.com/2018/09/19/extended-security-maintenance-ubuntu-14-04-trusty-tahr18:09
sarnoldnacc: oh :) nice18:09
sarnoldnacc: thanks18:10
sdezielI can't find how long is ESM in that page18:15
sdezielseem like the #1 selling point for it :)18:15
naccsarnold: np; tbh, I wasn't sure it was announced or not, but I thought it was, so I was checking for my own edification18:23
sarnoldthat was a sprint week for me, I'm not at all surprised it didn't make an impression on me :)18:24
naccheh18:24
KazaaakHow to check or at server are firewal?18:39
naccKazaaak: Not sure I parse that, you want to check if there is a firewall on a server?18:40
sdeziel"iptables-save; ip6tables-save" should tell you what's loaded in terms of ruleset18:41
Kazaaaknacc, yes, i want to know or firewall blocks one port, because i was run ZNC and i can't connect via mIRC. Can you help me?18:52
RoyKKazaaak: as sdeziel said, check with iptables and ip6tables, either those save commands above, or iptables -vnL and ip6tables -vnL18:54
sdezielhas anyone used keepalived+conntrackd+radvd (or different combo) to setup HA firewalls? I'm looking for some advises to address a problem during failovers18:59
RoyKsdeziel: not with firewalls, but with a postgresql install - should be about the same, except some TCP sessions will be lost19:02
RoyKdidn't use conntrackd, though19:03
sdezielRoyK: interesting, since mine are firewall, they only see TCP sessions cross them and conntrackd makes the state sync between the 2 nodes19:03
RoyKdidn't know that could be clustered19:03
sdezielRoyK: yeah, works very well19:03
RoyKwhat issues are you getting?19:04
sdezielI see "bogus" RA being sent to clients19:04
sdezielI have keepalived setup to use fe80::1 as VIP and that's what clients initially pick up as their default gw19:04
RoyKall IPv6 or mixed?19:04
sdezieldual-stack but v4 works flawlessly19:04
sdezielwhen I restart keepalived it moves the master role and along with it radvd19:05
RoyKok - perhaps file a bug, then - maybe someone hasn't really worked too hard on the ipv6 support19:05
KazaaakGood, RoyK, i wanna check only IPv4 so i can enter command to terminal window: iptables -vnL ,and what i need sea then?19:05
sdezielbut doing so result in the clients picking up the link local IP of the new firewall as another gw so they have 2 gw and they load balance between both which I don't want19:06
sdezielRoyK: I'm sure I'm the one at fault here ;)19:06
tomvolekwhats a good package for sharing one monitor with multiple servers? Is synergy still the only solution ?19:11
sarnoldhardware kvm boxes are popular19:12
sarnolddunno if they are *good* but they're popular19:12
tomvoleksarnold: true, but i used to use Synergy, network based app, no hardware need, and it did what I wanted to do.. trying to reduce number of devices around me :)19:13
sarnoldnormally when you have to use a monitor something has gone wrong.. it's nice to have the simplest possible tools at that moment ;)19:14
tomvolekindeed19:15
masontomvolek: My favourite answer is a network-accessible hardware power/kvm switch. Retrofits to existing boxes and makes them act like enterprise server hardware.19:18
tomvolek@mason any brand/model in mind ?19:19
masontomvolek: I'm trying to remember what I used to use, but failing that I'll find one of the same class.19:20
tomvolektx, will google it19:20
masontomvolek: It's possible the vendor I used is gone now - it was much of a decade ago. Something vaguely like this: https://www.startech.com/Server-Management/KVM-Switches/4-Port-USB-VGA-IP-KVM-Switch-with-Virtual-Media~SV441DUSBI19:25
masonThe ones I deployed last did both KVM and power.19:25
KazaaakI think i need just try open port and be see or it's helps or not, can anyone tell what command i can open port: 1235 on Ubuntu 18.10 ?19:25
sarnoldKazaaak: the commands to use to open it depend upon the commands you used to close it in the first place..19:26
sdezielKazaaak: could you pastebin the iptables-save output as well as "ss -nlt"?19:26
masontomvolek: I'm going to give up as I'm finding neither email where I talked about it nor the actual product, and I'm not remembering the brand, but it was something like https://www.startech.com/support/SV1108IPPOW , only with more ports.19:29
tomvolek@mason  thanks my friend, dont worry, i will find something,  much appreciate it19:30
masontomvolek: Sure. Enjoy.19:30
Kazaaaksarnold, i don't close the port, i just install ZNC and i can't connect, i think at my server is on firewall... I don't know:/19:44
Kazaaaksdeziel, afcourse i can give you output at pastebin, jus tell me exactly what i need enter input command?19:44
hggdhjamespage: ping re the LP team ubuntu-server-iso-dev19:45
sdezielKazaaak: ( iptables-save; echo; ss -nlt ) | pastebinit19:46
jamespagehggdh: wow does that still exist?19:51
* jamespage waves at hggdh19:51
hggdhjamespage: hi, long time :-)19:52
jamespagehggdh: indeed19:52
hggdhjamespage: yes, it is still there, and there are 4 or five pending joins. Looking at it, and the ML, it seems mostly dead19:52
hggdhjamespage: should we go ahead and simply bury it?19:53
jamespagehggdh: +1 I think it got superceeded a while back19:53
hggdhjamespage: what is the replacement (so that I can let these applicants know)19:54
jamespagethat is a very good question19:54
hggdhheh19:54
hggdhI will go ahead and announce the funeral, and refuse the applicants; then I will find out how we can kill it, effectively19:55
KazaaakOk lets try, sdeziel, little bit wait.19:56
jamespagehggdh: I think this replaced it but it may have since had a similar funeral - https://utah.readthedocs.io/en/latest/index.html19:59
hggdhyeah20:00
hggdhjamespage: renewall is set to "ask" instead of auto-renewal. I set a note in the home page stating this team is no longer active, and declined the pending candidates (most requested around 2013)20:04
Kazaaaksdeziel, https://www.irccloud.com/pastebin/afeqOwDm/20:06
sdezielKazaaak: is that a Ubuntu server machine? (also, please avoid pastebin services requiring javascript)20:07
Kazaaaksdeziel, yes Ubuntu 18.10 VNC20:17
sarnoldan ubuntu machine without iptables or iproute2? o_O very curious20:17
masonA box without hinges, key, or lid, yet golden data inside is hid.20:18
sarnoldmy precious!20:18
sdezielKazaaak: you don't seem to have a firewall configured20:18
sdezieland yeah, no iproute2 is weird20:18
sdezielbut I haven't encounter that many cosmic machines20:19
Kazaaaksdeziel, yes stranger. My admins rent me server from appboxes.com.. I can't connect to ZNC port what i run.20:34
tewardis there a subiquity bug for "Use FUll Disk and set up LVM" where it doesn't take more than 4GB of space for the LVM?20:35
ahasenackteward: yes20:36
tewardwhat bug number is it?20:36
tewardso I can subscribe and track20:36
ahasenackteward: https://bugs.launchpad.net/subiquity/+bug/178532120:36
ubottuLaunchpad bug 1785321 in subiquity "LVM Entire Disk option does not use entire disk" [Undecided,New]20:36
tewardahasenack: sounds to me like we need to make some changes to subiquity then to 'ask' how much of the LVM to utilize.  because 4GB is... real small.20:40
tewardwas this 'change' documented in the release notes?20:40
tewardor did I miss that too?20:41
ahasenackI heard arguments that it was correct behavior, in the sense that the VG is using the whole disk, and the LV is easily resizeable20:41
ahasenackbut I also think it's a bug20:41
tewardi'm on the fence.20:41
ahasenackteward: it's a bug, not a "change", so no release notes entry20:41
ahasenackif you use ext4 for /, you can even resize it without booting into rescue mode20:42
ahasenackor so I heard20:42
tewardahasenack: yeah, i'm thinking if we do anything that isn't 'the whole VG' for the LV, then we should be doing 50% of the LV.  LVM was kind of the 'thing' this became, and since it's a VM it's possible I'll expand this over multiple virtual harddrives within VMware spanning multiple datastores if this gets large.20:42
tewardbut that's just me :P20:43
teward*goes back to fixing things now that he's expanded the LV to fill up the VG*20:43
ahasenackreducing the LV after installation is more annoying20:43
ahasenackbut 4Gb by default is unexpected, that will easily be filled20:43
tewardwell, then at least something larger than 4GB20:44
teward10GB even is better than 420:44
ahasenackyep20:44
ahasenackchime in over there :)20:44
tewardcan't from my phone but will later when I get home probably.20:44
ahasenackhehe20:44
ahasenackunderstood20:44
=== ShaRose_ is now known as ShaRose

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