/srv/irclogs.ubuntu.com/2013/11/17/#ubuntu-server.txt

PupenoAnybody knows how to redirect requests to phpmyadmin to ssl? I'm trying to write the rewrite rules and it's driving me crazy.00:55
basilAny 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 CLI01:11
basilthanks guys....try again later01:39
=== Spudster is now known as Spudster_away
* Spudster_away is set as away02:28
=== Spudster_away is now known as Spudster
* Spudster is no longer away : Gone for 25 secs02:28
=== Ursinha-afk is now known as Ursinha
carbon_monoxideHi! 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 onl05:46
carbon_monoxidey installation. I have did the same thing to install Debian on the same machine. Not problem at all.05:46
geniiDid you do the md5 check on the image you downloaded?05:52
carbon_monoxideYes. The checksum matched05:54
ostehello, what is the proper way to write to the /var/www folder?06:45
osteguessing - create a group and add a user somehow06:46
osteany tuts out there?06:46
ostesomething like this? http://pastebin.com/vrq8PJ1U06:49
LeMikehello. i think we're under ddos. where do I see which IP tries to access the apache currently?08:30
patdk-lapnetstat08:47
LeMikethanks patdk-lap. already did `tcpdump port 80` and know what domain is attacked. how do I find out which ip to block?08:50
basil_Hi any chance of some help troubleshooting x11vnc coonections to Ubuntu 12.04 to get access to the GUI09:17
basil_rather than CLI09:17
=== 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
Lightswordanyone know the proper way to set up nfsv3 on ubuntu server 13.10 with static ports and listening on all interfaces?11:22
LightswordI'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 different11:23
=== freeflying_away is now known as freeflying
=== airtonix_ is now known as airtonix
LightswordThis is what I've been trying as my config files https://gist.github.com/Lightsword1942/7512773 hasn't been working though12:42
bekksLightsword: "hasnt been working" is too generic to help you.12:43
Lightswordbekks, any idea how to get a better error log, it just say "...fail!" more or less12:43
bekksLightsword: dmesg, start nfsd manually, etc.12:44
Lightswordbekks, 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:51
bekksIf you define a nfsv3 share, it will be shared as nfsv3.12:52
bekksThe syntax for v4 is different from v3.12:52
Lightswordhttps://gist.github.com/Lightsword1942/7513002 is what I have changed /etc/exports to, is nfsv3 supposed to be set from there?12:53
bekksYes,12:57
Lightswordbekks, is it just a config flag?12:58
bekksIst is a different syntax.12:58
Lightswordbekks, do I need to just change the directory to /export/home12:59
bekksFor doing what?12:59
Lightswordbekks, changing it from a nfsv4 server to a nfsv3 only server13:00
bekksThe path does not indicate that.13:00
Lightswordbekks, 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
bekksI dont know what you want, actually.13:07
Lightswordbekks, full anonymous access over nfsv313:08
bekksThen finally start stating _what_ isnt working, etc.13:08
Lightswordbekks, 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 connect13:09
Lightswordbekks, so the server is running at least now, just the settings are wrong13:09
bekksThen why did you edit config files that are unrelated?13:10
Lightswordbekks, aren't there other config files that have nfs related options?13:11
bekksThe only file necessary is the /etc/exports.13:11
Lightswordbekks, Is there any documentation for changing to nfsv3 anonymous mode? I can't seem to find what I would need to change13:14
bekksnfsv3 has nothing else but anonymous access.13:15
bekksv3 doesnt know anything about the authentication of users.13:15
Lightswordbekks, 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 version13:17
bekksIt doesnt authenticate at all.13:18
bekksOr you hacked some authentication into the nfsv3 code.13:18
bekksUser mapping has absolutely nothing to do with authentication.13:18
Lightswordbekks, I think the uid/gid mapping can be used as authentication13:19
bekksYour assumption is entirely wrong.13:19
bekksIt is an user mapping. Nothing more, nothing less.13:19
Lightswordbekks, well looks like microsoft implemented it as some sort of authentication layer http://technet.microsoft.com/en-us/library/bb463218.aspx13:21
bekksNFSv3 on Linux has no authentication. I am not going to say that again. If you want Windows 7 NFS auth, please seek support in ##windows13:22
Lightswordbekks, 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 set13:28
bekksI 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:29
Lightswordbekks, 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 remapped13:30
bekksYou cant disable something that isnt even implemented.13:30
bekksI 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:31
liquid-silencehi all13:57
liquid-silencehow 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 directory13:57
liquid-silencebut as root I can upstart fine13:58
liquid-silenceor give a user to execute start someapp13:59
liquid-silencewithout having to type the sudo password13:59
liquid-silencehmmm somerthin is fscked here14:02
bekksYou cant, without sudo.14:03
liquid-silenceI am using sudo with ....14:06
liquid-silenceapp     ALL=(ALL) NOPASSWD: /sbin/start my-script14:06
liquid-silenceand then sudo start my-script14:06
liquid-silenceand it still prompts for a password14:06
liquid-silenceweird14:06
liquid-silencebekks any idea?14:07
liquid-silencemaybe my user is not in the correct grouop?14:08
bekksThen you wouldnt be able to use sudo.14:08
bekksAnd parameters arent recognized for application in the /etc/sudoers. "/sbin/start" instead "/sbin/start my-script"14:09
bekksThink twice if you want your user to start/stop all services.14:09
liquid-silencehmm14:11
liquid-silencebekks all I need to do is all the user "app" to start a process14:11
liquid-silenceand stop a process14:11
liquid-silenceas I am ssh'ing (blindly) and restarting it14:12
liquid-silenceany ideas RE that?14:12
liquid-silencebekks there must be a way?14:14
liquid-silencelooking at this14:18
liquid-silencehttp://upstart.ubuntu.com/cookbook/#user-job14:18
liquid-silenceso in theory I can have the script in $USER/.init14:19
liquid-silenceok I think I am going to go with Archlinux14:26
liquid-silenceseems more docs14:26
liquid-silencebekks when doing it in .init14:32
liquid-silenceI get start: Name "com.ubuntu.Upstart" does not exist14:32
liquid-silencebekks any advice?14:33
liquid-silenceubuntu is really breaking a hell of a lot14:41
liquid-silencedoing a dist-upgrade now14:41
liquid-silenceif it does not work , I will move to debian / arch14:41
liquid-silencedoes anyone here know upstart?14:48
liquid-silenceapp@ubuntu-server:~$ start my-script14:48
liquid-silencestart: Name "com.ubuntu.Upstart" does not exist14:48
liquid-silencesudo works though14:49
liquid-silencewell if the script is in /etc/init14:49
rbasakliquid-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:55
liquid-silencerbasak I figured that14:56
liquid-silenceso I have a script in ~/.init14:56
liquid-silencenow I do start my-script14:56
liquid-silenceand it says its not found14:56
rbasakliquid-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-silenceI cant type in a password14:56
liquid-silenceas it via a block of code that ssh14:56
liquid-silencethis is real annoying14:57
rbasakliquid-silence: look at sudo's NOPASSWD option in sudoers14:58
liquid-silencetried that14:58
rbasakliquid-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
rbasakliquid-silence: see http://upstart.ubuntu.com/cookbook/#non-graphical-sessions-ubuntu-specific14:59
rbasakliquid-silence: do it with sudo, as you would with every other distribution.14:59
liquid-silenceyea15:00
Terabytehey15:44
Terabyteshould services in ubuntu server be installed using /etc/init.d or using upstart?15:45
Terabytei find it strange that the recommended way is upstart yet typing initctl at the commandline does nothing....15:45
rbasakTerabyte: 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.15:49
jmlarchlinux wiki indicates there are ufw rules for Deluge but I can't find evidence of these rules in Ubuntu16:16
jmljdstrand: ^16:18
Terabytehey, 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:09
Terabytewhen 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:12
rbasakTerabyte: you may need "expect fork" or "expect daemon". See: http://upstart.ubuntu.com/cookbook/#expect17:15
Terabyteoo let me try daemon17:16
rbasakTerabyte: 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:22
rbasakIt's not an issue in production, though.17:23
Terabytehmmm17:36
TerabyteI don't think even daemon is quite right17:36
BeatstreetI 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:38
rbasakBeatstreet: check /var/log/kern.log. If the kernel killed it, the reason should be in there. Or "dmesg|tail".17:45
Beatstreetok, thanks17:45
BeatstreetOut of memory: Kill process 3543 (xfs_db)17:46
Terabytek 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
Terabytehowever 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.19:31
shadeslayer_okay21:27
shadeslayer_-.-21:27
=== aarcane_ is now known as aarcane
=== freeflying is now known as freeflying_away
=== Rodge__ is now known as Rodge

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!