06-13-2007
This can happen when
(a) start up scripts are screwed
(b) required volumes cannot be mounted
I suggest
1. you boot it in single-user mode and try and mount every volume in /etc/fstab or it's equivalent.
This may require doing fsck on each volume.
2. do a back up of the system.
3. try and guide it into multiuser mode step by step, this may require going through /etc/inittab with a fine tooth comb and confirm everything works.
9 More Discussions You Might Find Interesting
1. Programming
I'm now designing a server application which can serve large number of clients' request. I've a question to ask, that is, main process will block when invoke the "accept" function, if a client request comes, main process should be separated into 2 processes by invoking "fork" function, the parent... (4 Replies)
Discussion started by: acqy
4 Replies
2. UNIX for Advanced & Expert Users
well, my internet brakes down every day because of my server, i don't have troubles with RAM or anything i think... that problem started since i am running an unrealircd server...
well, my internet brakes down and when i try to access the inside ip from the server on http port 80, it says that:... (2 Replies)
Discussion started by: AiRkO
2 Replies
3. UNIX for Dummies Questions & Answers
Hi I have a script on Solaris 5.6 to restart cron /etc/init.d/cron. I have trouble restarting cron. It's all beacuse of the line:
pid=`/usr/bin/ps -e | /usr/bin/grep cron | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
which returns not null. This is because of the system return two process which... (4 Replies)
Discussion started by: vtran4270
4 Replies
4. Programming
Try to solve this.....It's a nice program.....
#include<stdio.h>
void change()
{
/*Write something in this function so that the output of printf in main function should give 5 . Do not change the main function */ }
void main()
{
int i=5;
change(); (9 Replies)
Discussion started by: Baba B. Saheb
9 Replies
5. UNIX for Advanced & Expert Users
Hi, all,
The following commands could compute the 10 most frequent bigrams from a input sequence which is in a file infile.
I would like to know whether there is somebody who can use only two unix commands to do the same work.
--------------------
tr " " "\012*" <infile >out1
tail +2... (3 Replies)
Discussion started by: vicky20000
3 Replies
6. UNIX for Advanced & Expert Users
I have a file process.txt
I wanted to just grab data in "process" column.
Name process process_id status
Adminserver adminserver 22669 Running
Browser Engine browserengine ... (7 Replies)
Discussion started by: soemac
7 Replies
7. AIX
Hi!
I have useud SMIT to configured my static adress for AIX but when I restart the AIX the ipadress is not shown when I print netstat -in or ifconfig -a.
I have to configure the ip whit smit to have it start!
How can I starting the ip during boot? (6 Replies)
Discussion started by: peter.olofsson
6 Replies
8. Shell Programming and Scripting
Take a look on this code:
#!/bin/sh
currentpath=`pwd`
if ; then
#Normal user
if ; then
"$currentpath"/.cleaner
else
./runit
fi
else
#Root user
if ; then
rm -r /some
fi
mkdir /some
cd /home/
echo "`ls --group-directories-first -1`" > /some/allusers
cat /some/allusers | sed 's/... (17 Replies)
Discussion started by: hakermania
17 Replies
9. Shell Programming and Scripting
Hello,
I would really appreciate some help into approaching this problem:
- i have a random txt file with x lines and y rows following this pattern:
ex:
ip1 | user1 | command
ip2 | user2 | command
ip3 | user3 | command
- i need to telnet/ssh into these ip's, login with... (7 Replies)
Discussion started by: catalinstk
7 Replies
LEARN ABOUT XFREE86
ppmquantall
ppmquantall(1) General Commands Manual ppmquantall(1)
NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap
SYNOPSIS
ppmquantall [-ext extension] ncolors ppmfile ...
DESCRIPTION
Takes a bunch of portable pixmap as input. Chooses ncolors colors to best represent all of the images, maps the existing colors to the new
ones, and overwrites the input files with the new quantized versions.
If you don't want to overwrite your input files, use the -ext option. The output files are then named the same as the input files, plus a
period and the extension text you specify.
Verbose explanation: Let's say you've got a dozen pixmaps that you want to display on the screen all at the same time. Your screen can
only display 256 different colors, but the pixmaps have a total of a thousand or so different colors. For a single pixmap you solve this
problem with ppmquant; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run
ppmquant on that, and then split it up into little pixmaps again.
(Note that another way to solve this problem is to pre-select a set of colors and then use ppmquant's -map option to separately quantize
each pixmap to that set.)
SEE ALSO
ppmquant(1), ppm(5)
AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
27 July 1990 ppmquantall(1)