/srv/irclogs.ubuntu.com/2017/04/17/#ubuntu-server.txt

__Yiota hey guys I need urgent help, my CTO rebooted both of our google cloud engine nodes, all the data appears to have dissapeared (I can only see my user + ubuntu user), I checked df -h and the result is: /dev/sda1        49G  1.1G   48G   3% /, it should normally be at ~20 gigs or so,02:32
qman__did you have persistent disks attached for your data?02:35
mybalzitchsounds like the CTO's problem02:36
qman__I'm not that familiar with google cloud engine specifically, but I assume it works like most other cloud providers and gives you ephemeral instances, and that you need to attach persistent storage to them to store your data02:39
qman__the marketing page jibes with this assumption02:39
__Yiotaqman__ yes, I did have persistent disks02:45
__YiotaI can see them with ls -l /dev/disk/by-id/google-*02:46
qman__ok, so were you storing your data there, and is it still there?02:46
qman__are those disks mounted where you expect them?02:46
__YiotaI was storing data there, the data is gone03:22
__Yiotathe disks are unmounted03:22
__Yiotasorry, they are mounted03:22
__Yiotabut in the wrong places03:22
=== lutostag_ is now known as lutostag
=== chmurifree is now known as chmuri
c0mradeWriteLn.Console ( " Hello " ) ;10:08
c0mradeSome weird thing happened to my server running Ubuntu 16.04.2 LTS 64bit Server on an HP ProLiant G6 server. So once I've done setting it up, I've configured a static ip, restarted the server and it worked fine, next day I wake up and can't ssh into it, I connect directly and see that the IP address is some other one assigned by DHCP.10:10
c0mradeWell I flushed the interface and restarted the networking service and it's back to the static one. But why did this happen, well actually when I physically logged in I saw some error like freezed or something and related to ata3 maybe a disk problem but anyway, even if it was why would the IP change if it's already statically configured?10:11
adityaduggalHi I am unable to run my cron job in my server, they seem to be missed every time, can anyone help me on that?10:43
adityaduggalmy cron job is this ```0 13 * * 0 sudo service nginx stop && /opt/certbot-auto renew && sudo service nginx start >> /home/frappe/log/certificate.log 2>&1 # Renew lets-encrypt every week ```10:45
adityaduggalBut there is no log created and hence i am assuming that the cron job did not run, how can I test it?10:45
c0mradeadityaduggal: Hey well instead of sudo service nginx start try sudo /etc/init.d/nginx start etc...10:59
ahasenackadityaduggal: check /var/log/auth, maybe your sudo isn't working, or prompting for a password12:05
=== marlinc_ is now known as marlinc
masonc0mrade: Have you looked at /etc/network/interfaces to see what's set up there for your NIC?12:48
masonc0mrade: Also, you'll want to make sure12:48
mason...that you don't have it controlled by NetworkManager or somesuch.12:48
=== topi`_ is now known as topi`
c0mrademason: Um, it's not graphical.13:38
masonc0mrade: I didn't suggest that it was graphical. You still want to identify what it was that decided that it liked DHCP.13:40
masonNetworkManager is usable on text-only systems via nmcli and nmtui.13:40
mason(This is the default for RHEL 7, for instance.)13:41
=== Isla_de_Muerte is now known as NwS
thebwtalso: why are you using sudo ina  cron job?15:49
thebwtjust have the cron run as the system, and if it's a newer server you should use systemctl15:49
thebwt`/opt/certbot-auto renew` - if the other two commands need sudo, this should too since I assume. But we don't know about where your cert files are.15:51
Dave654Hi, I have a server with hetzner with Ubuntu 14.04.4 and Linux 4.2.0-36-generic on x86_64 the kernel never seems to update, just the dev part is this normal?17:30
Dave654its quite cool as I never boot the darn thing like all my others but...17:30
naccDave654: 'hetzner'? Is that a vps provider?17:30
Dave654alsorts17:30
Dave654hetzner.de17:30
naccDave654: the 14.04.4 hwe kernel is not supported any longer17:30
Dave654or com17:31
Dave654for English17:31
naccDave654: so it won't be getting updates, you should fully update to 14.04.5 hwe kernel17:31
* Dave654 confused17:31
naccDave654: schedule is at: https://wiki.ubuntu.com/Kernel/LTSEnablementStack17:31
Dave654ty, you would think they would tell me17:31
naccDave654: who is "they"? also, i think the utility hwe-support-status will tell you17:32
Dave654been like it for years tho17:32
Dave654I thought it was this modern no need to boot kernel!17:32
naccDave654: well, 14.04.4 only came out in feb 2016 and went eol in aug 201617:32
Dave654they are the engineers at hetzner17:32
nacc(the kernel)17:33
naccyou would still need to reboot for security fixes, etc17:33
naccaiui, only 16.04 has the livepatch facility17:33
Dave654never no fixes tho17:33
naccDave654: well, even being on 4.2.0-36 is wrong, afaict, trusty-updates has 4.2.0-4217:34
Dave654nacc does it do what it says on the tin17:34
naccDave654: so... just all around busted it seems :)17:34
Dave654lol thanks17:34
naccDave654: and probably means your system is missing some security updates17:34
Dave654ouch17:34
nacc(4.2.0-42 is in the security pocket too)17:35
Dave654never a dull moment17:35
naccDave654: but the correct choice is to switch the 14.04.5 hwe kernel (linux-generic-lts-xenial) and then remove the old metapackages (to save space)17:35
Dave654usually when a provider offers a OS its supported17:35
naccDave654: well, then ask the provider, not ubuntu server :)17:36
naccDave654: providers can make very poor choices :)17:36
Dave654did all I got was intense engineering waffle, stopped listening after 2 mins, basically told me do not worry17:36
Dave654will ask them again in a ticket rather than a phone call17:38
Dave654thanks17:38
Dave654what php -v does 16.04 use17:39
naccDave654: yeah, they should review the above page -- it seems odd they would say 'not to worry', unles they are providing their own security support on top of ubuntu's17:39
nacc!info php xenial17:39
ubottuphp (source: php-defaults (35ubuntu6)): server-side, HTML-embedded scripting language (default). In component main, is optional. Version 1:7.0+35ubuntu6 (xenial), package size 2 kB, installed size 11 kB17:39
nacc!info php7.0 xenial17:39
ubottuphp7.0 (source: php7.0): server-side, HTML-embedded scripting language (metapackage). In component main, is optional. Version 7.0.15-0ubuntu0.16.04.4 (xenial), package size 1 kB, installed size 9 kB17:39
naccDave654: and i'm going to be SRU'ing 7.0.17 to 16.04 once 17.10 opens17:39
Dave654lol 7 is out, not sure is software is up to speed17:39
naccDave654: hrm? sorry, i used the wrong trigger at first -- we are at 7.0.15 currently (with some backports on top)17:40
Dave654got one site not liking 5.5+17:40
Dave654cannot checkout to paypal17:40
Dave654Deprecated: mysql_escape_string():17:40
Dave654thank goodness for people like centos eh17:41
Dave654eol 2025 and good17:41
Dave654btw, sad to see 12.04 go, best OS I have ever used17:42
Dave654made a fortune off it17:43
Dave654and given back to opensource17:43
naccDave654: deprecated is not an error, unless you set it to be one17:43
Dave654I can fix it I think17:43
Dave654need to use mysqli17:44
=== nacc_ is now known as nacc
=== lifeless_ is now known as lifeless
kotMatroskinhi20:19
kotMatroskin- Mount snap "core" (1577) ([start snap-core-1577.mount] failed with exit status 1: Job for snap-core-1577.mount failed. See "systemctl status snap-core-1577.mount" and "journalctl -xe" for details.20:20
kotMatroskinwhat should I do?20:20
nacckotMatroskin: what do the commands indicate is wrong?20:21
kotMatroskinnacc, sudo snap install nextcloud20:21
nacckotMatroskin: right, not what i asked20:21
nacckotMatroskin: it tells you to 'see' two commands20:21
nacckotMatroskin: what do those commands say?20:21
kotMatroskinnacc, sorry, i speak very bad english20:23
nacckotMatroskin: it's ok, if you can, run those two commands and use a pastebin to share the output20:23
nacc!pastebin20:23
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:23
kotMatroskinnacc, it is not bin-file, this is a command -> sudo snap install nextcloud20:27
dpb1kotMatroskin: run: systemctl status snap-core-1577.mount  and  journalctl -xe20:30
dpb1kotMatroskin: use pastebin to show us results of those commands20:31
kotMatroskinpastebin20:31
dpb1!pastebin20:31
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:31
dpb1kotMatroskin: ^^20:31
kotMatroskinwhat is pastebin?20:32
nacckotMatroskin: please read the response from ubottu20:32
kotMatroskinresults of those commands: Failed to mount Mount unit for core.20:33
kotMatroskin 20:33
nacckotMatroskin: there will typically be more output than that20:33
nacckotMatroskin: please run the command don't select what put on paste.ubuntu.com20:33
nacckotMatroskin: but copy & paste the entire output20:34
nacckotMatroskin: or use pastebinit directly from the terminal20:34
kotMatroskinresult of systemctl status snap-core-1577.mount:20:36
kotMatroskinroot@vps24182:/home/alex# systemctl status snap-core-1577.mount20:36
kotMatroskin● snap-core-1577.mount - Mount unit for core20:36
kotMatroskin   Loaded: loaded (/etc/systemd/system/snap-core-1577.mount; enabled; vendor preset: enabled)20:36
kotMatroskin   Active: failed (Result: exit-code) since Mon 2017-04-17 16:35:00 EDT; 1min 29s ago20:36
kotMatroskin    Where: /snap/core/157720:36
kotMatroskin     What: /var/lib/snapd/snaps/core_1577.snap20:36
kotMatroskin  Process: 690 ExecMount=/bin/mount /var/lib/snapd/snaps/core_1577.snap /snap/core/1577 -t squashfs (code=exited20:36
kotMatroskinApr 17 16:35:00 vps24182 systemd[1]: Mounting Mount unit for core...20:36
kotMatroskinApr 17 16:35:00 vps24182 mount[690]: mount: /snap/core/1577: mount failed: Unknown error -120:36
kotMatroskinApr 17 16:35:00 vps24182 systemd[1]: snap-core-1577.mount: Mount process exited, code=exited status=3220:36
nacckotMatroskin: please use a pastebin, as asked20:36
kotMatroskinApr 17 16:35:00 vps24182 systemd[1]: Failed to mount Mount unit for core.20:36
nacckotMatroskin: you're flooding the channel20:37
kotMatroskinApr 17 16:35:00 vps24182 systemd[1]: snap-core-1577.mount: Unit entered failed state.20:37
kotMatroskinwhat is pastebin?20:37
nacc!pastebin | kotMatroskin: please read this, again, as asked20:37
ubottukotMatroskin: please read this, again, as asked: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:37
kotMatroskinbash: pastebin: command not found20:37
nacckotMatroskin: a pastebin is just an online service for sharing pastes20:37
nacckotMatroskin: yes, *read* the blurb from ubottu.20:37
kotMatroskinok, must back in the morning. thank you20:40
rizonzthis is weird only my  boot chainload into bootloader on the first disk - alternative for pxe boots from disk20:41
nacckotMatroskin: you might, in the morning, ask in #snappy -- as the core snap failing is not really a server issue20:41

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