Ubuntu Servers :: Running Jetty As A Service Or Manually?
Feb 18, 2010
have a web application that runs fine.Whenever I run jetty manually the application runs ok. This is what I do:sudo java -jar start.jarThe application is located within the webapps directory correctly and the required jar files are within /usr/share/jetty/lib.But when I run jetty as a service:sudo service jetty startThe server starts, but the application does not respond. There is no error in the output. This is very strange, isn't it
View 1 Replies
ADVERTISEMENT
Mar 30, 2009
I have the Samba server & users configured, I can access between Linux/Windows shares and both SMB & NMB services are set to be enabled at boot.Everything working.But when I restart the computer, I notice in services configuration that "This service is dead." for NMB. Therefore I have to enable it manually upon boot so that it works.I'm using Fedora 10, fresh installed and updated. I've noticed through search that others have had this issue as well throughout other versions of Fedora, yet I have not found a conclusive solution to this.
View 3 Replies
View Related
Mar 20, 2010
I have a php app set up in the default virtualhost, and want to add a Grails app. The grails app runs on [URL] and I want to configure apache2 to proxy that folder to Jetty using mod_proxy.
Module is enabled
Code:
$ sudo a2enmod proxy
Module proxy already enabled
[code]....
Quote:
[Sun Mar 21 00:14:56 2010] [warn] proxy: No protocol handler was valid for the URL /mailscan. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. My apache2.conf contains no LoadModule lines, and a2enmod says it's already enabled. Does Ubuntu Desktop (Karmic) use the DSO versions of modules, or did I miss something else? I'm aware I should also use mod_proxy_html to make sure only the "portless" version of the address is outputted, but I can fix that later!
View 1 Replies
View Related
Aug 27, 2010
I have telnet service intalled(apt-get install telnetd), but when I type telnet, I'm getting the following error:
bash: /usr/bin/telnet: No such file or directory
View 9 Replies
View Related
May 19, 2011
all the tutorials i found for ushare and mediatomb shows it installed on desktop and not server. it also requires an account to be logged in. once logged it, you have to run a command to start it up. some questions.
1) is there a way to run either one w/o having to log into an account? so if say i restarted the server, it'll run the programs w/o me having to log in.
2) i would like to specify a directory to share music and movies. is one better than the other? clients that i plan to use are songbird, itunes (maybe), and vlc - maybe xbox 360 and ps3. other client suggestions?
3) other dlna server suggestions? this will be running on ubuntu 10 or 11 desktop or server. but the main thing i'm looking for is what i mentioned in #1.
View 3 Replies
View Related
Sep 10, 2010
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
View 1 Replies
View Related
Jun 12, 2010
The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens
View 1 Replies
View Related
Dec 15, 2010
I found it once on the web by means of googling it.How do you run a command, from nrpe.cfg, to make sure that it works?For instance, command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
View 1 Replies
View Related
Oct 8, 2010
I have a PGP script that for whatever reason if I let linux's cron run it automatically, it sends out the final email with attachment with a blank file. If I come in and run in manually everything works fine and the file is populated in the file. So the only real difference is that i'm running it manually through cron, rather than letting cron run it at a set time.Below is a sumary of my script.
Code:
#! /bin/bash
#PGP Decryption Bash Script
[code]...
View 6 Replies
View Related
Feb 8, 2010
Yes I have tried exporting my paths and variables aab still will not run my script. 'm sure I am doing something wrong.I have a shell script which runs a jar file. This is not working correctly. After reading around I have read this is commonly due to incorrect paths due to cron running via it's own shell instance and therefore does not have the same preferences setup as my profile does.here is what my script looks like today after several modifications:
Code:
#!/bin/bash --
. /root/.bash_profile
[code]...
View 10 Replies
View Related
Aug 27, 2010
I wish to start TeamViewer as a service in Ubuntu. In Windows I can load it as a service and remotely enter password at login screen. Is it possible with Ubuntu?
View 9 Replies
View Related
Jun 20, 2011
I need a script that is able to check if a service is running or not. It has to do it automatic since it is for restarting a GameServer.
I tried to make one myself, but since the .x86 file has the same name for every server, it is hard to know a way to check if the server is running with the right process.
Is there a way to make a script which is able to check if a service is running (service has same name, but using other ports)
View 1 Replies
View Related
Jul 10, 2010
Running 10.04, just installed a ton of updates from Update manager.Printer is HP Officejet 6210Everything working fine up until after installing updatesWhen I try to print I get error message. Starting to troubleshoot tells me that CUPS service is not running, when I try to locate using http://localhost:631/ I cannot connect.Checking Synaptic it seems everything is installed that should be
View 1 Replies
View Related
Apr 13, 2011
How do you manually add keys to a server (no GUI) so that an ssh connection can be made using key authentication?
View 4 Replies
View Related
Aug 1, 2011
The first backup would be all of the settings of the server.I am extremely pleased with how my server is set up and would have to have to do all of this manually again. So I would like to backup everything essential that is not in my home folder. I would like to have it compressed into a archive and automatically backed up to a external drive that I have connected. If god forbid my system ever crashed I would like to pull this archive up and have everything back up an running quickly.
The second backup as you can probably guess will be my home folder.I would like to save everything there unarchived(so I can access a single item easier). I would like this to be automatic as well.What would be the best way of doing this?
View 9 Replies
View Related
Mar 10, 2010
Whenever I log into Fedora, an icon (a triangle with an exclamation mark) pops up in the main panel . When I move the mouse over it, the following is displayed. ABRT service not running. I restarted the service from the service configuration window but there was no difference. How do I configure it to run alway
View 5 Replies
View Related
Oct 28, 2010
I have a java program where I want to run it every 30 seconds. So what is the best way to run in that form? Is it running as a service or a cron is best? How to do with it
View 2 Replies
View Related
Apr 13, 2011
I have been away from Linux for years (about 10), I used to use it for everything and anything...now I am about to do it again but I need help getting back into it haha. Screen is broken on newish laptop, going to use it for firewall, router, file server, etc. Trying to setup remote desktop. I got Fedora 14 setup and installed on it, got SSH up and running where I can remote into it easily. Setting up VNC is starting to be a pain though.
I have Windows 7 on my other machine, with TightVNC and tried Tiger VNC also, disabled all firewall, on the same LAN. The service is running on the RH box, I just cant connect to it...am I missing something simple? It just times out. I followed [URL] thread for the most part.
View 2 Replies
View Related
Jan 29, 2010
I run a script manually like/usr/lib/openoffice.org/program/soffice and when I run
:ps -ef|grep openoffice
I get the following,
root 700 1 0 10:45 ? 00:00:00 /bin/sh /usr/lib/openoffice.org/program/soffice -calc
My question is how to check whether this script is running or not (It can be checked every 10 minutes) and how to make it as a service. (I don't have root access to put this in rc.local file or somewhere else).
View 2 Replies
View Related
Jun 22, 2011
I have a user account on my laptop which does not display the sound-service icon in my notification area applet (Ubuntu 11.04). If I try to start /usr/lib/indicator-sound/indicator-sound-service manually, I get the following error:
Code:
libindicator-WARNING **: No watchers, service timing out.
** (process:5612): DEBUG: Service shutdown !
In the many months I've had this account on this box, and as a result of the many minor mods I've made to the account, I've somehow bollixed something in the account setup which interferes with the startup of the service. I created a new account on the system, and the sound service icon displays properly, so I know it's not a system problem. Both the new, bare account and my personal account are in the audio group. As a work-around, I have an icon for gnome-volume-control on my top panel, which works pretty well.
View 2 Replies
View Related
Jun 11, 2011
What is the proper way to make the smb and nmb services start (and keep running) automatically? I have successfully configured samba on my F15 box, but sometimes the other boxes cant see it. I check the status of smb and nmb and smb is running and active, but nmb status is "Running (exited)". If I manually restart nmb then nmb status changes to "Running (active)" and the problem goes away. However I want it to start (and keep running) automatically as it should. I am thinking maybe the problem is the way I set smb and nmb to start automatically.
I used
$chkconfig smb on
and
$chkconfig nmb on
Is this the correct way? if not, what is it? Maybe I need to be more specific about at which runlevels I want the services to start? I have googled, but found about 5 diferent methods to make this services start automatically, some with systemctrl, some editing files, chkconfig, and even the system-config-services app (which seems broken in f15 btw) and don't know which one to use.
View 9 Replies
View Related
Aug 21, 2011
I want to run 1 instance of x11vnc at boot after gdm starts, itsa remote vnc server that will work without me first loggin in
Im just not sure where or how to start it when computer boots? i can run it on another tty and connect so its all setup but not sure what the "right" was is.
View 5 Replies
View Related
Apr 16, 2010
I know I have to count how many instances are running: ps x | grep apache2 | wc -l result if it's running: 2, or else: 1 I also know there is a command called test that I could use to perform the verification, but I don't know how to use test with wc
View 3 Replies
View Related
Oct 27, 2010
I have recently ported from Windows to Linux (xubuntu) I am a developer, i installed everything i need, LAMP. Now in Windows i used to turn off all unnecessary Services, i don't need the Apache or MySQL service running all the time. I used: net start mysql
Whenever i needed it. How do i do the same in Linux:
1. Disabling not-needed daemons from auto-starting?
2. Starting them only when i need them?
View 2 Replies
View Related
Jul 7, 2010
I have a java program which I need to run as a service or daemon. What is the most stable method to do it? It will be heavy processing socket programming which will be continously receiving data?
View 4 Replies
View Related
Feb 26, 2011
i've some trouble to write a script on java on linux to check if service(ie:smbd) is runing or not,, could you give me some example? Or if is there any source about it for me to learn? i've two days search with zero result...
View 5 Replies
View Related
Jan 29, 2011
It says that this is a bad option
dchp-range=ignore,192.168.1.99,192.168.1.99
I am very new to linux but it says that's a bad option to why my dnsmasq service isn't running.
View 10 Replies
View Related
Feb 5, 2010
I just did a basic service install of Centos5 and added the RPM package install of VMware-server 2.02. but I don't the VMware service is running (based upon the flowing screen:
[root@centoshost1 vmware-mui-distrib]# ps
PID TTY TIME CMD
2925 pts/0 00:00:00 bash
22378 pts/0 00:00:00 ps
So how do i start the VM service?
View 3 Replies
View Related
May 13, 2010
So researching how to install Tomcat 6, I ran across a guide that specifically states there are issues with the repository version of Tomcat. Doing some more research it seems like this is reported in multiple places including a disussion on the official mailing list that was inconclusive. So my question is, if this is intended for a production server should I use the repository one or manually install it
View 2 Replies
View Related
Sep 19, 2010
I have a small webserver running ubuntu server 10.4. It runs fine except after every reboot, I get DNS errors. I have to manually edit /etc/resolv.conf to add:
Code:
nameserver 192.168.1.1
The address of my internet gateway on my LAN. Obviously I am ignoring the warning in resolv.conf that this will be overwritten.
View 2 Replies
View Related