Software :: Rc.d Jobs Not Starting
Feb 4, 2010
I just reinstalled linux on one of my computers, and now it seems that any scripts in the rc.d folders don't run at boot. I have to go in manually and start them all after I can get to a terminal. I have webmin running on this computer, and no matter what I do, it always says that nothing is supposed to start on boot, even though the scripts are clearly in their respective rc.d folders. What can I do to fix this?
View 1 Replies
ADVERTISEMENT
May 24, 2010
I'd like to reconfigure vsftpd so that it does not start on boot (and I can enable/disable it using service vsftpd start/stop).
Though I've seen posts in the forums that stated that upstart jobs can be disabled by moving the /etc/init/job.conf file, other sites commented that the original file will be recreated on updates.
The other two suggestions were to alter the upstart script such that either the process starts on never:
Code:
start on (never
and filesystem
and net-device-up IFACE!=lo)
stop on runlevel [!2345]
[Code]....
View 2 Replies
View Related
Jul 18, 2011
I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.
I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?
More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).
[Code]....
I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.
View 1 Replies
View Related
May 22, 2011
I have this in my crontab (along with another line before it):
Code:
* * * * * /bin/echo "Does this work?" > ~/test
...and the file doesn't show up. I have a blank line after that one in the crontab. I have no /etc/cron.allow or /etc/cron.deny files. I'm running Ubuntu 11.04. /var/log/syslog shows "BEGIN EDIT" and "END EDIT" etc. when I run crontab -e, but doesn't say anything about trying to run commands. Anything I might be missing?
View 9 Replies
View Related
Apr 24, 2011
I tried using the jobs command in bash in F14 but nothing happens.
Code:
[root@Fedora ~]# jobs -l
[root@Fedora ~]#
Code:
[root@Fedora ~]# which jobs
[Code].....
If jobspec is given, output is restricted to information about that job. The return status is 0 unless an invalid option is encountered or an invalid jobspec is supplied.
If the -x option is supplied, jobs replaces any jobspec found in command or args with the corresponding process group ID, and executes command passing it args, returning its exit status.
Is the jobs command dropped for the ps command instead ?
View 3 Replies
View Related
Nov 30, 2010
why my jobs manpages are missing? I noticed that there is Ubuntu manpage entry. [URL] Also when I check on various Linux systems it takes me to BASH_BUILTINS(1). I also can't seem to find BASH_BUILTINS(1) on my system either.
View 5 Replies
View Related
Jan 9, 2011
i need to know how to set cron jobs up for programs like eggdrop and psybnc
View 1 Replies
View Related
Mar 28, 2011
I am learning terminal and i want to kill a process. There are 2 ways to do it i ve heard. 1st way is to type following in terminal:
[Code].....
View 2 Replies
View Related
Jun 2, 2011
I have a cron job that executes fine in opensuse 11.4. It is located in
/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh
It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?
View 5 Replies
View Related
Nov 15, 2010
I have a Fedora 11 box and I am confused about cron, where exactly do I enter the cron jobs? For example, I have a job that needs to run every half hour.
View 8 Replies
View Related
Jan 16, 2010
I put a backgroud job in redhat5 as nohup commad script & I do not see end thsi jon. now I want to bring to as foreground job. how to do this? some paper told me as jobs jobnumber. jobs and spa does not work
ps ua does not return a job number
View 1 Replies
View Related
Apr 6, 2011
Cron doesn't run jobs in Debian 64 (testing). It gives error
Code:
Apr 6 15:31:01 debian64 /USR/SBIN/CRON[5454]: (CRON)
Error (grandchild #5455 failed with exit status 1)
and does not run the script.
View 5 Replies
View Related
Nov 27, 2010
I use an application called redbutton-browser to access some of the things available on the redbutton digital tv channels. It compiles fine if I use a simple make but fails if I try to run parallel jobs with make -j4. I'd like some help altering the Makefile so that it does a few commands sequentially before it does the rest of the Makefile in parallel.
The relevant bit of the Makefile looks like this:
Code:
ISO13522-MHEG-5.c:xsd2c.c ISO13522-MHEG-5.xsd add_instance_vars.conf add_rtti.conf
make xsd2c
./xsd2c ISO13522-MHEG-5.xsd
./add_instance_vars ISO13522-MHEG-5.c ISO13522-MHEG-5.h
./add_rtti ISO13522-MHEG-5.c > rtti.h
[Code]....
View 7 Replies
View Related
Aug 30, 2010
why when I use "jobs -l >> tmp" in a script file it does nothing, and when typing it at the prompt it creates the tmp file I expect it to...?
View 9 Replies
View Related
Nov 16, 2009
Since my last server upgrade, last Thursday, cups is having a strange behavior: I have 3 text-only printers, and an application that prints to them. The application, to print 5 lines, it sends 5 jobs to the printer. Before the upgrade, all the jobs where printed sequentially, without any delay. After the upgrade, cups makes a small delay (5s or more) between every one...Its very annoying for the users...
View 1 Replies
View Related
Jun 20, 2015
In my office there is a department where the access of internet & intranet is very limited. I've been given a task that I should add a script which would automatically take screenshots of the PCs. The script works fine, but I can't make it work with the cron jobs. There are many methods given on the internet to grab screen, but none of them works with cron.
View 2 Replies
View Related
Oct 12, 2010
I need to review what people are using the printers for at work.I was wondering how I can do this under fedora. I basically need to store a copy of the printed jobs and view them afterwards..
View 5 Replies
View Related
Dec 3, 2010
So I have Fedora 14 installed on a laptop directly connected to my printer. I really never use the laptop except to send print jobs to it wirelessly. I was wondering if there was a way to make it suspend or sleep, or even idle everything down so it uses less power, but still listen for print jobs?
View 2 Replies
View Related
Mar 21, 2010
I see so many guides on how to run crontab, but what I need right now is to learn how toFind log files about cron jobsConfigure what gets logged
View 3 Replies
View Related
Mar 16, 2010
For some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l
Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
[code]...
View 7 Replies
View Related
Mar 28, 2010
I have 2 printers plugged into a Windows XP PC (an Epson Stylus Photo RX580, and an HP Laserjet 1020) with full sharing on and everything, and is shared with other Windows PCs via the network I have set up. It has worked perfect. But today I added a PC running Ubuntu 9.10 and and can't figure out for the life of me what I am doing wrong. I installed both of the printers via the GUI in Administration, and both of them are detected and Ubuntu says they're working. But when I put something in the queue to print it stays there with the status "pending".
View 8 Replies
View Related
May 10, 2010
I use crontab for a daily alarm clock, which stopped working after I moved to Lucid.
Code:
$ crontab -l
# m h dom mon dow command
[code]...
View 9 Replies
View Related
Jul 13, 2010
I want to add two separate tasks/jobs to Cron that needs to run every 10 minutes, but I would like the second job to kick off only 5 minutes after the first job. Is there any way this could be done within Cron?
View 2 Replies
View Related
Jan 6, 2011
run a cron job to download my email logs to my laptop. But the question is HOW? Im not sure how to write the php script for the cron job. the file is on "computer A" and the file is setup to chmod I just need to know how to write the php to "access" the other computer and then download the file to a certain file on my laptop.
View 3 Replies
View Related
Jun 2, 2011
I am running Ubuntu 10.10 on a new Dell PowerEdge.
I built the system ~2 months ago and have successfully been running a list of cronjobs.
The jobs last ran on 5/31/11 at 7:35am. Since then none of the jobs have run.
I see "cron" in the process list when I run ps.
View 9 Replies
View Related
May 8, 2010
How can I cron jobs for less than a minute for example configuring cron job to do something for each 15 seconds.
View 4 Replies
View Related
Nov 30, 2010
I am having a shell script which runs perl jobs.The script is starting the perl jobs when it is executed manually from the command line , but when the same script runs from crontab it is not starting the perl jobs.I have these things in the begining of the script
. /etc/profile
export MDX_HOME=/home/entsms
source $MDX_HOME/.bash_profile
[code]....
View 1 Replies
View Related
Jan 6, 2010
I have a file server that is an NIS client. User home directories are auto-mounted from another server. Users are not able to run cron jobs. The /var/log/cron logs says:
Jan 6 14:33:01 inclination crond[3217]: (username) ORPHAN (no passwd entry)
I tried adding an entry in /etc/passwd, /etc/group, and /etc/shadow but the test script I have still doesn't seem to run although cron thinks it did. The log entry for these attempts looks like:
Jan 6 15:30:01 inclination crond[4312]: (username) CMD (/home/username/test-script)
Now root does seem to be able to run cron jobs with no problem. My test script works fine from cron when runs as root. I suspect there's an issue with how I have NIS configured but I can't find any info. The test script runs fine from the command line when logged in as myself.
View 2 Replies
View Related
Feb 25, 2010
We're running
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
$ uname -r
2.6.18-164.11.1.el5
It hosts an Apache/2.2.3 web server. We also run apache-tomcat-5.5.23. Most of our programs are mod_perl. Sometimes our users input over-sized data sets, or queries that generate too much output. (I realize that we should try to prevent them from doing that, but right now I'm looking for a more general solution.)
When a large job runs it can 'freeze' our system. The system becomes unresponsive to everything, including command line commands. Sometimes it unfreezes after a while. Once, in this situation I was able to create a high-priority shell. ps reported:
[Code]...
Observing the machine, I see at least one very busy disk. I suspect that some high priority system process (perhaps kswapd) is using all the cpus, preventing anything else from running. Unfortunately, I cannot find much info on kswapd, or debuggging this problem.
View 3 Replies
View Related
Jun 13, 2011
i want to recieve mails to my emial id for the cron jobs i have assigned in linux command line..
View 1 Replies
View Related