=== Lcawte is now known as Lcawte|Away | ||
ponyofdeath | I think ubuntu iproute2 might be too old for 4.3 | 01:04 |
---|---|---|
a1fa | anyone running autossh, if so where did you put your startup script? | 01:48 |
a1fa | cron, if-up.d, init.d ;} choices choices choices | 01:50 |
jak2000 | hi all | 04:42 |
jak2000 | anyone can guide me for install a ubuntu server | 04:44 |
jak2000 | i want try with lvm partitions | 04:44 |
tonyyarusso | jak2000: What do you need guiding on? | 05:13 |
jak2000 | i am created a lvm disk 18gb | 05:14 |
jak2000 | have 3 more | 05:14 |
jak2000 | how to add it to any partition | 05:15 |
=== CiPi is now known as cipi | ||
jak2000 | 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 |
jak2000 | why not take automatically the configuration? | 05:55 |
jak2000 | adun153 hi | 06:05 |
jak2000 | 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:05 |
adun153 | jak2000: Think of ifconfig as "manual" manipulation of the interface | 06:06 |
adun153 | what you want is "ifup eth0" | 06:06 |
jak2000 | but how do the changes permanently? | 06:07 |
jak2000 | why i need type ifup eth0? | 06:07 |
adun153 | Whatever is in /etc/network/interfaces is "permanent", when your computer boots up again, the settings will take effect | 06:08 |
jak2000 | yes | 06:08 |
jak2000 | its ok: http://pastie.org/10525809 ? | 06:08 |
adun153 | but it's just a text file. If you made the changes just now, you need the interface's running config to change. | 06:08 |
jak2000 | i restarted the server | 06:09 |
jak2000 | and not bring up the network card | 06:09 |
adun153 | I see that there is a "safe" in there | 06:09 |
adun153 | I'm not familiar with that config option | 06:09 |
jak2000 | remove | 06:10 |
adun153 | Did it work? | 06:12 |
jak2000 | yesss | 06:13 |
jak2000 | thx | 06:13 |
adun153 | no prob. :) | 06:14 |
alkisg | 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? | 06:55 |
theptr | 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 ? | 09:19 |
=== 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 | ||
mdeslaur | rbasak: I'm working on sponsoring the mariadb security update. Any plans to merge it from debian into xenial? | 15:04 |
rbasak | 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:13 |
dannf | hallyn: fyi, just e-mailed you another patch for qemu that'd help in backporting | 15:15 |
hallyn | dannf: ok, thx. will be looking in the evening | 15:15 |
mdeslaur | 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:22 |
EmilienM | coreycb, zul, jamespage: have you tested openstack gnocchi & aodh in trusty/liberty ? gnocchi looks absent and aodh broken | 15:49 |
jamespage | EmilienM, nope they where autosyncs from Debian | 15:49 |
jamespage | EmilienM, and indeed gnocchi is missing still for liberty | 15:49 |
EmilienM | jamespage: so aodh should be good now? (if debian fixed it) | 15:50 |
jamespage | EmilienM, generally my team will only have tested stuff in Ubuntu main - anything else ymmv | 15:50 |
jamespage | EmilienM, there was a fix on release day to aodh that I synced over from Debian | 15:51 |
EmilienM | jamespage: ok, trying again. Thanks | 15:51 |
jamespage | anything since then - we don't have in liberty at least | 15:51 |
herrkin | TJ-, hello, are you arround? | 16:13 |
herrkin | 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 |
herrkin | I need it to remain active, even at startup | 16:14 |
=== Lcawte is now known as Lcawte|Away | ||
sarnold | why not write an upstart or systemd or whatever startup file for it? | 16:15 |
patdk-wk | sounds like work | 16:16 |
herrkin | sarnold, I am using pm2 | 16:26 |
herrkin | I am not sure it is using the correct parameters | 16:26 |
herrkin | it created 2 files for the startup. | 16:26 |
herrkin | I can share it here | 16:26 |
herrkin | it created a file in /etc/initd called pm2-init.sh | 16:28 |
herrkin | so I can do sudo service pm2-init.sh start and it works | 16:28 |
herrkin | the thing is it wont start up with the system | 16:28 |
sarnold | aha, great, then you've got the thing to start from :) | 16:29 |
sarnold | what error messages do you get? | 16:29 |
herrkin | I cant see errors, there are no error logs | 16:29 |
herrkin | 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 |
herrkin | if I log back again I have to do a start again.. | 16:30 |
herrkin | crazy | 16:30 |
sarnold | use 'service pm2 start' instead | 16:30 |
herrkin | its the same | 16:30 |
herrkin | I just tried | 16:34 |
herrkin | it behaves the same | 16:34 |
herrkin | the pm2-init.sh file has a variable called user which I populate the name of my user. | 16:34 |
sarnold | aha; do you get any messages logged to syslog? | 16:35 |
sarnold | can you pastebin the pm2-init.sh? | 16:35 |
herrkin | how do I see the syslog? sorry for the ignorance | 16:35 |
herrkin | please remind me of the termbin expresion, its easier that way | 16:35 |
sarnold | re: syslog, that's "less /var/log/syslog" | 16:36 |
sarnold | herrkin: pastebin refers to sites like http://paste.ubuntu.com/ | 16:36 |
sarnold | herrkin: you can use the "pastebinit" program from the "pastebinit" package to easily submit files and terminal output to pastebin sites | 16:36 |
herrkin | ok hold on a sec | 16:37 |
herrkin | this is my syslog | 16:39 |
herrkin | http://termbin.com/s3w9 | 16:39 |
herrkin | there seem to be nothing from pm2 | 16:40 |
sarnold | how about grep -r pm2 /var/log --- does that show where it is logging? | 16:41 |
herrkin | this is my pm2-init.sh file | 16:41 |
herrkin | http://termbin.com/kx3v | 16:41 |
herrkin | I have a log file in my home folder | 16:41 |
herrkin | ~/.pm2/pm2.log | 16:42 |
herrkin | it doesnt show any errors, nothing | 16:42 |
herrkin | like it didnt execute | 16:42 |
herrkin | I think I am seeing the error. | 16:43 |
herrkin | it says permission denied to my home directory | 16:43 |
herrkin | this command you gave me last shows some errors in /var/log/boot.log | 16:45 |
herrkin | error: connect EACCESS /home/saecosoft/.pm2/rpc.sock | 16:45 |
sarnold | herrkin: try ls -l /home/saecosoft/.pm2 /home/saecosoft/.pm2/rpc.sock | 16:47 |
herrkin | what does it do? | 16:48 |
herrkin | I am also seeing that even when I say in pm2-init to use saecosoft user it uses root anyway | 16:49 |
herrkin | so that may be the problem | 16:49 |
herrkin | I probably need to reinstall pm2 | 16:50 |
herrkin | delete all the .pm2 folders including /root/.pm2 just in case | 16:50 |
herrkin | sarnold, look | 17:03 |
herrkin | http://termbin.com/cmcf | 17:03 |
sarnold | nice | 17:05 |
herrkin | it didnt | 17:06 |
herrkin | it says starting but it wont start | 17:06 |
herrkin | no errors | 17:06 |
sarnold | but i'd expect to see an entry for starting the service just after the reboot command :/ | 17:06 |
herrkin | yes it doesnt show anything else | 17:06 |
herrkin | I have to make it start manually | 17:06 |
herrkin | its crazy | 17:06 |
herrkin | lol its driving me crazy | 17:07 |
herrkin | it stops as soon as I log out, it doesnt matter if I am root or sudo or normal user | 17:07 |
sarnold | herrkin: what happens with 'update-rc.d pm2 enable' ? | 17:08 |
herrkin | or if I use service comand or pm2 directly | 17:08 |
herrkin | is that a command_ | 17:08 |
herrkin | ?? | 17:08 |
sarnold | yes | 17:08 |
herrkin | it says /etc/init.d/pm2 file doesnt exist | 17:09 |
herrkin | it should look for pm2-init.sh | 17:09 |
sarnold | okay, how about update-rc.d pm2-init enable / | 17:09 |
herrkin | I think | 17:09 |
sarnold | ? | 17:09 |
sarnold | yeah, I just wondered since the name field in the insserv headers said it provided pm2.. | 17:09 |
herrkin | it is pm2-init.sh | 17:10 |
herrkin | it says removing startup liks | 17:10 |
herrkin | then it added them again | 17:10 |
sarnold | try another reboot, lets see if it tries to start the service at boot now | 17:11 |
herrkin | ok | 17:11 |
herrkin | no it didnt | 17:12 |
sarnold | :/ | 17:12 |
herrkin | wait it keeps saying | 17:13 |
herrkin | EACCESS /home/saecosoft/.pm2/rpc.sock | 17:13 |
herrkin | ok I am going to try something different | 17:14 |
herrkin | hang on a sec | 17:14 |
herrkin | I reinstalled pm2 as root and it worked but the list was errored | 17:17 |
herrkin | weird | 17:17 |
herrkin | it didnt look for /home/user/.pm2 | 17:18 |
herrkin | instead /root/.pm2 | 17:18 |
herrkin | then it started but the list had an error | 17:18 |
applepi | 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 |
i-make-robots | 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:21 |
i-make-robots | i really don't want to mess with the tested configs. Can I change the mail server somehow? | 17:22 |
applepi | 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:23 |
applepi | Trying to rule out anything malicious. | 17:24 |
i-make-robots | ARP'd? | 17:27 |
applepi | Making ARP requests for every IP on the subnet from 0-255 | 17:28 |
i-make-robots | oops | 17:29 |
i-make-robots | no idea | 17:29 |
sarnold | applepi: iirc windows does some duplicate address detection; I don't know how it chooses to implement it though | 17:31 |
applepi | Hmm | 17:37 |
=== Ursinha is now known as Ursinha-afk | ||
herrkin | sarnold, using it with the user root seems to work but there seems to be an internal error | 17:48 |
herrkin | the boot says to show more type show id | 17:48 |
sarnold | herrkin: oh, hooray, progress. I hope it's alright to run the thing as root.. | 17:48 |
herrkin | for now it is | 17:49 |
herrkin | but there is another problem | 17:49 |
herrkin | the child app doesnt start | 17:49 |
herrkin | it says errored | 17:49 |
herrkin | if I restart the process manually via pm2 restart all it starts | 17:49 |
=== Lcawte|Away is now known as Lcawte | ||
heysomeone | hello | 18:01 |
heysomeone | total beginner here | 18:01 |
heysomeone | I installed an ubuntu-server on a virtual machine | 18:02 |
heysomeone | and I can login with it via ssh totally fine | 18:02 |
heysomeone | but when I try to open it on the browser, it refuses the connection | 18:03 |
sarnold | 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:03 |
heysomeone | um, don't know. I did install a LAMP server | 18:04 |
heysomeone | but I didn't configure anything with port80 | 18:05 |
sarnold | alright, check sudo netstat -nltp and look for programs listening to port 80 | 18:06 |
heysomeone | in my vm? | 18:06 |
heysomeone | http://pastebin.com/DtpdGbMx | 18:07 |
sarnold | alright, looks like there's no running webserver; do you prefer apache or nginx or something else? | 18:08 |
heysomeone | wait, I want a lamp | 18:09 |
heysomeone | apache mysql and phph | 18:09 |
heysomeone | alright | 18:10 |
heysomeone | okay | 18:11 |
heysomeone | That's all | 18:12 |
sarnold | 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 |
heysomeone | sudo apt-get install lamp-server^ did the work | 18:12 |
sarnold | hooray | 18:12 |
heysomeone | thanks a lot for your help! | 18:12 |
sarnold | have fun :) | 18:15 |
heysomeone | oh well | 18:16 |
heysomeone | now I downloaded moodle to check if it runs | 18:16 |
heysomeone | how do I get to the install.php? | 18:16 |
heysomeone | or how do I install it? | 18:16 |
sarnold | heysomeone: check /usr/share/doc/moodle/README.Debian, it gives some overview | 18:18 |
heysomeone | thanks! | 18:23 |
boze | 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? | 18:52 |
smartass | 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:06 |
i-make-robots | 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-make-robots | 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. | 19:33 |
=== boze is now known as timbozeman | ||
patdk-wk | heh? | 20:28 |
patdk-wk | dmarc is a self imposed *issue* | 20:28 |
patdk-wk | dmarc is not activated unless you ASK for it | 20:28 |
patdk-wk | dmarc is not spam filtering | 20:28 |
acro458 | 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:34 |
dannf | hallyn: thx for the upload! | 20:48 |
hallyn | yw :) | 20:57 |
urthmover | what would keep the ip addresses of my interfaces from showing up on the ssh banner? | 21:19 |
sarnold | 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:21 |
urthmover | 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:23 |
sarnold | ah :) | 21:24 |
sarnold | motd | 21:24 |
patdk-wk | or whatever that auto update motd package is called | 21:24 |
sarnold | urthmover: look into the update-motd manpage | 21:24 |
sarnold | aha, in the update-motd package, convenient enough | 21:25 |
urthmover | sarnold: ok I'll look there thank you | 21:25 |
DalekSec | 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:02 |
sarnold | DalekSec: ooof. indeed, that's not ideal. :) | 23:03 |
DalekSec | 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. | 23:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!