Server :: Start Mongrel In Ssh Session And Then Exit In Ubuntu 10.04?

Oct 6, 2010

I'm deploying a Rails application in a Ubuntu 10.04 server withmongrel web server (a lightweight http web server). I connect to server and do stuffs in a ssh client(PuTTY on windows). And I'm getting stuck with a strange issue:1. After I connected to server, I start mongrel with : $ start-stop-daemon -S -d . -x script/server -b -- -p 80802. I left the ssh console and launch firefox from my Win7 box and openthe website, it runs well. I can see the homepage3. I go back to the ssh console. Close the terminal (and window too)it by : $ exit4. Then in firefox, I press F5 to refresh and nothing shows up. It'sjust an empty space in whole webpage. I tried to use addon to capturethe HTTP data and see that te server returns nothing , even HTTPheaders5. I connect to server again, run "ps -Af" to check and see that the process's still running. And again, leave the console, switch to firefox and refresh -> the homepage shows everything. 6. But if I exit the ssh session and refresh browser, the web server returns nothing againI thought that using start-stop-daemon command could help me runmongrel as daemon and then I can exit my session just as apache does.

View 2 Replies


ADVERTISEMENT

Server :: Installing Ruby Mongrel/mysql/passenger On CentOS?

Jan 16, 2011

I'm trying to install RubyOnRails, I'm at the point of installing the gem modules mongrel, mysql and passenger Running gem install mongrel Returns

Code:
Building native extensions. This could take a while...
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb

[Code]....

View 6 Replies View Related

General :: Ssh Exec Command And Exit Session

Jan 13, 2011

is it possible to execute command and terminate session all in one phrase

something like this connect to server hostname and than execute command "ls" and than some command

ssh username"at"hostname ls "something"

without "something" this phrase connects to server and lists directory, I need something that after listing directory, terminates session.

View 1 Replies View Related

OpenSUSE :: When Start Session Akonadi Server Error Displayed

Apr 8, 2011

When I started my session, a box saying: "An error occurred the startup of the Akonadi server. The following self-tests are supposed to help to tracking down and solving the problem. When requesting support or reporting bugs, please always include this report:

[code]...

What can I do to solve this problem?

View 2 Replies View Related

General :: Start A Remote Login Session From Script To Any Server?

Nov 11, 2010

How to start a remote login session from script to any server?

View 1 Replies View Related

Ubuntu :: Rubygem : Can't Install Mongrel On Lucid Lynx?

May 10, 2010

I just installed Ubuntu 10.04 on an old desktop computer so that I could use it for Rails. I installed Ruby, rubygems and Rails using

Code: sudo apt-get install and it works fine, but I cannot install Mongrel through

Code:sudo gem install mongrel,it's giving me this block of error message:

Code:Building native extensions. This could take a while...ERROR: Error installing mongrel:

ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb

extconf.rb:8:in `require': no such file to load -- mkmf (LoadError)from extconf.rb:8.I tried removing the rubygem 1.3.5 package that came with the Ubuntu repository and downloaded Rubygems 1.3.6 from rubygems.org, but when I tried the same command, it still gives me the same error.

View 1 Replies View Related

Fedora :: How To Exit Out Of Session In Fedora 11?

Aug 2, 2009

I'm just wondering how to exit out of an a session in Fedora 11. I used to be able to use ctrl+alt+F1,2,3..etc to go to command line. Please don't tell me you no longer allow users to exit out of x-sessions. Also what about verbose mode during boot up. I used to be able to boot interactivly to diagnose problems.

View 12 Replies View Related

Programming :: Exit In Script Files Cause Konsole Terminal Itself To Exit?

Apr 11, 2010

I noticed that if I have "exit" in a bash script file., e.g. script.sh,that when the word "exit" is reached, and the script file being executed is not in the PATH nvironment, i.e. ". script.sh", the whole konsole shell profile is exited! What gives here? Is there another command compatible to "exit" to prevent this, or will I just have the leave the "." part in the PATH enviroment, which is, to my understanding, is not recommended? I desire for a "goto" function in bash script files

View 11 Replies View Related

Ubuntu :: Panic - Can't Start Session

Jun 16, 2010

After update in Lucid, cant start the session. As only critical part was Nautilus (on 2.31), how to fix it? I don't have in GDM any session option and no way to approach to terminal and start any session. Only way can be somehow before GDM (Lucid by default don't have Grub) or via Live USB (but how?).

View 8 Replies View Related

Ubuntu :: Start A VNC Session Any Way But Vncserver?

Jul 19, 2010

I am trying to VNC into a server to which I have no physical access (but I can ask someone to start a session or something) but can ssh into. I have gotten a VNC session working by sshing in and running vncserver, although once the VNC session died in a confusing manner.

I don't know how to start a VNC session any way but vncserver, which is odd since I'm sure that Ubuntu's Remote desktop should somehow allow me to do this by default. The server by the way is being used as a desktop by someone else. Also, how do I tell if my VNC is encrypted and if it isn't how do I make sure it is?

View 9 Replies View Related

Ubuntu :: Start Session With Last Applications

Jul 29, 2010

one month I switch the workspaces(desk1 to desk2), and open some applications, then I tried to save them. till now even I close them always, but they appear after each startup.

View 1 Replies View Related

Ubuntu :: Gdm Will Not Start Gnome Session?

Jul 31, 2010

I'm having issues logging into my system... After authenticating via GDM, the screen goes black with only the mouse showing and remains this way indefinitely. At first the hard disk is active to a similar degree as it was when logins were successful, but then the system (apart from being able to move the mouse) is unresponsive.

If left for long enough so that the screen goes into power-saving mode, moving the mouse brings up the unlock dialogue that you normally get if you set your computer to lock itself after a period of idleness.

I suspect some sort of file corruption, as I have not changed any settings recently. I have forced checks on all of my disks in the hope it would solve this problem. I have also tested logging in on a freshly created user account I created which gives the same result. Also, starting an xterm session from GDM works fine.

View 4 Replies View Related

Ubuntu :: Start An Alternate X Session?

Dec 19, 2010

How do i start an alternate X session in ubuntu...generally Ctrl + Alt + F7-F11 is reserved for alternate X sessions right. If I open a tty1 and do something like xinit -- :1 I guess I have something like an X session but it doesn't have any desktop environment like Gnome...what i want to do is if I am running a fullscreen game or something in Xsession:0 can I do something else in a new Xsession?

View 2 Replies View Related

Ubuntu :: Start Kde From Empty X Session

Jul 9, 2011

I have an empty X session running, and I want to run kde inside it. I can run whatever software I want in it, actually (well, I can't move the windows and so, but that is normal), but for some reason, kdm doesn't work. What I have is a X display and a xterm inside.

View 2 Replies View Related

Programming :: Why New Threads Exit When Main Thread Exit

May 22, 2010

In linux, creating thread is same as process (clone()), except the virtual address space gets shared with the parent.If a running main process(thread) creates new thread, and if main thread exits, why should the new thread too exit? both are different entities, The same doesn't happen if the child thread exits, the parent thread would be alive.

View 1 Replies View Related

Ubuntu Servers :: PhpMyAdmin Cannot Start Session Without Errors?

Feb 16, 2010

I get an error message that says phpMyAdmin - Error, Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

So I did some googling and found a post here {URL]... which speaks about resetting the ownership of the session directory. However I am wondering how I can find out what the owner if the directory is (if its root or admin or ...)

It's strange because it all worked fine just about two hours ago and I am not sure since I have the server automatically download security updates if there is something it automatically downloaded that caused this. Also how to make the server stop automatically downloading security updated?

View 7 Replies View Related

Ubuntu :: How To Exit X Server With 9.10

Mar 18, 2010

I was wondering how you exited x server in ubuntu. I relatively new to linux. I wanted to install the newest nvidia driver, and they said you needed to exit x server when running the driver installer. Someone already told me to try ctrl-alt- F6, which didn't work. That just put me in a virtual terminal that still had x-server running. So if anyone knows how to exit x-server,

View 1 Replies View Related

Debian :: Gnome Session Won't Start

Jul 9, 2010

Gnome sessions started hanging during login on a debian lenny box, and I can only think it's related to a recent package update as it was working fine before the last set. It affects all user accounts and hangs before the applications menu or any icons appear on the panels, but after after the top /bottom panels and the desktop background appears.

View 1 Replies View Related

Debian :: How To Start X Session In New Terminal

Apr 20, 2015

System: Debian 7 Wheezy amd64 - Gnome classic - gdm3

I'm trying to create a new gdm session in tty8, so I can switch between tty7 and tty8 running simultaneously.

How can I accomplish this? I found some website suggesting to run startx and also startx gnome-session -- :1 vt8 Both result in a black screen, blocking the overall system, not allowing me to go to tty1 nor any tty. I have to run REINSUB to restart the system.

# I don't know if tty is the exact term to refer to the CTRL+ALT+Fx virtual terminals.

View 6 Replies View Related

OpenSUSE :: KDE 4 Session Start Glitch

Jun 3, 2010

When KDE starts up a new session, it restores the progs that were running at log out last time.I am running skype and that prog is brought back but I suspect that KDE is restarting the "bin" (skype-bin) rather than the startup script (skpe) which contains the necessary "LD_PRELOAD" stuff essential to get the webcam operating OK.I can't find where KDE stores the session info, any ideas?

View 4 Replies View Related

General :: Can't Start Session At Kubuntu9+9+

Sep 11, 2010

Don't pay attention to 9+9+, was a misstyping

This is the deal. I installed kubuntu yesterday. Now when it prompts the start session screen, I write the user and password, click enter and then starts loading a new screen. It shows an hdd draw, and starts loading some other images, and all of a sudden it prompts me again at the start session screen.

Intel Celeron 2,13 GHz at ASROCK P4VM800 motherboard
1,18 GB RAM

View 3 Replies View Related

CentOS 5 :: Can't Start A Remote-Session

Jan 12, 2010

I can't start a Remote-Session and I'm looking to the log-files at the moment. Where are the logfiles for NX?

I found, but here is nothing inside:

/var/log/nxserver.log [root@headnode1 ~]# cat /var/log/nxserver.log [root@headnode1 ~]#

View 4 Replies View Related

Ubuntu :: Make Kde Not To Start/memorize Previous Session After Reboot?

Aug 25, 2010

i am one gnome-user, but need to set up kde/Kubuntu/Mint 9 KDE on my wifes computer. So, i have few questions:

1) how to make kde not to start/memorize previous session after reboot?

2) in gnome-power-manager i can read Battery Health (mAh, Design Capacity...)-something like that in KDE? In KDE Power manager i have no such readings.

3) is there some cleaning tool as for gnome ubuntu-tweak?

View 5 Replies View Related

Ubuntu :: Nautilus Won't Start Without 'sudo' - Failed To Get Current CK Session

May 21, 2011

Running natty (latest upgrade), and i'm having nautilus issues. If i type

Code:
nautilus
into the terminal, i get nothing. no errors, no text, and no window.

If i type

[code]....

View 7 Replies View Related

Ubuntu :: 10.10 - Unable To Login Or Start Session With Any User Account

Sep 1, 2011

Recently I deleted files from my root/share folder in an attempt to remove a program which had made the system virtually unusable. Upon reboot of the system I accessed the partition I had just edited and I found that I was unable to login using the login manager, every time I hit login it just returns me to the same screen displaying the message: unable to start session.

View 3 Replies View Related

Debian Multimedia :: Can't Start GUI Session As User

Mar 29, 2016

I recently installed debian 8 stretch with xfce. Since the first time I boot, I have problem starting my X session: from lightdm I always attemped 2 or 3 times before it login (it returned me on lightdm prompt after a short splash screen).

Now it stopped working: the only way I can start xsession is running startx as root. When I try as user it starts the "splash" and return me to the tty with this error message:

Code: Select allServer terminated with error (1). Closing log file(EE)

This is my ~/.local/share/xorg/Xorg.0.log

Code: Select all[    27.703]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[    27.704] X Protocol Version 11, Revision 0
[    27.704] Build Operating System: Linux 3.16.0-4-amd64 i686 Debian
[    27.704] Current Operating System: Linux debian 4.3.0-1-686-pae #1 SMP Debian 4.3.5-1 (2016-02-06) i686

[Code] .....

And this is my /etc/X11//Xsession

Code: Select all#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)
# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $

[Code] ....

and this the .xsession-errors:

Code: Select allXsession: X session started for lucatastrophe at Tue Mar 29 10:21:09 CEST 2016
localuser:lucatastrophe being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
dbus-update-activation-environment: setting MAIL=/var/mail/lucatastrophe

[Code] ...

I try to reconfigure Xorg but the Xorg -configure command result in another segmentation fault.

I think that the problem could be related with old configuration (when I install this version of debian I maintain the /home partition and my previous OS was debian 7 with xfce).

View 7 Replies View Related

OpenSUSE Install :: What Is Command To Start Gui Session

May 6, 2010

I am having a brain fade, I have an putty session connected ( X11 forwarding enabled) what is the command to start a gui session ( Opensuse 11.0).

View 3 Replies View Related

Debian :: Xfce-session Does Not Start After Boot?

Dec 15, 2010

This morning I did a minimal install of Debian to test out xfce and lxde, purely out of curiosity.I tried LXDE first. For various reasons I wasn't entirely pleased, so I removed it and installed xfce4 in a vanilla openbox session. Upon reboot, I was greeted with the CLI. I generated a new xorg.conf file to see if the transition to xfce had altered it, but was greeted with the CLI again after another reboot. I manually started X with 'startx' and noted that the xfce session manager was installed. The xdm session manager, however, was not.Installing xdm fixed the problem, kind of. I am now greeted with an xdm login screen rather than an xfce session login screen. What can I do to have xfce-session be my default login screen?

View 3 Replies View Related

General :: Start Up With Same Apps As Previous Session?

May 29, 2011

Can fluxbox remember the apps that were running when it was shut down and reopen them when it is restarted?
If so, how?

View 3 Replies View Related

CentOS 5 :: Can't Start Session Due To Internal Error / Do That?

Apr 5, 2009

I am new to CentOS and need this urgent help.

On my machine, I am not able to login using any of the user account or root. It's showing this message:

Then comes another message:
YOur session lasted for less than 10 seconds. Try logging using Failsfe.
....
session_child_run: Could not exec /etc/X11/xinit/Xsession default

I tried to use the failsafe as well, but nothing seems to work.

Would someone please help me regarding this issue?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved