01-07-2009
akhtar.bhat,
Can you login at init 1 and capture the /var/log/messages?
What particular service is the system trying to start when this error occurs.?
Are you using SELINUX?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was having some problems with my sun system so i did an Init 6. now it has been booting up for about 20 minutes and only gets as fare as stting default interface for multicast: add net 224.0.0.0 {gateway machinename}. any sugjestions on what i should do to fix this. (1 Reply)
Discussion started by: Thump
1 Replies
2. Solaris
I have an Ultra 60, running Solaris 5.8. During boot all of a sudden it dies after Yp comes up then the netmasks are set and then I don't see anything any more. How do I tell whats causing it to hang at this point. I can login to it but can't tell what preocess is hung. /var/adm/messages has no... (7 Replies)
Discussion started by: frankkahle
7 Replies
3. IP Networking
I'm a beginner to Unix System Administration and I'd like to start first by having a server setup as a firewall. What would be a good distro to do this with? I'll be running it on an old computer. I plan on using command line only with this box.
Also, where can I start reading about doing this?... (2 Replies)
Discussion started by: tr33
2 Replies
4. AIX
How does one initiate this? (1 Reply)
Discussion started by: NycUnxer
1 Replies
5. UNIX for Advanced & Expert Users
Hi everyone, newbie forum poster here. I'm an Oracle DBA and I require some guidance from the Unix gurus here about how to pinpoint where a problem is within a Solaris 9 system running on an 8 CPU Fujitsu server that acts as our Oracle database server. Our sysadmins are trying their best to... (13 Replies)
Discussion started by: DBA_guy
13 Replies
6. Shell Programming and Scripting
Background
-------------
The Unix flavor can be any amongst Solaris, AIX, HP-UX and Linux. I have below 2 flat files.
File-1
------
Contains 50,000 rows with 2 fields in each row, separated by pipe.
Row structure is like Object_Id|Object_Name, as following:
111|XXX
222|YYY
333|ZZZ
... (6 Replies)
Discussion started by: Souvik
6 Replies
7. AIX
I need to install python 3.3.0 to AIX 6.1
I created folder where I want to install
I downloaded files archive from python official website
I extracted it into new folder and ran;
1)./configure --with-gcc="xlc_r" --with-cxx="xlC_r" --disable-ipv6 --prefix=my_folder CXX=xlC_r... (2 Replies)
Discussion started by: AIX_30
2 Replies
8. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
9. HP-UX
Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm.
To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies
AC(8) BSD System Manager's Manual AC(8)
NAME
ac -- connect time accounting
SYNOPSIS
ac [-dp] [-t tty] [-w wtmp] [users ...]
DESCRIPTION
If the file /var/log/utx.log exists, a record of individual login and logout times are written to it by login(1) and init(8), respectively.
The ac utility examines these records and writes the accumulated connect time (in hours) for all logins to the standard output.
The options are as follows:
-d Display the connect times in 24 hour chunks.
-p Print individual users' totals.
-t tty Only do accounting logins on certain ttys. The tty specification can start with '!' to indicate not this tty and end with '*' to
indicate all similarly named ttys. Multiple -t flags may be specified.
-w wtmp Read connect time data from wtmp instead of the default file, /var/log/utx.log.
users ... Display totals for the given individuals only.
If no arguments are given, ac displays the total connect time for all accounts with login sessions recorded in utx.log.
The default utx.log file will increase without bound unless it is truncated. It is normally truncated by the daily scripts run by cron(8),
which rename and rotate the utx.log files, keeping a week's worth of data on hand. No login or connect time accounting is performed if
/var/log/utx.log does not exist.
FILES
/var/log/utx.log connect time accounting file
EXIT STATUS
The ac utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Allow times recorded in modems to be charged out at a different rate than other:
ac -p -t "ttyd*" > modems
ac -p -t "!ttyd*" > other
SEE ALSO
login(1), getutxent(3), init(8), sa(8)
BSD
January 21, 2010 BSD