Software :: Can't Access /etc/inittab In Ubuntu 9.04?

May 22, 2010

i cant access in /etc/inittab in the etc directory. because i don't have any other files like this. then how to i change the #Default run level mode to 4 in ubuntu 9.04.

View 3 Replies


ADVERTISEMENT

Red Hat / Fedora :: Use Inittab At The Inittab To Initiate A Program At Startup?

Jul 5, 2010

1. 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

View 2 Replies View Related

Fedora :: Cannot Start Mgetty From Inittab?

Feb 8, 2010

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.

/etc/inittab:
Code:
id:5:initdefault:
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2

[Code]...

View 3 Replies View Related

Fedora :: Inittab No Such File Or Directory?

Jul 13, 2010

I tried to go to the inittab folder by typing /etc/inittab.

The following is the error message I get

[root@localhost /]# cd /etc/inittab
-bash: cd: /etc/inittab: Not a directory

View 5 Replies View Related

General :: Can't Find Inittab On My System?

Jul 17, 2010

I'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 Replies View Related

General :: How To Edit Inittab File

Mar 25, 2010

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?

View 2 Replies View Related

Software :: Faxgetty Not Starting From Inittab?

Feb 9, 2010

I've installed and setup Hylafax in PCLOS 2009.2 I can get it to all work if from a console I su as root and type faxgetty ttyS0 the console is "locked" running faxgetty until I kill it. But while it is running everything works.

in my inittab there was a commented line at bottom #t0:23:respawn:/usr/sbin/faxgetty ttyS0

I have uncommented it, saved it, restarted PC but faxgetty is not running. Is there some logging on inittab that may highlight the problem,

View 3 Replies View Related

Slackware :: Modified Inittab And Sound Is Gone?

Apr 27, 2010

I'm using slack13 and have changed entry in inittab from

Code:
id:3:initdefault:
to
Code:
id:4:initdefault:

to login straight to window system. However after that sound is gone. When I go to mixer it says that audio device cannot be used 'might be access problem'. So I've changed entry to what it was and starting X11 by 'startx' and then sound works again.

View 14 Replies View Related

CentOS 5 :: Gdm Won't Autostart Even With Id:5:initdefault: In /etc/inittab

Apr 18, 2011

I have a new CentOS 5.6 installation. It was installed in text mode. I have changed the line id:3:initdefault: in /etc/inittab to id:5:inittab. Even after that change, gdm does not start automatically. gdm is installed, and can be started from the command line. I have put DISPLAYMANAGER="GNOME" and DESKTOP="GNOME" in /etc/sysconfig/desktop.

I would like to get gdm to start automatically.

I observer that rhgb is running after startup:

[root@host ~]# ps axu |grep rhgb
root 3830 0.0 0.0 165676 10816 ? Ss 12:10 0:00 /usr/bin/rhgb
root 3840 0.0 0.0 87976 7996 tty8 Ss+ 12:10 0:07 /usr/bin/Xorg -s off

[Code]....

View 13 Replies View Related

Fedora :: No Inittab - How To Set Run Level In FC12 Live

Mar 22, 2010

How to set the run level now in FC12 Live?
inittab not present at /etc/inittab
# updatedb
# locate inittab
not found

View 2 Replies View Related

General :: Can't Get Mgetty To Start From Inittab / Resolve This?

Feb 8, 2010

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...

View 1 Replies View Related

General :: Adding An Environment Variable To Inittab?

Jul 22, 2010

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?

View 2 Replies View Related

General :: Editing Inittab File From Grub?

Jul 27, 2010

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 Related

Software :: Inittab Application Can't Generate Coredump

Mar 24, 2010

We have to run our applications under /etc/inittab, we can get coredump with os solaris. After we move our platform to LINUX, we just find our application reset itself for a couple of times without any coredump generate.

View 1 Replies View Related

Fedora Installation :: Change The Equivalent Of The Old Inittab Function?

Jul 8, 2010

In Fedora 8
File: /etc/inittab contained
S0:2345:respawn:/usr/sbin/faxgetty ttyS0
S1:2345:respawn:/sbin/vgetty ttyS1
In Fedora 13
Created folder: /etc/event.d
Created files: /etc/event.d/ttyS0
[Code]....

Neither faxgetty or vgetty start on reboot or changing runlevel. How do you implement the equivalent of the old inittab function?

View 5 Replies View Related

Fedora :: Why Inittab Running Graphically - All Settings Correct

May 31, 2011

I'm using Fedora 15. For some reason, my computer is booting up graphically. I do not have video drivers for a graphical setup apparently now that Gnome is getting more advanced, so I really need to restore to a CLI. I see /etc/inittab is now deprecated thanks to systemd. The instructions say the following:

Code:
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
To set a default target, run:
# ln -s /lib/systemd/system/<target name>.target /etc/systemd/system/default.target

And that's exactly what I have set up!
Code:
[root@server system]# pwd
/etc/systemd/system
[root@server system]# ls -la
total 20
lrwxrwxrwx 1 root root 37
May 31 10:41 default.target -> /lib/systemd/system/multi-user.target

Why is this machine starting up graphically? I even removed the symlink and recreated it... but that obviously isn't the issue here.

View 8 Replies View Related

OpenSUSE Install :: Can't Boot OSS11.3 /etc/inittab Failed

Oct 7, 2010

I use OSS11.3. Today when is started my laptop i got message on the screen
which was smth like this:

INIT: /etc/inittab[1000]: process field too long
...
INIT: /etc/inittab[1005]: process field too long
Enter runlevel:

and when I enter a runlevel (I have tried 3, and 5) I get

INIT: Entering runlevel: 3 (or 5)
INIT: no more processes left in this runlevel

and system it hangs.

How can I repair my system ?

View 8 Replies View Related

General :: Inittab - Accidentally Changed Runlevel To 0 ( Halt )?

May 10, 2011

How do I recover from accidentally set the runlevel to 0?

View 5 Replies View Related

General :: Messed Up Inittab - It Boots Into Black Screen

Jun 10, 2011

I 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 Related

Fedora :: Configuration Of Event.d Serial Devices - Inittab Don't Work

Jul 30, 2009

I was using V9 and upgrade to V10 and now my logins in my inittab do not work. I realize that is file structure is outdated so I made individual run files for each of my serial devices under event.d ( such as TX0000 - rc....etc) - all this works but i need to manual type initctl start TX000o to get logon for my serial devices. I would so much like them to automatically start on bootup.

View 3 Replies View Related

Software :: Filesystem Corruption - Ext3-fs Group Descriptor Corrupted - No Inittab

Mar 3, 2011

When I rebooted my system (RHEL 5.3 x86_64), I got the following error when it was booting up:

Code:

Full screenshot of the bootup error messages here: previous bootup error

So to try and fix this, I booted from the OS disk and did a linux rescue.

Here's some of the results of the commands I did:

Code:

Here's a screenshot of the output from fsck after it's done, notice it says 0 bad blocks but the system was modified:fsck results

I then reboot but now I get the errors:

Code:

Full screenshot of the startup errors I get now here: current bootup error

Does anyone have any ideas on how I can fix this? Was the fsck I did initially the correct thing to do to fix that initial group descriptor error or did I make things worse?

View 1 Replies View Related

General :: When Start Computer It Shows The Message OfINIT:No Inittab File Found?

Dec 22, 2010

i 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 Related

OpenSUSE Install :: Change In Inittab - Login - Does Not Ask For A Password And It Says Wrong Password

Nov 22, 2010

I work on a product that have to start automatically an application. Running Opensuse 11.2 So in the inittab I have : 1:2345:once:/root/Velox/VeloxBoot.sh 2:2345:respawn:/sbin/mingetty tty2

In the VeloxBoot.sh, if I don't press any key, my application starts after a timeout. If the user presses a key I want to have a login prompt. Unfortunately, if I start /bin/login, I have a prompt with login, but once I enter my login, it does not ask for a password and it says wrong password

View 2 Replies View Related

General :: Initializing Run Level 4 At Inittab Default Level

Jan 15, 2011

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 Related

Server :: Respawn A Service Using Respawn Entry In /etc/inittab

Oct 5, 2010

how i can respawn a process/system service by adding respawn entries in /etc/inittab ?

View 1 Replies View Related

Ubuntu Servers :: Webdav Access - When Connect From Nautilus - Says - Access Was Denied

Mar 26, 2010

I'm having a problem with my webdav share. I have a secure webdav folder that gets accessed via a non-standard port and requires basic authentication. I can connect and interact with it fine via cadaver. However, when I try to connect from nautilus, it says "Access was denied." To make it even stranger, sometimes I can click on the folder in nautilus (it still mounts) and access it. Sometimes not (just repeats the error message and won't show me the contents). I may not even un-mount it, but just look at other folder, then click it again and be able to access it, but again - only rarely.

I asked a friend to try connecting from his windows vista computer and it would not work. It would not work from my windows XP virtual computer either. However, it mounts and works just find from my work computer (also Windows XP).

So it seems to be a 50/50 chance that the drive will mount on any given computer/system and work. Do anyone know what the problem may be? I'm guessing user permissions, but I can't figure out what.

I've made sure the webdav folder is owned by www-data and www-data has read access to the password file as well.

When I try connecting from nautilus, I get this in the log file:

Code:

Here is one of the (many) sites I've tried looking at: [url]

View 4 Replies View Related

Ubuntu :: Using Web Min To Access Server \ Unable To Access Email Account From A Web Page?

Sep 12, 2010

ok so i ran into a problem, im using web min to access my server, and im setting up postfix and, dovecot first problem is i want to be able to access my email account from a web page, with log in, so my question is how can i do that?

View 1 Replies View Related

Ubuntu Networking :: The Phone Can Access The Internet Through The Computer Unable To Get Access To Https Sites, Like Webmails

Dec 31, 2010

I managed to configure my W890i phone to get access to internet through an ubuntu-based computer. It's very easy to use the phone to give internet access to the computer, but the opposite is quite more tricky. For that I've done the following

----On the phone---

-Set the USB network option to "through computer", so that the phone uses the computer's internet connection and not the opposite.

-Decide and set "Shared Network" parameters: user, pasword and workgroup.

-In "conectivity-> internet connection" set "allow local network" to "yes"

----On Ubuntu 10.04---

-Install samba, samba-client, smbfs, smbclient, firestarter and dhcp3-server

-Configure Samba (System-> Administration-> Shared folders): same workgroup as in the phone, add new user (the phone), passwd this new user. In my case the user was called "w890i" and the password given was the same.

-Once the phone is connected to the computer through USB (then select "phone mode"), a new connection appears in NetworkManager: usb0.The aim is to create a shared network that gives internet access to this device. Edit the IPv4 parameters of this new connection, set them to Manual and give an IP adress (192.168.0.1) and a subnet mask (255.255.255.0); the rest of the fields are left empty.Connect this network.

-Set firestarter to use dhcp3: sudo ln -sf /etc/init.d/dhcp3-server /etc/init.d/dhcpd

-Launch firestarter and follow the wizard. Set "allow internet shared connection", choose the device for the primary internet access, and then the device for the shared network (usb0). Then change the settings for firestarter: activate DHCP for local network, set IP to the one we gave before (192.168.0.1).

-Open dhcp3-server config file sudo gedit /etc/default/dhcp3-server And set INTERFACES="usb0"

-Set the policies of firestarter: in incoming connections, allow connections from the IP adress given to the phone (192.168.0.1). Then add rules for the ports that need to be open for this connection. I opened HTTP, HTTPS, SMB, SMTP, POP3, IMAP, IMAPS, DHCP for all the connections in the local network.

-Apply policies and start the firewall.

------------

After all this, the phone can access the internet through the computer. Two problems appeared:

1. I couldn't get access to https sites, like webmails. The phone gave a "communication error". But then I tried with Opera instead of the browser built in the phone's firmware, and I could finally get to https sites.

2. I couldn't retrieve mail, neither POP nor IMAP nor IMAPS. I thought it was a firmware problem again, and I tried out several mobile phone email clients written in java, but none of them worked.

So this is at the moment the problem. If I connect from the phone to the internet directly through 3G, the email clients work for all my accounts. I don't think it's a firewall problem, because the ports are opened for this connection

View 3 Replies View Related

Ubuntu :: Write Access On Raid5 Mount And Network Access

Apr 22, 2010

I'm running ubuntu 9.10, and created a softraid5 with no problems. Now i need it to automount with user read/write access, and i need to make some network share folders. My fstab has the following line for the raid:

Code:
/dev/md0 /media/raid auto rw,user,auto,exec 0 0
After i mounted it, i changed the permission with:

Code:
sudo chmod 777 /media/raid/
So now i can create folders and files on it.
Then i created some shares, one with guest access and other with no guest access.

Now the questions:

1) If i access the guest shared folder via WinXP, i create files and folders, but they appear locked on ubuntu, so i cant access them until i change the permissions. If i go to proprieties/Permissions, the owner is "nobody".

2) What password do i need to use on WinXP, and i try to access the non-guest shared folded? Do i need to create a user just for that?

View 1 Replies View Related

Ubuntu :: Cannot Access Added Shortcut To The Menu - Access Is Denied

Sep 11, 2010

i put a windows program on my ubuntu pc and it's a portable program so i had to add a shortcut to the menu myself, well, i got the shortcut added but when i click it, it says that it cannot access it and it also says Permission Denied.

View 7 Replies View Related







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