Unix/Linux Go Back    

Showing results 1 to 25 of 97
Search took 0.02 seconds.
Search: Posts Made By: garethr
Forum: AIX Linux 02-29-2012
Replies: 1
Views: 3,624
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 Linux 05-25-2011
Replies: 12
Views: 4,362
Posted By garethr
What does the memory error look like?

What does the memory error look like?
Forum: AIX Linux 05-25-2011
Replies: 4
Views: 9,750
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 Linux 05-25-2011
Replies: 2
Views: 6,834
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 Linux 01-11-2010
Replies: 2
Views: 5,336
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 Linux 12-02-2009
Replies: 3
Views: 6,602
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 Linux 11-25-2009
Replies: 5
Views: 25,734
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 Linux 11-25-2009
Replies: 3
Views: 9,017
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 Linux 11-17-2009
Replies: 3
Views: 8,015
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 Linux 11-17-2009
Replies: 5
Views: 4,643
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 Linux 10-29-2009
Replies: 6
Views: 2,745
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 Linux 10-27-2009
Replies: 1
Views: 5,269
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 Linux 10-27-2009
Replies: 1
Views: 3,377
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 Linux 10-26-2009
Replies: 2
Views: 3,442
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 Linux 10-26-2009
Replies: 4
Views: 15,050
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 Linux 10-26-2009
Replies: 4
Views: 3,787
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 Linux 10-20-2009
Replies: 17
Views: 5,575
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 Linux 10-20-2009
Replies: 4
Views: 6,918
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 Linux 10-20-2009
Replies: 17
Views: 5,575
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 Linux 10-16-2009
Replies: 2
Views: 2,898
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

?
Forum: AIX Linux 10-15-2009
Replies: 2
Views: 7,551
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 Linux 10-15-2009
Replies: 3
Views: 6,869
Posted By garethr
Could you get around this by using a "mkfifo"...

Could you get around this by using a "mkfifo" pipe?
Forum: AIX Linux 10-15-2009
Replies: 4
Views: 6,484
Posted By garethr
Try: more ~username/.bash_history more...

Try:
more ~username/.bash_history
more ~username/.sh_history
Forum: AIX Linux 10-07-2009
Replies: 5
Views: 40,253
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 Linux 10-06-2009
Replies: 5
Views: 6,091
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 05:26 PM.