=== Lcawte is now known as Lcawte|Away [01:04] I think ubuntu iproute2 might be too old for 4.3 [01:48] anyone running autossh, if so where did you put your startup script? [01:50] cron, if-up.d, init.d ;} choices choices choices [04:42] hi all [04:44] anyone can guide me for install a ubuntu server [04:44] i want try with lvm partitions [05:13] jak2000: What do you need guiding on? [05:14] i am created a lvm disk 18gb [05:14] have 3 more [05:15] how to add it to any partition === CiPi is now known as cipi [05:55] wich is wrong: http://pastie.org/10525809 not start the eth0 i need type this command for have network: sudo ifconfig eth0 192.168.0.200/24 up [05:55] why not take automatically the configuration? [06:05] adun153 hi [06:05] wich is wrong: http://pastie.org/10525809 not start the eth0 i need type this command for have network: sudo ifconfig eth0 192.168.0.200/24 up why not take automatically the configuration? [06:06] jak2000: Think of ifconfig as "manual" manipulation of the interface [06:06] what you want is "ifup eth0" [06:07] but how do the changes permanently? [06:07] why i need type ifup eth0? [06:08] Whatever is in /etc/network/interfaces is "permanent", when your computer boots up again, the settings will take effect [06:08] yes [06:08] its ok: http://pastie.org/10525809 ? [06:08] but it's just a text file. If you made the changes just now, you need the interface's running config to change. [06:09] i restarted the server [06:09] and not bring up the network card [06:09] I see that there is a "safe" in there [06:09] I'm not familiar with that config option [06:10] remove [06:12] Did it work? [06:13] yesss [06:13] thx [06:14] no prob. :) [06:55] Hi, I want to see if this idea makes sense... I'd like to have a server in the link-local ipv6 address of fe80::1 so that the clients can reach it more easily (no control over the dhcp etc). Can the server have 2 link-local addresses? If not, is it a problem if I use only the fe80::1 one? [09:19] i have an ubuntu server 14.04 i worked with iptables what is nice . Now i want to start with ufw . is it possible to import the rules in ufw ? === cipi is now known as CiPi === lool- is now known as lool === Lcawte|Away is now known as Lcawte === zul_ is now known as zul [15:04] rbasak: I'm working on sponsoring the mariadb security update. Any plans to merge it from debian into xenial? [15:13] mdeslaur: otto looks after that. I think I hold the lock on the merge probably though. I need to catch up with status but no plans this week. [15:15] hallyn: fyi, just e-mailed you another patch for qemu that'd help in backporting [15:15] dannf: ok, thx. will be looking in the evening [15:22] rbasak: ok, thanks, i'll upload the same change to xenial than, and someone can re-merge the debian differences at a later time [15:49] coreycb, zul, jamespage: have you tested openstack gnocchi & aodh in trusty/liberty ? gnocchi looks absent and aodh broken [15:49] EmilienM, nope they where autosyncs from Debian [15:49] EmilienM, and indeed gnocchi is missing still for liberty [15:50] jamespage: so aodh should be good now? (if debian fixed it) [15:50] EmilienM, generally my team will only have tested stuff in Ubuntu main - anything else ymmv [15:51] EmilienM, there was a fix on release day to aodh that I synced over from Debian [15:51] jamespage: ok, trying again. Thanks [15:51] anything since then - we don't have in liberty at least [16:13] TJ-, hello, are you arround? [16:14] I have a problem with a program that has to execute like a service but as soon as I log out it exits [16:14] I need it to remain active, even at startup === Lcawte is now known as Lcawte|Away [16:15] why not write an upstart or systemd or whatever startup file for it? [16:16] sounds like work [16:26] sarnold, I am using pm2 [16:26] I am not sure it is using the correct parameters [16:26] it created 2 files for the startup. [16:26] I can share it here [16:28] it created a file in /etc/initd called pm2-init.sh [16:28] so I can do sudo service pm2-init.sh start and it works [16:28] the thing is it wont start up with the system [16:29] aha, great, then you've got the thing to start from :) [16:29] what error messages do you get? [16:29] I cant see errors, there are no error logs [16:30] then if I log with my user and do pm2 start it starts like it wasnt online (it wasnt) if I log out from ssh the app stops [16:30] if I log back again I have to do a start again.. [16:30] crazy [16:30] use 'service pm2 start' instead [16:30] its the same [16:34] I just tried [16:34] it behaves the same [16:34] the pm2-init.sh file has a variable called user which I populate the name of my user. [16:35] aha; do you get any messages logged to syslog? [16:35] can you pastebin the pm2-init.sh? [16:35] how do I see the syslog? sorry for the ignorance [16:35] please remind me of the termbin expresion, its easier that way [16:36] re: syslog, that's "less /var/log/syslog" [16:36] herrkin: pastebin refers to sites like http://paste.ubuntu.com/ [16:36] herrkin: you can use the "pastebinit" program from the "pastebinit" package to easily submit files and terminal output to pastebin sites [16:37] ok hold on a sec [16:39] this is my syslog [16:39] http://termbin.com/s3w9 [16:40] there seem to be nothing from pm2 [16:41] how about grep -r pm2 /var/log --- does that show where it is logging? [16:41] this is my pm2-init.sh file [16:41] http://termbin.com/kx3v [16:41] I have a log file in my home folder [16:42] ~/.pm2/pm2.log [16:42] it doesnt show any errors, nothing [16:42] like it didnt execute [16:43] I think I am seeing the error. [16:43] it says permission denied to my home directory [16:45] this command you gave me last shows some errors in /var/log/boot.log [16:45] error: connect EACCESS /home/saecosoft/.pm2/rpc.sock [16:47] herrkin: try ls -l /home/saecosoft/.pm2 /home/saecosoft/.pm2/rpc.sock [16:48] what does it do? [16:49] I am also seeing that even when I say in pm2-init to use saecosoft user it uses root anyway [16:49] so that may be the problem [16:50] I probably need to reinstall pm2 [16:50] delete all the .pm2 folders including /root/.pm2 just in case [17:03] sarnold, look [17:03] http://termbin.com/cmcf [17:05] nice [17:06] it didnt [17:06] it says starting but it wont start [17:06] no errors [17:06] but i'd expect to see an entry for starting the service just after the reboot command :/ [17:06] yes it doesnt show anything else [17:06] I have to make it start manually [17:06] its crazy [17:07] lol its driving me crazy [17:07] it stops as soon as I log out, it doesnt matter if I am root or sudo or normal user [17:08] herrkin: what happens with 'update-rc.d pm2 enable' ? [17:08] or if I use service comand or pm2 directly [17:08] is that a command_ [17:08] ?? [17:08] yes [17:09] it says /etc/init.d/pm2 file doesnt exist [17:09] it should look for pm2-init.sh [17:09] okay, how about update-rc.d pm2-init enable / [17:09] I think [17:09] ? [17:09] yeah, I just wondered since the name field in the insserv headers said it provided pm2.. [17:10] it is pm2-init.sh [17:10] it says removing startup liks [17:10] then it added them again [17:11] try another reboot, lets see if it tries to start the service at boot now [17:11] ok [17:12] no it didnt [17:12] :/ [17:13] wait it keeps saying [17:13] EACCESS /home/saecosoft/.pm2/rpc.sock [17:14] ok I am going to try something different [17:14] hang on a sec [17:17] I reinstalled pm2 as root and it worked but the list was errored [17:17] weird [17:18] it didnt look for /home/user/.pm2 [17:18] instead /root/.pm2 [17:18] then it started but the list had an error [17:21] Hi all. Is there any reason that an ubuntu server 14.04.02 installation with a relatively default setup to be ARPing the subnet it's on? [17:21] hello, all. I have a live site on one domain and a test site on another. When my test site sends emails they get caught by dmarc spam filtering (the test server says "from me@livesite.com" but the server is testsite.com). How would you fix this so that I could see the emails being sent? [17:22] i really don't want to mess with the tested configs. Can I change the mail server somehow? [17:23] I have an Ubuntu VM running on a windows PC; the IP of the PC ARP'd the subnet it was on last night in the middle of the night, but I can't work out what might have happened [17:24] Trying to rule out anything malicious. [17:27] ARP'd? [17:28] Making ARP requests for every IP on the subnet from 0-255 [17:29] oops [17:29] no idea [17:31] applepi: iirc windows does some duplicate address detection; I don't know how it chooses to implement it though [17:37] Hmm === Ursinha is now known as Ursinha-afk [17:48] sarnold, using it with the user root seems to work but there seems to be an internal error [17:48] the boot says to show more type show id [17:48] herrkin: oh, hooray, progress. I hope it's alright to run the thing as root.. [17:49] for now it is [17:49] but there is another problem [17:49] the child app doesnt start [17:49] it says errored [17:49] if I restart the process manually via pm2 restart all it starts === Lcawte|Away is now known as Lcawte [18:01] hello [18:01] total beginner here [18:02] I installed an ubuntu-server on a virtual machine [18:02] and I can login with it via ssh totally fine [18:03] but when I try to open it on the browser, it refuses the connection [18:03] did you install a web server on the machine? is it configured to listen to the ip address you used? if you used a cloud provider like amazon, did you configure the security groups to allow port 80 traffic too? [18:04] um, don't know. I did install a LAMP server [18:05] but I didn't configure anything with port80 [18:06] alright, check sudo netstat -nltp and look for programs listening to port 80 [18:06] in my vm? [18:07] http://pastebin.com/DtpdGbMx [18:08] alright, looks like there's no running webserver; do you prefer apache or nginx or something else? [18:09] wait, I want a lamp [18:09] apache mysql and phph [18:10] alright [18:11] okay [18:12] That's all [18:12] okay, apt-get install apache2 -- then decide if you want libapache2-mod-php5 or php5-fpm or something else to execute your php -- then install the mysql-server-5.5 or mysql-server-5.6 for whatever version is uspported on your distro [18:12] sudo apt-get install lamp-server^ did the work [18:12] hooray [18:12] thanks a lot for your help! [18:15] have fun :) [18:16] oh well [18:16] now I downloaded moodle to check if it runs [18:16] how do I get to the install.php? [18:16] or how do I install it? [18:18] heysomeone: check /usr/share/doc/moodle/README.Debian, it gives some overview [18:23] thanks! [18:52] I'm using siege to test a server and I get a buffer overflow. In one of the issue que's it says to make sure your server's thread pool can accommodate the number of users I scheduled. How can I check my servers thread pool? [19:06] hi, what is the recommended way to set up cgroups in 14.04.3? cgroup-bin seems to be in some kind of limbo state... [19:33] When my test site sends emails they get caught by dmarc spam filtering (the test server says "from me@livesite.com" but the server is testsite.com). How would you fix this so that I could see the emails being sent? [19:33] i *think* I can call livesite from testsite and say "please send my mail for me", but I don't know how to do that. === boze is now known as timbozeman [20:28] heh? [20:28] dmarc is a self imposed *issue* [20:28] dmarc is not activated unless you ASK for it [20:28] dmarc is not spam filtering [20:34] Hello, Linux newbie. I am trying to use curl to get the text from a device's webpage. I get a 503 service unavailable error. Where do I begin? [20:48] hallyn: thx for the upload! [20:57] yw :) [21:19] what would keep the ip addresses of my interfaces from showing up on the ssh banner? [21:21] it's probably a bad idea to show the ip address in the banner; thanks to port forwarding, NAT, proxies, the IP address that receives the connection may not be the IP address that the client addressed; and it might not be polite (or be useful) to print the IP address in the banner [21:23] sarnold: maybe I misued the term banner. When I ssh into a fresh ubuntu server I'm faced with the Welcome screen....some servers show the ip address for each interface...other servers do not show ip addresses at all [21:24] ah :) [21:24] motd [21:24] or whatever that auto update motd package is called [21:24] urthmover: look into the update-motd manpage [21:25] aha, in the update-motd package, convenient enough [21:25] sarnold: ok I'll look there thank you [23:02] sarnold: You won't like my solution (nor do I, been considering it past couple months), but ended up just installing a newer libssl on trusty to fix the incompatibility. It's not a new SONAME, so shouldn't (and hasn't) caused any issues at least. [23:03] DalekSec: ooof. indeed, that's not ideal. :) [23:04] In no means, but Xenial should be out soon enough and I can track libssl easily enough for a couple months. I did notice Debian uploaded a new one, with a new SONAME too.