Debian :: How To Run A Process Once In A Day
Mar 26, 2016
I need to un a script backup once a day, but crontab need to set the time to run, and sometimes the hour to run is missed and the script doent trigger, id like to run anytime the script once a day.,.
View 8 Replies
ADVERTISEMENT
Nov 11, 2010
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies
View Related
Aug 23, 2015
I've been trying to make the switch from windows to debian (mate), but I am utterly lost trying to find a replacement for my firewall (Outpost). I have become dependent on features like:
- per application outgoing/incoming TCP/UDP rules
- per application outgoing/incoming IP rules
- per application outgoing/incoming PORT rules
What i seek is a graphical firewall, (or Iptables-) GUI) that will popup a notification that a cirtain program wants to connect to the internet with a cirtain IP over a cirtain PORT and connectiontype.
It seems like FireFlier is what I want, but i was not able to get that running because it is most likely to old and no longer compatible:
(small update on FireFlier, Martin Maurer, the compiling error could be fixed by changing the order of lines 4 and 5 in server/backend.h which would then be
Code: Select all#include <netinet/in.h>
#include <linux/netfilter.h>
And although i'm still to clueless to get the rest working, [URL]....
Also from what I understand is that I should be able to achieve this with AppArmor or Selinux, but I was unable to do so. For the rest, all I could find where firewalls like Douane, that are just not powerfull enough [URL]...
View 9 Replies
View Related
Feb 2, 2016
Sometimes (rarely) when I try to open VLC it wont open, but it stays in the background and takes 98-100% of one core.
The problem is that I can't kill that vlc-process.
Code: Select allkillall vlc
will NOT kill it
and
Code: Select allkill 31641
won't work either
top shows
Code: Select allPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31641 xxxxxxxx 20 0 1320248 64384 39120 S 100.0 1.6 44:51.94 vlc
Is there any way to kill the vlc-process (without booting the machine)? I also tried the "killall vlc" and "kill 31641" as root with the same results.
I have Debian jessie and the only "nonofficial" repositories I have enabled are
#google chrome
http://dl.google.com/linux/chrome/deb stable main
#Backports
deb http://httpredir.debian.org/debian jessie-backports main
And from those I have installed only chrome, and wine-development, and I dont think those could have anything to do with this problem.
Booting the machine does work, but I don't want to boot my machine just now. This happens about once per week
View 4 Replies
View Related
Dec 31, 2010
well i am doing an assignment about debian OS 5 . so i need some info about Deadlocks and how to kill a process using GUI interface . i already found a way to do it in Command line .
View 3 Replies
View Related
Aug 17, 2011
This is my first post, so bear over with me. I have a user that runs a process that controls servers. Every server has its own directory. The "server" is a .jar. The server gets started with a .sh script. I want the server to be jailed to it's folder, however it aint possible to run chroot because its not a superuser. What can I do? I've found out that jk_uchroot should do so I can run chroot as another user, however I cant get it to work properly and I cant find any good howto's or better documentation about it.
View 2 Replies
View Related
Mar 9, 2011
if i start a program over ssh by 'foo &'how can i go back 'in' this process, so i could see the output and type in commands?
View 1 Replies
View Related
Feb 28, 2010
i'm installing debian using the netinstall option, the installation is freezed in the step: "retrieving file 811 of 811" like a 40 minutes ago it doesn't go on, so my question is:is there a command to know what is happen?, is there a command to know if the installation has some errors message?
View 1 Replies
View Related
Jun 6, 2015
I was trying to install recent updates, but apt-get couldn't do this. Here's the output I got:
Code: Select all(Reading database ... 187979 files and directories currently installed.)
Preparing to unpack .../udev_215-17+deb8u1_i386.deb ...
Failed to execute operation: Connection reset by peer
Message from syslogd@debian-LAPTOP at Jun 6 14:56:49 ...
kernel:[357720.299647] systemd[1]: segfault at b87cf92c ip b765e480 sp bf872e60 error 4 in systemd[b762f000+130000]
Unpacking udev (215-17+deb8u1) over (215-17) ...
Failed to execute operation: Activation of org.freedesktop.systemd1 timed out
[Code] ....
Now I can't continue upgrading because every time it tries to finish the previous update and fails to process udev.
I don't know if it's relevant, but while upgrading udev for the first time, my laptop switched to tty1 on its own. When I switched it back to graphic subsystem, it still was in process of upgrading udev or systemd and after all failed to finish.
View 3 Replies
View Related
Feb 20, 2010
I have the following problem. I want to find out connection between process and socket. When I type to the terminal the following command netstat -anpetu so I get the following output:
[Code]....
As you can see just some connection have assign PID/Programme. How can I find out Program of this socket without PID/programme. like this 0.0.0.0:52472? Certainly I know that some port are well-known but there are a lot of unknown ports(like 8307 3350 and so on).
View 3 Replies
View Related
Mar 15, 2010
When I was trying to install debian stable in my laptop the process was freeze, I would like to know what was the problem, this is very important for me because the failed would be in a working server or on a project, so my questions are:
1. What are the places/files to look for errors? log files? dmesg? something else?
2. Are there some special commands or routines that can help in the analysis?
View 3 Replies
View Related
Jun 4, 2015
My /dev/md1 is full
Code:
Select all# du -x -m --max-depth=1 | sort -n
shows
Code: Select all0 ./dev
0 ./proc
0 ./sys
1 ./home
1 ./lost+found
[Code] ....
There are files that have been deleted but open processes are still active. The result :
Code:
Select all# lsof | grep 'deleted'
shows
Code: Select allmysqld 2881 mysql 4u REG 9,1 0 393317 /tmp/ib16UZEE (deleted)
mysqld 2881 mysql 5u REG 9,1 798 393318 /tmp/ibqA5RvA (deleted)
mysqld 2881 mysql 6u REG 9,1 0 393319 /tmp/ibfXpKmw (deleted)
mysqld 2881 mysql 7u REG 9,1 0 393322 /tmp/ibcluSds (deleted)
[Code] ....
If I delete these files does it diminish the size of / var ? If yes, how to remove these and can I remove them ?
View 9 Replies
View Related
Sep 12, 2015
I'm trying to build a backport of the package redshift [URL] ...., from stretch to jessie.
I followed these instructions [URL] .... and ended up with an error at the last step (dpkg-buildpackage).
What I did:
Code: Select allsudo apt-get install packaging-dev debian-keyring devscripts equivs
rmadison redshift --architecture i386
dget -x http://http.debian.net/debian/pool/main/r/redshift/redshift_1.10-5.dsc
cd redshift-1.10
sudo mk-build-deps --install --remove
dch --local ~bpo70+ --distribution jessie-backports "Rebuild for jessie-backports."
fakeroot debian/rules binary
[Code] ....
View 1 Replies
View Related
Sep 25, 2015
I am new to this debian plotform. How can I add my app to init.d linkup.
I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.
I want to run my code after booting of beaglebone with out connecting to laptop or login process.
I want just powerup,then run my programe default.
/***************************Extra Information*************
#etc/inittab file
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
[Code] .....
View 0 Replies
View Related
Mar 2, 2011
I am trying to set up samba using AD to authenticate users. I did a clean install with the latest version of debian (need at least version 3 of samba for this to work). When I first installed winbind and ran "ps -ef | grep winbind", I could see about 4 instances of winbindd running. I set up kerberos and ran kinit and that ran fine, then tried changing my smb.conf file and restarting samba and winbind. Everything seems to appear normal when I restart the daemons, but when I run "ps -ef | grep winbind", I see nothing running.
View 1 Replies
View Related
Dec 6, 2010
recently I've updated my kernel, i had to reconfigure some stuff, in particular, the b43 module is not loading at init process, my question is: what command should I use to load it from the init? or what file should I hagve to edit?
View 1 Replies
View Related
Jan 8, 2010
one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.
View 3 Replies
View Related
May 21, 2010
I looking for a program for automatic or remote reboot process...
Soon I order a VPS and needs a Call of Duty (or other games too) server restarter, if its crash...
View 3 Replies
View Related
Feb 15, 2011
I have a script that needs to start executing on startup. Because I originally wrote it for MacOSX I never cared to learn how to daemonize it (thanks launchd!). Are there any relatively easy ways to run it on startup on debian to?
View 2 Replies
View Related
Jan 21, 2011
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
View 3 Replies
View Related
Jun 12, 2010
send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.
View 4 Replies
View Related
Sep 8, 2010
Code:
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
[code]....
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d
",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
View 3 Replies
View Related
Jan 31, 2010
I want to monitor the process running and execute a command if some new process start. For example send a mail if any new process start.
View 1 Replies
View Related
May 1, 2010
When I boot into kernels bigger than 2.6.30 the boot-process stops. I use the PUEL-version of VirtualBox:
$ apt-cache policy virtualbox-3.1
virtualbox-3.1:
Installed: 3.1.4-57640_Debian_lenny
I am searching for iso's for Vbox which come with the guest-additions. They gotta be Debian-based (somehow). My goal is to have got a correct resolution. I tried to create one with live-helper, but that did fail. The purpose of the iso is troubleshooting (rsync, repairing grub, stuff like that).
View 14 Replies
View Related
Dec 4, 2010
i googled around and finally stumbled over this forum. I've been wondering, how would i kill an process running from an folder and with user parameter? I usually type this into the ssh console: pkill -9 < process > -U < username >
But i want users be able to run it multiple times, and killing only an specific process and not every single one.
View 4 Replies
View Related
Feb 4, 2011
ive played around with cpusets and now have some processes that cant be moved to the main group /dev/cgroup/tasks. echo pidinquestion >/dev/cgroup/tasks results in:
bash: echo: write error: Invalid argument. how can i move these tasks? or remove the process group alltogether, rm -r is not working. permission denied?
View 1 Replies
View Related
Mar 16, 2011
if i run /bin/dash at the command prompt I get the message /bin/dash: Bad substitution shown repeatedly until I kill the process
View 14 Replies
View Related
Dec 26, 2010
What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?
View 4 Replies
View Related
May 4, 2010
I can consider my Debian Squeeze installation completed at the moment. In fact, it looks like everything is working with not so much effort:
- video graphics card
- keyboard
- mouse (both external USB and built-in touchpad)
- ethernet wired lan
- wireless lan (WPA!)
- sound (headphones and loudspeakers!)
- web-cam
What else? I think it's everything! Now I run a 'dmesg' command (see below since it looks like I cannot attach files) and I get some errors/problems/warnings (see below some rows which has been extracted from the whole 'dmesg' output) that I'm not able to "weight": are they true problems? Is it something I have to worry about? Can anybody suggest solutions to correct/solve the problems?
[Code]...
View 1 Replies
View Related
Aug 12, 2010
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
View 1 Replies
View Related