[00:55] 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] 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] thanks guys....try again later === Spudster is now known as Spudster_away [02:28] * Spudster_away is set as away === Spudster_away is now known as Spudster [02:28] * Spudster is no longer away : Gone for 25 secs === Ursinha-afk is now known as Ursinha [05:46] 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] y installation. I have did the same thing to install Debian on the same machine. Not problem at all. [05:52] Did you do the md5 check on the image you downloaded? [05:54] Yes. The checksum matched [06:45] hello, what is the proper way to write to the /var/www folder? [06:46] guessing - create a group and add a user somehow [06:46] any tuts out there? [06:49] something like this? http://pastebin.com/vrq8PJ1U [08:30] hello. i think we're under ddos. where do I see which IP tries to access the apache currently? [08:47] netstat [08:50] 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] Hi any chance of some help troubleshooting x11vnc coonections to Ubuntu 12.04 to get access to the GUI [09:17] rather than CLI === freeflying_away is now known as freeflying === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying === freeflying is now known as freeflying_away [11:22] anyone know the proper way to set up nfsv3 on ubuntu server 13.10 with static ports and listening on all interfaces? [11:23] 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 === freeflying_away is now known as freeflying === airtonix_ is now known as airtonix [12:42] This is what I've been trying as my config files https://gist.github.com/Lightsword1942/7512773 hasn't been working though [12:43] Lightsword: "hasnt been working" is too generic to help you. [12:43] bekks, any idea how to get a better error log, it just say "...fail!" more or less [12:44] Lightsword: dmesg, start nfsd manually, etc. [12:51] 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] If you define a nfsv3 share, it will be shared as nfsv3. [12:52] The syntax for v4 is different from v3. [12:53] https://gist.github.com/Lightsword1942/7513002 is what I have changed /etc/exports to, is nfsv3 supposed to be set from there? [12:57] Yes, [12:58] bekks, is it just a config flag? [12:58] Ist is a different syntax. [12:59] bekks, do I need to just change the directory to /export/home [12:59] For doing what? [13:00] bekks, changing it from a nfsv4 server to a nfsv3 only server [13:00] The path does not indicate that. [13:07] 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] I dont know what you want, actually. [13:08] bekks, full anonymous access over nfsv3 [13:08] Then finally start stating _what_ isnt working, etc. [13:09] 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] bekks, so the server is running at least now, just the settings are wrong [13:10] Then why did you edit config files that are unrelated? [13:11] bekks, aren't there other config files that have nfs related options? [13:11] The only file necessary is the /etc/exports. [13:14] 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] nfsv3 has nothing else but anonymous access. [13:15] v3 doesnt know anything about the authentication of users. [13:17] 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] It doesnt authenticate at all. [13:18] Or you hacked some authentication into the nfsv3 code. [13:18] User mapping has absolutely nothing to do with authentication. [13:19] bekks, I think the uid/gid mapping can be used as authentication [13:19] Your assumption is entirely wrong. [13:19] It is an user mapping. Nothing more, nothing less. [13:21] bekks, well looks like microsoft implemented it as some sort of authentication layer http://technet.microsoft.com/en-us/library/bb463218.aspx [13:22] 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] 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] 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] 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] You cant disable something that isnt even implemented. [13:31] 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] hi all [13:57] 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] but as root I can upstart fine [13:59] or give a user to execute start someapp [13:59] without having to type the sudo password [14:02] hmmm somerthin is fscked here [14:03] You cant, without sudo. [14:06] I am using sudo with .... [14:06] app ALL=(ALL) NOPASSWD: /sbin/start my-script [14:06] and then sudo start my-script [14:06] and it still prompts for a password [14:06] weird [14:07] bekks any idea? [14:08] maybe my user is not in the correct grouop? [14:08] Then you wouldnt be able to use sudo. [14:09] And parameters arent recognized for application in the /etc/sudoers. "/sbin/start" instead "/sbin/start my-script" [14:09] Think twice if you want your user to start/stop all services. [14:11] hmm [14:11] bekks all I need to do is all the user "app" to start a process [14:11] and stop a process [14:12] as I am ssh'ing (blindly) and restarting it [14:12] any ideas RE that? [14:14] bekks there must be a way? [14:18] looking at this [14:18] http://upstart.ubuntu.com/cookbook/#user-job [14:19] so in theory I can have the script in $USER/.init [14:26] ok I think I am going to go with Archlinux [14:26] seems more docs [14:32] bekks when doing it in .init [14:32] I get start: Name "com.ubuntu.Upstart" does not exist [14:33] bekks any advice? [14:41] ubuntu is really breaking a hell of a lot [14:41] doing a dist-upgrade now [14:41] if it does not work , I will move to debian / arch [14:48] does anyone here know upstart? [14:48] app@ubuntu-server:~$ start my-script [14:48] start: Name "com.ubuntu.Upstart" does not exist [14:49] sudo works though [14:49] well if the script is in /etc/init [14:55] 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] rbasak I figured that [14:56] so I have a script in ~/.init [14:56] now I do start my-script [14:56] and it says its not found [14:56] 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] I cant type in a password [14:56] as it via a block of code that ssh [14:57] this is real annoying [14:58] liquid-silence: look at sudo's NOPASSWD option in sudoers [14:58] tried that [14:59] 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] liquid-silence: see http://upstart.ubuntu.com/cookbook/#non-graphical-sessions-ubuntu-specific [14:59] liquid-silence: do it with sudo, as you would with every other distribution. [15:00] yea [15:44] hey [15:45] should services in ubuntu server be installed using /etc/init.d or using upstart? [15:45] i find it strange that the recommended way is upstart yet typing initctl at the commandline does nothing.... [15:49] Terabyte: both are supported. In packaging, upstart jobs are also provided with a symlink from /etc/init.d/ to /lib/init/upstart-job for compatibility. [16:16] archlinux wiki indicates there are ufw rules for Deluge but I can't find evidence of these rules in Ubuntu [16:18] jdstrand: ^ [17:09] 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] 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] Terabyte: you may need "expect fork" or "expect daemon". See: http://upstart.ubuntu.com/cookbook/#expect [17:16] oo let me try daemon [17:22] 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] It's not an issue in production, though. [17:36] hmmm [17:36] I don't think even daemon is quite right [17:38] 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] Beatstreet: check /var/log/kern.log. If the kernel killed it, the reason should be in there. Or "dmesg|tail". [17:45] ok, thanks [17:46] Out of memory: Kill process 3543 (xfs_db) [19:31] 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] 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] okay [21:27] -.- === aarcane_ is now known as aarcane === freeflying is now known as freeflying_away === Rodge__ is now known as Rodge