MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently had to shut down my computer manually, and since then Mandriva can't boot completely. When it tries to, it will get to booting ethernet stuff, and right around the end of that (usually after booting snort, and then wine, though sometimes just one of those), it will just stop booting. If I press the power button, it will proceed to shutdown normally, so I don't have to just power off, and it will also drop me into a shell. So I figure it's not frozen. Looking through dmesg and system logs doesn't show any errors. Further diagnosing can be found on my previous post in a different forum:
The person there outlined how to edit the init scripts, to try and skip whatever is hanging up during boot, but he was unsure and recommended I talk to experts on Mandriva. I'm very new to linux, so if someone can walk me through commands and/or offer suggestions as to what might be causing this, that would be fantastic.
Please help me! I need to get Mandriva up and running again as soon as possible...
If your system is hanging but you still have keyboard control, cycling through the function keys may reveal what process is causing the system to hang. Basically start with Alt & Ctrl & F1 after that do Alt & F2 and so on. When you reach a login prompt again you can stop checking the other function keys. If possible post the output of the last screen with info on it to this thread. If you can't copy and paste the info, write it down before relaying it.
First off, have you checked the file: /usr/share/msec/promisc_check.sh) which is a bash script, to see what it is? It looks like you have this script set to run every minute in a cron entry ( CROND )?? I'd at least take a look at the 'promisc_check.sh' script. I'm not really sure what this is but it wouldn't hurt anything to check your cron entries for root, log in as root user and run command 'crontab -l'. Check to see if you have an entry as above there.
msec is Mandriva's security software. If promisc_check.sh is running each minute, you have enabled Ethernet cards promiscuity check (MCC > Security > Set up Security Level and Audit > Network Options tab). The default setting is no.
You can disable promiscuity checking in one of three ways:
1. Set Security Level with msec
Execute the following command:
where x = security level (numbered 0 - 5). See /usr/share/doc/msec/security.txt for detailed definitions. The following information is copied from the GUI configuration utility:
1. Poor: This is a totally unsafe but very easy to use security level. It should only be used for machines not connected to any network and that are not accessible to everybody.
2. Standard: This is the standard security recommended for a computer that will be used to connect to the Internet as a client.
3. High: There are already some restrictions, and more automatic checks are run every night.
4. Higher: The security is now high enough to use the system as a server which can accept connections from many clients. If your machine is only a client on the Internet, you should choose a lower level.
5. Paranoid: This is similar to the previous level, but the system is entirely closed and security features are at their maximum
Notes: Level 0 (zero) = off (no checks).
Mandriva sets the default level to 3 (High). I find level 2 (Standard) to be adequate for home desktop workstation use. Levels 4 and 5 enable promiscuity checks by default. If you want either of these levels of security, choose one of the two options listed below.
2. Edit /etc/security/msec/level.local
2-A. Remove the line
2-B. Edit the line
changing the (yes) to (no)
execute the following command:
Removing the line restores default behaviour (default = no)
Editing the line (changing the quoted yes to no) achieves the same result.
Ok, so I edited the level.local file and got rid of the promiscuous check. Unfortunately, Mandriva still hangs. dmesg doesn't give anything out of the ordinary still, the function buttons no longer lead to any informational screens, and syslog also doesn't report any errors. Also looked up crontab and it said 'no crontab for root.' Tried it again as a different user and it said the same thing except with the user name. What should I do now?