Search Results

Search: Posts Made By: garethr
Forum: AIX 02-29-2012
5,174
Posted By garethr
A solution to the mkvg failure when adding iSCSI disks to AIX.
Previous forum threads have noted that AIX cannot use iSCSI disks because it fails when trying to add them to a volume group using mkvg. The failure is caused by AIX's use of the SCSI "WRITE AND...
Forum: AIX 05-25-2011
5,753
Posted By garethr
What does the memory error look like?
What does the memory error look like?
Forum: AIX 05-25-2011
17,873
Posted By garethr
Suggestions: You appear to be trying to execute...
Suggestions:
You appear to be trying to execute a command called "root" on server2. This might be the problem.

Also, is your root user on server1 actually allowed to log in on server2 to run the...
Forum: AIX 05-25-2011
10,801
Posted By garethr
I've seen it quite often on my AIX 6.1 systems....
I've seen it quite often on my AIX 6.1 systems. Not sure what causes it but I've not seen it have any harmful effects.
Forum: AIX 01-11-2010
7,170
Posted By garethr
If you have lsof installed you can run it as root...
If you have lsof installed you can run it as root and grep for LISTEN. E.g.


root@lcrmdb1:/root >lsof | grep ":ssh (LISTEN)"
lsof: WARNING: compiled for AIX version 5.2.0.0; this is 5.3.0.0....
Forum: AIX 12-02-2009
8,648
Posted By garethr
It may be working, but just not showing up as you...
It may be working, but just not showing up as you expect in the "ps" output.

For instance, if I run "crontab -e", it still appears as my user in "ps aux", even though it is SUID root and SGID...
Forum: AIX 11-25-2009
34,476
Posted By garethr
Out of interest, the nmon cpu display shows...
Out of interest, the nmon cpu display shows colour-coded bars (run nmon, then press c) on:

$ oslevel -r
6100-02

$ echo $TERM
xterm

$ lslpp -l bos.perf.tools
Fileset ...
Forum: AIX 11-25-2009
13,269
Posted By garethr
If the file is open, would "lsof" help? You could...
If the file is open, would "lsof" help? You could list all files opened by the process.
Forum: AIX 11-17-2009
11,131
Posted By garethr
Some rough thoughts: Firstly, you'll need to...
Some rough thoughts:

Firstly, you'll need to make sure that the port you're connecting to is actually spawning a "getty" to listen for the connection. You'll need something like the second line...
Forum: AIX 11-17-2009
14,424
Posted By garethr
You can't make /etc/passwd unreadable, because...
You can't make /etc/passwd unreadable, because commands like "ls" rely on it to associate numeric uids to usernames.

If you make /etc/passwd unreadable to a user, then whenever that user types "ls...
Forum: AIX 10-29-2009
3,616
Posted By garethr
In the shell script, printThisWord () {...} needs...
In the shell script, printThisWord () {...} needs to come before you first try to call printThisWord.

On the ssh side, you can run commands remotely as follows:

ssh user@remotehost "df -k ; ls...
Forum: AIX 10-27-2009
7,346
Posted By garethr
There might be some clues from the "truss"...
There might be some clues from the "truss" output, although I admit I haven't found it myself.

truss -o /tmp/hosts-trace bash -c 'echo $0'
Forum: AIX 10-27-2009
4,135
Posted By garethr
Thoughts: 1. Any DHCP interfering with your...
Thoughts:
1. Any DHCP interfering with your config?
2. Remember to enable the "START Now" option in smit when configuring interfaces.
Forum: AIX 10-26-2009
3,875
Posted By garethr
Log files do not rotate on their own. If you see...
Log files do not rotate on their own. If you see a log file rotate or rename, it is because a process has intentionally done it.

Have a look in /etc/syslog.conf for some good pointers, e.g. this...
Forum: AIX 10-26-2009
17,167
Posted By garethr
Another good habit at this point is to put your...
Another good habit at this point is to put your scripts in a revision control system, such as "Subversion". This protects you from the case when you (or someone else) modifies a script then can't...
Forum: AIX 10-26-2009
5,148
Posted By garethr
Interesting. Perhaps a solution is to run the...
Interesting. Perhaps a solution is to run the long-running command in another shell, capture the return code in a file, and use the presence of the file to tell whether the original has exited?
Forum: AIX 10-20-2009
7,228
Posted By garethr
That error code does not look like an AIX error...
That error code does not look like an AIX error code.
Forum: AIX 10-20-2009
11,814
Posted By garethr
Also, can you telnet direct to the port? I.e. #...
Also, can you telnet direct to the port? I.e.
# telnet remote_server 22
Forum: AIX 10-20-2009
7,228
Posted By garethr
You'll need to provide more details than that....
You'll need to provide more details than that. What software? What command are you running?
Forum: AIX 10-16-2009
3,592
Posted By garethr
Just noticed that you're not using a colon ':'...
Just noticed that you're not using a colon ':' separator between hostname and directory.

So, should:
user@machine/mohit^narang

actually be:
user@machine:/mohit^narang

?

Also, I presume...
Forum: AIX 10-15-2009
13,215
Posted By garethr
You can stop a service ("subsystem") using...
You can stop a service ("subsystem") using stopsrc. If that subsystem process is listening on a port then you have effectively stopped the port.

The following stops the process with pid 299216...
Forum: AIX 10-15-2009
8,422
Posted By garethr
Could you get around this by using a "mkfifo"...
Could you get around this by using a "mkfifo" pipe?
Forum: AIX 10-15-2009
9,650
Posted By garethr
Try: more ~username/.bash_history more...
Try:
more ~username/.bash_history
more ~username/.sh_history
Forum: AIX 10-07-2009
53,534
Posted By garethr
1024 = 1k 1024*1024 = 1M 100*1024*1024 = 100M...
1024 = 1k
1024*1024 = 1M
100*1024*1024 = 100M

512 bytes in a block.
So, number of blocks in 100M = (100*1024*1024)/512
Forum: AIX 10-06-2009
8,735
Posted By garethr
Well, I suppose you could try some of the "SPEC"...
Well, I suppose you could try some of the "SPEC" tests, some of which are designed to measure maximum throughputs. (Others are designed to emulate typical business workloads.)

See: SPEC - Standard...
Showing results 1 to 25 of 97

 
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy