Server :: My Cron Job Doesn't Work

Jun 1, 2010

I have a simple cron job that runs every night & I tested this manually by just running the command as root in bash and all worked fine. It took some time but the crob job finished and I got my results emailed to me perfect / as expected.

Here is root's cron job listing:

Code:

Now I noticed that I never ever got anything emailed to me the following day so I am wondering if perhaps the Cron daemon doesn't have permissions or has an issue running / executing the command rather than when I test the command as 'root'? When I view my logs, I can see the command being executed and don't see any errors however I don't get email results when Cron runs the job rather than me taking the command and running it manually in Bash...then it works. What am I missing?

Code:

View 9 Replies


ADVERTISEMENT

Ubuntu :: Mp3blaster Doesn't Work With Cron

Mar 2, 2010

I have a problem with mp3blaster.

I want cron to act as an alarm clock: first, it plays an mp3 file and then it runs the speech synthesizer festival which tells me to get up and do stuff.

Now, mp3blaster doesn't do anything when I run it from cron, but festival works without problems.

I've found some possible causes for mp3blaster not working through cron. Someone suggested that pulseaudio is not started. This shouldn't be the problem for me, since I don't even have pulseaudio installed, and festival is playing sound without problems...

I don't know what I should do to make it work.

Here is my script - runalarm.sh:

Code:

I don't want to include the wakeup text here since it contains profanity.

The mp3 player could be another one too. mp3blaster happens to be the only player I know that is easy to run from console, like this "mp3blaster goodsong.mp3", without and playlist creation or other stuff like that.

I can run the runalarm.sh from SSH console and it works fine, the mp3 starts playing and festival speaks after that. When run from cron, festival starts speaking right away and no mp3 is heard.

View 7 Replies View Related

Ubuntu :: Grep Doesn't Work In A Simple Cron Job

Jan 22, 2011

I have a problem with grep in my cron job:

A simple command like this doesn't work

Code:

Of corse I have tried with full path like this

Code:

Both of this scripts work fine when started from my shell. Unfortunately they don't work when executed from cron job, and I get an empty p.txt file.

Here is my crontab file:

Code:

Have any one of you faced this kind of problem before ?

View 3 Replies View Related

General :: Cron Job For Testing First System But It Doesn't Work?

Oct 5, 2010

I created a very simple cron job for testing my first Linux system but It doesn't work. After open the crobtab file by typing crontab -e, I put a line like this to send email in every 2 minutes to report disk usage:MAILTO=dan@gmail.com*/2 * * * * du -s /homeI tried to restart cron several times but I still got nothing worked. /etc/init.d/crond restart

View 14 Replies View Related

CentOS 5 Server :: Cron Job Doesn't Run, But Doesn't Error. "shutdown -r Now"

Aug 28, 2009

Is there something that blocks cron from running a shutdown command? I'm doing a daily bounce to break an attack (I have thread about that in security forum), but I always end up doing it manually. The cron log shows it being fired off at the right time...but the server never bounces. I thought maybe I just missed it, but there is nothing in messages that shows the server restarting (unlike when i do it manually, you see the start-up logging).

View 2 Replies View Related

Server :: Server Apache Doesn't Work

May 21, 2011

Server Apache doesn't work.Note the LOG line,you cannot modify or delete "logs/"

View 1 Replies View Related

Server :: FTP Doesn't Work Through Squid?

May 26, 2010

small office network with Linux CentOS 5.4 internet server. I use Squid 2.6.STABLE21. I have static IP.If I masquerade my small office net FTP works, but if I disable masquerade then FTP doesn't work through Squid.I was trying to stop iptables but the problem was the same.

View 9 Replies View Related

Server :: Vhosting Doesn't Work On VM?

Apr 17, 2011

host - ubunut 1010 desktop 64bit
virtualizer - VirtualBox ver 3.2.10 r66523
guest (VM) - ubuntu 1010 server 64bit

[code]....

View 1 Replies View Related

Server :: Vsftpd Doesn't Work

Jul 25, 2011

My ftp server runs vsftp. The ftp passive ports stopped working while iptables is running, so users can't ls their dirs. I know that you need to load the modules of ip_conntrack and ip_conntrack_ftp, the problem is when I modprobe ip_conntrack I get the error: FATAL: Module ip_conntract_ftp not found. No that is not a typo. ip_conntract_ftp? Am I missing something?

View 2 Replies View Related

Ubuntu :: 8.10 Server Apt-get Doesn't Work Properly

Apr 25, 2011

I am trying to install some packages in a ubuntu 8.10 server, however, apt-get doesn't work (I get several 'not found' errors). Is there any way to do that? I know this version is probably not supported anymore but I can't just format a customer server because it's OS is outdated...I just can't put my sources.list on it because I am on ubuntu 10.10 and it would download updates for the wrong OS probably causing a huge damage on the old one.

View 9 Replies View Related

Ubuntu :: Ps3 Media Server Doesn't Work?

May 1, 2011

Have done a fresh install of 11.04 32bit and after getting everything to work I have run into a 11.04 killer for me. PS3 Media Server don't work It doesn't detect the PS3 correctly and on the PS3 side it just keeps saying "data corrupted" for every video I try to play. It used to work perfectly on 10.04.

View 3 Replies View Related

Server :: Cronjob Rsync Doesn't Work

Mar 28, 2011

I have a computer that I would like to backup the home directory onto a server. I created a script called wien_backup.sh that contains the following:

#!/bin/bash -l
/usr/bin/rsync -rv --delete-after --ignore-errors -e /usr/bin/ssh root@wngr403-unix2:/home/ /space/systemimager/Wien/

where wngr403-unix2 is the computer I am backing up, and the script is ran from the server. If I run the script by itself, it works just fine. If I run it as a cronjob, the /var/log/syslog says it ran, but it does nothing.

View 6 Replies View Related

Server :: ISPConfig3 Mail Doesn't Work

May 22, 2011

postfix

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.

[Code].....

Followed [URL] ubuntu 11.04 server

View 3 Replies View Related

Server :: The Sendmail + Dovecot Doesn't Work

Jan 28, 2010

I used fedora12 builded mail server uning sendmail and dovecot at my home, when I at home everything are works fine, no matter I sent email to hotmail, or hotmail sent to my mail server, but I got the problem that I can't access my home server when I at office, the error messages as below:

#telnet xxx.xxx.xxx.xxx 110
-ERR Cannot connect to POP server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:110), connect error 10061
#telnet xxx.xxx.xxx.xxx 25

[code]....

P.S there is no firewall between the my office and home

View 3 Replies View Related

Server :: Snmpwalk Doesn't Work On Local Ip?

Dec 17, 2010

I have a server that has snmp installed(Version is net-snmp-5.3.2.2-9.el5_5.1). This server has 5 n/w interfaces with diferent ip's. My problem is when i try snmpwalk on to the main interface, in my case "bond0" with the assigned ip address there is no response.

eg: snmpwalk v2c -c nature 172.17.241.190
No Response from 172.17.241.190
But when i run the same query with "localhost" snmpd responds.
eg: snmpwalk v2c -c nature localhost

[Code].....

I want to snmpwalk in to the "172.17.241.190".

View 2 Replies View Related

CentOS 5 Server :: SMTP Doesn't Seem To Work

Apr 28, 2010

I have a dedicated server running CentOS 5, Plesk 9.2.2, SMTP Postfix and Courier-IMAP.The issue I have is that on all domains on the server receiving email works fine however sending email never seems to work. This is from email programs, my phone, webmail and PHP. None of them seem to be able to send email. If it is of worth Spam Assassin is running however I don't feel it is causing any problems.

View 7 Replies View Related

Software :: Cron Doesn't Run A Certain Script

Apr 4, 2011

I've tried to get cron to run a script, but it does not work. At first I put it into /etc/cron.hourly, with no succsess. Then i added the line

Code:

To the crontab, with the same result.

I'm sure cron runs fine besides that Problem, because commands like

Get executed.

View 12 Replies View Related

Ubuntu :: Login To Workplace Server From 10.04 Doesn't Work

Apr 11, 2011

My mother runs Ubuntu 10.04 on her home computer, but on her workplace they use some version of Windows. Her IT-guy sent her a .rdp-file for logging in to her workplace server. This file doesn't work in Ubuntu, and the IT-department at her job can't solve the problem. Ergo; She's unable to log on to her workplace computer/server from home.

View 3 Replies View Related

Ubuntu :: Upgrade To 10.04 Keyboard Doesn't Work In X Server

May 29, 2011

After I finished upgrading Xubuntu from 9.10 to 10.04, I discovered that my keyboard stopped working in X Server. The upgrade process was running smoothly until the last moment, when it produced some error, which I, unfortunately, did not write down. Anyway, the upgrade has completed; uname shows kernel version 2.6.32-31. Now the keyboard works fine if I select a recovery mode at startup, but if I type 'start gdm' from the shell or select the default option in GRUB while booting, the keyboard becomes unavailable right from the login screen. I can log on using the virtual keyboard, but that's all I can do; the keyboard is still dead.

View 5 Replies View Related

Server :: Yum-updates Configuration - Option Doesn't Work At All

Dec 5, 2010

I can see that in yum-updatesd configuration i can use smtp_server to rely mail notifications as per below outputs from man pages smtp_server SMTP server to use when sending mail, host or a hostort string. Defaults to localhost:25. The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server

View 2 Replies View Related

Ubuntu Servers :: Cron Job Doesn't Run Without Root

Feb 10, 2010

I am unable to run my cron tab job without root password.I made a little research on the forums and appearantly it should be changed.Must I change "passwd" part with my root password?

View 9 Replies View Related

General :: Cron Doesn't Start A Script

Jun 1, 2011

I'm trying to start a script through crond. The record in crontab is: 30 16 * * * /home/alex/razhodilim.pl 1>/dev/null. The script razhodilim.pl works perfectly if I start it manually. But cron fails to start it.
What could be the reason?

View 9 Replies View Related

Ubuntu :: Samba Server And Windows 7 - User Doesn't Work?

Feb 7, 2010

So here is what I'm trying to do: I want to share a folder and have it so that guests can access it, but only read. I also want to make it possible that I can mount it as a network drive on my Windows 7 machine and login with my linux account so that I can have write access. This is from a completely stock Ubuntu 8.10 and Samba config. Everytime I've tried I've failed to get it working.

View 1 Replies View Related

General :: FEDORA 12 - Mount -t Cifs On A Server Doesn't Work

Sep 28, 2010

Using Fedore 12 I am trying to mount on a server with the following command: # mount -t cifs //samba-pool-suse/pool-suse /mnt -o user=xxxx I was waiting that the system askme the user password and thats all, but the answer is: mount: wrong fs type, bad option, bad superblock on //samba-pool-suse/pool-suse, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so using:# dmesg | tail returs: CIFS VFS: cifs_mount failed w/return code = -22

View 3 Replies View Related

Server :: Using Locate With Rm - Doesn't Work When Pathnames Occasionally Contain Spaces

Mar 2, 2011

does anyone know how can I use locate with rm? rm `locate "some file"` does not work when my pathnames occasionally contain:

-spaces and other characters (like + or possibly others that need escaping)
-greek characters

how can I grab line-by-line the output from locate and wrap quotes"" around the paths?

View 5 Replies View Related

CentOS 5 Server :: Makehistory Utility For Innd Doesn't Work

Nov 19, 2009

Trying to migrate our news server to a new instance on centos5 and having issues with the makehistory utility. It errors out and then just creates all null values for the overview database. Here is the output:

[root@server overview]# /usr/lib/news/bin/makehistory -O -x -F
*** glibc detected *** /usr/lib/news/bin/makehistory: free(): invalid pointer: 0x000000000063ce60 ***
======= Backtrace: =========

[Code].....

View 12 Replies View Related

Ubuntu Servers :: Cron Doesn't Echo To File?

Mar 27, 2011

I have a script, echoSmart.sh:

Code:
#!/bin/bash
smartctl -a /dev/sda > /smartlogs/sda-$(date).txt

[code]....

View 3 Replies View Related

Red Hat / Fedora :: Enabling Mysql In Server (port 3306) It Doesn't Work?

Apr 12, 2011

when i am enabling mysql in server (port 3306) it does'nt work. but when i execute iptables -F it works what may be the reson?

View 6 Replies View Related

Server :: Setup Forward Mails To A User To Procmail Doesn't Work

Jun 1, 2011

I am trying to setup forward mails to a user in my linux server to procmail. But that doesn't work. My $HOME/.forward looks like the following

[Code]....

View 7 Replies View Related

Server :: Sendmail SMTP Send Doesn't Work With OS X 10.6 Mail.app Clients

Aug 3, 2010

I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.

Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.

View 1 Replies View Related







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