[SOLVED] Problem with crontab:: command not executed properly via crontab
location: linuxquestions.com - date: November 11, 2013
I am working with crontab and it is working fine until i run this command
*/1 * * * * cd /opt/lammp/myDir ;tscbrmuxer b:3008 pat.ts b:1500 sdt.ts b:1400 nit.ts b:9771076 null.ts b:2300000 firstvideo.ts b:188000 firstaudio.ts b:3008 pmt.ts b:3008 ait.ts b:1000000 emrc/EMMRC_Application.ts >myfirstfifo.ts & tsstamp myfirstfifo.ts 13271000 > mysecondfifo.ts & DtPlay mysecondfifo.ts -r 13271000 -t 107 -mt DVBS -mf 1140.0 -mc 3/4
when i run this command directly without crontab..it is working .But when running via crontab it is not running. I don't know what is going wrong. Please help me ,I will be highly thankful to you
[SOLVED] problem with unexpand command
location: linuxquestions.com - date: November 14, 2013
Hi every body
why unexpand command not working for me using ubuntu 12.04 ?
[Solved] problem with read command (in bash)
location: ubuntuforums.com - date: January 3, 2009
The problem that I have it's that the command read the first time make it ok (waiting the input from the user) but the second time doesn't wait that the user input the string, and continue without wait a input
I have the read command in a function:
echo "Teclee la Opcion que desee reproducir"
echo " el valor es $REPLY"
[SOLVED] Problem with rm command in shell script
location: linuxquestions.com - date: July 12, 2011
I have the following script (named overscript.sh) which runs some other scripts:
[SOLVED] Problem with vi !quit command doesn't work
location: ubuntuforums.com - date: July 14, 2008
Yesterday I installed Ubuntu Server 8.04.1 and noticed interesting problem with vi:
after making some changes I tried to quit vi with the command !quit in order to override all changes. This is what I would get an the screen:
[No write since last change]
/bin/bash: quit: command not found
shell returned 127
Press ENTER or type command to continue
after pressing ENTER I would be forwarded back to the editing screen. If I would try to quit with just :q command, I would get this error:
E37: No write since last change (add ! to override)
The only way to escape from that situation was with :wq command, which of course will save the changes...
Is this a bug?
"ps" command not executed in script when using crontab
location: linuxquestions.com - date: June 4, 2011
I wrote a simple script to see if firefox is running...
However, the ps command is not executed, when I open the logfile I see: "DEBUG LINE 4" and not DEBUG LINE 5, so "ps -e" is never executed despite using the full path of the ps command.
Here is my script:
# simple script to test if firefox is running...
PS=/usr/bin/ps echo "DEBUG $LINENO"
$PS -e | fgrep firefox echo "DEBUG LINE $LINENO"
What am I doing wrong?
[SOLVED] problem with ethernet loopback test using loopback plug/stub: receiving socket not se
location: linuxquestions.com - date: August 18, 2010
we are writing socket application to send UDP packets out from eth1
and loop it back to
the same interface using loopback stub to verify the hardware without
devices/ports. The sending and receiving port are the same.
our target machine has eth0 configured as 15.6.xx.xx and eth1
configured as 22.214.171.124.
the listening socket is listing on all ip.
When we looked at the packet in the tx code of the driver, we have
observed that the packet passed down from the ip stack has the same
MAC address for both source and destination. Also when packet is
returning, its ip source and destination are the same as the
transmitting packet, which is to be expected.
The outgoing packet on eth1 has ip address of 126.96.36.199.
1. Is this type of loopback possible under linux?
2 If not, what if we were to use raw socket to bypass ip stack? can the destination then be 188.8.131.52, and the packet will be delivered to the driver as opposed to being loopbacked
[NOT solved] problem with grub2 on a external usb drive
location: ubuntuforums.com - date: May 21, 2010
I am a newbie, so please be patient with me. Thank you.
I have installed Ubuntu on an external usb disk, putting grub2 on the MBR of that disk.
All works fine when I boot from my main pc.
But when I plug the extenal disk on some other pc, I am forced to the rescue console:
error: unknown filesystem
so I am able to boot ONLY when the external disk is plugged to my main pc.
Indeed, I have realized that grub2 considers the references of the ubuntu partition on my main pc, and not of the ubuntu partition on the external disk, even if I have specified it during the installation: prefix and root are set to hd0,7 instead of hd1,7.
So, when at the rescue console, I have tried to input manually the right lines to boot ubuntu:
but the console does not recognize the successive linux and initrd commands.
So, what have I to do to have my ubuntu working whenever
[SOLVED] Problem with postgresql 8.4 on debian plperl not working
location: linuxquestions.com - date: June 19, 2012
Hello everybody. I switched to linux to build a new application and I want to use plperl with postgresql. But here's what I get after typing 'create language plperl' on postgresql command line:
could not load library "opt/PostgreSQL/8.4/lib/postgresql/plperl.so": libperl.so: cannot open shared object file: No such file or directory.
I tried to install libperl-dev, but still get the same message.
Many thanks in advance
[SOLVED] Problem with a function having a background process inside a command substitution
location: linuxquestions.com - date: October 5, 2010
What is the problem with the following code:
Page: 1 2 3 4 5 6 7 8 9 10