[00:55] <Pupeno> Anybody knows how to redirect requests to phpmyadmin to ssl? I'm trying to write the rewrite rules and it's driving me crazy.
[01:11] <basil> Any chance of some advice to assist with troubleshooting a connection to Ubuntu 12.04 from Win Xp via x11vnc? I want access to GUI from XenServer - and not have to use the CLI
[01:39] <basil> thanks guys....try again later
[02:28]  * Spudster_away is set as away
[02:28]  * Spudster is no longer away : Gone for 25 secs
[05:46] <carbon_monoxide> Hi! I have download Ubuntu Server LTS 12.04.3 image. I use dd command to make bootable thumb drive. However, every time I try to use it to perform basic install, it freezes at the locale selection page. I was just choosing to use 'English'. I didn't try choose 'C'. I tried to download the image and use other thumb drive, but got the same outcome. I have tried to use the 'disk check', but it always freezes at some point. Not onl
[05:46] <carbon_monoxide> y installation. I have did the same thing to install Debian on the same machine. Not problem at all.
[05:52] <genii> Did you do the md5 check on the image you downloaded?
[05:54] <carbon_monoxide> Yes. The checksum matched
[06:45] <oste> hello, what is the proper way to write to the /var/www folder?
[06:46] <oste> guessing - create a group and add a user somehow
[06:46] <oste> any tuts out there?
[06:49] <oste> something like this? http://pastebin.com/vrq8PJ1U
[08:30] <LeMike> hello. i think we're under ddos. where do I see which IP tries to access the apache currently?
[08:47] <patdk-lap> netstat
[08:50] <LeMike> thanks patdk-lap. already did `tcpdump port 80` and know what domain is attacked. how do I find out which ip to block?
[09:17] <basil_> Hi any chance of some help troubleshooting x11vnc coonections to Ubuntu 12.04 to get access to the GUI
[09:17] <basil_> rather than CLI
[11:22] <Lightsword> anyone know the proper way to set up nfsv3 on ubuntu server 13.10 with static ports and listening on all interfaces?
[11:23] <Lightsword> I'm not sure of the the /etc/exports syntax and some of the other requirements, seems the documentation is all mixed with the nfsv4 documentation and thats very different
[12:42] <Lightsword> This is what I've been trying as my config files https://gist.github.com/Lightsword1942/7512773 hasn't been working though
[12:43] <bekks> Lightsword: "hasnt been working" is too generic to help you.
[12:43] <Lightsword> bekks, any idea how to get a better error log, it just say "...fail!" more or less
[12:44] <bekks> Lightsword: dmesg, start nfsd manually, etc.
[12:51] <Lightsword> bekks, well I completely rebuilt the VM with only the /etc/exports config customized and its sharing it as nfsv4 from the looks of it, does the nfs-kernel-server do both nfsv3 and nfsv4?
[12:52] <bekks> If you define a nfsv3 share, it will be shared as nfsv3.
[12:52] <bekks> The syntax for v4 is different from v3.
[12:53] <Lightsword> https://gist.github.com/Lightsword1942/7513002 is what I have changed /etc/exports to, is nfsv3 supposed to be set from there?
[12:57] <bekks> Yes,
[12:58] <Lightsword> bekks, is it just a config flag?
[12:58] <bekks> Ist is a different syntax.
[12:59] <Lightsword> bekks, do I need to just change the directory to /export/home
[12:59] <bekks> For doing what?
[13:00] <Lightsword> bekks, changing it from a nfsv4 server to a nfsv3 only server
[13:00] <bekks> The path does not indicate that.
[13:07] <Lightsword> bekks, I can't see any option to set nfsv3 from there, at least in the docs, I see an option to flag it in /etc/default/nfs-kernel-server , would that be where I would do that?
[13:07] <bekks> I dont know what you want, actually.
[13:08] <Lightsword> bekks, full anonymous access over nfsv3
[13:08] <bekks> Then finally start stating _what_ isnt working, etc.
[13:09] <Lightsword> bekks, well I rebuilt disabling all the extra config files that were probably breaking it, right now its in nfsv4 mode and I can't seem to connect
[13:09] <Lightsword> bekks, so the server is running at least now, just the settings are wrong
[13:10] <bekks> Then why did you edit config files that are unrelated?
[13:11] <Lightsword> bekks, aren't there other config files that have nfs related options?
[13:11] <bekks> The only file necessary is the /etc/exports.
[13:14] <Lightsword> bekks, Is there any documentation for changing to nfsv3 anonymous mode? I can't seem to find what I would need to change
[13:15] <bekks> nfsv3 has nothing else but anonymous access.
[13:15] <bekks> v3 doesnt know anything about the authentication of users.
[13:17] <Lightsword> bekks, well, it doesn't authenticate in a traditional way but it still does mapping, I'm trying to force remap all gid/uid sets to a single version
[13:18] <bekks> It doesnt authenticate at all.
[13:18] <bekks> Or you hacked some authentication into the nfsv3 code.
[13:18] <bekks> User mapping has absolutely nothing to do with authentication.
[13:19] <Lightsword> bekks, I think the uid/gid mapping can be used as authentication
[13:19] <bekks> Your assumption is entirely wrong.
[13:19] <bekks> It is an user mapping. Nothing more, nothing less.
[13:21] <Lightsword> bekks, well looks like microsoft implemented it as some sort of authentication layer http://technet.microsoft.com/en-us/library/bb463218.aspx
[13:22] <bekks> NFSv3 on Linux has no authentication. I am not going to say that again. If you want Windows 7 NFS auth, please seek support in ##windows
[13:28] <Lightsword> bekks, linux by itself didn't really have the capability, the mapping itself was handled by domain servers, that was just the method used to bind clients to linux/unix NFS servers, I'm just trying to set the VM's nfs server to accept any client no matter what uid/gid is set
[13:29] <bekks> I told you how to do it already, at least two times. You still insist doing something impossible like implementing auth with nfsv3. Everything is said, I am resting your case. Good luck whatever you are going to do.
[13:30] <Lightsword> bekks, I'm not trying to implement it, I'm trying to disable it, the problem is that the windows clinet comes in with a funky uid/gid that needs to be remapped
[13:30] <bekks> You cant disable something that isnt even implemented.
[13:31] <bekks> I told you that you need to set up the mapping, you got the article. I am not interested in your issue anymore, please do not hilight me anymore. Thank you.
[13:57] <liquid-silence> hi all
[13:57] <liquid-silence> how can I give a user upstart permissions currently I get unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[13:58] <liquid-silence> but as root I can upstart fine
[13:59] <liquid-silence> or give a user to execute start someapp
[13:59] <liquid-silence> without having to type the sudo password
[14:02] <liquid-silence> hmmm somerthin is fscked here
[14:03] <bekks> You cant, without sudo.
[14:06] <liquid-silence> I am using sudo with ....
[14:06] <liquid-silence> app     ALL=(ALL) NOPASSWD: /sbin/start my-script
[14:06] <liquid-silence> and then sudo start my-script
[14:06] <liquid-silence> and it still prompts for a password
[14:06] <liquid-silence> weird
[14:07] <liquid-silence> bekks any idea?
[14:08] <liquid-silence> maybe my user is not in the correct grouop?
[14:08] <bekks> Then you wouldnt be able to use sudo.
[14:09] <bekks> And parameters arent recognized for application in the /etc/sudoers. "/sbin/start" instead "/sbin/start my-script"
[14:09] <bekks> Think twice if you want your user to start/stop all services.
[14:11] <liquid-silence> hmm
[14:11] <liquid-silence> bekks all I need to do is all the user "app" to start a process
[14:11] <liquid-silence> and stop a process
[14:12] <liquid-silence> as I am ssh'ing (blindly) and restarting it
[14:12] <liquid-silence> any ideas RE that?
[14:14] <liquid-silence> bekks there must be a way?
[14:18] <liquid-silence> looking at this
[14:18] <liquid-silence> http://upstart.ubuntu.com/cookbook/#user-job
[14:19] <liquid-silence> so in theory I can have the script in $USER/.init
[14:26] <liquid-silence> ok I think I am going to go with Archlinux
[14:26] <liquid-silence> seems more docs
[14:32] <liquid-silence> bekks when doing it in .init
[14:32] <liquid-silence> I get start: Name "com.ubuntu.Upstart" does not exist
[14:33] <liquid-silence> bekks any advice?
[14:41] <liquid-silence> ubuntu is really breaking a hell of a lot
[14:41] <liquid-silence> doing a dist-upgrade now
[14:41] <liquid-silence> if it does not work , I will move to debian / arch
[14:48] <liquid-silence> does anyone here know upstart?
[14:48] <liquid-silence> app@ubuntu-server:~$ start my-script
[14:48] <liquid-silence> start: Name "com.ubuntu.Upstart" does not exist
[14:49] <liquid-silence> sudo works though
[14:49] <liquid-silence> well if the script is in /etc/init
[14:55] <rbasak> liquid-silence: upstart user sessions are for when you want to run services as that specific user. You need to arrange to start a separate upstart process as that user first.
[14:56] <liquid-silence> rbasak I figured that
[14:56] <liquid-silence> so I have a script in ~/.init
[14:56] <liquid-silence> now I do start my-script
[14:56] <liquid-silence> and it says its not found
[14:56] <rbasak> liquid-silence: if you want a user to be able to control a system service, I suggest you arrange for sudo to do it. The general mechanism for that is the same across all distributions.
[14:56] <liquid-silence> I cant type in a password
[14:56] <liquid-silence> as it via a block of code that ssh
[14:57] <liquid-silence> this is real annoying
[14:58] <rbasak> liquid-silence: look at sudo's NOPASSWD option in sudoers
[14:58] <liquid-silence> tried that
[14:59] <rbasak> liquid-silence: I wouldn't advise using upstart user sessions for your task right now. They are documented but are available for 13.10 only, and the headless (server) case is documented as "not fully supported right now".
[14:59] <rbasak> liquid-silence: see http://upstart.ubuntu.com/cookbook/#non-graphical-sessions-ubuntu-specific
[14:59] <rbasak> liquid-silence: do it with sudo, as you would with every other distribution.
[15:00] <liquid-silence> yea
[15:44] <Terabyte> hey
[15:45] <Terabyte> should services in ubuntu server be installed using /etc/init.d or using upstart?
[15:45] <Terabyte> i find it strange that the recommended way is upstart yet typing initctl at the commandline does nothing....
[15:49] <rbasak> Terabyte: both are supported. In packaging, upstart jobs are also provided with a symlink from /etc/init.d/<service> to /lib/init/upstart-job for compatibility.
[16:16] <jml> archlinux wiki indicates there are ufw rules for Deluge but I can't find evidence of these rules in Ubuntu
[16:18] <jml> jdstrand: ^
[17:09] <Terabyte> hey, I wrote an upstart script to start a service, so far so good, it worked. but now i want to stop it, and typing service wanted stop says "Stop: Unknown instance:"
[17:12] <Terabyte> when I run service wanted start, I get "wanted start/running, process 22312", thing is though that the script I ran fires off it's own RUNNING_PID which seen in top is 21945 (it's a java process, the way to shutdown should be to kill -15 21945, is there anyway to instruct upstart in this way?
[17:15] <rbasak> Terabyte: you may need "expect fork" or "expect daemon". See: http://upstart.ubuntu.com/cookbook/#expect
[17:16] <Terabyte> oo let me try daemon
[17:22] <rbasak> Terabyte: when messing with "expect daemon" and "expect fork", it may be worth knowing about bug 406397 - if you get it wrong, a job can get stuck and upstart needs a reboot (or horrible workaround) to fix it before you can fix the job.
[17:23] <rbasak> It's not an issue in production, though.
[17:36] <Terabyte> hmmm
[17:36] <Terabyte> I don't think even daemon is quite right
[17:38] <Beatstreet> I keep trying to run a xfs_check but all I get is Killed. is there a way to run xfs_check and it not get Killed?
[17:45] <rbasak> Beatstreet: check /var/log/kern.log. If the kernel killed it, the reason should be in there. Or "dmesg|tail".
[17:45] <Beatstreet> ok, thanks
[17:46] <Beatstreet> Out of memory: Kill process 3543 (xfs_db)
[19:31] <Terabyte> k I've been stuck trying to get upstart to run a playframework app runscript. If anybody has any ideas as to why this script doesn't work let me know: http://codepad.org/hwMNsTfx http://codepad.org/KLn9PKNg In short if I went to a console, I could type ..../bin/wanted -D...bunch of java args, and end up with a fg script showing me logs (stdout?) press ctrl C to exit and kill the process.
[19:31] <Terabyte> however separately a process (RUNNING_PID) has been spawned that is a java process and this is my "app". I have no idea what the upstart settings should be, i've tried as a damon, as not a daemon, --background --start, without those 2 params, nothign just seems to work.
[21:27] <shadeslayer_> okay
[21:27] <shadeslayer_> -.-