04-03-2011
You may need to disable the autoconfiguration GUI thing, that may be taking over despite you controlling it from commandline.
Last edited by Corona688; 04-03-2011 at 08:36 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
The server seems to be losing time, not a lot, but enough to be noticed.
UNIX
AIX 4.3.3
Any ideas,
Kathy (9 Replies)
Discussion started by: kburrows
9 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to sell the use of gzip instead of compress in our department. One issue I'm having (which is a showstopper) is that I lose the ownership when gzipping and gunzipping, though it's mentioned all over the web that files are supposed to keep ownership.
Example:
-rwxrwxrwx 1 ms32345 ... (3 Replies)
Discussion started by: superdelic
3 Replies
3. AIX
I need help figuring out why I lose /usr/bin directory sometimes it goes down 3-4 times a day and I have to link them back using ln - /usr/bin bin I cannot figure out why this is happenning (23 Replies)
Discussion started by: smatherly
23 Replies
4. Shell Programming and Scripting
I'm using a while read statement to read in lines from a file, if a value (for example) is 1000.10 in a field, the last zero is removed leaving 1000.1 does anyone know a way to keep the field as it is in the original file? (1 Reply)
Discussion started by: gefa
1 Replies
5. Solaris
So here's the scoop. I am working on a project to automate the building of spark based solaris servers. I've got a cursory amount of knowledge of how to use the os after some pretty heavy experience with Linux, and doing a similar project there.
I have a few questions though...
1) how is... (5 Replies)
Discussion started by: msarro
5 Replies
6. Shell Programming and Scripting
Hello experts,
Pleas
I have written a shell script to build a parfile but I keep losing the quotes from query1 and query variables after the redirection.. How do I fix this ?
PARFILE=${EXPDP_BASE}/expdp_${DAY}.par
USERID=$(${ORACLE_BASE}/getpass.ksh SYSTEM opnlkp2.uk.ml.com)... (2 Replies)
Discussion started by: kamathg
2 Replies
7. HP-UX
system is HP-UX B.11.23 U ia64
A standard feature of almost all of our cron jobs is to redirect output to a log file, then at the end of the script to embed the contents of that log file in the body of an email sent to the IT staff. Typical code to do this is
$MAILER -s "$PROC: $SUBJECT"... (3 Replies)
Discussion started by: edstevens
3 Replies
8. Programming
I'm newbie in UNIX programming, I have a problem with signals. I'm writing multithread program, where threads can die at any moment. When thread dies it generates signal SIGUSR1 to main thread and then thread dies. Main thread gets a signal and waits for thread dead.
I wrote program like this:
... (5 Replies)
Discussion started by: DendyGamer
5 Replies
9. Forum Support Area for Unregistered Users & Account Problems
Hi.
Recently when I'm logged in to site after some seconds, for instance, I lose the connection and need sign in again. It happens on Firefox and Chrome.
Or another example, when I'm logged in to site and click on my nick name (right up corner) I lose the connection to site.
User: tiago
... (0 Replies)
Discussion started by: Unregistered
0 Replies
10. UNIX for Dummies Questions & Answers
Our Unix system is losing a considerable amount of time each day, and our support service company says our motherboard is the cause. They "upgraded" us 5 years ago to basically the same thing as what we had previously, and are looking to "upgrade" us again now for about $5,000... I think... (23 Replies)
Discussion started by: Big Z
23 Replies
LEARN ABOUT NETBSD
tcsetpgrp
TCSETPGRP(3) BSD Library Functions Manual TCSETPGRP(3)
NAME
tcsetpgrp -- set foreground process group ID
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
tcsetpgrp(int fd, pid_t pgrp_id);
DESCRIPTION
If the process has a controlling terminal, the tcsetpgrp function sets the foreground process group ID associated with the terminal device to
pgrp_id. The terminal device associated with fd must be the controlling terminal of the calling process and the controlling terminal must be
currently associated with the session of the calling process. The value of pgrp_id must be the same as the process group ID of a process in
the same session as the calling process.
Upon successful completion, tcsetpgrp returns a value of zero.
ERRORS
If an error occurs, tcgetpgrp returns -1 and the global variable errno is set to indicate the error, as follows:
[EBADF] The fd argument is not a valid file descriptor.
[EINVAL] An invalid value of pgrp_id was specified.
[ENOTTY] The calling process does not have a controlling terminal, or the file represented by fd is not the controlling terminal,
or the controlling terminal is no longer associated with the session of the calling process.
[EPERM] The pgrp_id argument does not match the process group ID of a process in the same session as the calling process.
SEE ALSO
setpgid(2), setsid(2), tcgetpgrp(3)
STANDARDS
The tcsetpgprp function conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').
BSD
June 4, 1993 BSD