/srv/irclogs.ubuntu.com/2019/05/19/#ubuntu-server.txt

entropygainprefconfig ubuntu-server.seed cannot be found00:00
entropygainhad to mount to /cdrom myfault00:59
tomreynentropygain: is there a specific reason that you're trying to install this (very unusual) way?00:59
entropygainease of disk encryption on a remote system00:59
tomreynhmm i don't think i can follow01:00
entropygaindisk encryption + LVM is super easy using the alternative installer01:00
entropygainthis worked though I am very happyu01:00
entropygainI only have Finnix01:00
tomreynwhy don't you just boot the system you want to install on from the iso (written to a bootable storage) and use the intstallers' partitioning tool to setup the encryption?01:00
tomreynwhat is "finnix"?01:01
entropygainso I made a raw drive and pulled the .iso image in01:01
entropygainbut then it was not recognizing the cdrom past the keyboard setup01:01
entropygainso i had to open the shell01:01
entropygainand mount the disk to /cdrom01:01
entropygainand all is well now01:01
entropygainmaybe if I somehow wrote to /cdrom in the first place this would have been easier01:01
entropygainI wrote to /dev/sda01:01
entropygainFinnix is some sort of system that my provider allows me to use as a rescue01:02
entropygainso its like an outside system that has bash and internet where I can mount the disks alottet to my account01:02
tomreynso you can't boot this system off the iso?01:02
entropygaini can boot the system off of the raw disk where I wrote the ISO01:03
entropygainbut in the process after setting up keyboard it does not recognize my cd01:03
tomreynwhich hosting provider is this, if you don't mind disclosing this?01:04
entropygainlinode01:05
tomreynok, i have no first hand experience with them. what you can probably do is to use debootrap to install ubuntu from the running finnix system01:05
tomreynhowever, the latet finnix release seems to be from 4 years ago, probably not an ideal installation environment. but it will liekely still work.01:06
tomreynlinode provides an imaging function where you can just have them create an ubuntu installation for you. it won't be encrypted and adding the full disk encryption later is, while possible, not that easy. but if you had them setup a bootable ubuntu for you this way, then added a second empty volume, and used ubuntu to install to the other volume, that should work out fine.01:09
tomreynhere's another approach, looks even easier: https://www.linode.com/docs/security/encryption/use-luks-for-full-disk-encryption/01:11
[rg]is password login is disabled by ubuntu server on default?07:14
_KaszpiR_for root? yes08:28
_KaszpiR_but it really depends on what preseed configig was used when creating that server08:29
lotuspsychje_KaszpiR_: he left08:29
_KaszpiR_ah, the joy of hidden join/part/quit08:29
AzlligiaHi. I'm looking for tricky software. I want it to read STDOUT and STDERR of application and if something appears in STDERR then get last N strings from STDOUT and send to remote server so I can see source of problem. I can't find it in google. Anyone know something like this?10:10
weedmicthis is built in to linux bash - do want a way to extract the data?  or something else - basically, it's a one line thing10:21
weedmicAzlligia: ^10:21
Azlligiaweedmic, my idea is that I launch my code on multiple servers and my code logs errors to STDERR. If error occurs then I want to receive last 1000 lines of STDOUT on my central server/email/messenger. So I can debug it.10:27
weedmicAzlligia: I cannot tell if you are asking or telling something - here is an example of how to dump errors to a file - the imporant part is 2> - rsync -aprv root@172.20.1.25:/DATA/ACTIVE/ /mnt/weekly/01-MON/ 2>> /home/weedmic/CRONs/MONbackuplog.txt10:30
Azlligiaweedmic, I will try to explain. I want to receive last 1000 lines of log ONLY if error occurs. I need not only error, but last 1000 lines of STDOUT too.10:32
Azlligiaweedmic, Something like "reporterrors myapp" which will run "myapp" and listen for STDERR and remember last 1000 lines of STDOUT. If something appears in STDERR then send 1000 lines of STDOUT and STDERR to my server. I hope you understand what my idea is.10:37
weedmici just don't grep what you mean.  You can dump all errors to a file, then grep out the lines you want 1000 or whatever.  Although I can't imagine have that many errors.10:37
Azlligiaweedmic, 1000 lines of STDOUT, not STDERR. So STDOUT will will be like "user joined", "user sent message: hell'o" and STDERR will be like "Server crashed due to syntax error". If I will receive only STDERR without seeing STDOUT I will not know what happened. What did user sent to server.10:41
AzlligiaAnd I will be unable to reproduce error without seeing STDOUT.10:43
JanCAzlligia: you shouldn't log to STDOUT; just send everything to STDERR15:33
JanCor use proper logs (journald and/or syslog)15:33
JanCSTDERR is *NOT* meant for error messages only15:34
JanCSTDERR is meant for “printing diagnostic or error messages”15:36
JanCbut really, you should be logging to a proper logging facility, which has timestamps etc., and then get whatever you need from there15:38
blackflowAzlligia: like others have suggested, use journal or syslog. you can set severity to messages and thus have more than just two levels.15:38
=== svetlana is now known as Sveta

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