0
votes
0answers
19 views

Why does nfs-kernel-server only pretend to stop?

Background: I had an NFS server, ran fine for years, needed to hard reboot it, and now I cannot get the daemon to stop when it's told to. Also, clients can't mount it any more, but I suspect the ...
1
vote
1answer
48 views

Cleanup after upgrade server 13.04 to 13.10

Still new to ubuntu here and trying to run a server (dhcpd and bind9 for starters). I installed back when 13.04 came out, today I upgraded to 13.10. Because dhcpd and bind9 are my points of interest ...
0
votes
0answers
41 views

After last update, my varnish and all services broke!

I have an Ubuntu 12.04 LTS server hosted in a XEN VPS. Strictly being used in terminal mode via PuTTY. uname -a Linux webserver 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 ...
5
votes
2answers
825 views

Enable/Disable Ubuntu Desktop environment on ubuntu-12.04.1-server-i386

I have installed ubuntu-12.04.1-server-i386 and on top of that i have installed Ubuntu desktop environment so that i can maintain server easily. Hear I totally understand that installing Desktop ...
1
vote
0answers
167 views

UPSTART services all hang when stopping (stop/waiting)

I am using Ubuntu 13.10 After an IPL, there are many run once services that hang, they are all in STOP/WAITING status. Also, if I try to stop any normal service like apache2, mysql, vsftp I get the ...
0
votes
2answers
52 views

Making a service from the project

Hi I have a java server(it listens) which runs when I do: ant compile jar run in the terminal What I want to do is sudo service myproject start so that I won't have to be in terminal(when I do ctrl+c ...
1
vote
0answers
23 views

What is the use for /etc/default/* when daemonizing a process

I have some configuration files under /etc/default and one of them is for a service that should be started at boot so I changed the configuration file to say: START=yes But I have scripts in ...
0
votes
1answer
913 views

Difference between transmission-daemon and service transmission-daemon

I made this question so as to make myself clear some things about linux, since I'm relatively new. I have and Ubuntu Server machine, which I access via ssh. I want to use it to handle my torrents from ...
1
vote
1answer
97 views

Running BaseX as an upstart job

I'm trying to configuring BaseX to run as a service on my server. The basexserver command has a flag -S whose functionality is listed as "start as service". If I run basexserver -S at the command ...
3
votes
1answer
5k views

How to start, stop and restart rtorrent?

I just installed rtorrent on my Ubuntu Server 12.04 LTE machine via apt-get. How do I start | stop | restart the service?
0
votes
3answers
87 views

Routing example.com/page to example.com:[port]

I have a server with multiple services running, for example: subdomain.example.com:1234 subdomain.example.com:1235 subdomain.example.com/1236 Accessing these directly will take me to the web gui ...
1
vote
1answer
2k views

transmission-daemon: error loading working config-file. User priveliges?

Transmission-daemon has worked perfectly on a small headless server for a long time. However, it currently gives me the following error: transmission-daemon Error loading config file -- exiting. ...
4
votes
1answer
1k views

How to make ubuntu service run as specific user

How to make ubuntu service run as specific user? I created an init.d script and make it start at boot, but sooner I found the service is running as root after reboot. I google and google, people ...
0
votes
0answers
884 views

alternative of “chkconfig” command in Ubuntu 12.04 or lower

How to use chkconfig --list in Ubuntu . It's asking for install this but I don't have privilege to install any package on the server and have to fix the issue. As I am working with redhat/Centos, but ...
1
vote
1answer
571 views

How do I enable the CardDAV server of the calendarserver package?

I installed the calendarserver package which provided me with a working instance of the Darwin Calendar and Contacts Server, a CalDAV and CardDAV server. The CalDAV part seems to be working okay. I ...
1
vote
1answer
207 views

Mongodb shell is giving an error while connecting?

When you try to connect to mongodb it is giving a following error: root@ip-10-87-37-28:~# mongo MongoDB shell version: 2.0.4 connecting to: test Fri Mar 8 07:40:11 Error: couldn't connect to server ...
9
votes
4answers
3k views

Allow non-sudo group to control Upstart job

I'm trying to set up an Upstart job to run on system startup, and that can also be started/stopped by members of a group other than sudo. With a previous version, I usedupdate-rc.d and scripts stored ...
1
vote
1answer
143 views

Mount ecryptfs automatically after ftp login

How can I get my ubuntu server 12.04 to automatically mount the encrypted home partition after an ftp login? It will automatically mount after an ssh login and I can then access the encrypted ...
4
votes
1answer
2k views

How do I choose which way to enable/disable, start/stop, or check the status of a service?

If I want to start a system installed service, I can do: # /etc/init.d/some-svc start # initctl start some-svc # service some-svc start # start some-svc If I want to disable a service from running ...
0
votes
1answer
4k views

Plex media server doesn't run after fresh install

After adding the ppa and apt-getting plexmediaserver, it briefly said something like "running media server". Then disappeared. root@host:/etc# ps aux |grep -i plex root 8757 0.0 0.3 4192 ...
5
votes
2answers
2k views

Having tried differen ways but none worked - How do I disable a service from auto-start at boot in Ubuntu?

This really doesn't make sense. I've been using many other distros and never had such difficulty managing autostart services. I found three ways of disabling autostart services, and none of them ...
5
votes
1answer
3k views

Dropbox service not starting automatically after kernel upgrade

I upgraded a kernel on my 64bit 12.04 server and now the Dropbox service is not launching after the reboot. I can still start it manually by: sudo service dropbox start I was using the instructions ...
9
votes
4answers
6k views

What is the difference between “service restart” and “service reload”

I'm trying to understand the difference between service restart [someservice] and service reload [someservice]. I understand that "restart" restarts the service whereas "reload" reloads the ...
1
vote
1answer
1k views

SSH Daemon does not autostart

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
0
votes
2answers
1k views

Is there any GUI for server management for Ubuntu which is not web based?

I'm very comfortable using the command line and I run Ubuntu Server on my own home server. Though I feel that Ubuntu Server really lacks the ease of use and friendliness that the Windows Server 2008 ...
1
vote
2answers
450 views

Upstart not running my dynamic DNS script

I have a dynamic DNS script as follows: #!/bin/bash curl -kL# "http://example.com/updatedns.php" echo $? >> /var/log/ddns ...saved to /usr/local/bin/ddns. Obviously the URL above isn't the ...
1
vote
1answer
1k views

how can I start an other xserver on a different terminal so that I have two xservers running at the same time.

In reference to the question Alt+tab out of full screen game With the answer: Start an other xserver on a different terminal. say tty8. Then switch between them when running the game in full ...
0
votes
2answers
2k views

Why service munin-node does not run at start up (reboot)?

I have a VPS instance running Ubuntu Server version 10.04 LTS (Lucid Lynx). I have installed munin and munin-node. It is properly configured. It is working fine. The problem is that I need to run ...
2
votes
1answer
324 views

Can i move the /var folder without having to reboot?

I run a headless ubuntu server from a usb drive, and to minimize writes I want to move the /var folder to a different drive. The problem is that all other drives are encrypted, and become avaliable ...
10
votes
2answers
6k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
2
votes
3answers
1k views

Interact with Minecraft Server

I have a Minecraft sever running that gets started automatically using the init.d scripts. Now I want to be able to give myself admin privileges but I need to send commands to the server. How can I ...
0
votes
1answer
718 views

SVN server only allows commits when run as root

So as of two days ago I had myself a shiny new SVN server. I set it up for WebDAV with no problems. It wasn't until I tried to host multiple projects that I ran into trouble. At first, I had all of ...
30
votes
5answers
29k views

Disable autostart for a service without uninstalling?

How can I disable autostart for a service without uninstalling? For example, I'd like to leave tomcat installed, but I don't want it turning on every time I restart.
0
votes
1answer
871 views

Running PHP-CLI server

Good day everyone, I recently got interested in the WebSocket technology. I built myself a server using PHP which I ran on Windows using the PHP CLI. That was fine for development, but now I need to ...
11
votes
4answers
12k views

How to correctly add a custom daemon to init.d?

I've got a 3-rd party proprietary application server daemon which can be started and stopped by couple of command lines. I need this daemon to start when the system starts up and correctly stopped on ...
1
vote
1answer
6k views

How to remove the Sendmail Mail Server from webmin?

I mean to remove the Sendmail Mail Server on webmin, any idea how to remove it? Thanks.
38
votes
8answers
142k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
59
votes
5answers
70k views

Chkconfig alternative for Ubuntu Server?

I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for ...