Ubuntu Servers :: Starting Ruby App When System Boots Up?

Feb 12, 2010

how do I start a ruby on rails application when my Ubuntu server starts up/is rebooted? I start the application by cd-ing into the ruby application's root directory(the application I'm using is Bibapp) and execute the command;

Code:

sudo rake bibapp:start

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: System Boots To Busybox - Error - Gave Up Waiting On Root Device

Aug 4, 2010

The system is an old AMD Duron 650MHz that was dug out of the garbage, trying to set it up as a light duty server. I installed ubuntu 10.04 with no errors or troubles during the install, however whenever the system is booted it sits at a cursor for about a minute then goes into busybox giving the error "Gave up waiting on root device." and says that the hard drive does not excist. If I sit at busybox for about another minute and type exit it then boots ubuntu 10.04 with no errors or issues.

View 7 Replies View Related

Ubuntu Multimedia :: Rubyripper - Lucid Ruby 1.8 / 1.9 / Libgtk2-ruby?

Apr 26, 2010

I've been using rubyripper quite happily on Karmic, now I've moved to Lucid and discovered a bit of an issue. rubyripper will pause for several minutes between tracks with ruby 1.8. If I upgrade to ruby 1.9.1 the gui client won't run due to an issue with libgtk2-ruby not being available for 1.9.1.

The cli version of rubyripper under 1.9.1 is blazingly fast, so that is what I'm using at the moment, but I do prefer the gui.

Anyone have any insight into this? Googling suggests there may be a bug in ruby 1.8.7 that caused the long pauses, but it was supposed to have been fixed in 1.8.7.249 i.e. the default Lucid version.

View 8 Replies View Related

Ubuntu Servers :: System Won't Shutdown + Apache Not Auto Starting / Fix It?

Nov 12, 2010

First post here so I'll do my best to provide the information needed.

System:

Dell Poweredge R310
Xeon 3460 2.8Ghz
4x2GB ram
4x 160GB Sata 7.2k (RAID 10)
Ubuntu Server 64bit

If I type as root, "reboot" or "shutdown -r now", nothing happenings - except the apache2 process stops + the usual "System is going down for reboot now". If I type "shutdown -h now" the system goes down.

Upon booting the server back up, MySQL starts correctly, but Apache2 does not - I have to run "service apache2 start", and it starts up fine.

I feel the 2 issues are related. I've reinstalled apache2 completely (configs and all) and this didn't help - I used yum to install/reinstall it.

View 8 Replies View Related

Software :: Interactive Ruby Shell - Irb - Have Ruby But No Irb?

Oct 22, 2010

There are a few things not working properly. Ruby version manager seems ok but untill i get working with ruby i don't know if it is working properly. One thing that is not there is irb Interactive ruby is not available according the the message i get.

Well i have no idea what readline is but i did everything that is on that webpage referance page [url]. I have got a lot of progress and learned heaps about linux shell and bash terminal. The thing is i need to get this going and have tried feenode but it is very foreign and how it works i do not have a clue. I have got 2 things resolved so far through this forum but using other threads in it. i need to get irb going before i can progress to using ruby on Rails properly.

I am using a Eeepc running ubuntu easy peasy its version 9.04 of ubuntu. I need the whole of rails to work and want to get a handle on using ruby version manager along with the apache stack with mysql/phpmyadmin and am using this as a dummy run for setting up a development system.

View 2 Replies View Related

Ubuntu Servers :: Make A Ruby Script Run At Start?

Apr 5, 2010

I have set up a subversion server and on top of that redmine which is a webinterface sort of like trac.For every boot I have to run a script so that redmine will listen to port 8080. I have tried to make the system run this script by it self at start using

Code:
# update-rc.d -f start_servers start 99 2 3 4 5 .
using this guide http://embraceubuntu.com/2005/09/07/...run-at-bootup/

[code]....

View 3 Replies View Related

Ubuntu Servers :: Ruby On Rails - Redmine - FATAL: Password Authentication Failed?

Jun 30, 2011

When I try and access redmine from the webbrowser i get an error:

Code:
FATAL: password authentication failed for user "redmine" FATAL: password authentication failed for user "redmine" (PGError)

[code]....

View 7 Replies View Related

Ubuntu :: System Directly Boots In Win 7

Aug 14, 2011

I installed ubuntu inside windows, thing were going good, till windows got affected with virus, so had to reinstall it, now boots directly in windows 7. I have a 500 GB HDD with two equal partitions,
C: drive has windows
D: drive has ubuntu
I tried the boot-repair, didn't work, instead it corrupted windows boot, which got fixed using startup recovery but I want ubuntu back...

View 8 Replies View Related

Red Hat / Fedora :: Starting System Logger: Failed After Login To The System

Nov 17, 2010

When booting the system ,"starting system logger : Failed" after that i login to the system as usual but the system logger cannot start,even i use the service syslog restart command,how can i solve such problem ,thanks a lot

View 1 Replies View Related

Ubuntu :: System Boots Then Screen Freezes / Fix It?

Mar 16, 2010

Don't know if this is a coincidence, but the other day we had a power cut and my laptop went off. When I tried to reboot it got to the ubuntu start up screen, but when it tries to get to the "desk top" screen it all goes blue and black flashes. I have XP and Vista on the same machine and these both start up ok

View 2 Replies View Related

Ubuntu Installation :: Upgrading From 9.10 To 10.04 - System No Longer Boots

Feb 10, 2010

After upgrading from 9.10 to 10.04 my System no longer boots. I had a Dual-Boot System. On Boot I get - "error : the symbol 'grub_puts_' not found grub rescue> (prompt):
If I run 'insmode /boot/grub/normal.mod' (I get the same error)
If I run 'insmode /boot/grub/ext2.mod' (I get 'The symbol 'grub_xasprinf' not found)
If I run ls /boot (The Kernel File Names look Ok)

If I run in Rescue Mode it Reports (The installer could not find any partitions, so you will not be able to mount a root file system. This may be caused by the Kernel failing to detect your hard disk drive or failing to read the partition table, or the disk may be unpartitioned. If you wish, you may investigate this from a shell in the installer environment.) I ran the recommended reporting script and got the following output:-

Code:
= Boot Info Summary: =
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #4 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb
=> Syslinux is installed in the MBR of /dev/sdd <<< This is my USB Flashdrive .....

View 2 Replies View Related

Ubuntu :: Fail To Mount Disk Right After System Boots?

Apr 10, 2010

I got a little problem with Xubuntu here. Every time after I boot the system, I find one of my partitions from fstab not mounted where it's supposed to be. I do mount -a, and it replies: "mount: /dev/sdb6 already mounted or /mnt/data busy". Checking lsof of neither device nor mount point gives me nothing, and checking the output of mount I see device isn't mounted anywhere.

It gets better than this: after some time, device can be mounted just fine, this time is from 11 to 12 minutes. If something is doing anything with my device that takes whole 11 minutes, how come I don't know what it is? How can I mount device on boot? Some more (ir)relevant facts:

1. This partition is the biggest - 376 Gb

2. Here's my fstab line for this device:

Code:
/dev/sdb6/mnt/dataext3defaults02
3. After the installation, I changed the mount point in fstab, and using /dev/sdb6 instead of UUID is a result of blind experimentation

View 7 Replies View Related

Ubuntu :: Crash In Kernel During Boot (but System Boots)?

Apr 27, 2010

I have a custom compiled kernel which seems to work OK. However, during boot, I get:

Apr 27 21:16:14 poni kernel: eth0: Tigon3 [partno(BCM95784M) rev 5784100] (PCI Express) MAC address 00:21:70:90:2d:6c
Apr 27 21:16:14 poni kernel: eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet)

[code]....

System continues to boot OK and everything seems to work fine as I expect. I am not sure what the above causes. It looks related to USB, but I am not sure. lsusb gives:

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[code]....

View 3 Replies View Related

Ubuntu :: System Boots In Command Promt / Solve This?

Nov 17, 2010

I just installed Ubuntu 10.4.1 through wubi and I cant boot in the GUI

I used startx and the screen goes black

I also used sudo dpkg-reconfigure -phigh xserver-xorg and it cant find xserver.xorg (used the - phigh one too)

What can I do to solve this?

View 2 Replies View Related

Ubuntu Installation :: System Boots Slow After Upgrade 10.04

Nov 29, 2010

After my upgrade the bootup seems to take a long time.I am dual booting with XP.From the boot menu when I select Ubuntu it takes 35 seconds before I get the login screen.Is this normal?Also, other apps seem to be running slow. Running Win 7 under VMWare Workstation 7.1.

View 7 Replies View Related

Ubuntu :: System Boots Into Grub 2 Command Line?

Mar 4, 2011

After installing the 10.10 Maverick Meerkat, I decided to have a new partition and install Windows 7 on it for development purposes. So this is the method I worked with:

Partitioned the hard disk with gparted
Formatted the drive in NTFS
Installed Windows

Booted into Ubuntu 10.10 Live CD and re-installed grub on the MBR Now after restarting the system a grub command line boots up. I was able to boot into ubuntu with the following commands:

Code:

find /vmlinuz
kernel /vmlinuz root=/dev/hda1 (or its equivalent)
initrd /initrd
boot

Is there any way how to load up the grub GUI with the options to boot up Ubuntu or Windows 7 respectively?

View 9 Replies View Related

Ubuntu Servers :: Boots Goes To Screen Similar To Desktop And Then Blank

Feb 5, 2010

I might want to try and put a gui on my ubuntu server installation went fine however now I'm staring at a blank screen. ubuntu boots goes to screen similar to desktop (loading with the mouse cursor) and then blank... occationaly it'll load a partial username box but more offten than not it loads a completly blank screen and the caps lock and scroll lock lights on the keyboard are both blinking consistantly...

View 1 Replies View Related

CentOS 5 :: System Only Boots To Grub?

Mar 5, 2009

after update my CentOS 5.2 geting follow problem:

my System stop by Grub,

i can start my System manually by typing instructs from menu.lst.

menu.lst
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

[Code]....

View 12 Replies View Related

Ubuntu Installation :: After Upgrade System Boots Into A Black Screen

Apr 29, 2011

I upgraded from 10.10 to 11.04 and after the upgrade

- the system boots,
- the grub menu appears,
- the splash screen comes up and then
- I have a black screen and that's it!

I saw, at the end of the installation process, that the driver for the nVidia video card was removed.

View 9 Replies View Related

Debian Configuration :: System Boots With Eth0 Down?

May 10, 2011

I noticed that when my server boots up, it's network interface on eth0 is always down and I always must run the 'ifup eth0' command in order to get it to work for some reason. I checked my configuration and it looks legit to me...

# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).

[Code]...

Anyone know why my system is booting with out bringing up my eth0 interface? It's very annoying.

View 5 Replies View Related

Installation :: System Boots Automatically Into Windows?

Oct 18, 2010

I'm dual-booting Fedora Linux with windows7 and everything worked fine until now My problem now is that I did an upgrade on my windows and ever since,My system boots into windows automatically without giving me the option to choose which operating system to boot to via the GRUB prompt.I'm locked out of my Fedora by windows

View 3 Replies View Related

General :: Mount A Filesystem When The System Boots?

Dec 21, 2009

I'm trying to mount a filesystem when the system boots, so i won't need to mount it everytime..

So what I did was copying the line of the filesystem I wanted to mount on startup from /etc/mtab:


Code:

And pasted it as it is, in the /etc/fstab file. when the system booted, it didn't work. not only that, I wasn't able to mount the filesystem at all, (it gave me some kind of an error) so I removed the line from fstab file and it all back to normal. how can I mount this filesystem on boot? (i'm using Fedora 12)

View 10 Replies View Related

OpenSUSE Install :: System Boots To Grub Instead Of Kernel?

Apr 14, 2010

I installed Fedora 13 on a separate partition and it deleted all of my openSUSE entries in grub. Or the boot menu, whichever is correct. From another thread, I found these commands and tried it:

Code:

grub
root (hd0,3)
setup (hd0)
quit
reboot

hd0,3 contained one of my openSUSE installs. Everything went well and grub accepted all of these commands except quit. So I used esc and rebooted. The reboot brought up the grub shell again. I could find no way to boot anything. Then I used the 'repair installation' option from the 11.2 dvd and installed a new boot loader for /dev/sda2 which contains 11.2.

This was successful, so I went to the YaST bootloader tool and added /dev/sda3 (Milestone 5) and /dev/sda4 (Fedora) and rebooted. But these two partitions still boot into grub instead of loading the correct kernel.

View 7 Replies View Related

OpenSUSE Install :: System Boots But Hangs At Desktop

Jul 18, 2010

I upgraded OpenSUSE 11.2 to 11.3 today using Zyyper on my laptop. Everything went fine with no errors whatsoever. At the end, a message was displayed at the terminal asking me if I want to see the notifications. I pressed "Y" and the system hanged there and then. I had to do a hard reboot. After reboot the system booted fine but hanged at the desktop with no response from the keyboard, mouse, touchpad, etc. The situation's same after many reboots. System boots fine but hangs at the desktop. Screen resolution changed to 800x600.Only power button works! I use it to log off and then do a reboot.

View 9 Replies View Related

Ubuntu Servers :: Cold Boots Fine But Get 'Gave Up Waiting For Root Device' On Reboot

Mar 31, 2011

Recently setup Ubuntu Server 10.10 on an old Dell Poweredge 2650. It seemed to be working perfectly until I did my first reboot. I tried changing the 'root' reference on the linux line at the grub menu with no luck. I suspect the problem is something else but I have no clue.

So far the behavior seems completely consistent. If I physically power the machine down and start it back up everything works perfectly. However, if I do a sudo reboot now I'll end up at the initramfs prompt. I'm not comfortable setting up my dev environment on this box until I'm sure it will be stable. In case it matters the machine is running a single scsi drive and doesn't have a raid controller.

View 6 Replies View Related

Ubuntu Security :: Cpuid Patch Listed As Systems Boots When Booting Up The System?

Apr 13, 2010

When booting up the system I noticed that there is a statement of a CPUid patch listed as systems boots.

View 1 Replies View Related

OpenSUSE Install :: System Resets And Just Boots Back To The EFI Shell Again

Oct 13, 2010

I am trying to install OpenSuse 11.3 x64 via EFI. I successfully performed a Windows 7 install and I'm trying to do the same thing with OpenSuse now. My system boots into the EFI shell. I can cd into the /efi/boot/ folder and run bootx64.efi. Immediately after I press enter I am presented with an ELILO boot: prompt which either eventually times out and continues or I can press enter and have it continue. Either way my system resets and just boots back to the EFI shell again.

Running bootx64.efi worked for starting the Windows 7 setup but it doesn't appear to be working with OpenSuse. Is this a broken feature or am I doing something wrong?

View 2 Replies View Related

General :: System Doesn't Boot With Windows Instead It Boots With GRUB

Jan 30, 2011

I have windows7 installed in my laptop. I tried installing Redhat linux in it, and I was successful. But then I logged in with windows7 and deleted the partition in which I had installed redhat through computer management. Now my system doesnt boot with windows instead it boots with GRUB. Also to inform that the deleted linux partition I merged with Windows.

View 2 Replies View Related

Software :: DSL Box To Show A Picture Instead Of The Start Up Info As The System Boots?

Jan 15, 2009

I'd like my DSL box to show a picture instead of the start up info as the system boots.

View 1 Replies View Related

Fedora :: Cold Boots Often Take Up To 10 Attempts Before The Computer Successfully Boots?

Oct 29, 2010

my desktop pc is acting very strange. cold boots often take up to 10 attempts before the computer successfully boots. after the 1st successful boot, i can expect 1-3 "glitches". here's what happens:

the first few cold boots fail at various points during the boot process. there appears to be no pattern to it. when it happens, the machine is completely locked up. it responds to nothing, except holding in the power switch for 5 seconds. i'll go through this procedure several times.

finally, it will boot all the way to a desktop. from there, once i log it, i can expect it to lock up completely, usually once or twice. and then, finally, the screen will go blank and it will suddenly be back at the login screen.

usually, once i log in that last time, it's at least usable, although hardly stable. watching flash video seems to cause a complete lockup, with the sound looping. it doesn't matter where the content is coming from (videos or similar) nor does it matter which browser i'm using (firefox or chrome). i've stopped visiting videos-type sites in the meantime.

this installation has always been a tad bit screwy. 99% of the time, firefox fails to shut down properly, resulting in a message letting me know that a crash was detected. earlier today, i was alerted to 3 kernel crashes simultaneously.

right now, i'm using the pc, as normal. the random nature of the problems would lead me to believe it was hardware-related, specifically something like memory (ram). however, i installed memtest86+ and ran it. i walked away for 4+ hours. came back, it was running, no errors were found. i stopped the test and booted, trouble-free.

the pc seems to be stable enough for a backup, but this does have me concerned...obviously. i'm debating wiping the drive clean and installing f13, just as a test. if it's screwy as well, it would have to be hardware-related, wouldn't you think??

View 14 Replies View Related







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