dustinspringman | what up fishes | 00:00 |
---|---|---|
dustinspringman | I think I finally know how to ask my question properly! So here goes: what log should I examine for pppd interfaces that are disconnected when a user drops? | 00:01 |
=== Sachiru is now known as Guest27942 | ||
=== Sachiru_ is now known as Sachiru | ||
=== cgseller1 is now known as cgseller | ||
fl8sh123 | I am trying to host a webserver running on Ubuntu 14.04.1 and am having a hard time changing from local to public | 03:08 |
SP33D | oh holly ubuntu server community plz answer my question: does any one can imagin a way to move a directory inside a tar.gz file i mean i got bla.tar.gz that contains /bla/files* now i whant to remove bla to have the content of bla in tar root | 04:09 |
SP33D | fl8sh123 hahahha | 04:10 |
SP33D | ya thats normal | 04:10 |
=== Sachiru is now known as Guest83073 | ||
=== Sachiru_ is now known as Sachiru | ||
zubairahmed | fl8sh123 what are u trying to do | 05:51 |
zubairahmed | Sp33d what are you trying to do | 05:54 |
SP33D | i need to manipulate a zip file for processing or a tar.gz file | 05:55 |
SP33D | all git hub downloads tar.gz are packed inside a tar container a folder with a project name | 05:55 |
SP33D | that needs to be eliminated | 05:55 |
zubairahmed | Can't you unpack and then repack | 05:56 |
zubairahmed | I mean untar and tar | 05:56 |
SP33D | not good | 05:56 |
SP33D | but will then probally need to do that | 05:56 |
SP33D | if there is no alternate | 05:56 |
faryshta | hi, how can i configure apache so that *.faryshta uses the /home/faryshta/*/public folder? | 06:57 |
=== kickinz1|afk is now known as kickinz1 | ||
=== Lcawte|Away is now known as Lcawte | ||
=== phaidros_ is now known as phaidros | ||
Rar9 | hi need a quick feedback for tomcat8 restarting.... used this to get it installed. http://www.liquidweb.com/kb/how-to-install-apache-tomcat-8-on-ubuntu-14-04/ | 07:39 |
Rar9 | service tomcat restart | 07:39 |
Rar9 | Gives me - tomcat: unrecognized service | 07:39 |
lordievader | Rar9: Autocomplete the tomcat part, and use sudo. For starting services you need root. | 07:44 |
Rar9 | lordievader entering $CATALINA_HOME/bin/startup.sh gives me the shown output. | 07:50 |
Rar9 | I´ve already restared the server | 07:50 |
lordievader | Err, why would you start a service from a script in your home-dir? | 07:51 |
Rar9 | lordievader I´ve just followed the instruction... | 07:55 |
Rar9 | where they wrong? | 07:55 |
lordievader | Rar9: Could you pastebin that script (I must say I do not know tomcat ;) ) | 08:01 |
Rar9 | lordievader I´ve simply followed the step by step install instruction in the above link. | 08:01 |
lordievader | !info tomcat | 08:02 |
ubottu | Package tomcat does not exist in trusty | 08:02 |
lordievader | !info tomcat7 | 08:03 |
ubottu | tomcat7 (source: tomcat7): Servlet and JSP engine. In component main, is optional. Version 7.0.52-1ubuntu0.1 (trusty), package size 34 kB, installed size 365 kB | 08:03 |
lordievader | Rar9: Does it specifically need to be tomcat8? Else I'd suggest you use the one from the repo. | 08:03 |
Rar9 | I´m sorry I´m very new to all of this... | 08:04 |
lordievader | Rar9: In Ubuntu it is standard practice to install software from the repo. You rarely need to manually download and compile things. | 08:04 |
Rar9 | ok.. but i belive this will then only install tomcat7 | 08:06 |
lordievader | Rar9: Do you specifically need tomcat 8? | 08:07 |
Rar9 | I´ve I setup a new server I belive having the laster version of tomcat would help. | 08:08 |
=== kickinz1 is now known as kickinz1|afk | ||
ikonia | Rar9: why would it help ? | 08:11 |
ikonia | Rar9: what is your reasoning to think tomcat 8 would be better for you? | 08:11 |
lordievader | Rar9: It's better to use the one from the repo. This one will receive updates automatically, whereas if you install it manually you need to update it yourself. | 08:13 |
* svg looks for help regarding a problem I experience with open-iscsi on precise using the backported package 2.0.873-3ubuntu5~ubuntu12.04.1 | 08:18 | |
* ikonia looks for a description of the problem rather than useless meta comments | 08:20 | |
svg | already being friendly early in the morning ikonia :) | 08:21 |
svg | I upgraded open-iscsi to that backported package on some precise servers, and since then, devices that hold a FS that should get mounted at boot, are breaking the boot sequence | 08:22 |
svg | it gets the usual 'press m for manual recovery' message | 08:23 |
svg | what happens is that mountall is trying to mount that device *before* iscsid gets started | 08:23 |
svg | if I skip thatmount and let the boot sequence continue, the first next thing that happens is iscsid getting started... | 08:24 |
=== kickinz1|afk is now known as kickinz1 | ||
=== kickinz1 is now known as kickinz1|lunch | ||
=== kickinz1|lunch is now known as kickinz1 | ||
reshadfar | Hi guys. I just upgraded my ubuntu to 14.04 and unfortunately my mailserver messed up Is there someone who can help me get it up and running again? | 13:26 |
=== mollerup is now known as nmollerup | ||
patdk-wk | !ask | 13:32 |
ubottu | Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience | 13:32 |
jamescarr | hello | 15:23 |
jamescarr | I installed https://launchpad.net/ubuntu/precise/+package/libmemcached-tools | 15:23 |
jamescarr | none of the binaries the package provides seem to be present on my system | 15:23 |
jamescarr | check this out | 15:23 |
jamescarr | nevermind | 15:24 |
jamescarr | nothing to see here | 15:24 |
xperia | hi all. small question. what is best solution to have a real fast gigabit network storage server solution for my webserver where i am able to store gigabit of web data and access it over the network to proccess that data? What for a throughput can be expected from such a decentral network storage inside a gigabit lan network? | 15:26 |
xperia | would a ubuntu nfs server be enoght? is this the best and fastest solution or does it exist some other special software for such storage cluster ? | 15:27 |
=== matsubara is now known as matsubara-lunch | ||
smoser | hallyn, how dows python know this: http://paste.ubuntu.com/8291613/ | 16:10 |
smoser | somehow it knows that i can't open /dev/loop0 as write. | 16:10 |
hallyn | smoser: it uses access(2) | 16:11 |
hallyn | (so the kernel tells it) | 16:12 |
=== Ursinha is now known as Ursinha-afk | ||
teward | rbasak: FYI, for nginx, https://bugs.launchpad.net/nginx/+bug/1366651 is extremely relevant, and we should probably review the package before it's included in the future. It's changes in Debian which break configs for most default-config users, which means it's extremely relevant to users of the package. (When considering a merge/change for the next release or even a late change this one) | 16:12 |
uvirtbot | Launchpad bug 1366651 in nginx "1.6.1 upgrade breaks fastcgi / php5-fpm with changed config file" [Undecided,Won't fix] | 16:12 |
hallyn | unfotunately there is no equivalent for kill :( | 16:13 |
hallyn | tha ti know of | 16:13 |
rbasak | teward: thank you for the heads-up. It sounds like this is the sort of thing we want to change in-between releases and before feature freeze only. | 16:24 |
teward | rbasak, right. 1.6.1-2 which introduced the change only came out 2 days ago so I don't think it's a hugely important thing to be aware of | 16:26 |
teward | at least, not at this point in the cycle | 16:26 |
teward | rbasak, big FYI though: this is due to nginx Debian syncing configs up with nginx upstream, so.......... | 16:26 |
teward | rbasak, it's Won't Fix in the PPAs because it's synced up with Debian/Upstream, but for Ubuntu it's going to need considerations in the future | 16:27 |
rbasak | teward: I think it makes sense to sync, but we'll want a release note for it. | 16:27 |
teward | rbasak, i suggest you check the changelog of 1.6.1-2, the lua module is against luajit now | 16:27 |
teward | so that may break main | 16:27 |
teward | s/main/main eligibility/ | 16:27 |
rbasak | Lovely. | 16:28 |
teward | (i'm alive more, now, btw, now that i'm back at college instead of pulling 8 hour days of work :)) | 16:28 |
rbasak | teward: that's great, thanks. I hope my last merge was OK? | 16:32 |
teward | rbasak, haven't peeked, been busy up until a few days ago (including but not limited to taking the gf out to dinner, proposing to her, her syaing yes, and preparing that whole thing...) | 16:33 |
teward | rbasak, i haven't seen any new bugs against it but i also don't have utopic server VM set up to test either | 16:34 |
teward | s/have utopic/have a utopic/ | 16:34 |
cfhowlett | teward, too much work. sudo /join --matrimony gf --verbose | 16:34 |
teward | cfhowlett, lol | 16:34 |
teward | cfhowlett, regardless now, she said yes, so........... :) | 16:35 |
teward | having said this, that's been a recent development keeping me from peeking at rbasak's last merge :) | 16:35 |
teward | rbasak, i'd suggest you keep an eye on the nginx bugs as well as nginx in Ubuntu bugs, because issues for Ubuntu will probably be seen ahead of Ubuntu inclusion in the nginx project, i'm pointing people who report PPA bug issues right to the nginx project on LP | 16:36 |
teward | this is one of those kinds of bugs | 16:36 |
hallyn | jdstrand: with libvirt 1.2.8, su -c "sudo -H -u serge2 virsh -c qemu:///session capabilities" is failing with | 16:39 |
hallyn | error: failed to connect to the hypervisor | 16:39 |
hallyn | does that ring any bells for you? | 16:39 |
hallyn | error: Failed to connect socket to '/home/serge2/.cache/libvirt/libvirt-sock': No such file or directory | 16:39 |
jdstrand | hallyn: sorry, no | 16:41 |
hallyn | ok, thx, guess i'll have to bisect this bad boy | 16:41 |
hallyn | if the default session sock moved i'd have expected a git commit msg mentioning it | 16:42 |
jdstrand | hallyn: fyi, I am trying to land 1.2.6-0ubuntu6 today (https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+packages) | 16:42 |
hallyn | jdstrand: does that include only upstream fixes? | 16:43 |
hallyn | really 1.2.8 is only hung on my figuring out what the heck is going on with qrt failing | 16:43 |
jdstrand | hallyn: that contains only changes to apparmor policy on Ubuntu | 16:44 |
hallyn | ok, zul ^ we'll have to make sure to remember to fit those into 1.2.8 :) | 16:44 |
zul | erm | 16:46 |
hallyn | d'oh | 16:48 |
hallyn | jdstrand: nm, found it. libvirt has stopped creating ~/.cache/libvirt/ before creating the unix sock under there when it needs to | 16:48 |
jdstrand | cool | 16:48 |
=== matsubara-lunch is now known as matsubara | ||
teward | rbasak, FWIW, your dep8 smoketests got included - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756391 - http://anonscm.debian.org/cgit/collab-maint/nginx.git/diff/?id=0aaa296 | 16:49 |
uvirtbot | Debian bug 756391 in src:nginx "No dep8 tests" [Wishlist,Fixed] | 16:49 |
teward | rbasak, otherwise, merge looks good. :) | 16:50 |
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
hallyn | zul: feh. so i fi can find the fix for libvirt no longer creating ~/.cache/libvirt, the bigger problem is that it is not creating apparmor policies for kvm domains at all. | 17:26 |
zul | hallyn: quality stuf.. | 17:27 |
hallyn | it must be fallout of the container policy stuff. as i recall files were renamed, so we'll have to update | 17:27 |
=== Ursinha is now known as Ursinha-afk | ||
=== wendar_ is now known as wendar | ||
=== Ursinha-afk is now known as Ursinha | ||
NoReflex | hello! is there a way to enable boot logging in Ubuntu 14.04.1 LTS? | 18:59 |
NoReflex | I installed bootlogd and it intstalled successfully but I don't know if bootlogd is working yet because I've seen many reports for older versions that it does not work anymore | 19:07 |
=== UKn0Me is now known as ohsomanyhats | ||
NoReflex | anyone? | 19:34 |
=== kickinz1 is now known as kickinz1|afk | ||
pmatulis | NoReflex: wow first time i hear of it. it doesn't seem to be getting much attention from developers | 19:43 |
NoReflex | pmatulis, it is a shame because many hosting providers provide a rescue mode for machines - where you boot a separate image and can inspect your actual drives | 19:45 |
NoReflex | so the logs are pretty much all you got in case the machine won't boot normally | 19:45 |
pmatulis | NoReflex: did you enable under /etc/default? | 19:47 |
NoReflex | pmatulis, in the file /var/log/boot there is only: (Nothing has been logged yet.) | 19:55 |
NoReflex | there is a folder /etc/default | 19:56 |
NoReflex | but no bootlogd file | 19:56 |
=== snuffeluffegus is now known as gurpgork | ||
pmatulis | NoReflex: is the software running? is it meant to run only at boot time? dunno | 20:01 |
NoReflex | pmatulis, neither do I; I created the bootlogd file but after reboot same thing | 20:12 |
NoReflex | (Nothing has been logged yet.) | 20:12 |
NoReflex | I found an error message saying: rescue rsyslogd: imklog: cannot open kernel log(/proc/kmsg): No such file or directory. | 20:14 |
NoReflex | but I don't know if that is the culprit | 20:14 |
TJ- | NoReflex: I came in after you started describing your issue, but could it be that the log output from /dev/console is being captured by plymouth, in which case it gets dumped to /var/log/boot.log | 20:15 |
NoReflex | TJ-, could be but the boot.log file is old ... | 20:16 |
NoReflex | -rw-r----- 1 root adm 31 Sep 8 21:03 boot | 20:16 |
NoReflex | -rw-r--r-- 1 root root 6.9K Jul 13 11:17 boot.log | 20:16 |
NoReflex | and boot only contains - nothing logged | 20:16 |
TJ- | No_one_at_all: What's the base system the OS is booting on? | 20:16 |
TJ- | oops! | 20:16 |
TJ- | NoReflex: : What's the base system the OS is booting on? | 20:16 |
NoReflex | TJ-, Description: Ubuntu 14.04.1 LTS | 20:17 |
=== esde is now known as Guest90980 | ||
TJ- | NoReflex: On bare metal, or virtualised. If a VM, which hypervisor? | 20:17 |
NoReflex | after an update (apport issued some errors) the machine boots apparently but cannot access it, does not respond to ping | 20:18 |
NoReflex | TJ-, bare metal hosted at a provide, I don't have physical access to it; I can only access a recovery shell where I can access my drives and chroot | 20:19 |
TJ- | NoReflex: OK; are you also able to alter the boot configuration such as kernel command-line manually, or do you have to alter grub.cfg via rescue shell each time, to do that? | 20:20 |
NoReflex | TJ-, I don't have any control over the boot process | 20:24 |
TJ- | NoReflex: So you'd have you use the rescue shell to edit grub.cfg to add kernel command-line options | 20:24 |
NoReflex | yes | 20:25 |
TJ- | NoReflex: From what you're saying you have no remote KVM over IP, or IPMI, or serial-over-LAN connection to the bare-metal ? | 20:25 |
NoReflex | TJ-, none; I only have that rescue shell | 20:27 |
TJ- | NoReflex: So the issue is that the boot process is hanging at some point? | 20:27 |
NoReflex | TJ-, most likely because I don't have any access to the machine when t boots normally; it does not even respond to ping | 20:28 |
NoReflex | that is why I thought bootlogd might help | 20:28 |
TJ- | NoReflex: OK, well use what you've got. You only know that networking, or more accurately, sshd, doesn't become available? | 20:29 |
NoReflex | yes | 20:30 |
TJ- | NoReflex: Are there any netfilters DROP rules st by iptables at boot-time? If so, it's worth temporarily adding an ACCEPT for you client's address to ensure it can get through despite other rules. Then, try pining the server once you know it should have started. If the indicates no networking, then go back to the rescue shell. | 20:30 |
TJ- | Before you leave the current rescue shell, add a command to "/etc/rc.local" to show whether it gets to that point: "echo "rc.local" > /var/log/rc.log" | 20:31 |
TJ- | Next time you use the rescue shell check for that file - if it existing you know the boot is getting that far. If not, you know it's an Upstart/init issue. You might also add "--verbose and "--debug" to the *end* of the default menuitem "linux ..." line in "/boot/grub/grub.cfg" to force Upstart/init mountall and other boot-time processes to do more logging | 20:33 |
NoReflex | TJ-, the iptables rules should be in /etc/iptables.rules right? or something similar | 20:33 |
=== Guest90980 is now known as esde | ||
NoReflex | and the loading should appear in /etc/network/interfaces | 20:34 |
NoReflex | there is nothing about iptables in /etc or network/interfaces | 20:34 |
TJ- | NoReflex: You might also add to the kernel command line the options to have the kernel set the public IP on the public ethernet interface so there's early networking available, with that you could even configure it to write to a netconsole (being your local PC with "netcat -l ..." listening) | 20:34 |
TJ- | NoReflex: It depends on what 'firewall' configuration tools are in use; if it is just iptables-{save,restore} then yes, 'interfaces' should have an entry for those | 20:35 |
TJ- | NoReflex: It'd be worth creating a dedicated menuitem in "grub.cfg" with all the remote debug options needed, and then configure grub to automatically use that entry if it detects a boot failure. | 20:36 |
TJ- | NoReflex: That's something else you need to consider - the system might be simply sitting at the GRUB menu waiting for a manual selection due to a previous boot failure | 20:36 |
NoReflex | TJ-, isn't there a timeout for the boot process? never heard of waiting indefinitely at boot | 20:37 |
TJ- | NoReflex: there are three. By default, if a boot fails the system waits indefinitely | 20:38 |
TJ- | NoReflex: However, there is GRUB_RECORDFAIL_TIMEOUT which simple changes "set timeout=-1" to "set timeout=<some number of seconds>". If you edit "/boot/grub/grub.cfg", look for the current "set timout=" line and make that a positive number that will ensure the system continues to boot if it is waiting at the boot menu | 20:39 |
NoReflex | TJ-, if [ "${recordfail}" = 1 ] ; then | 20:40 |
NoReflex | set timeout=-1 | 20:40 |
NoReflex | else | 20:40 |
NoReflex | if [ x$feature_timeout_style = xy ] ; then | 20:40 |
NoReflex | set timeout_style=menu | 20:40 |
NoReflex | set timeout=2 | 20:40 |
TJ- | This: | 20:40 |
TJ- | if [ "${recordfail}" = 1 ] ; then | 20:40 |
TJ- | set timeout=-1 | 20:40 |
TJ- | else | 20:40 |
TJ- | "recordfail" is the boot flag set on each boot. The OS has to start and clear that flag otherwise GRUB finds it still set and then will wait | 20:41 |
NoReflex | I changed it to 23 | 20:44 |
NoReflex | 3 | 20:44 |
TJ- | NoReflex: Add "debug --verbose --debug" to the end of the default menuitem's "linux ..." entry too ... best to do belt-and-braces debugging here since you have to use that rescue shell | 20:46 |
NoReflex | added; do I have to regenerate the boot image now? | 20:47 |
TJ- | NoReflex: No; that file is read by GRUB's "normal" module at boot-time and the shell-script like commands executed | 20:48 |
NoReflex | TJ-, thank you, very much!. I'm sure to give it a try tomorrow morning as it is late here | 20:57 |
NoReflex | thanks again for your time! | 20:57 |
=== Locke2002 is now known as Guest15478 | ||
netameta_ | anyone familiar with ec2/aws or knows of a channel that relate to that ? | 21:29 |
=== netameta_ is now known as netameta | ||
TJ- | netameta_: See the AWS FAQ, "Q: How do I access my systems?" | 21:31 |
netameta | TJ- nah thats not my question though, was wondering if i am intended to get 1 public DNS per account or 1 per instanse , currently i have 3 instanse and only 1 DNS | 21:33 |
TJ- | netameta: What is a "DNS" ? | 21:34 |
=== SpamapS_ is now known as SpamapS | ||
netameta | TJ-, domain name server ? | 21:35 |
netameta | or are you asking something else ? | 21:35 |
Monotoko2 | in simple terms it's what translates a name into an IP address | 21:36 |
TJ- | netameta: So do you mean A or CNAME records in a zone file, that resolve names to IP addresses? | 21:37 |
TJ- | netameta: The AWS FAQ answer to the question I pointed you to says "The RunInstances call that initiates execution of your application stack will return a set of DNS names, one for each system that is being booted. This name can be used to access the system exactly as you would if it were in your own data center. You own that machine while your operating system stack is executing on it." | 21:37 |
netameta | Monotoko2, thanks. TJ- yea i am suppose to have a DNS for each server. | 21:39 |
netameta | TJ- and currently i am only getting one | 21:39 |
Monotoko2 | netameta: where are you getting them from? | 21:40 |
netameta | I am talking about ec2 in amazon | 21:40 |
netameta | i have 3 instanses running, and only 1 has an public IP/ public DNS | 21:41 |
=== Lcawte is now known as Lcawte|Away | ||
Monotoko2 | netameta: Yeah... you want another IP | 22:29 |
Monotoko2 | and a slave DNS box setup | 22:30 |
Monotoko2 | or you could just use Route 53 | 22:30 |
netameta | box setup ? | 22:30 |
sarnold | there's no need for all that if you just want to use the amazon-assigned IPs and DNS names | 22:31 |
Monotoko2 | Route 53 does it all for you... or you can just use your registrars servers (just add an A-record for @ and www pointing to your public IP) | 22:32 |
netameta | well sarnold, and monotoko2, i am trying to set up a loadbalancer | 22:39 |
netameta | so i've create 3 instanses to test and that's where the problem came from | 22:39 |
zartoosh | Hi using ubuntu 14.04, what faiclity I need to use for detecting hotplug events please? | 22:41 |
sarnold | zartoosh: udevadm monitor is probably a good starting point | 22:42 |
zartoosh | sarnold, thanks | 22:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!