Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Thursday, March 2, 2017

#ubuntu channel featuring egyptian_, RonWhoCares, mikeymop, ReimuHakurei, Zythyr, k1l, and 8 others.

ppf 2017-03-02 10:45:13
venoming: what ubuntu are you on
venoming 2017-03-02 10:45:40
ppf, 16.04
__Yiota 2017-03-02 10:45:54
it should be `sudo start app`
RonWhoCares 2017-03-02 10:45:55
k1l: This is the SMART data for the disk http://picpaste.com/Hitachi_1tb_SMART_Data-rYBMDWLH.png
k1l 2017-03-02 10:45:58
venoming: ubuntu doesnt use upstart since 16.04. it uses systemd
__Yiota 2017-03-02 10:46:25
k1l has your answer
venoming 2017-03-02 10:46:50
so I don't need the conf file and need something else?
ppf 2017-03-02 10:47:11
you need a systemd unit
RonWhoCares 2017-03-02 10:48:07
k1l http://termbin.com/odvf
egyptian_ 2017-03-02 10:48:58
hi - is there a method to save the running/current routing table to disk to make it persistent across reboots?
k1l 2017-03-02 10:49:06
RonWhoCares: "free -m | nc termbin.com 9999"
RonWhoCares 2017-03-02 10:49:30
k1l: http://termbin.com/v0oh
ppf 2017-03-02 10:49:46
RonWhoCares: you're running out of memory there
RonWhoCares 2017-03-02 10:50:13
ppf: I have an 8 gig memory update happening; The SWAP partition is on the desk I am speaking of
k1l 2017-03-02 10:50:23
RonWhoCares: the oomkiller is running several times, which means you are out of memory and it looks at what program to kill
RonWhoCares 2017-03-02 10:50:54
ahhhhhhhh
ppf 2017-03-02 10:50:58
yes, you've got no swap because it didn't come up during boot
k1l 2017-03-02 10:50:59
RonWhoCares: "sudo parted -l | nc termbin.com 9999"
ppf 2017-03-02 10:51:08
and you're running out of memory hence
ppf 2017-03-02 10:51:26
8gig is a bit short for chrome :)
RonWhoCares 2017-03-02 10:51:31
http://termbin.com/k3cw0
RonWhoCares 2017-03-02 10:51:53
8 gig is the maxout of this mother board. I created the swap partition to the maximum size available
RonWhoCares 2017-03-02 10:52:06
The 8 gig is presently in the mail to me; The computer is running on 4
k1l 2017-03-02 10:52:07
RonWhoCares: ok, the hanging you see is because it is looking for the swap partition which is not included anymore
RonWhoCares 2017-03-02 10:52:19
oh
RonWhoCares 2017-03-02 10:52:23
How do I get it back?
RonWhoCares 2017-03-02 10:52:29
It is there
k1l 2017-03-02 10:52:33
RonWhoCares: or to be more precise: it looks for sdc7 as swap, but its sdb7 now
fory 2017-03-02 10:52:44
hi guys, got a strange problem, i can connect via SSH during the initial of the boot then it seems i get a message like this "NETDEV WATCHDOG: eth0 (tulip): transmit queue 0 timed out" and i cant access the server anymore... the server cant even ping its own gateway... can someone assist?
k1l 2017-03-02 10:52:55
RonWhoCares: "cat /etc/fstab | nc termbin.com 9999"
RonWhoCares 2017-03-02 10:53:15
http://termbin.com/6dq7
k1l 2017-03-02 10:53:51
RonWhoCares: ok there is the issue: in fstab it says sdc7. did you change hdds recently?
RonWhoCares 2017-03-02 10:54:09
k1l: There is an SSD for Grub and Linux; /usr , /home and the swap partitions are on the 1tb hdd
RonWhoCares 2017-03-02 10:54:20
That is what you are seeing
ppf 2017-03-02 10:55:01
that's why one uses UIDs over device names
k1l 2017-03-02 10:55:08
RonWhoCares: yes, but i want to know why its not sdc7 anymore but sdb7. which means a) you changed disks or b) the mainboard changes the order (which is more complicated to handle)
k1l 2017-03-02 10:55:37
RonWhoCares: "sudo blkid | nc termbin.com 9999"
venoming 2017-03-02 10:55:54
How do I activate a virtualenv in systemd service file? The answers on SO say to only use the bin of the virtualenv but I need to activate it to export the needed environ variables for my app
pepermunt 2017-03-02 10:55:56
hallo
RonWhoCares 2017-03-02 10:55:59
k1l: There may be an easy explanation for this: I changed the CPU from an i3 to i7 m600 yesterday.
RonWhoCares 2017-03-02 10:56:30
k1l: http://termbin.com/flyf
Fleuv 2017-03-02 10:57:16
Hello since a few days ago my wired internet connection is very unstable. I noticed a few things in my log files, have a look: http://pastebin.com/6kU1pmPA What does this mean and could this be the cause?
pepermunt 2017-03-02 10:57:51
where is nederlanders chanel?
k1l 2017-03-02 10:58:05
pepermunt: #ubuntu-nl
ppf 2017-03-02 10:58:16
venoming: using the venv's python interpreter should suffice. what more environment do you need?
pepermunt 2017-03-02 10:58:40
thank you
venoming 2017-03-02 10:58:46
ppf, when I activate the venv it auto runs its postactivate script where I export environment variables
ppf 2017-03-02 10:59:30
i don't follow
ppf 2017-03-02 10:59:35
can you paste your unit?
k1l 2017-03-02 11:01:51
RonWhoCares: "sudo blkid /dev/sdc7 | nc termbin.com 9999"
k1l 2017-03-02 11:02:13
RonWhoCares: i wonder why it doesnt have a full uuid
RonWhoCares 2017-03-02 11:02:44
k1l: I've got an error to the latest command: Use netcat.
k1l 2017-03-02 11:03:01
RonWhoCares: ok, so that means no input
RonWhoCares 2017-03-02 11:03:10
ok
k1l 2017-03-02 11:03:36
RonWhoCares: "sudo blkid /dev/sdb7 | nc termbin.com 9999"
k1l 2017-03-02 11:03:41
sorry, had a typo
venoming 2017-03-02 11:04:00
ppf, if I just use the correct python interpreter that's all fine and dandy. But virtualenv is not activated. Activation of the virtualenv executes a script called postactivate
RonWhoCares 2017-03-02 11:04:04
k1l: http://termbin.com/xy9t
venoming 2017-03-02 11:04:18
in this postactivate I placed export commands to export environment variables
ppf 2017-03-02 11:04:37
venoming: my question was what more of the environment do you need
ppf 2017-03-02 11:04:44
okay, you can export those in the unit
k1l 2017-03-02 11:04:45
RonWhoCares: ok, use "sudo nano /etc/fstab" change the swap to sdb7. then press ctrl+o to save the change and ctrl+x to exit.
k1l 2017-03-02 11:05:10
RonWhoCares: then run "sudo mount -a" to rerun the fstab that will include swap again
venoming 2017-03-02 11:05:12
ppf, well I export things like whether this is dev machine or not and secret keys for flask, database URI
ppf 2017-03-02 11:06:08
venoming: so?
venoming 2017-03-02 11:06:23
ppf, so I need to launch that script somehow :D
ppf 2017-03-02 11:06:31
if it's too many for the unit, there's also an EnvironmentFile= setting
RonWhoCares 2017-03-02 11:07:02
k1l: This is after making doing the steps above: http://pastebin.com/mixNiCww
venoming 2017-03-02 11:07:04
ideally I would like to do "workon myenv" before launching
k1l 2017-03-02 11:07:51
RonWhoCares: yes, save that
RonWhoCares 2017-03-02 11:08:13
k1l: That is how fstab loaded the 2nd time; I made no changes
ppf 2017-03-02 11:08:32
venoming: i don't really understand what your environment is doing. but it sounds like you're (ab)using it as a configuration file for your python app?
k1l 2017-03-02 11:08:39
RonWhoCares: what?
venoming 2017-03-02 11:09:13
ppf, well, were else what I put the DB credential for example?
venoming 2017-03-02 11:09:32
ppf, can I do "ExecStartPre=workon myenv"?
RonWhoCares 2017-03-02 11:09:41
k1l: After I did "sudo mount -a" to rerun the fstab I re-did "sudo nano /etc/fstab" to check the results. That is what is in there now
ppf 2017-03-02 11:09:43
venoming: in a configuration file
k1l 2017-03-02 11:10:05
RonWhoCares: after you changed it to sdb7 inside the fstab before?
RonWhoCares 2017-03-02 11:10:13
k1l: Correct
k1l 2017-03-02 11:10:22
RonWhoCares: ok, then that makes sense
k1l 2017-03-02 11:10:37
RonWhoCares: "free -m | nc termbin.com 9999"
RonWhoCares 2017-03-02 11:10:59
http://termbin.com/ygy8
ppf 2017-03-02 11:11:02
venoming: and no, the environments of the Exec*= hooks are selfcontained
k1l 2017-03-02 11:11:23
RonWhoCares: still no swap enabled
RonWhoCares 2017-03-02 11:11:40
k1l: Is rebooting needed?
k1l 2017-03-02 11:11:53
RonWhoCares: "cat /etc/fstab | nc termbin.com 9999"
RonWhoCares 2017-03-02 11:12:15
k1l: http://termbin.com/z88t
k1l 2017-03-02 11:12:49
RonWhoCares: sudo swapon /dev/sdb7
RonWhoCares 2017-03-02 11:13:03
Done
RonWhoCares 2017-03-02 11:14:25
k1l: EUREKA! Swap: 65530 0 65530
RonWhoCares 2017-03-02 11:14:58
k1l: Is that 'swapon' going to stay?
Zythyr 2017-03-02 11:15:53
Need help. My Ubuntu 16 boots to a black screen when using a low resolution mointor. When I use a high resolution mointor it boots perfectly fine.
k1l 2017-03-02 11:15:57
RonWhoCares: i dont know why the mount -a isnt working. but that could be an systemd issue
RonWhoCares 2017-03-02 11:17:44
k1l: Is the next step to do a reboot
k1l 2017-03-02 11:18:04
RonWhoCares: to test, yes. look at free-m afterwards if swap is working
RonWhoCares 2017-03-02 11:18:12
ok
RonWhoCares 2017-03-02 11:18:16
Back in less than 5
fory 2017-03-02 11:19:44
what exacly needs to be disabled when doing preseed so that ubuntu doesnt try to get stuff from the web ?
fory 2017-03-02 11:20:20
my machines end up always with different versions when they should just be pulling from our internal repo!
RonWhoCares 2017-03-02 11:20:59
k1l: It is still present
RonWhoCares 2017-03-02 11:21:14
k1l: Swap: 65530 0 65530
RonWhoCares 2017-03-02 11:21:31
k1l: In fact it booted quickly this time; previous boot ~2 minutes
k1l 2017-03-02 11:21:36
RonWhoCares: ok
RonWhoCares 2017-03-02 11:21:55
k1l: Could changing the CPU have caused this
k1l 2017-03-02 11:21:59
RonWhoCares: yes, because it doesnt look for partiions that are on other places
RonWhoCares 2017-03-02 11:22:32
ok
k1l 2017-03-02 11:22:45
RonWhoCares: i guess you taken out a disk. because sdc7 meant it was the 3rd disk. and you now have 2 disks
RonWhoCares 2017-03-02 11:23:18
k1l: I don't have the external USB hard drive connected at present
k1l 2017-03-02 11:24:26
RonWhoCares: could be this caused the reordering
RonWhoCares 2017-03-02 11:24:59
Maybe the BIOS tried booting off the external USB hard drive and this shifted the ordered
mikeymop 2017-03-02 11:26:30
mysql -u root -p gives me an error
mikeymop 2017-03-02 11:26:50
odd, tried again and it worked nvm
mikeymop 2017-03-02 11:27:24
sudo mysql_secure_installation
somethis 2017-03-02 11:29:20
Where can I find the update file for Ubuntu ... Bios Vendor: American Megatrends Inc. Version: V17.1 ??
somethis 2017-03-02 11:29:44
... update tool?
ppf 2017-03-02 11:30:07
somethis: at you're manufacturer's place
k1l 2017-03-02 11:30:37
somethis: ask the manufacturers support what OS they support for their flashtool
ppf 2017-03-02 11:30:45
*your
ppf 2017-03-02 11:30:50
it's late :(
somethis 2017-03-02 11:30:54
ok ... no prob
somethis 2017-03-02 11:31:19
the bios manufacturer refers to the mainboard manufacturerr ... argh ;-)
Fleuv 2017-03-02 11:33:46
Please does someone know what's going on, I've got connection problems. At speedtest.net I noticed that my ping varies between 40 and 130+. My download speed varies between 0 and 300mbps and my upload speed is always about 25mbps.
lerner 2017-03-02 11:34:30
how do I add bpg support to my computer?
k1l 2017-03-02 11:34:30
somethis: most times they only support dos or windows. new mainboards can flash the update just from a data usb stick inside the bios itself.
somethis 2017-03-02 11:35:33
k1l: yes, it says so in the bios menu ...
somethis 2017-03-02 11:36:02
k1l: it's just that I can't find the file I need for that purpose.
somethis 2017-03-02 11:36:32
k1l: posted here, before ... http://askubuntu.com/questions/888325/cant-power-down-disabling-irq-16
k1l 2017-03-02 11:37:34
somethis: you need to get the matching file from your mainboard maker.
ReimuHakurei 2017-03-02 11:38:05
[16:31:19] the bios manufacturer refers to the mainboard manufacturerr ... argh ;-)
ReimuHakurei 2017-03-02 11:38:14
that's because each BIOS is customized by the motherboard manufacturer.
ReimuHakurei 2017-03-02 11:38:41
the BIOS vendor just provides a codebase, and the motherboard manufacturer customizes it to work on their specific hardware.
somethis 2017-03-02 11:38:45
ReimuHakurei: ah, ok. that makes sense ...
lerner 2017-03-02 11:38:56
is it safe to install this? http://bellard.org/bpg/
ReimuHakurei 2017-03-02 11:39:22
somethis: what motherboard are you trying to update the BIOS on?
somethis 2017-03-02 11:39:27
ReimuHakurei: ok, I'll try to figure out what mainboard I have ...
ReimuHakurei 2017-03-02 11:39:29
it'll usually be somewhere in dmidecode
ReimuHakurei 2017-03-02 11:39:37
if you wanna pastebin all of dmidecode i can take a look for ya.
somethis 2017-03-02 11:40:01
ReimuHakurei: ok ... I'm at it
ReimuHakurei 2017-03-02 11:40:03
is this a prebuilt system, or a custom build?
ReimuHakurei 2017-03-02 11:40:08
if prebuilt, what manufacturer?
somethis 2017-03-02 11:40:15
ReimuHakurei: custom ... :-D
ReimuHakurei 2017-03-02 11:40:38
sudo dmidecode | curl -F 'sprunge=<-' http://sprunge.us
ReimuHakurei 2017-03-02 11:40:42
^that'll pastebin it for ya
somethis 2017-03-02 11:43:51
ReimuHakurei: oops, did this already ... http://pastebin.com/9jbePz42
somethis 2017-03-02 11:44:00
ReimuHakurei: ok, too?
ReimuHakurei 2017-03-02 11:44:03
yeah np
ReimuHakurei 2017-03-02 11:44:16
Manufacturer: MSI
ReimuHakurei 2017-03-02 11:44:16
Product Name: H55M-E23(MS-7636)
ReimuHakurei 2017-03-02 11:44:17
there ya go
ReimuHakurei 2017-03-02 11:44:27
https://us.msi.com/Motherboard/H55ME23.html
somethis 2017-03-02 11:44:33
ReimuHakurei: nice, nice!! Thanks
ReimuHakurei 2017-03-02 11:44:58
let's see what MSI says about BIOS updates