=== markthomas is now known as markthomas|away | ||
pmatulis | opt1mal: yeah, the wiki is not to be trusted blindly | 01:12 |
---|---|---|
pmatulis | opt1mal: and there won't be a server guide for non-LTS releases | 01:12 |
pmatulis | opt1mal: the server guide project is always looking for eager individuals to assist with reviews and new material | 01:13 |
ianorlin | pmatulis: will some stuff that deals with init need to be adapted to systemd instead of upstart | 01:29 |
sarnold | ianorlin: depending upon the task, significantly, see https://wiki.ubuntu.com/SystemdForUpstartUsers for a nice guideline to the transition | 01:33 |
tonyyarusso | sarnold: Is there a wiki page for SystemD for people who never got around to figuring out Upstart? :P | 01:52 |
sarnold | tonyyarusso: hehehe :) | 01:52 |
JanC | tonyyarusso: https://en.wikipedia.org/wiki/System_D | 02:05 |
=== JanC_ is now known as JanC | ||
* dsmythies there is no #ubuntu-doc page on the irc logs page for today. I am wondering if making this entry will force the page on the next hour boundary. | 03:06 | |
* dsmythies Opps - wrong channle | 03:08 | |
=== Lcawte|Away is now known as Lcawte | ||
linuxmint2 | Is this a good channel for chroot help? | 07:01 |
linuxmint2 | chroot doesn't work as per walkthrough. sftp access can still access the server's root directory http://www.thegeekstuff.com/2012/03/chroot-sftp-setup/ | 07:01 |
=== Lcawte is now known as Lcawte|Away | ||
lordievader | Good morning. | 07:28 |
=== CiPi is now known as cipi | ||
=== cipi is now known as CiPi | ||
=== CiPi is now known as cipi | ||
shann | Hi, I have question with Juju and MAAS. | 11:50 |
shann | Online.Net purpose IaaS with scaleway.com (SSD BareMetal Server), deploy MAAS with this service is possible ? | 11:52 |
=== Lcawte|Away is now known as Lcawte | ||
pitti | o/ | 14:18 |
pitti | /close | 14:20 |
jamespage | coreycb, urgh ryu | 14:32 |
coreycb | jamespage, yeah, I'm just working on that. it's a bit of a pain. | 14:32 |
coreycb | jamespage, what's your opinion on an MIR? | 14:33 |
jamespage | coreycb, it looks unavoidable | 14:37 |
jamespage | but I've not dug in deep | 14:37 |
aijihz | b | 14:40 |
coreycb | jamespage, I agree, ovs openflow uses it now | 14:41 |
tedmcox | does anyone know if there are free ubuntu servers available for testing? while working on documentation, it would be nice to test out instructions or suggested bug fixes | 14:43 |
TJ- | tedmcox: use a virtual machine, or LXD container | 14:48 |
medberry | jamespage, at some point the openvswitch-datapath-dkms was eliminated (and looks like there is no openvswitch kernel module after taht) | 14:56 |
medberry | does OVS work fine without the kernel module? | 14:56 |
jamespage | medberry, erm | 14:56 |
* medberry fears he screwed up something | 14:56 | |
* medberry waves at arosales | 14:56 | |
jamespage | medberry, well there should still be a ovs kernel module - but just not a dkms one | 14:56 |
medberry | hmmm. | 14:56 |
medberry | 3.13.0-63 doesn't seem to have one. | 14:56 |
jamespage | medberry, >= 3.13 has enough goodness not to need dkms | 14:56 |
medberry | gotcha | 14:57 |
medberry | or maybe it was renamed | 14:57 |
medberry | ah jamespage I had to get rid of the dkms module and depmod -a and then reboot. all is well. sorry for the noise | 14:59 |
coreycb | jamespage, so even the latest release of ryu (3.25) requires pbr < 1.0 in setup.py. seems a bit incompatible with the rest of openstack liberty. | 15:17 |
coreycb | jamespage, pbr is uncapped in master of ryu but not released. I'll see if I can touch base with the maintainer and see if they're releasing anytime soon. | 15:20 |
jamespage | coreycb, hmm | 15:21 |
jamespage | coreycb, this all seems a bit sticky | 15:21 |
coreycb | jamespage, yeah.. | 15:21 |
jamespage | coreycb, it might be easier to see if we can uncap it with a patch | 15:21 |
coreycb | jamespage, yeah.. I'll see what all that entails | 15:21 |
=== Lcawte is now known as Lcawte|Away | ||
jvwjgames | My internet is not working | 15:43 |
TJ- | Looks fine from here :) | 15:48 |
jvwjgames | What is happening is I am getting a reply from my interface IP as the de | 15:50 |
jvwjgames | No matter what the destination is | 15:50 |
jvwjgames | Ping Google.com - Reply from 96.92.80.211 destination host unreachable | 15:51 |
jvwjgames | that 211 is my servers interface ip | 15:51 |
TJ- | jvwjgames that suggests there's a routing or netfilters issue | 15:52 |
jvwjgames | My static and gateway are fine I have this server direct connection to modem | 15:53 |
jvwjgames | It just stopped working one day | 15:54 |
jvwjgames | Unless a setting changed I don't know about | 15:54 |
jvwjgames | What do I check | 15:57 |
TJ- | You're currently showing an IPv6 address; you mention the return from an IPv4 address; could it be something to do with the local IPv6 config? | 15:58 |
jvwjgames | I am on my residential modem not my business modem right now | 15:58 |
jvwjgames | That's why you are seeing it | 15:59 |
jvwjgames | My business network has a proxy that blocks irc | 15:59 |
TJ- | jvwjgames: OK, good to know :) | 15:59 |
TJ- | Can the server itself (96.92.80.211) ping the same target ? | 16:00 |
jvwjgames | What do you mean same target | 16:00 |
=== matsubara_ is now known as matsubara | ||
TJ- | jvwjgames: you said you were trying "ping google.com" ... dies that work when done from the server? | 16:01 |
TJ- | jvwjgames: or, are you saying that is where it is failing from? | 16:01 |
=== cipi is now known as CiPi | ||
jvwjgames | I should have explained better sorry my Ubuntu server is having the internet problem all other servers and computers work fine | 16:02 |
TJ- | jvwjgames: Ahhh, ok. It sounded as if it was a gateway/router issue. So the server is directly connected to the Internet with a public IP? | 16:03 |
jvwjgames | Yes | 16:03 |
TJ- | jvwjgames: is the server behind a switch/router of any kind? | 16:03 |
jvwjgames | No direct connection | 16:04 |
TJ- | jvwjgames: Is this a virtual machine or bare metal ? | 16:04 |
jvwjgames | So are other computers so I know it is not an issue with modem | 16:04 |
jrwren | no direct connection or no, it is a direct connection? | 16:04 |
jvwjgames | It is a direct connection sorry and bare metal | 16:04 |
TJ- | jvwjgames: Right, so Ethernet connection to an upstream router somewhere? Or via some kind of modem? | 16:05 |
jrwren | jvwjgames: sounds like you are missing a default route. can is the direct connected server using dhcp or static config? | 16:05 |
jvwjgames | Static and here is a pic of my setup | 16:09 |
jvwjgames | http://picpaste.com/pics/IMAG0137-94xHYCMl.1443542890.jpg | 16:09 |
jvwjgames | The bottom server is the server that is having the issue | 16:09 |
TJ- | jvwjgames: the server must be connected via Ethernet to a router, switch, modem or fibre port of some kind that connects to the ISP. What is that? | 16:12 |
=== markthomas|away is now known as markthomas | ||
jvwjgames | Ethernet to the modem on the left | 16:12 |
TJ- | jvwjgames: OK, so is the modem doing routing, or is the server using PPPTP to the ISP? | 16:14 |
jvwjgames | Modem is doing the routing but right now it is in bridge modem | 16:14 |
jvwjgames | OK I have a screenshot of traceroute and IP r command | 16:18 |
jvwjgames | http://picpaste.com/pics/IMAG0139-hgIGZXTK.1443543557.jpg | 16:19 |
jrwren | paste output of `ip -4 route` | 16:21 |
jvwjgames | See pic for info | 16:22 |
jvwjgames | jrwren: see pic for the info | 16:24 |
jrwren | can you ping 96.92.80.222 ? | 16:25 |
jvwjgames | http://picpaste.com/pics/IMAG0140-fYbcMTZL.1443544102.jpg | 16:28 |
coreycb | jamespage, can you sponsor my ryu changes? https://code.launchpad.net/~corey.bryant/ubuntu/wily/ryu/3.24-updates/+merge/272820 | 16:30 |
jamespage | coreycb, doing so now | 16:32 |
jamespage | coreycb, you might want to ping mterry and see if he has capacity to review | 16:32 |
jamespage | coreycb, i actually nacked ryu upstream when it was proposed | 16:35 |
jamespage | I felt that pulling an entire network controller framework for ovs control was dumb | 16:35 |
jrwren | jvwjgames: you may want to try another ethernet cable between that host and cable modem. What type of network chip is it? What kernel version? | 16:35 |
coreycb | jamespage, ok | 16:38 |
TJ- | jvwjgames: Have you had any other PCs connected to the modem/router? | 16:38 |
jamespage | coreycb, ok uploaded - good work btw | 16:39 |
coreycb | jamespage, ah, thanks! | 16:39 |
jvwjgames | Yes other computers are connected and working | 16:39 |
TJ- | jvwjgames: So that tends to tell you the server has a problem, either physical wiring or software misconfig | 16:40 |
TJ- | I noticed eth0 and eth1; could the interface names have swapped over?. Does "sudo tcpdump -ni eth0" show any packets coming in, such as ARP requests, on eth0 ? | 16:41 |
jvwjgames | Is the result s real time | 16:45 |
jvwjgames | Cause I did it and nothing just says listening on eth0 | 16:46 |
jvwjgames | OK this is weird eth0 witch is connected no traffic eth1 lots of traffic | 16:47 |
TJ- | jvwjgames: what is eth1 connected to, the LAN? | 16:48 |
jamespage | coreycb, I've subscribed ubuntu-server/openstack to ryu bug traffic | 16:48 |
jamespage | coreycb, so just needs MIR and reviewer | 16:48 |
jvwjgames | Nothing cause right now I have eth0 connected but I guess my interfaces switched over | 16:49 |
jvwjgames | I have noticed then doing that they will switch every once in a while so I will lose connection | 16:49 |
jvwjgames | I thought I fixed that though | 16:50 |
jvwjgames | Should I make the configure for eth1 to see if it works | 16:50 |
jvwjgames | Nuke not make | 16:50 |
TJ- | jvwjgames: udevd is supposed to write permanent net names rules in /etc/udev/rules.d/ so that the same name is always assigned to the same MAC address | 16:50 |
jvwjgames | Actually in the interfaces file there is no eth1 so how the heck is it working | 16:52 |
TJ- | jvwjgames: it exists because there's a device present and the kernel names it | 16:54 |
jvwjgames | Oh ok | 16:54 |
TJ- | jvwjgames: it has been auto-configured to a private address range since no manual nor DHCP config was present | 16:54 |
jvwjgames | OK I switched the cables from eth0 to eth1 | 17:01 |
jvwjgames | Let's see | 17:01 |
jvwjgames | http://picpaste.com/pics/IMAG0143-xhiYTLuN.1443546163.jpg | 17:03 |
TJ- | so you need to re-configure udevd's permanent net names. You must have disabled it at some point | 17:04 |
jvwjgames | Now that I have ash I will check | 17:05 |
jvwjgames | SSH* | 17:05 |
jvwjgames | Udev running | 17:07 |
jvwjgames | How do I reconfigure it | 17:08 |
=== Lcawte|Away is now known as Lcawte | ||
TJ- | jvwjgames: check in "/etc/udev/rules.d/" for a "70-persistent-net.rules" or similar name; can't recall it exactly | 17:16 |
jvwjgames | GNU nano 2.2.6 File: 70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules | 17:22 |
jvwjgames | # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single | 17:22 |
jvwjgames | # line, and change only the value of the NAME= key. | 17:22 |
jvwjgames | # PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/0000:0$SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:c5:ec:$ | 17:22 |
jvwjgames | # PCI device 0x14e4:/sys/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/0000:0$SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:c5:ec:$ | 17:22 |
jvwjgames | # PCI device 0x10de:0x0760 (forcedeth) | 17:22 |
jvwjgames | SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:18:3d:$ | 17:22 |
teward | jvwjgames: pastes should be in a pastebin | 17:26 |
teward | (and copy/paste from Nano doesn't work when you go past the bounds of the edge of the window) | 17:26 |
jvwjgames | OK sorry | 17:26 |
jvwjgames | http://pastebin.com/WS33vHyv | 17:28 |
teward | [2015-09-29 13:26:26] <teward> (and copy/paste from Nano doesn't work when you go past the bounds of the edge of the window) | 17:30 |
=== CiPi is now known as cipi | ||
=== alexisb is now known as alexisb-afk | ||
=== cmagina_ is now known as cmagina | ||
=== alexisb-afk is now known as alexisb | ||
Flong | Anyone here have luck getting 14.04 to install in an encrypted LVM? | 18:17 |
Flong | on a laptop... | 18:17 |
Flong | (I'm using it as a QEMU Guest Host) | 18:17 |
Flong | I'm using two SSD's | 18:18 |
Flong | The slower one for the host | 18:18 |
Flong | The faster one for guests, they're all going to be on an internal NAT | 18:18 |
Flong | So I'm using X11 forwarding to the host OS running OpenBox | 18:18 |
Flong | Sound good? | 18:21 |
jamespage | coreycb, we might need to be a little nicer with the drop of ceilometer-agent-central/compute/ipmi | 19:23 |
jamespage | coreycb, it is a unified daemon 'ceilometer-polling' | 19:23 |
jamespage | ? | 19:23 |
=== alexz is now known as TheRealAlexz | ||
coreycb | jamespage, is there a nicer way? upstream dropped the binaries I think | 19:25 |
jamespage | coreycb, transitional packages might be nice - but I think you can run ceilometer-polling in different modes | 19:25 |
jamespage | --namespace ipmi | 19:25 |
jamespage | for example | 19:25 |
jamespage | I may be wrong - let me poke at it tomorrow | 19:26 |
coreycb | jamespage, gotcha so maybe updating the init scripts to do something like ceilometer-polling --namespace | 19:27 |
=== roo_ is now known as roo | ||
=== markthomas is now known as markthomas|away | ||
=== markthomas|away is now known as markthomas | ||
=== pdostal_ is now known as pdostal | ||
Danny_ | Hello, I would like to know if you could help me with an issue with setting services on my Ubuntu 14.04 server? | 22:16 |
Danny_ | I have a Minecraft Server, and was trying to set it up as a service, but it seems to be very "tasking" | 22:16 |
Danny_ | Anyone free to give me some help? I have stated the message above | 22:17 |
sarnold | Danny_: do you get error messages? | 22:18 |
Danny_ | Unknown job minecraft sarnold | 22:19 |
Danny_ | I even tried using like direct start stop commands | 22:19 |
sarnold | Danny_: alright, that's a start; what does your upstart configuration file for minecraft look like? what are the owner, group, and permissions of that file? | 22:20 |
Danny_ | Erm, may I PM you? as the chat is hard to read on the web chat >.< | 22:22 |
sarnold | (if you don't have the pastebinit program installed yet, it's immensely useful for things like this; you could just pastebinit /etc/init/minecraft, for example) | 22:22 |
sarnold | i've never run minecraft, so if you talk with only me, you might miss someone else's advice that might be more useful than mine | 22:22 |
Danny_ | Good point, but okay is that apt-get install pastebinit | 22:22 |
sarnold | i'm not bad at generic troubleshooting but have zero experience with minecraft itself :) | 22:22 |
Danny_ | ?* | 22:22 |
sarnold | yes | 22:23 |
Danny_ | Awesome, bare with me a moment | 22:23 |
Danny_ | sarnold: Okay so as I was talking to you I renamed it, but it is currently at /etc/init.d/mc-proxy http://paste.ubuntu.com/12619097/ | 22:24 |
sarnold | Danny_: aha :) try moving it to /etc/init/mc-proxy | 22:25 |
sarnold | init.d is for the old sysv-init scripts; this is an unstart configuration file, which are way easier to write, and those usually live in /etc/init/ instead | 22:25 |
Danny_ | so shall I move that? | 22:26 |
Danny_ | to init/ | 22:26 |
sarnold | Danny_: oh, sorry, move it to /etc/init/mc-proxy.conf | 22:26 |
sarnold | the .conf is importan ttoo | 22:26 |
Danny_ | sarnold: mc-proxy start/running, process 5844 << got that | 22:27 |
Danny_ | is that running? | 22:27 |
sarnold | Danny_: yeah; check with ps auxw | grep java | 22:28 |
Danny_ | What may I be looking for? | 22:28 |
sarnold | probably process 5844 -- just doublecheck that it's still there :) | 22:29 |
Danny_ | dannysm+ 5926 0.0 0.0 12224 928 pts/1 S+ 00:28 0:00 grep --color=auto java | 22:29 |
Danny_ | I get that :S | 22:29 |
teward | other than netstat -tulpn, what can I use to get the same data from my Ubuntu server? | 22:29 |
teward | Since I heard netstat's becoming obsolete | 22:29 |
sarnold | teward: ss | 22:29 |
sarnold | teward: though I've been hearing that about ifconfig for fifteen years now. | 22:30 |
ivoks | why would netstat be obsolete? | 22:30 |
sarnold | Danny_: dang that doesn't look like it's running. | 22:30 |
Danny_ | Oh :/ | 22:30 |
Danny_ | sarnold: Any new ideas? xD | 22:30 |
ivoks | ifconfig is obsolete; it's actually wrong and doesn't show correct data | 22:30 |
sarnold | ivoks: iirc netstat uses /proc to get data; ss uses netlink | 22:30 |
ivoks | ah, ss | 22:30 |
sarnold | Danny_: check /var/log/upstart/mc-proxy -- there might be errors there | 22:31 |
teward | sarnold: i still use netstat... :P | 22:31 |
teward | sarnold: ss gives me unuseful data | 22:31 |
teward | extra duplicate cruft | 22:31 |
teward | I'll stick with netstat -tulpn :) | 22:31 |
teward | ivoks: I know ifconfig's obsolete, although some things still use it | 22:31 |
sarnold | teward: you may be able to find a similar set of options.. | 22:31 |
Danny_ | sarnold: nope, empty file? I did sudo nano to it? | 22:31 |
teward | (`ifconfig -a` is a way to get network adapter info though, like mac address and such) | 22:32 |
ivoks | teward: those should have bugs reported | 22:32 |
ivoks | ip l | 22:32 |
ivoks | or ip a | 22:32 |
ivoks | ip r (for routes) | 22:32 |
sarnold | Danny_: it might be in /var/log/upstart/mc-proxy.log or /var/log/upstart/mc-proxy.log.0 or something similar; ls /var/log/upstart/mc-proxy* to see if it's there with a different name.. | 22:32 |
ivoks | teward: intesreting... netstat -tulpn is exactly the same as ss -tulpn | 22:33 |
Danny_ | sarnold: the only file is the mc-proxy.log but it is empty | 22:33 |
teward | ivoks: except i got a ton of UNCONN on a 14.094 | 22:34 |
teward | lemme ssh to my other system | 22:34 |
teward | maybe this one's weirdish | 22:34 |
ivoks | udp's are unconn | 22:34 |
teward | oh, so they are | 22:35 |
teward | ivoks: interesting headache: it doesn't display right in 80x24 on my screen | 22:35 |
teward | maybe a bug | 22:35 |
ivoks | i would say it's a bug | 22:35 |
sarnold | Danny_: dang. does minecraft log anything? perhaps to /srv/minecraft/Proxy? | 22:35 |
ivoks | 'useless whitespace' | 22:35 |
Danny_ | sarnold: having a look now, bare with me | 22:35 |
teward | sarnold: minecraft's a .jar... if it logs anywhere it logs to ~/.minecraft or a Java config folder | 22:37 |
teward | or stdout | 22:37 |
teward | (I came in late) | 22:37 |
Danny_ | sarnold: what is the command to reload the init file again? | 22:37 |
sarnold | teward: how about this thing? http://paste.ubuntu.com/12619097/ | 22:37 |
sarnold | Danny_: service mc-proxy restart ought to do it | 22:38 |
teward | sarnold: if it's a modified .jar then perhaps, but no way for us to know without md5-summing | 22:38 |
teward | and mc-proxy might be a separate executable/service | 22:38 |
teward | (but if it's running as part of Minecraft, the problem is Minecraft) | 22:38 |
sarnold | teward: mc-proxy is http://paste.ubuntu.com/12619097/ :) | 22:38 |
teward | sarnold: then the logs need to be output and spat out to a folder somehow | 22:38 |
teward | perhaps a > redir? | 22:38 |
teward | hate to suggest it but... | 22:39 |
teward | exec /usr/bin/java -Xms4G -Xmx4G -jar minecraft_server.jar nogui 2&>1 > /some/logpath <-- maybe for logging | 22:39 |
teward | but if it's inside of the minecraft_server.jar file the last time I messed with one even a modded one it stdout/stderr'd | 22:39 |
teward | (until I redir'd) | 22:39 |
sarnold | teward: could be. I would have epxected the 'console log' directive to do the same thing.. | 22:39 |
Danny_ | Okay thanks teward and sarnold I shall try your options, hoping it works >.< | 22:40 |
teward | sarnold: assuming Java processes correctly, or Upstart, or systemd, or w/e handles it | 22:40 |
teward | Danny_: i was talking to sarnold but OK | 22:40 |
Danny_ | sarnold: It worked! | 22:40 |
teward | sarnold: i learned the hard way: don't mess with Minecraft unless you want to beat things with a hammer :) | 22:40 |
sarnold | teward: Danny_'s the guy running minecraft :) | 22:40 |
Danny_ | teward: he was helping me | 22:40 |
sarnold | Danny_: nice :D | 22:40 |
teward | both of you: i know :) | 22:40 |
teward | i was merely talking to sarnold about the logging side :) | 22:40 |
* teward yawns | 22:40 | |
ivoks | teward: lol, this is a bug. if you make terminal very narrow and run 'ss'; if you resize that terminal to 80x24, it will show just fine. output is tailored to screen size, but it's doing that badly. | 22:40 |
teward | someone give me coffee | 22:40 |
teward | ivoks: yeah, i need to finish config on my 15.04 box for further testing but meh | 22:41 |
Danny_ | sarnold: seems it was a java error... needed to update it? xD | 22:41 |
teward | finally having barebones hardware is nice for testing xD | 22:41 |
teward | Danny_: ewwwwwwwwwwJava | 22:41 |
teward | java can give headaches like that yes | 22:41 |
Danny_ | teward: I hate it too :( I like C personally, like imagine if Minecraft was coded in C... | 22:41 |
teward | Danny_: more likely C#, from what I heard from devels | 22:41 |
teward | but meh | 22:41 |
teward | in any case glad it's working | 22:41 |
teward | when in doubt, run on its own without a service, observe errors | 22:42 |
Danny_ | teward: Never really used it tbh, and thanks | 22:42 |
teward | it's how I mess with nginx and test :) | 22:42 |
teward | given systemd noms the logs and doesn't give data easily | 22:42 |
Danny_ | Yeah it was working before, but never gave the actual file a run itself | 22:42 |
teward | (applies to upstart even more) | 22:42 |
Danny_ | teward: yeah I was finding it hard to figure out how things were like displayed if something goes wrong >.< | 22:42 |
teward | sarnold: remember the flurry of headachey bugs for nginx without debug data? | 22:42 |
sarnold | teward: yeah.. | 22:43 |
Danny_ | one more question | 22:43 |
sarnold | endless streams of "maaintainer script failed with exit code 1" stuff over and over again | 22:43 |
Danny_ | How do I install cgilua or lua_mod on apache2? | 22:43 |
Danny_ | and enable ssl_mod as well | 22:43 |
teward | sarnold: and now we fix it xD | 22:43 |
* genii slides teward a fresh mug of delicious coffee | 22:43 | |
Danny_ | I tried the mod_lua and broke apache2's configuration file | 22:44 |
teward | speaking of which I need to get a late SRU into Wily to fix a misspell on the apport hooks | 22:44 |
teward | meh, maybe i'll fix it for X and wait :) | 22:44 |
Danny_ | I feel like a script kiddy... >.< | 22:44 |
teward | sarnold: you probably know more about Apache than me :) | 22:45 |
sarnold | Danny_: re: apache tls, a friend put this guide otgether a while ago, I recall liking it https://confluence.id.ubc.ca:8443/x/0pxvB | 22:47 |
Danny_ | Okay thanks! sarnold | 22:47 |
=== PrudentMav is now known as PrudentMav[away] | ||
=== PrudentMav[away] is now known as PrudentMav | ||
=== PrudentMav is now known as PrudentMav[away] | ||
=== PrudentMav[away] is now known as PrudentMav | ||
ponyofdeath | anyone know how i can get this bug to get some love :) ? https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-perl2/+bug/898124 | 23:15 |
ubottu | Launchpad bug 898124 in libapache2-mod-perl2 (Ubuntu) "Missing Files for Apache2::SizeLimit in libapache2-mod-perl2 (2.0.5-2 oneiric 2.0.5-5 precise)" [Medium,Triaged] | 23:15 |
holms | maybe anyone knows how to launch cron in non-daemon mode? | 23:22 |
holms | i'm in docker container | 23:22 |
genii | with -f | 23:23 |
holms | that what i've found too | 23:23 |
holms | and it's no output or anything | 23:23 |
holms | although i've added a crontab file | 23:23 |
bekks | So adjust your script to provide output. | 23:24 |
holms | yeah it was actually sending output to file, removing that, checking :) | 23:25 |
holms | bekks: hmz.. nothing | 23:31 |
holms | http://paste.openstack.org/show/474752 | 23:31 |
holms | dockerfile: http://paste.openstack.org/show/474753 | 23:31 |
=== hxm is now known as Guest42223 | ||
bekks | holms: use an absolute path to python in your crontab entry. | 23:41 |
holms | okay | 23:43 |
=== trick is now known as Guest81127 | ||
holms | still nothing | 23:47 |
holms | cron -f just gives blank output | 23:47 |
holms | script works as expected from cli | 23:47 |
bekks | holms: on cli, is there some output? | 23:49 |
holms | bekks: http://i.imgur.com/iDaidPG.png | 23:51 |
holms | http://paste.openstack.org/show/474754 | 23:52 |
bekks | Looks like the pip invocation, right? | 23:52 |
bekks | Try using absolute paths in your actual script, too. | 23:52 |
holms | s'rsly? | 23:52 |
holms | then it won'twork locally | 23:53 |
holms | actually that's not even possible | 23:53 |
holms | or with hard hacks | 23:53 |
bekks | Isnt it possible to use an absolute path for pip, for apt-get, etc? | 23:53 |
holms | am | 23:53 |
bekks | Why would that break things? | 23:53 |
holms | why do we need pip in here? | 23:54 |
bekks | It's mentioned in your script, isnt it? | 23:54 |
holms | no? | 23:54 |
bekks | So this isnt your python script you are running from cron?: http://paste.openstack.org/show/474753/ | 23:55 |
holms | it's a dockerfile | 23:56 |
holms | which prepares docker container | 23:56 |
holms | all environment is set, script works if launched manually | 23:56 |
holms | problem is with cron.. when launching it | 23:56 |
holms | nothing happens.. | 23:56 |
bekks | The problem is, there is no environment defined when running it from cron. | 23:56 |
holms | crontab -e, actually does show a file | 23:56 |
holms | crontab file to edit, which is which i've copied | 23:56 |
bekks | So you have to use full paths to every executable you are using. | 23:57 |
holms | yeah so in crontab file | 23:57 |
holms | it's a full path is it? | 23:57 |
holms | crontab file: http://paste.openstack.org/show/474754 | 23:57 |
bekks | errm, thats not a valid bash script, nor a valid crontab entry. | 23:58 |
holms | ah ok | 23:59 |
holms | so then this should be fixed | 23:59 |
holms | change to this> SHELL=/bin/bash | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!