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

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


View 3 Replies


Ubuntu Servers :: MySql Database Won't Start - How To Make It Start

May 4, 2011

I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?

View 9 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 i.e. the default Lucid version.

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 :: 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;


sudo rake bibapp:start

View 1 Replies View Related

Ubuntu Servers :: Make Start An Iptables.cf Script On Server?

Mar 5, 2011

I am trying to make start an iptables.cf script on my server.

I have copied it into /etc/init.d/
And try to make it load with /etc/init.d/iptables.cf start
Then "not permission" (I was the root then).
So, sudo /etc/init.d/iptables.cf start
Then, "command not found".

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:

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


View 7 Replies View Related

CentOS 5 Server :: DHCPD Doesn't Start - How To Make It Start

Sep 2, 2010

I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !

ddns-update-style interim;
ignore client-updates;


View 3 Replies View Related

Ubuntu :: How To Make Wbar Run At Start-up

Feb 12, 2010

I'm running Ubuntu 9.10, and using wbar as my dock, and when i boot up my computer and log-in I like to have my dock there instead of opening it. Is there a way to make it open automatically right when I log in?

View 1 Replies View Related

Ubuntu :: How Do Make Anything Start On Startup

Sep 4, 2010

How do I make something start on boot? I remember there being a command.. nano something, can anyone tell me?

View 3 Replies View Related

Ubuntu :: Stuck With Ruby On Terminal?

Jun 28, 2010

Terminal, I type ruby, I hit enter, and nothing happens. I'm given a blank line that I can type and enter, and again, nothing happens. I'm stuck, is there a way to fix this without closing the terminal window?

View 1 Replies View Related

Ubuntu :: Make Commands Run On Terminal Start-up

Jul 1, 2010

I added this:

fortune | cowsay | echo

to the bottom of my .profile expecting a cow to tell me a fun quote whenever i pull up a terminal. It hasn't done anything, however. How do I achieve my desired effect?

View 4 Replies View Related

Ubuntu :: Raid 5 Won't Start - How To Make It Work

Jan 6, 2011

I was running Ubuntu 9.10 with 3 - 1.5TB drives in a software Raid 5 array. The OS is installed to a separate drive. I decided to format the OS drive and install Ubuntu 10.10, but having done that I can no longer get my Raid array to start. When I am in the Disk Utility and hit the "Start RAID Array" button I get a message saying that there are not enough components to start the Raid array, even though the 3 raid drives show up within the Disk Utility.

View 1 Replies View Related

Ubuntu Installation :: Cant Make Start-up Disk With Some OS's

Feb 27, 2011

I have made several start-up disk, just made 2 today, but certain ISO's won't even go into the "start up disk creator" window.I've made them with Ubuntu, Kubuntu, Linux Mint, Xubuntu, Lubuntu, Ultimate-Edition, Peppermint One & Peppermint Ice, but I can't make one with Puppy, PCLinuxOS, and a couple others.I'm trying to make one with "system rescue cd" so I can use it to totally wipe my 500GiB hdd, before I start to partition & install OS's on it. I downloaded system rescue & saved it to my desktop, but start up disk creator won't let me make a start up usb with it.My questions are...

1. Why does it refuse to make some & not others?

2. I know it's not totally necessary but, is there really any reason to completely wipe it before writing over it? Such as longevity or speed?

View 8 Replies View Related

Ubuntu :: Make Conky Wait To Start?

Apr 25, 2011

how do I make conky wait to start? I have read the post how to do it but when I try it says file not found.

View 9 Replies View Related

Ubuntu :: Make A Command Run Automatically On Start-up?

May 27, 2011

I have a lenovo thinkpad laptop, and it has both touch-pad (standard build in laptop mouse) and touch-point (in the middle of the keyboard) mouse options.

I almost invariably use the touch-point and the accompanied scroller and key-buttons.

HOWEVER, for the scroller to be recognized by ubuntu you must run two scripts as follows:

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2

Restarting the computer resets these settings, and you must re-run them each time you start up ubuntu.

I am looking to write a script that will automatically run itself (which will execute the above commands), or to permanently change these settings so that it will not be necessary to run them at each start-up.

Thanks in advance, and if there is another thread on these forums that I should move to (or even just another thread that would be a more likely place to get a response). This seemed like the best forum (one which can certainly hold this post without violating any rules), but I may have missed something.

View 4 Replies View Related

Ubuntu :: Ruby / Rails Syntax Highlighting

Jun 8, 2010

The site that used to host the language spec file for .erb/.rhtml for ruby/rails syntax highlighting is no more.If someone could attach the file for gtksourceview-2.It's located in /usr/share/gtksourceview-2.0/ language-specs/ and probably called rhtml.lang

View 2 Replies View Related

Ubuntu :: Generate Pdf Documents Programmatically Using Ruby

Apr 1, 2011

I need to generate pdf documents programmatically using Ruby. i.e. I don't want a GUI interface but an API interface. The bulk of my document is text but there are images included as well. I've looked at this thread: [URL] and it's 2 main recommendations PDFEdit and ImageMagik. PDFEdit has scripting available but I can't get my head round how to call this using Ruby. ImageMagik has a number of Ruby wrappers and is the kind of thing I want but as far as I can tell it only deals with Images and my stuff is mainly text.

View 1 Replies View Related

Ubuntu :: Ruby On Rails Version Fail / What To Do?

Jan 18, 2011

I want to try test ruby on rails application on a virtual ubuntu server. But I didn't work for me.
What did i tried Code code...

What do I wrong, rubygems still 1.3.5 and is not updated...
What must I do?

View 1 Replies View Related

Fedora :: Cannot Re-start X / Make It Possible?

Aug 15, 2009

FC11 I tried to load the nvidia driver because google earth suggested I needed to do this in order for the program to run faster now I'm in a bit of a mess.
this I what I did, following instuctions from unoficial fedora faq
su -
yum install knod-nvidia then reboot

now I seem to be locked into 800x600 mode only.
then I find in system tools the nvidia display config tool

having clicked on this a message then appears saying I should run nvidia-config and then restart x,

I ran the nvidia-xconfig then re-booted the system. now all I get is a flashing curser on the screen.

I tried typing startx at this prompt but nothing happens.

View 14 Replies View Related

Ubuntu Installation :: Grub Won't Start WinXP / Make It Possible?

Jun 25, 2010

Here's today's problem: I upgraded to Ubuntu 10.04 and hope to have it run alongside Win XP PRO, which it had for months.

Only, when I select WinXP in GRUB, nothing happens. Oh the screen goes dark for a few seconds, but then the GRUB screen reappears. Ubuntu 10.04 functions correctly.

here are the contents of what I assume is grub.cfg code...

What I need to know is how to make GRUB load WinXP.

View 9 Replies View Related

Ubuntu :: Make A Program Start On Boot, But Not Under Root?

Jul 7, 2010

I need to make my website autostart after reboot. I may just add it to rc.local but i don't want it to start under root

View 1 Replies View Related

Ubuntu Networking :: How To Make NTop Not Start At Boot

Jan 20, 2011

I have installed ntop and it works fine, but I do not use it every day. Somehow it installed to start on boot. I do not want it to start automatically at system start/boot. I looked and searched, and looked some more but I can not figure out how to stop it from starting at boot time. I'm using Unbuntu 10.

View 1 Replies View Related

Ubuntu :: Make Ibus Start Up Automatically And Quitely?

Jan 20, 2011

I used to input Chinese with scim input method, which can be trigered by Ctrl^Space. But this time, I reinstalled ubuntu 10.04, I have to manually start up ibus from System>Preference>ibus firstly before I can triger the input method by Ctrl^Space.

This is not over, the key problem is there are several dialogues to click "ok" with before I can really use the scim.

How can I make this ibus startup automatically and quitely?

I tried put command "ibus -setup" into my .profile, it does start up the ibus automatically every time when I login, but the dialogues still bothering me.

View 1 Replies View Related

Ubuntu :: Make The Start Menu Icon Wider?

Jul 27, 2011

is there a way to make the kick icon or start menu icon wider than it is now? I find the default size too small and would like to make a bigger one. I made one and change it but kubuntu still shows it in its default size of which I find it too small.

View 2 Replies View Related

Ubuntu :: Make Kubuntu Start Icon Wider

Aug 5, 2011

Is there a way I can make the kubuntu start icon wider like the windows XP one, whenever I make a bigger image it always resizes when it appears on the panel.

View 4 Replies View Related

Fedora :: Install Ruby 1.9.2 In F14?

Dec 19, 2010

Is there a way to install ruby on Fedora 14?

View 1 Replies View Related

Ubuntu Installation :: Can't Install Ruby On Rails / Solve This?

Mar 23, 2010

I'm trying to install ruby on rails on Ubuntu 9.10. I'm following the instructions on this site:

However, when I try to install Rails I get an error code...

It seems like gem can't access http://gems.rubyforge.org/gems/rake-0.8.7.gem for some reason, but when I try to go directly to that address I get the option to download it. Any ideas how to get around this problem?

I'm thinking if I can somehow tell gem to look for the file locally I can download it and install rails that way.

View 3 Replies View Related

Ubuntu :: Lucid: Attempting Install Of Ruby Gem 'mysql'?

Sep 2, 2010

==========NOTE: subsequent to posting, I attempted to use the gem 'mysql' and it worked. This is odd considering all the errors that were emitted below. Anyway, I can proceed with my study.==========

Running 10.04
MySQL version: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (i486) using readline 6.1


View 1 Replies View Related

Ubuntu Multimedia :: How To Install Ruby Ripper In Maverick

Mar 18, 2011

I'm trying to install Rubyripper into Maverick using these guidelines: [URL]

But I get this error message in terminal:

W: Failed to fetch http://ppa.launchpad.net/aheck/ppa/ubuntu/dists/maverick/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/aheck/ppa/ubuntu/dists/maverick/main/binary-i386/Packages.gz 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead. Presumably because it can't find the package. But what do I do next? or is there an alternative way to install?

View 3 Replies View Related

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