/srv/irclogs.ubuntu.com/2015/04/12/#ubuntu-server.txt

jvwjgamesHi how do i make a python program continue to run even after i close the console00:00
sarnoldjvwjgames: a few ways, use screen or tmux if you want to come back to it later, perhaps from another terminal or ssh/mosh session00:01
sarnoldjvwjgames: you could use nohup /path/to/program.py &  -- which willbackgronud it and tell it to ignore the HUP signal that would be sent to it when the shell dies00:02
jvwjgamesok00:02
sarnoldjvwjgames: you could convert the program to run as a daemon, thuogh that takes some real work00:02
sarnoldjvwjgames: or youj could run it via cron or upstart or something00:03
jvwjgamesok00:04
jvwjgamescause it is an irc bot used only for my irc server i have hosted on my servers00:04
jvwjgamesand it is annoying to see the irc bot on the channel then i close the shell and then have it say jvwjgames-bot (~willie@127.0.0.1) has quit IRC (Quit: bye.)00:07
sarnoldjvwjgames: since it's a service you want running all the time, I'd suggest the upstart job then :)00:11
sarnoldhttp://upstart.ubuntu.com/cookbook/00:11
dasjoeI'd probably just launch it in a tmux, or simply nohup it00:13
jvwjgameshmm00:16
jvwjgamesi installed willie but can't find it00:17
jvwjgamesand yes i used locate but no resultes00:17
sarnoldlocate's database is only updated at 4am or something uless you run a manual updatedb ...00:18
sarnoldif you installed willie via dpkg, dpkg -S willie ought to help00:18
jvwjgamesfound it thanks00:19
jvwjgamesbut i looked in the directory that it siad it was in but it is not there but i can still access it00:20
jvwjgamesit might be because it is .willie00:20
sarnoldls -a00:20
jvwjgamesis there a way to use nohup but run it as a non root user00:22
jvwjgamesError: Do not run Willie with root privileges.00:23
sarnoldjvwjgames: nohup writes the output from the command you run to a file named nohup.out in the current working directory00:24
jvwjgamesok00:24
sarnoldjvwjgames: so you need to either (a) fix the ermissions in the current working directory or (b) change the current working directory to where you want the log written and permissions will make sense00:24
jvwjgamesok00:25
jvwjgamesalso with nohup will it also ignore crt +c00:25
sarnoldright, the process is no longer attached to a terminal00:26
jvwjgameshmm well it didn't work00:28
jvwjgames nevermind fixed it00:30
jvwjgamessarnold: can i pm you00:34
sarnoldjvwjgames: I'm leaving in about five minutes.. channel would be best, that waysomeone else can pick up when I leave00:35
jvwjgamesok00:35
jvwjgamesi was going to have you connect to my irc server really quick but i can do it later00:35
sarnoldaha :) good luck testing it jvwjgames :)00:38
jvwjgamesis there a way to make a user have write privlages on a dir that is already owned by root00:39
=== Lcawte is now known as Lcawte|Away
jvwjgameshmm i need help with something else01:31
jvwjgamesqwebirc requires twisted (at least 8.2.0), see http://twistedmatrix.com/01:31
jvwjgamespython-twisted is already the newest version.01:32
jvwjgamespython-twisted-bin is already the newest version.01:32
jvwjgamespython-twisted-core is already the newest version.01:32
jvwjgamespython-twisted-mail is already the newest version.01:32
jvwjgamespython-twisted-names is already the newest version.01:32
jvwjgamespython-twisted-runner is already the newest version.01:32
jvwjgamespython-twisted-web is already the newest version.01:32
jvwjgamespython-twisted-words is already the newest version.01:32
Power_SuperHi on a server lets say one of the cgi scripts uses a csv file to read / write some data, where should this csv file be03:37
Power_Superin the same place as the index.html etc or in cgi-bin03:37
jvwjgamessarnold: you there]03:37
delinquentmeat current /mnt is owned only by root ... will it mess things up if I add additional users who can write to this ?04:03
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
neosilver-gkhallo05:51
=== voidptr is now known as voidstar
=== specialkevin___ is now known as specialkevin__
=== tgm4883_ is now known as tgm4883
neosilver-gkI've get a problem with my Teamspeak 3 movement to a new vServer. The installation was fine and without any error, but ca. 25 minutes after starting the server it crashes and write just a small error in the apport.log .05:57
=== X-Rob_ is now known as X-Rob
=== jeremy_carroll_ is now known as jeremy_carroll
=== ValicekB_ is now known as ValicekB
=== remix_auei is now known as remix_tj
=== bilde2910|away is now known as bilde2910
lordievaderGood morning.08:57
=== Lcawte|Away is now known as Lcawte
Exagone313Hello, I try to install "awesome" on Ubuntu server. First, I installed the package awesome, and after reboot I had a tty. So I installed lightdm, reboot, and I see the GUI of Unity connection, and when I write my password, it says "failed to start session". Also, I've a resolution problem that I didn't have before installing lightdm, both on tty and lightdm interface. My screen is like...09:28
Exagone313..."zoomed". What can I do? Thanks for helping.09:28
lordievaderBlegh, a gui on a server.09:33
lordievaderExagone313: Anyhow, what videocard/driver do you use?09:33
Exagone313it's not a server09:34
lordievaderExagone313: Then I suppose your question is more fruitfull in #ubuntu.09:34
Exagone313AMD RADEON HD 645009:34
Exagone313and the processor is an i309:35
Exagone313they sent me here09:35
lordievaderThat is odd. Server guys hang around in here. They usually dislike desktops...09:36
lordievaderExagone313: What driver are you running though?09:36
Exagone313the default one09:36
Exagone313it's a fresh install09:37
Exagone313I just installed awesome and lightdm packages09:37
Exagone313I restart, I remove lightdm to install only lightdm-gtk-greeter, maybe it will work09:37
lordievaderExagone313: You do get lightdm?09:37
Exagone313it appears, yes, but I can't log in it09:38
Exagone313within it09:38
Exagone313"failed to start session"09:38
lordievaderRight, that is a Unity problem (or lightdm). Really has nothing to do with Ubuntu Server.09:38
Exagone313I don't want to install unity, that's the point09:39
lordievaderAnd since I know nothing about Unity I cannot help you.09:39
Exagone313I want to install awesome09:39
lordievaderThen it is a problem there. Still not with Ubuntu Server.09:39
lordievaderFor a hint on the problem, check the logs.09:39
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
nszcetawhat do you guys use to host personal repositories of your own custom packages?12:13
nszceta? https://help.ubuntu.com/community/Repositories/Personal12:14
=== mist__ is now known as mist
=== CiPi is now known as cipi
=== cipi is now known as CiPi
jvwjgamessarnold: Hi how are you17:06
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
=== mburns is now known as mburns_
=== mburns_ is now known as mburns
=== mburns is now known as mburns_
=== NomadJim_ is now known as NomadJim
=== bilde2910 is now known as bilde2910|away
Crossfire0megaanyone know anything about Ubuntu MAAS server?22:43
=== Lcawte is now known as Lcawte|Away

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