Red Hat / Fedora :: Some Processes Does Not Start In Multi-user Mode

Feb 2, 2009

Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.

I just checked the server logs by booting it in single user mode. Here are some interesting lines:

Before the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed

After the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed

fsck:

This might be something related with shadow file.

Here is part of /etc/shadow

View 3 Replies


ADVERTISEMENT

General :: Some Processes Do Not Start In Multi-user Mode

Feb 2, 2009

Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.

I just checked the server logs by booting it in single user mode. Here are some interesting lines:

Before the reboot:

irqbalance : can't balance irqs on a uniprocessor system: failed

After the reboot:

irqbalance : can't balance irqs on a uniprocessor system: failed
fsck:
fsck /: (this is repeated 900+ times)

[code]....

View 1 Replies View Related

Fedora :: Open Multi Processes (command) Using Only One Terminal?

Apr 28, 2010

I just switch to fedora from windows recently. And I love the terminal of fedora alot. The problem is when I run some command on the terminal, I need to wait for that command to finish before executing another command. This is very inconvinient, say If I open eclipse using the terminal, this eclipse program will hog to the terminal until I closed it. So if I want to use terminal again I have to open another one.Hence the question is: Is there any way open multi processes(command) using only one terminal?

View 4 Replies View Related

Debian :: Using VNC In A Multi-user / Multi-system Network

Mar 21, 2011

Anyone successfully using VNC client on a Mac to control a Debian server?I have the vncserver setup on the Debian machine properly. But I'm having problems connecting to it from both a PowerMac running Tiger and a MacBookPro running leopard.I can connect no problem from a machine running Slack12.2, have not setup port forwarding on my router to connect remotely yet.My Debian machine is running the latest stable release of squeeze with KDE4.I originally tried this with RealVNC Enterprise for OSX but I'm not gonna buy it so I need another alternative after the 30 day trial ends as they have no free version for OSX.
The situation is that I do freelance graphic design on the PowerMac with Cinema4D and Photoshop so I spend most of my time on that machine which is located in my home studio in my attic. Aside from the MacBook and a Dell desktop(family machine)all my other machines and network hardware are in the basement. So to go from the attic to the basement everytime I need to do something on another machine is not practical, and the only other machine I need to access on a regular basis is the Debian box in the basement, this makes the most sense.

I also have a 14 year old living in the house and he's fascinated by all this and will meddle in anything he gets the chance to so all the Linux machines and network hardware need to be behind lock and key.

View 6 Replies View Related

General :: Getting The Multi-processes Memory Used?

Sep 2, 2010

The following code is for monitoring the memory used by apache processes. But I got a problem that the data I got by this script is much larger than the physical memory. It was said that there are some libraries used simultaneously by many processes, so the data I got has some double counted part. Because apache has many httpd processes.

Anyone have an idea of getting the multi-processes memory used?

Code:
#!/bin/sh
#G.sh 20100813
USAGE="Usage: $0 processName"

[Code].....

View 14 Replies View Related

Red Hat :: Specific Function Of MPM - What Multi Processes It Handles

Jun 13, 2010

I am a bit confused with MPM. I read one the article here: [URL]. Still have few very basic doubts:

1. What exactly is a MPM, a module has a specific function to do whats the specific function of MPM?

2. What are the "multi processes" it handles? Is it connections?
Quoting from the articles:
"The main difference between MPMs and normal modules is that only one of the former can be used and multiple ones can be loaded in the latter".

3. There are multiple MPM but aren't they operate differently and may cause conflict when more than one is loaded and operating?

I am really looking for concept of MPM

View 2 Replies View Related

Ubuntu Servers :: Run High-priority Multi-threaded Processes In The Background?

Apr 7, 2011

Using Ubuntu server 10.04.2 64-bit all up to date.

I am running multi-threaded processes. These use OpenMP in my own code and the multi-threaded ACML maths library. When run in the foreground, everything is fine i.e. if I have set

export OMP_NUM_THREADS=8

then when I start all 8 cores are in use and things whizz along. However, when running overnight and logged out using e.g. 'at now + 1 minute' then the command, I am only getting about 130% CPU and it slows down accordingly. I have tried renice'ing and calling from within a bash script in case sh is doing something odd but nothing seems to solve it. I am sure that in the recent past this wasn't the case.

The libraries being used are shared versions in case that might have any bearing.

View 1 Replies View Related

Programming :: Perl Child Processes Become Zombie On A Multi-core Processor?

Apr 11, 2011

I have written a simple script which has to find required patterns from a bunch of files ( where each file is around 2 GB each,which contain the output of seq 1 10000000000000) on an 8 core machine.I am current forking 6 child processes which run simultaneously on 6 cores of the processor & have to search for the required pattern in 6 different files & inform the parent process when a pattern is found using a PIPE.

The problem is,when a child process is done reading a text file looking for a pattern,it is becoming a zombie process.It exits cleanly when i put a $SIG{CHLD} = "IGNORE"; in the script.Can any one tell me whats going on & how do i improve the communication between child and parent processes?

Code:
#!/bin/perl
use strict;

[code]...

View 3 Replies View Related

General :: Wrote A Program That Multiplies 2 Matrices Using Multi-threads And Another One Using Multiple Processes And Shared Memory?

Sep 22, 2010

I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs

View 1 Replies View Related

Software :: Protecting A Multi-user Server - Per-user Limits

Feb 8, 2010

I'm looking for a way to limit:

-memory usage (mb/user)
-cpu usage
-processes (amount and no same process multiply)
-connections (amount of connections (to specific host))
-bandwidth (kbps/user and even owerall for regular users)
-disk usage
-available commands

For every other users than me/root.

View 1 Replies View Related

Fedora :: Single User Mode?

Mar 22, 2009

what things can i do in single user mode?is there a guide out there can help me out how to navigate in single user mode?in links that focus only on user user mode?being in single user mode in other istro all the same? debian, fedora, suse. etc

View 4 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

General :: Emergency Mode Can Mount HDD With FS Error / Not In Rescue Or Single User-mode

Dec 1, 2010

My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.

My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.

View 3 Replies View Related

General :: Max User Processes Different For The Same User?

Apr 13, 2011

When i do the following with logged in with root:

Code:

i get

Code:

When i login with user1 and do ulimit -a

i get

Code:

Why is the max user processes different for the same user? And how can i change this. I need for this user more then 20 processes...

View 2 Replies View Related

OpenSUSE Install :: Many Processes Enter In Disk Sleep Mode And Stops

Feb 18, 2010

Many processes enter in disk sleep mode and stops (Hang) and return to work after 10 to 20 seconds.

In System Monitor i get "Disk Sleep" like this:

My PC specifications:
Ram: 4GB
Hard Disk: 1024GB
Processor: AMD Athlon II X2
Display: ATI HD 4670
Motherbord: Gigabyte
System: openSUSE 11.2 x86_64

The problem still exists after system update and i try run other distributions like kubuntu and i don't get this error. I also change Hard Disk but the problem is still ongoing.

View 7 Replies View Related

Ubuntu :: Windows Will Not Stretch Across Screens In Multi Screen Mode

May 12, 2010

I have 10.4 and nVIDEA 5500 on my PC. I am running two screens, run as twin so that the desktop spans the two monitors.

I have noticed that when I try and stretch a window across the two screens, very useful in spreadsheets, the window 'pings' back to a much smaller size.

I open in, say my main monitor. I move the window to span across the two and than manually stretch the window. It will stretch to some extent but if I then go beyond a certain pint it then slams shut.

Also, if I click the MAXIMISE button on the window it only expands to full screen in one terminal.

This did NOT happen in 9.10, and does not happen in any Windows OS, so I know it has something to do with the new 10.4 build.

View 9 Replies View Related

Red Hat :: Boot In Emergency Mode (not Single User Mode)

Mar 10, 2011

I need boot in emergency mode (not single user mode), from docs:

[URL]

in red hat enterprise 5 it's ok, not in red hat 6.

View 1 Replies View Related

General :: Force Fedora 12 To Start To Text Mode?

Jul 13, 2010

I have a problem with my newly installed ATI driver so my Fedora 12 boots to a frozen graphic mode display.I need to force it to boot to text mode interface to start adjusting my X configuration. What to do?This is a new Fedora 12 installation without any change to GRUB etc.

View 2 Replies View Related

Fedora :: Recording Audio In Single User Mode?

Mar 29, 2011

I'm just working on fedora for the first time for my proj. So having many difficulties. My first doubt is that is it possible to record audio in single user mode using fedora? I need it for my proj work. I tried arecord and rec in single user mode.. I'm getting an error stating pulse audio connect error.

View 1 Replies View Related

Ubuntu Networking :: D-link DWA-552 Master Mode On 10.04 - File Transfers Or Bandwidth Consuming Processes

May 20, 2010

after successfully configuring the dwa-552 to work in master mode in ubuntu 10.04 (ath9k driver) I ran some file transfer tests. The download speed is very good (~50mbps) but the upload speed spikes at about 10-20mbps for the first few KB and then it's nonexistent (0-1kbps). This only affects file transfers or otherwise bandwidth consuming processes. Normal web browsing or ssh is not affected. After running a speedtest of my internet connection which is routed through the AP I could upload to the internet with 1mbps which is my inet connection maximum so apparently this is not affected. Tried the same file transfers with netcat to eliminate any other factors and had the same problem. dmesg and hostapd debug did not report anything unusual

View 2 Replies View Related

Fedora Installation :: Start Network Connection Under Text Mode?

Jul 2, 2010

when I tried to install Nvidia driver for my computer, and when I reboot it, I found i can not log into the x-window mode as the screen display freeze at the point where suppose to be login screen. so use grub go to text mode, try to reinstall the akmod-nvidia xorg-x11-drv-nvidia-libs.i686, but it failed, sames i don't have internet connection to retrieve it. how can I start my network connection under text mode?

View 13 Replies View Related

Fedora Installation :: How To Start Anaconda ( DVD Installer) In Expert Mode

Aug 25, 2010

I'd like to install Fedora12/13 on a external USB 2.0 HDD. Ive managed to do so with the live image several times, but the DVD installer does not see that particular USB HDD so I cannot install Fedora on it. Its the same with F12 and F13.Ive already tried to start the installation in expert mode. The expert option is ignored or something (linux expert/expert does nothing). Im not sure where exactly to write the options. I chose the rescue line and changed rescue to expert (nothing happend).

Then Ive tried Ctrl+Alt+F2 > "modprobe usb-storage" with no output (that should be right, right?). Again nothing.How to start anaconda (the DVD installer) in expert mode?How to load proper modules (to get the USB Drive to be recognised)?How to install Fedora12/13 from DVD onto USB2.0 HDD?

View 8 Replies View Related

Fedora Hardware :: Mousepad Locked On Desktop In User Mode?

Nov 13, 2010

The mouse was working fine until I pressed the 'lock' button right above it. Since then I have not been able to move the mouse 'once' I get logged in. The mouse works fine when in the login screen. I have tried resetting several times.The keyboard seems to be working, but I don't know where to go to fix the mouse, and I don't know many keyboard shortcuts
** Solved **It's been filed as a bug and has yet to be fixed:[URl]A code below was used effectively by many but made my system freeze when I started up. I ended up reinstalling. So just a general warning.

Code:
sudo mod*robe -r psmouse
sudo mo*probe psmouse proto=imps

[code]...

View 2 Replies View Related

Fedora Networking :: Start Radius Service In Debug Mode + 10 + Errors

Jun 10, 2009

i installed freeradius 2.1.3 on fedora 10 and want to use it with ieee802.1x using peap. when i run command to start radius service in debug mode the following output come

[Code]....

View 4 Replies View Related

Red Hat / Fedora :: Force Virtual Machine To Boot Up Into Single User Mode?

Mar 8, 2011

I have few virtual machines running on one of xen servers & I'm experiencing a problem booting up one of clients "domain".

How can I force this machine to boot up to runlevel 1? I can't see grub menu when first booting it up!

View 6 Replies View Related

General :: Processes With Effective User Name Or ID

May 21, 2009

I am studying for the LPIC-1 exam, and reading a book that they recommend: "Introduction to Linux: A Hands-on Guide", by Machtelt Garrels. There's one question on the 4th chapter (Processes), that I found confusing: Question: Based on process entries in /proc, owned by your UID, how would you work to find out which processes these actually represent?

What does he mean? If I run the command (considering that my username is sl33p):
Code:
$ps -u sl33p
...gives me the right answer?

The ps man page says:
-u userlist
Select by effective user ID (EUID) or name.

This selects the processes whose effective user name or ID is in userlist. The effective user ID describes the user whose file access permissions are used by the process (see geteuid(2)). Identical to U and --user.

View 8 Replies View Related

Server :: Limit User Processes ?

Feb 10, 2010

I have some domains on a VPS server. Typical account memory usage for all domains runs at 50% of available, but I have a problem. One domain is causing me trouble because intermittently traffic will spike on that domain, causing so many requests within 1 min that I exceed my memory allocation for my entire VPS package. Apache is then killed but the virtualization software and Apache must then be restarted.

A sample snippet from tops right before the sever went down would like like this:

All of that memory usage adds up. I would like to "throttle" the number of processes that user/domain can run. I think this would be a quick and easy way to keep the domain from taking down my entire VPS. My understanding is that I could do this with the /etc/security/limits.conf file.

Is that correct?

I have never done this before. Do I want to set a hard or soft limit? I think if I wanted to limit the number of processes for "coldclim" to 15 I would add a line to limits.conf like this:

Code:

Assuming that is correct, can anyone tell me how the website would respond once it reached its limit? Would visitor queries become sluggish, or would the website not come up for them at all?

View 4 Replies View Related

Server :: With PS Cannot Control The Processes Of Another User

Feb 15, 2011

I have a problem with the permission of the directories under /proc, they are readable and accessible only by Owner (they have permission 500 instead of the usual 555) As a consequence, the processes are visible only to the Owners or to Root. For exampleif I want to check if there is mysql

I see it only with the user mysql or with root because the directory has permission 500

This problem obstacles the functioning of some applications that should check the existence of some processes managed by other users. At the beginning all was working well. But after a while the problem appeared and I dont know which is the reason of it. how to restore the standard management of permissions of / proc?]

I have a Ubuntu server Maverick 10:10.

View 2 Replies View Related

General :: Record Audio In Single User Mode Using Fedora - Connection Refused

Mar 25, 2011

I'm just working on fedora for the first time for my proj. So having many difficulties. My first doubt is that is it possible to record audio in single user mode using fedora? I need it for my proj work..I tried arecord and rec in single user mode.. I'm getting an error stating pulse audio connect error. Connection refused..

View 2 Replies View Related

Software :: Auto-start The Processes One After Another Is Started?

Aug 4, 2011

I have two script under /etc/init.d/ 'jboss' and 'client'. By machine-reboot these two scripts will be run. But what I want now is: The 'client' can only be run after the 'jboss' is successfully up.

View 4 Replies View Related







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