General :: Can't Find Inittab On My System?
Jul 17, 2010I'm using Ubuntu 10.04 and i can't find inittab on my system? Where did it go? Has Ubuntu removed this file? How can i find out about runlevels now?
View 4 RepliesI'm using Ubuntu 10.04 and i can't find inittab on my system? Where did it go? Has Ubuntu removed this file? How can i find out about runlevels now?
View 4 Replies1. I am using CentOS 5.4 and I try to use inittab at the etc/inittab to initiate a program at startup
2. Below is my script and saved as heritrix.sh
#!/bin/bash
export HERITRIX_HOME=/root/heritrix-1.14.3
cd $HERITRIX_HOME
chmod u+x $HERITRIX_HOME/bin/heritrix
$HERITRIX_HOME/bin/heritrix --admin=LOGIN:PASSWORD --port=9090
3. I did the chmod +x for the permission already.
4. I not confirmed whether it is running at startup.
5. the script is no problem as I have check it
The default setting of linux is run level 5 (Red Hat 9) I want to use my system in Runlevel 1. For that purpose i 1st check the permission which were
-rw-r--r--
I want to edit the File " vim /etc/inittab " in the terminal . which line should i edit so I may use it in a single mode.
2-The second thing i want to ask that before editing any important file which are /etc like "inittab" can i 1st make it's copy and keep it in my home directoty so,in case of any mistake I can get my original file?
I've updated a Fedora Core 3 server to Fedora 11. The old FC3 had an external modem attached for when we felt like dialing in for a ppp connection.
I've replicated login.config, mgetty.config and dialin.config from the old server and had to put a RS232-to-USB adapter on the modem.
I've test connected to the server and everything look fine.
I'm have a difficult time starting the Getty session from inittab.code...
im quite new to Unix stuff Im in need to add a script to be executed, in to /etc/inittab for that i need to get the path to my java installation. I have set the JAVA_HOME env variable already, my question is whether we can use JAVA_HOME in inittab? i mean, are those env variables are crated by the time inittab starts? if so, how can i add the entry
currently im having is like this
pse:5:respawn:su - <username> -c "$JAVA_HOME/other-path/pp.sh run"
is there any issue with the syntax?
During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..currently running mint 9. there is only one way that somehow i can edit that file from grub command line.
View 4 Replies View RelatedHow do I recover from accidentally set the runlevel to 0?
View 5 Replies View RelatedI was following a lesson with my UNIX Academy training and by mistake made a change to inittab. now it boots into black screen. How can I get into shell to fix inittab
View 2 Replies View Relatedi am using red hat linux 5.0 when i start my computer it shows me the message ofINIT:No inittab file foundEnter run level:i dont what to enter here if anybody know then
View 7 Replies View Relatedwe are using "last" command to find the last logins in our system.. how to find the ftp logins in our system?
View 1 Replies View RelatedHow to find in linux(fedora12) if dhcp is running on network?
View 3 Replies View RelatedPerhaps it is not proper to post on this forum. Sorry for any inconvenience.
I have finally make up my mind to use Linux (Ubuntu 10.04) as the SOLE operating system on my notebook. The last obstacle is that where to find proper drivers for my devices? Such as code...
Could someone give me some advices on where to find these drivers?
How to find file by content on linux by command. Example: i want find file contain word "helo" on my computer (OS: LINUX)
View 4 Replies View RelatedI have a Centos 5 machine, and I've been attempting to install GNOME and the like. However, quite a large number of packages do NOT install because of missing dependencies, all of which seem to trace back to 'system-logos'. Unfortunately, I can find no trace of this package in the 'yum list available' output. Google came up with nothing. If you can help, it would be MUCH appreciated! BTW, I've also tried 'fedora-logos' and 'linux-logos' without success.
View 1 Replies View Relatedwhich command to use to find out system configuration
View 5 Replies View RelatedI am working on a program lets say programX which must run when the computer is not in use. I want to develop a monitoring program to monitor if there is user activity on the system so that it can stop the programX from running when the user is using the system and start programX when there is no user activity. Is there a way to determine this in linux?
View 4 Replies View RelatedUsed following command to find out the top 10 big files in the system But it is having its own limitations as it consider files and directories both.
Code:
I would like to get the following information.
1)top 10 big files.
2)top 10 big directories.
File size with human readable output.
As executing
Code:
But when i add -h option for human readable file size its giving me wrong output.
Code:
I just upgraded my old Kubuntu 8.(something)to the new 10.04
After upgrading, i cant find the system menu(The one usualy located down
to the left)
Also having a problem with my desktop resolution, its maxed at 800x640
according to xrandr, tried adding some lines as SU in command line with
xrandr, only get the message, cant find vga1.
My computer is a sony vaio FZ-260e
Its nvidia 8400gt(m) display adapter, and according to adept the
Nvidia drivers should be installed.
hello everyone, im having a problem when my computer enters in the run level 4 as the default when i start slackware. The strange thing is that it not seems that is a X window problem, it looks like more like a configuration problem in some part of the kde script to initialize the log in, because if i manually start the X service it works fine, i dont know what is the source. Thank you in advance for the help.
View 3 Replies View RelatedFind external and internal devices attached to a system in Linux
How can i find through terminal that which devices are external and which are internal.
By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc
By internal i mean devices attached internally. For Example, SATA Harddisk etc.
Can anyone tell me the command to find Dell system motherboard BIOS for a linux machine ?
i tried find dmidecode but that does not fetch me appropriate output.
How to find continuously growing files in the file system?
View 11 Replies View RelatedI wrote a small script that gets me the list of enabled system accounts in my system.
I figure '*' & '!' (in field #2 of /etc/shadow) mean that the account is disabled or they cannot login, hence 'safe-to-ignore'
Code:
IFS=$'
'
for i in `cat /etc/passwd` #get each line in the passwd file
do
var1=`echo $i | cut -d':' -f3` #get user ID field
if [ $var1 -lt 500 ] && [ $var1 -gt 0 ] #compare to extract relevant IDs
[Code].....
BTW i figure the following command gives me the list of system users, but i am not able to find a way to process it further... :-(
Code:
awk -F":" '$3 >= 1 && $3 < 500 { print $1 }' /etc/passwd
We have recently built some RAC (OS:RHEL55) servers and after the Oracle guys have installed their application, somehow the directory / is using the maximum space. I contacted the Oracle team & they say that their RAC installation doesn't create any files in the / directory. This is the o/p of '/' directory file system:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/datavg-vol2 498M 382M 62M 88% /
Also, when I checked the file sizes, I found that the following files were taking more space:
/etc/selinux/targeted/modules/active/
-rw------ 1 root root 17M Nov1 base.linked
[code].....
I don't know what these files are doing there, when I did a cat and cheked, I found the files containing this data:
nf_tre--
stem_dbusd_var_run_t...and some stuff like this Unable to decide whether or not to remove these files. Also, is there any way to find out what files are taking more space and whether they can be deleted or not? in order to free up some space in the / direcoty. As there are 10 RACs that we've build, I got to do something to fix this for all of the 10 servers.
Found the below from RedHat Knowledgebase
The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.
One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:
echo 0 > /sys/block/hda/queue/iosched/slice_idle
We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.
Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?
View 2 Replies View RelatedI need commands which five me the following details abt all the file systems mounted the linux box
type
mount pt
file system id
I need to find the memory usage of a shared library loaded in Linux environment.
I need this information for deciding on whether to make the library part in to application or a seperate application itself.
I'm new to this and I'm sure I've just gone and done something silly. I used pendrivelinux.com's live usb creator to install ubantu 11.04 on my USB. I tried booting my laptop with this, and i get an error message saying "unable to find a medium containing live file system" and I cant get any further than that. The laptop I am using is a Dell XPS with an i7 processor and 6 gigs of memory.
View 6 Replies View RelatedWould someone be able to point me in the direction to find a list of update releases for Redhat Linux v5?
View 1 Replies View Related