General :: Jobs Or Sps Does Not Work In Redhat 5.0
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
Since 2009 we are using Linux Redhat and all printers are working well. But when I have done Redhat's UPDATE I found all matrix printers (Epson LQ-590) not printing. Those printers are connected to the network by a printer server. When I do "lpr -Pprintername /etc/hosts" the printer prints the file but it not formats characters.
To print from my application, I create a file driver which looks like "lpr -PP112" in /usr/spool/uv/t112.dvr The first version was looked like #!/bin/bash # # $6: Imprimante (nom Universe) # export LOGFILE=/tmp/uv-smbprint-$6 date > $LOGFILE echo $6 >> $LOGFILE cat - > /tmp/prn.$6.$$ cat /tmp/prn.$6.$$ |lpr -P $6 -o raw -h >> $LOGFILE 2>&1 rm -f /tmp/prn.$6.$$ exit 0
Now this old version works with the HP LaserJet printers. But on the matrix Epson printer it can't work I put lpr - Pprintername or lp -onobanner -Dprintername to print something. The problem steel in formatting text when I print on all matrix Epson printers.
I cant mount a directory on red hat 5 from red hat 4 using fstab.I keep getting permission denied.I mount directories on the same red hat 5 sys from other red hat 5 and 2 old HPUX systems using fstab.When I try to telnet to it i get "no route to host."
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
Is it possible to list all jobs and their pids from a certain time frame? For instance if I needed to see all completed jobs from yesterday how would I do this? I've tried jobs -n but that was messed up because I had typed jobs right before that.
in my linux box i have lot of cron jobs. i need to make all cron jobs in script files. is it possible to make this. like[URL]Now how i change this in a script file
How to submit multiple jobs onto a Linux server. The only way I know to submit and run a job on a server is using qsub, and verifying the status of the job using qstat. I usually run my scripts using qsub -cwd so that I can run it on my own directory (instead of having the results sent to a scratch folder).
1. However, assuming qsub/msub are not available, is there another way to do it? What commands can I use instead? 2. I know that some jobs can run in the background, is that an alternative? How do I do it? And would I still be able to check the status of the job or delete it?
I just found out that jobs -l and man jobs produce no output in my terminal. how could I fix that? How could I install jobs command and its manual on my ubuntu 10.10 ?
I've been trying to make install apache 2.1.8 and php 5.2.3 and work on them. After updating and installing some dependence files, apache and php could both be installed.
Then I tried to configure them. I added the following content to the end of Apache httpd.conf:
Code:
Then I run /path/to/apachectl start, and saw the message:
Quote:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Then I remembered that I didn't include the rewrite module while making install apache. So I removed the 2 lines I just added to httpd.conf.
But, after running /path/to/apachectl stop and start again, I could still see:
Code:
When I use firefox to open http://host_ip:8080/, I could see "It works!". But when I open http://host_ip:8080/hello.php (the file is already under htdocs), firefox said Quote:
Failed to Connect
Why and how to solve it?
I noticed that for some stupid reason, the conf file wasn't updated at all and the 2 erroneous lines were still there.
is there a command or utility out there anywhere which can output a countdown of upcoming jobs from crontab? So you can display the queue of tasks in the order that they'll next run.
Anything like this out there?
EDIT: I realise there's crontab -l but that just echoes out the contents of the crontab file. I'd like somehow to get a countdown.
I had Windows XP working. I then put in a new hard disk and installed Redhat 5 on it. rom then i could only boot into Redhat. Further, everyting is very slow. Anothe rproblem is that Redhat does not see my netwrok so I cannot get onto the Internet. I need to have the choice of booting into XP or Redhat.
I m kapil sharma i want to configure ICS in redhat linux 5.0?i have an IP address which provided by ISP.i want to configure linux server which forward packet in my internal network.i want to access internet in my internal network with configuring linux web server.
I'm a Windows SysAdmin and we currently have a half dozen CentOS 5.5 machines at my current job. I also use Fedora 14 at home. I've been trying to get up to speed on Linux and feel like sticking with the RedHat derivatives as opposed to trying a new distro whenever something new comes out has really helped me.
I have a job interview coming up and it sounds like something I'd really like. They have an upgrade of VMWare from 3.5 to 4.1 in the works and virtualization is really my focus right now. Anyway the guy told me that they use SUSE and he really doesn't like RedHat. I don't remember how he described it, but he made it sound like it was too specialized and SUSE is more open.
This is the job description. Experience with MS Windows 2000, 2003 and 2008, Active Directory Architecture, deployment and group policies Red Hat and Novell SUSE Linux Enterprise server (SLES), OES NetWare (On Linux).
Experience with multiple virtualization products including VMware ESX and VMware desktop. Experience with tools used to analyze and perform bulk changes to LDAP directory content including Apache LDAP studio and MS Access. Experience with XML, LDIF, VB script., SSL and secure communications, SLP, DDNS, YAST, RPM, PAM., CRON, Sniffer Pro and Wire Shark . Is going into a SUSE environment going to screw up all the good linux mojo I have going on? I like working in Fedora/CentOS now. Is there a real difference?
In our cluster, RedHat4 & 5 machines, if someone locks the computer and walks away no body can use it. Is there a feature in RedHat5, Gnome, KDE etc that would allow for the option of switching users at the lock screen, so more than one person can be logged in?
Recently I Installed New Redhat server while I Install Any Packages It says:
"No such file or directory" But If I Search the file using [rpm -qa | grep packages_name] It shows the package , Also If I Use [rpm -qi package_name] It show package Information , Size and Every thing. Finally when I going install package using [ rpm -ivh package_name] It says "No such file or directory"
Screen Shot of error link => [IMG]img135.imageshack.us/img135/2430/linuxerror.jpg[/IMG]
I have blocked below IP by using iptables command in RedHat Linux 4.0.
Code:
iptables -A INPUT -s 192.168.0.85 -j DROP
It's now totally blocked and can't get access into web or internal network. how I can un-block that IP, so that it can again starts it's normal operation.