Ubuntu Servers :: Batch Job To Start/stop Transmission-daemon?

Mar 11, 2010

I would like to be able to simply run a shortcut file or batch file in a windows os to start or stop my transmission-daemon.I was thinking about using putty to auto login and execute a file using the -m switch. A problem I am running into is that /etc/init.d/transmission-daemon stoprequires the use of sudo.That would require entering a password which would be automated and insecure or would require manually typing int he password.

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: How To Use Start-stop-daemon To Execute Process

Sep 27, 2010

I've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.

I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.

View 2 Replies View Related

Ubuntu Servers :: Transmission Daemon - Cannot Connect To WAN

Jul 22, 2010

I have installed transmission on a headless server. I am using transmission-daemon and connects to the webclient on the LAN. However from WAN I can't connect. I have forwarded port 9091 in my router and it connects with the server, but I get 403: Forbidden.

Here is my settings.json file:
Code:
{
"alt-speed-down": 500,
"alt-speed-enabled": true,
"alt-speed-time-begin": 480,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": true,
"alt-speed-time-end": 0,
"alt-speed-up": 10,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "/data/download",
"download-limit": 1000,
"download-limit-enabled": 0,
"encryption": 2,
"incomplete-dir": "/var/lib/transmission-daemon/info/Incomplete",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 20683,
"peer-port-random-high": 20500,
"peer-port-random-low": 20599,
"peer-port-random-on-start": true,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 0.2500,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "password",
"rpc-port": 9091,
"rpc-username": "transmission",
"rpc-whitelist": "127.0.0.1,*.*.*.*",
"rpc-whitelist-enabled": true,
"speed-limit-down": 1500,
"speed-limit-down-enabled": true,
"speed-limit-up": 50,
"speed-limit-up-enabled": true,
"umask": 2,
"upload-slots-per-torrent": 4,
"watch-dir": "/data/download",
"watch-dir-enabled": true
}

View 4 Replies View Related

Ubuntu Servers :: Kernel Log Daemon Always Stop And Restart Back Automatic?

Feb 22, 2010

waht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?

View 1 Replies View Related

Ubuntu Servers :: Start Dropbox Daemon At Boot On 10.04?

Dec 19, 2010

I am having some trouble making the dropbox daemon start at boot. I followed these instructions -> [URL], which are basically a replica of the original instructions from the Dropbox Wiki [URL]. The installation went fine, except that the machine still cannot start the daemon at boot. I tried to modify the init.d script a bit (see the attachment), but it still wont work (I am not sure if my changes made any significant difference, though). The daemon will only start if I invoke it manually after login with the command:

Code:

[user@machine:~]$ service dropbox start

Which executes the daemon just fine. I also tried adding this line of code to crontab:

Code:

@reboot /etc/init.d/dropbox start

This command starts the daemon if I check with the command "service dropbox status", but if I execute the official dropbox CLI command:

Code:

~/bin/dropbox.py status

it says that Dropbox isn't running and I still have to execute it manually.

P.s.: The machine runs Ubuntu Server 10.04, with all the latest system patches and updates.

View 3 Replies View Related

Ubuntu :: Remove Transmission Daemon From Startup

Apr 1, 2011

I've tried the following in rc.local but it gets me nowhere:

Code:
TRANSMISSION_TIMING() {
for((a=0;a<=5;a++)); do
sleep 1 &
wait
[[ $(top -n1 | grep transmission) == *transmission* ]] &&
[[ $(date +%H) -ge 5 ]] && [[ $(date +%H) -lt 23 ]] && /etc/init.d/transmission-daemon stop done
}

TRANSMISSION_TIMING &
Code:
TRANSMISSION_TIMING() {
[[ $(top -n1 | grep transmission) == *transmission* ]] &&
[[ $(date +%H) -ge 5 ]] && [[ $(date +%H) -lt 23 ]] && /etc/init.d/transmission-daemon stop
}
TRANSMISSION_TIMING &

Nothing I do can keep this thing from launching, and apparently kill it either.

View 1 Replies View Related

Fedora Servers :: DHCPD Daemon Failed To Start

Mar 5, 2009

I just got the problem while starting the dhcp daemon. Its showing failed. I need to start it for my clients to be autoinstalled. I am having CentOS 5.2 linux. I've installed all optional packages also while installing CentOS. How to start the dhcp daemon? I've tried the /etc/init.d/dhcpd start also. But it didnt work. Showing Failed.

View 1 Replies View Related

Fedora Servers :: MySQL Daemon Failed To Start?

Apr 17, 2011

I am not able to start mysql server...when i type command sevice mysqld start it saysMySQL Daemon failed to start.Starting mysqld: [FAILED]so how to solve this problem ?

View 10 Replies View Related

Fedora :: Run Transmission-daemon As A Different User?

May 5, 2011

i installed transmission on my fedora14 VPS for headless usage by "yum install transmission transmission-daemon", problem comes when i try to configure the init.d Scrip for transmission-daemon to run as a different user instead of the pre-specified user �transmission�,how should i modify the default transmission-daemon file bellow?

Code:
#!/bin/bash
#

[code]....

View 4 Replies View Related

Ubuntu :: Transmission-daemon Web Management Is Not Working Out Of The Box On 9091

May 11, 2010

how to setup transmission-daemon web interface on port 9091?

I did: sudo apt-get install transmission-daemon

On the same PC (as transmission-daemon) I tried http://127.0.0.1:9091/ but is not working. Why is not working out of the box ?

View 2 Replies View Related

Ubuntu :: Transmission Daemon - Web Interface Unavailable After Reboot

Jun 22, 2011

I've installed transmission-daemon on my headless Ubuntu 11.04 server and use the web interface to manage it. This is all working fine. However, after a reboot it seems that transmission daemon starts but the webinterface is unavailable. I get this in the syslog after a reboot:

Code:
Jun 22 10:54:27 localhost transmission-daemon[703]: Transmission 2.31 (12441) started (session.c:706)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:805)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:982)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Whitelist enabled (rpc-server.c:986)
Jun 22 10:54:27 localhost transmission-daemon[703]: RPC Server Password required (rpc-server.c:989)
Jun 22 10:54:27 localhost transmission-daemon[703]: Port Forwarding Stopped (port-forwarding.c:181)
Jun 22 10:54:27 localhost transmission-daemon[703]: UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:75) .....

View 2 Replies View Related

Ubuntu Installation :: Update Or Remove Transmission-daemon Package?

Aug 4, 2010

I have an error when I try to update or remove transmission-daemon package.

Here are some logs:

root@ubuntu:~# apt-get --reinstall install transmission-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code]...

View 2 Replies View Related

General :: Set A Password For Transmission-daemon, The BitTorrent Client Server?

Feb 26, 2010

The config file is ambiguous, and keeps getting overwritten when you restart the daemon in Debian, anyway.

In /etc/transmission-daemon/settings.json, there are these options:

rpc-username
rpc-password
proxy-auth-username
proxy-auth-password

Every time I restart the daemon with:

/etc/init.d/transmission-daemon restart

It overwrites rpc-password, and the password it prints doesn't work anyway.

Does anyone know how to set the password properly? I don't want to disable it.

View 1 Replies View Related

Security :: Shorewall Rejecting Allowed Traffic For Transmission-daemon

May 22, 2011

I have the Shorewall firewall running on Ubuntu 10.10 server and the issue I am having is the firewall is blocking traffic from my transmission-daemon even though I have allowed it in the /etc/shorewall/rules.

the rules file has the following lines

Code:
ACCEPT$FWnettcp60000:60035
ACCEPTnet$FWtcp60000:60035
ACCEPT$FWnetudp51413
ACCEPTnet$FWudp51413

[Code]...

as you can see, Shorewall is rejecting packets with source and destination port 51413 on incoming net2fw and outgoing fw2net even though the rules are set to accept.

View 7 Replies View Related

Ubuntu Servers :: Stop Openssh From - Ever - Running At Start Up?

Jun 12, 2011

I'm running Ubuntu 10.04 LTS and I have installed openssh.I need to find a way to configure it so that it never start up when I boot into my computer. The reason is: I haven't had the time yet to learn how to set it up and configure it correctly. Until that time comes I don't want it to run at all.Every single time I boot into the system and I have to do that first before I can even do what I really need to on the computer. It's annoying.Does anyone know the best and least complicated way to just make it not run at all until I'm ready to set it up properly?Also how to check what is running on my system after I boot up so I can double check, after making the changes, that it worked right.

View 9 Replies View Related

Fedora Servers :: How To Stop KVM Start At Booting

Feb 25, 2010

Fedora 12 64bit KVM

How to stop KVM start at booting?

Then how to start it after booting?

View 4 Replies View Related

Software :: Any Way To Stop ACPI Daemon

Jun 4, 2010

How can I do in order to stop the ACPI daemon. I need this to check history ACPI event.

View 3 Replies View Related

Ubuntu :: Stop VSFTPD Daemon From Loading At Boot?

Jun 9, 2010

I installed VSFTPD via: sudo gedit /etc/vsftpd.conf

I can start/stop using the following:
sudo /etc/init.d/vsftpd start
sudo /etc/init.d/vsftpd stop

By default, the daemon loads at boot but I don't want/need it to. I executed the following command thinking it would stop it from loading at boot code...

Can anyone tell me how to stop the VSFTPD daemon from loading at boot?

View 2 Replies View Related

Ubuntu :: How To Stop Avahi-daemon From Running And Starting Up?

Mar 24, 2011

I am tring to stop avahi from starting and running at all.I use kill PID and killall avahi-daemon and it will not go away, it comes back with a new PID. Does anyone know a way of stopping it?

View 2 Replies View Related

Ubuntu :: Transmission At Start Up In 11.04?

May 26, 2011

I can't seem to get transmission to boot up at start up. I read that I just needed to put "transmission -m" as the command in the start up window, but that doesn't seem to be working and I have no idea where the actual file resides to point to it

View 6 Replies View Related

Software :: Unable To Stop Mysql Daemon?

Mar 2, 2011

In my system I installed Oracle enterprise linux.while installing I installed Mysql also.

I checked the version which is 5.0.15

After my installation,I am installing Bugzilla 4.0.at that time it's showing below
===========================================================
Checking for DBD-mysql (v4.00) found v3.0007

For MySQL, Bugzilla requires that perl's DBD::mysql 4.00 or later be installed. To install this module, run the following command (as root):

/usr/bin/perl install-module.pl DBD::mysql
===========================================================
I ran below command
#/usr/bin/perl install-module.pl DBD::mysql

[Code].....

I can't able to stop mysql daemon

View 2 Replies View Related

Ubuntu :: Transmission Application Can't Start?

May 22, 2010

I've a big problem with Transmission on Ubuntu. The transmission application can't start.

I have do this

System -> Amministration -> System Monitor

I can see that "Transmission" is in sleeping. I've tryed to killed the application and restart it, but transmission back to sleeping time!

how I can do to restart transmission?

View 6 Replies View Related

Ubuntu :: Get Transmission To Start Via Script?

Apr 11, 2011

Ideally I would love to have a script that watches my Home/Dropbox/Attachments folder for any torrent files. When there is a torrent file in the Attachments folder it will launch Transmission if it is not up already.But if not I can do it this way tooBasically what I somewhat have now is I'm trying to use Dropbox to start Transmission when I want it to.I have this script running every 3 minutes in Ubuntu Tweak to watch for any scripts I want to run from my Dropbox/remote/commands folder. Whenever a script gets placed in the commands folder it runs it. Which is this

Code:
#!/bin/bash
REMOTEFOLD="${HOME}/Dropbox/remote"

[code]....

View 4 Replies View Related

Slackware :: Stop Wicd Daemon At Boot Time?

Feb 20, 2010

If i do

Code:
su
password:
cd /etc/rc.d
chmod 644 rc.wicd
chmod 644 rc.wireless
will it do the job?

View 5 Replies View Related

Ubuntu :: How To Auto Start / Add Transmission Torrents

Apr 3, 2011

I usually add torrents to transmission through my iPhone. I have Transmission watch the 'Attachments' folder in my Dropbox. I also have Transmission auto add the torrent and delete the torrent file when done. Thing is if I don't have Transmission running when I add the torrent to my dropbox folder. Transmission doesn't start up to download the torrent. Is there a script that can watch for torrent files in my Dropbox folder that I can run in Scheduled Tasks to run every 5 min or so. Also when I have it up and running and I do have auto add on. It auto adds it to transmission but then the popup dialog appears to ask if I just want to download one of the files from the torrent or all 10. Is there a way to bypass this?

View 1 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

Ubuntu :: Transmission Web Interface Only Available When Transmission Client Is Running

Dec 5, 2010

I can only access the Transmission web interface while the Transmission-gtk client is running. When I close it, the web interface is no longer available. I try to manually start the transmission-daemon, but the process never shows up as running.

View 2 Replies View Related

Ubuntu :: Start Daemon On Login?

Aug 11, 2011

I'm creating a script that I want to run every time any user logs in (not only on the GUI, but also via SSH or via text terminal). The script will check if a daemon program is running (one per user or per session, haven't decided yet) and, if it isn't, will start it. I want this to be system-wide, not per-user. I thought about using /etc/profile (or creating a file in /etc/profile.d/) for CLI logins and /etc/X11/Xsession (same remark, Xsession.d) for GUI logins. My problem is that if the user uses a non-Bourne shell (e.g. TCSH) this won't work. Is there any initialization script that is run no matter what shell the user has?

View 2 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related

Ubuntu Servers :: Send Email From Command Line / Batch Script

Jul 1, 2011

Is there a way to send an email from a batch script. I want to send the output from a script to an email address, possibly a couple of email addresses depending on the output.

View 3 Replies View Related







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