Ubuntu :: Start Rsync In Daemon Mode Every Time System Turns On?
May 6, 2010
I have a Linux box, running rsync, only problem is, I have to turn it off at night. What I want to do is turn it on and when it turns on, rsync will already be running in daemon mode rather then having to run rsync daemon. Does anyone know the solution? I'm sure its simple, I just cannot figure it out
View 3 Replies
ADVERTISEMENT
Aug 23, 2010
What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"
Code:
This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?
View 1 Replies
View Related
Sep 18, 2009
I just tried to sync files from one server to another. After the sync process, I found the files are bigger than original ones.
I looked up the web and found someone mentions the rsync daemon. So I have to run the daemon on one server before I run the rsync?
The command I used is rsync --partial --progress -r source destination
View 1 Replies
View Related
Nov 5, 2015
My previously running debian system recently started failing with systemd failure messages as some services are being started. It never completes. I can log into recovery mode.
I added systemd.log_target=kmsg systemd.log_level=debug into my grub parameters.
After I do that all that I see scrolling down the page on boot are:
systemd-journald[36] /dev/kmsg buffer overrun, some messages lost
and the occasional
systemd[1] Looping too fast Throttling execution a little
Is there a way that I can boot without systemd using sysvinit?
View 4 Replies
View Related
May 13, 2010
the problem is: my monitor turns off when I want to install ubuntu! t's really pissing me off right now.Explanation:right now, I'm using Ubuntu 9.10, and I want to installUbuntu 10.04, so I made a bootable usb, and i booted my computeron this usb. so far, there's nothing going wrong. First, I had to select a language for Ubuntu, so I did that.After that, I had to choose want i want to do with ubuntu,so I selected (of course) "install Ubuntu".Then i got the loading screen, and after a short time,suddenly my monitor turns off
View 1 Replies
View Related
Apr 2, 2010
I want to install my system on my U-Disk.So I need to delay the time when system starting before the system recognized the U-Disk. How to change it in the grub? If I change it ,how can I save it in order not to change it every time I start the computer? Is it in the /boot/grub/menu.lst?
View 6 Replies
View Related
Aug 10, 2011
suspend has always worked fine with 11.04 and now it stopped working a few days ago. How can I figure out what is going on? The display turns off but the computer never turns off and the only way to bring it back is to hold the power button down and then start it back up.
View 5 Replies
View Related
Aug 5, 2010
My VLC player blocks screensaver while playing, but my monitor still turns off when watching for some time. I did a few searches, but I don't see any good keywords so I'm starting a new thread.
View 4 Replies
View Related
Feb 9, 2010
As you know,whenever user turns the PC on,a beep sound is heard,then the bios starts,but recently this beep sound doesn,t come out of the case,and,so the bios does not start(nothing seen on the screen),then i have to hard reboot several times,and mostly,i have to shut down for some seconds to remove this problem,also sometimes this beep sound comes out but repeatedly for many times.
I am suspicious about the shut down button,because it,s a long time that this button usually is blinking.
-What is the reason for this problem?
-Is that related to hardware or software?
View 1 Replies
View Related
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
Dec 14, 2010
I use opensuse 11.3 and would like to see daemon status at boot time, instead of the chameleon with a progress bar
View 8 Replies
View Related
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
Jan 18, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
View 1 Replies
View Related
Jan 19, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
if same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
i m using ubuntu-9.10 below is the code ....
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
[Code].....
View 1 Replies
View Related
Mar 18, 2010
I'm running rsync in daemon mode on CentOS 5.4, and I'm seeing inconsistent times reported in the log file.
View 2 Replies
View Related
Nov 18, 2010
I attempted to install Catalyst 10.11 for my ATI HD 2600XT and the system now only displays lines and a large block of pixels where the mouse would go. CTRL-ALT-F1 kills the system and does not provide a command prompt. This is a single installation, not dual-boot, but there is no Press Esc to access the Grub menu during startup so I cannot choose safe mode. I attempted to get into Recovery mode using the flash drive that I used to install the system and it tells me there is no Recovery kernel (I used the 64-bit Desktop installer, not alternative). Does anyone know an alternative to get into the Grub menu other than ESC during bootup? Alternatively, do I need to download the 64-bit Alternative ISO and create a new boot disk with it so I can access Recovery mode? Is there something else I'm not thinking of?
View 5 Replies
View Related
Jan 25, 2010
Since I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?
View 1 Replies
View Related
Mar 17, 2010
I'm trying to get mySQL Daemon to start when the machine starts up (and it requires root privileges to run). The command to startup would be
Code:
sudo /etc/init.d/mysql start however that would prompt for a password, and that would not be very well possible now would it? Now, if i try to start it up without being root, it will not start. So this is my problem, maybe someone out there would know a bit more about this than me.
View 5 Replies
View Related
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
Jan 12, 2011
Have an issue with my CentOS server. I have a fully updated Centos 5.5 server and I have samba set up to serve shares to a couple of groups in my home office. I have it set up to force user/group and force directory create mode 770 and force file mode of 770. This set up works perfectly well for normal connections to the server; no matter who connects, all files and directories are owned by the specified users/group and create modes I specify. The problem is when I try to rsync some files to the same shares. When I do this, rsync ignores the directory/file forced create mode. It will honor the user/group, however. As an example, if I create a directory on one machine connected to the samba share, I get the following:
drwxr-x--- 3 nobody users 0 2010-12-26 20:42 Misc Pics
View 14 Replies
View Related
Jan 22, 2010
I cannot get the bluetooth daemon on my laptop to start - it is not running by default and running
Code:
sudo /etc/init.d/bluetooth start
does nothing.
View 4 Replies
View Related
May 31, 2011
I want to start a daemon as another user, but it doesn't seem to work. What I'm trying to do is run svnserve (subversion server) as the apache user.
The following works, but it's run as the root user in this case
Code:
svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid
Trying to run as apache user doesn't work
Code:
su apache -c "svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid"
[Code]....
View 1 Replies
View Related
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
View Related
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
Jun 14, 2011
My problem now is that lsyncd does not automatically start if the server reboots. I need lsyncd to start automatically also using the --delay 5 option.
I've had trouble finding any info on this other that some Japanese sites (I cant read japanese) using chkconfig, although it didn't work as I think chkconfig is depreciated anyway.
View 3 Replies
View Related
Sep 22, 2014
I am overseas at the moment, and the wife has been having issues with my machine. After many hours of trying to to talk her through doing things, one of my geeks suggested installing Teamviewer and doing it myself.
I have SSH and WinSCP from work. I am using amd64 so the first attempt to install failed due to unmet dependencies. Then I read the MultiArch bit, installed ai32-libs and the install seemed to work. When my wife tried to start TV, it stated that the daemon was not running. When I try to restart the daemon, I get this.....
Code: Select allroot@Champs-Desktop:/home/champs# teamviewer --daemon restart
/etc/init.d/teamviewerd restart
Stopping teamviewerd... not running
Starting teamviewerd...method return sender=org.freedesktop.DBus -> dest=:1.242 reply_serial=2
uint32 2
View 4 Replies
View Related
Nov 24, 2009
I've been trying to get my internal microphone to work in F12, and as part of the things I've tried I had the seemingly bad idea of reinstalling pulseaudio. The problem now is that pulseaudio fails to start... The following is from /var/log/messages, and is repeated several times:Code:Nov 24 08:51:20 localhost pulseaudio[6300]: main.c: Daemon startup without any loaded modules, refusing to work.
View 9 Replies
View Related
Jan 7, 2010
I have fedora 12 32 bits installed on a Macbook pro (intel core duo) I did "yum update" this morning, I have restarted the system and got the following message:Starting abrt daemon: abrtd: Failed to start: got sig 2 FAILEDI have browsed in the web but I cannot find useful information. Then I typed:$rpm -qa | grep abrt
abrt-libs-1.0.0-1.fc12.i686
abrt-libs-1.0.3-1.fc12.i686
abrt-addon-kerneloops-1.0.3-1.fc12.i686
[code]...
View 2 Replies
View Related
Jan 25, 2010
I using Fedora 12. When I am going to start MySQL server then error is come
MySQL Daemon failed to start.
Starting MySQL: [FAILED]
MySQL Details :
mysql-5.1.42-2.fc12.i686
View 7 Replies
View Related
Oct 5, 2010
Code:
test@denial:~# ps -e | grep snort
18470 ? 00:00:00 snort
how do i disable snort daemon at start up? i only want it to be running when i want it to be running.
View 7 Replies
View Related