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


ADVERTISEMENT

General :: Getting A Text Console Runlevel In Kubuntu 10.04 (Changing Runlevel Won't Work)?

Sep 4, 2010

runlevels 2 -5 are identical in Ubuntu. /etc/init/rc-sysinit.conf is used instead of /etc/inittab for changing the runlevel. But there's no point doing that since the runlevels are identical. The default runlevel is 2, so I tried to find some service I could disable in /etc/rc2.d. I didn't find anything I could work with.

View 4 Replies View Related

Ubuntu :: Accidentally Changed CHGRP On User Account / Now Can't Sudo

Mar 10, 2010

I was recently messing around learning chgrp commands, and set my (only) user account to a different group. Now whenever I try to sudo a command, I get 'john is not in the sudoers file. This incident will be reported' message.I *seem* to have a root account (one is listed in System->admin->users and groups), but I'm almost certain that the password for it would be one of 3 things, and it's none of them.

View 2 Replies View Related

OpenSUSE Install :: Accidentally Changed /usr/bin/php File On My Server By Running A Cp Command

Sep 14, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content.

View 4 Replies View Related

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

Ubuntu :: Accidentally Changed User Permissions And Can't Access "system" In Panel

Dec 23, 2010

I accidentally changed my user permission while setting up a new user account and am now unable to access the "system" on the panel to change things back. I've just spent hours setting everything up and downloading and hope that I don't have to go through all of that again.

View 5 Replies View Related

Ubuntu :: Permissions For My Home Directory Were Accidentally Changed From 'access Files' To 'create And Delete Files?

Nov 25, 2010

the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?

View 9 Replies View Related

Fedora :: Root File Permission Accidentally Changed Root To 700

Mar 24, 2010

the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.

I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible

View 4 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

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

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

General :: Difference Between Halt - Shutdown And Poweroff

Aug 25, 2010

difference between halt, shutdown and poweroff

View 3 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

General :: Difference Between The Shutdown, Halt And Reboot Commands?

Jan 23, 2011

Should I be using one or the other for different things?

View 1 Replies View Related

General :: Grant Access To A Non Root Users To Reboot,halt,configure?

Dec 14, 2010

Is there any way to grant access to non root users to use some commands like reboot and date and some other commands that root user can work with .I tried chmod on their binaries and added them to root group but nothing happened.

View 5 Replies View Related

General :: Change Runlevel Ubuntu 10.04?

Aug 6, 2010

I'm trying to init 3 .. but I can't change te runlevel...I was reading about upstart.. But I can't understand.. :-(ubuntu upstartWhy they don't want to use /etc/inittab..it is so easy...Always I have problems because someone change the way of do things in linux...

View 6 Replies View Related

General :: Init : No More Process Left In Runlevel

Jul 5, 2011

I am using suse 10.3 and my machine is giving this error.

inittab file is ok
no partition is 100% used.
reinstall sysvinit package

View 3 Replies View Related

General :: Runlevel Scripts And Creating Links?

Dec 16, 2010

I have learned without a doubt what runlevels are...the questions I have are related to the init scripts and how to create a link to an init script. I see that there was a post where someone was trying to get people to do homework for them...I assure you I want to understand what I am trying to learn. That said, here are my hang ups:

1. The script that contains the default runlevel to my understanding is /etc/rc.d/init.d, though I've also found /etc/inittab on the web as the default. My book isn't too clear on this as it doesn't state it exactly, so which is it for sure?

2. My assignment asks what I'd name a link to an init script that would start a fictitious BIGD daemon early on in the boot process. My answer: /etc/rc.5.bigd.d --I don't think that this is the right answer though because in the book, it states that the /etc/rc.d/rcN.d contains names of scripts whose names begin with K and S. My understading in that this starts and kills each script depending on how it's entered.

View 5 Replies View Related

General :: Can't Reach Runlevel 5 - Avahi-daemon Fails?

May 6, 2011

my Sabayon desktop won't boot into runlevel 5 anymore:

Code:
ERROR: avahi-daemon failed to start
Also can't start avahi manually, verbose mode gives no extra information, debug says: (...)
Code:
* Starting avahi-daemon ...
+ /usr/sbin/avahi-daemon -D
+ eend 1
+ exit 1
* ERROR: avahi-daemon failed to start
(sic)

I suspect this to be related to the hplip drivers I installed before the last reboot, all I did was select the package in sulfur, and as it worked right out of the box, I changed nothing else.

View 6 Replies View Related

General :: (debian 5.0) How To Stop Remount As Read Only On Runlevel 2

Feb 7, 2011

I have downloaded voyage linux 6.5 based on lenny. One of the last things it says is mounting filesystem as read only. then asks me to do login. how to stop this action and eave the file system as Read/Write.

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

General :: Unmounted Filesystems Accidentally

Jul 5, 2011

I accidentally unmounted filesystems using umount -a command.How to recover from this.

View 4 Replies View Related

General :: Accidentally Wrote Over The Wrong Partition?

Mar 17, 2011

When doing an install of Linux Mint, I accidentally installed on a partition that already had data on it, so now that partition has a clean install of Mint instead of the data that was there before.I was hoping that I could at least recover some of the data from this partition, so my questions would be what, if anything, could I recover, and how would I go about doing that?

View 2 Replies View Related

General :: Accidentally Deleted The Swap : Won't Start?

Nov 20, 2010

I have a dual boot system - vista & fedora.I was cleaning my hard disk drive, using a partition manager for windows.I moved the swap partition without much thinking about the consequences - and now I can't boot into fedora. It gives the following error mount: error mounting /dev/root on /sysroot as ext3 No such file or directory.

View 6 Replies View Related

General :: Recover /opt/local/bin Folder That Accidentally Deleted?

Apr 2, 2010

I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?

View 2 Replies View Related

General :: Apache - Recover File That Is Accidentally Removed?

Jul 2, 2010

I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.

How can I get that back?

View 5 Replies View Related

General :: Accidentally Upgrade To Ubuntu Development Branch

Aug 24, 2010

I inadvertently upgrade to Ubuntu 10.10 developmental while trying to upgrade to Ubuntu 10.04.1. Can anyone can in downgrading back to a stable release without having to reformat everything?

View 4 Replies View Related







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