Search Results

Search: Posts Made By: Diabolist
14,115
Posted By Diabolist
Use the close method. $tcon->close; ...
Use the close method.

$tcon->close;

Where $tcon is your Net::Telnet object. Net::Telnet - interact with TELNET port or other TCP ports - search.cpan.org...
37,521
Posted By Diabolist
You've got the right syntax with tput, but like...
You've got the right syntax with tput, but like mentioned before, your terminal has to support it.

I tried it on a few with mixed results. This command:

echo "`tput blink`hightlighted`tput...
8,254
Posted By Diabolist
This will create a blank line at the top of the...
This will create a blank line at the top of the output, but otherwise does what you want.


awk '{
if ($0 == "laknar") {
printf("\n%s", $0)
} else {
printf("|%s", $0)
}
}'...
Forum: Solaris 01-23-2009
8,005
Posted By Diabolist
If that's all the output you're getting, it...
If that's all the output you're getting, it doesn't look like it's getting out anywhere. So I don't think it's your jumpstart environment. From the OK prompt, what's the value for...
Forum: Solaris 01-23-2009
11,117
Posted By Diabolist
What's the output of the following: svcs -x ...
What's the output of the following:

svcs -x

svcs -a |grep sma

svcs -x /application/management/sma:default

svccfg -s sma listprop

which svcs

ldd `which svcs`

Same result running...
Forum: Solaris 01-23-2009
3,431
Posted By Diabolist
Ooo, you can still grab the software here: ...
Ooo, you can still grab the software here:

HP JD Printer Installer for Solaris- Download drivers and software - HP Business Support Center...
Forum: Solaris 01-22-2009
7,426
Posted By Diabolist
You don't need the install cd. Just download...
You don't need the install cd.

Just download CD1 and CD2. Use whatever burning software you have that supports burning iso images and create the CDs. Put in CD1 and at the openboot prompt run your...
18,543
Posted By Diabolist
Segmentation fault - Wikipedia, the free...
Segmentation fault - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Segmentation_fault)

Core dump - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Core_dump)
...
24,859
Posted By Diabolist
When you sudo to a different user (say root): ...
When you sudo to a different user (say root):

sudo su

This wont set up that user's environment. If you:

sudo su -

That will. However, when you just want to run a command, I don't believe...
5,639
Posted By Diabolist
That white space may not be the white space you...
That white space may not be the white space you think it is? Try matching anything... if that works, do the same for the second pattern match.

$telnet->waitfor('/USERCODE:.*$/i');
Forum: High Performance Computing 01-22-2009
6,383
Posted By Diabolist
Erm, as DukeNuke2 pointed out. Go to...
Erm, as DukeNuke2 pointed out. Go to docs.sun.com: Sun Cluster 3.2 2/08 (Sun Cluster 3.2 2/08 Documentation Center) - Sun Microsystems (http://docs.sun.com/app/docs/doc/820-2562/fxjbo?a=view)

It's...
Forum: Solaris 01-22-2009
2,493
Posted By Diabolist
Only create an unprotected volume if you don't...
Only create an unprotected volume if you don't care about the data, or if it's replicated somewhere else. That's a lot of drives to run for a year without protection.

I think you're S.O.L.
...
Forum: Solaris 01-22-2009
3,854
Posted By Diabolist
We set TMOUT in /etc/profile, works fine. It's...
We set TMOUT in /etc/profile, works fine. It's not supported in every shell (ie: use autologout for csh - it's uses minutes, not seconds like TMOUT). Note: Users can override this by just doing an...
Forum: Solaris 01-21-2009
13,107
Posted By Diabolist
Mmm, I will probably be of limited help then. ...
Mmm, I will probably be of limited help then.

If you have the same config running on another host, the best suggestion I can give is compare the two. Which I'm sure you've already done now until...
Forum: Solaris 01-20-2009
5,305
Posted By Diabolist
getent hosts [hostname] This will query...
getent hosts [hostname]

This will query whatever name resolution you have configured in /etc/nsswitch.conf. ie:

getent hosts mybox
Forum: Solaris 01-20-2009
13,107
Posted By Diabolist
If you don't see the controllers with cfgadm, it...
If you don't see the controllers with cfgadm, it sounds like the solaris native driver isn't binding correctly to the HBAs.

You mention you have other T2000 systems, but are any others connected...
Forum: Solaris 01-20-2009
2,249
Posted By Diabolist
I can't help but say, that is a really odd...
I can't help but say, that is a really odd layout. Almost looks like you have disksuite configured, but only one side of a mirror? A separate /usr filesystem, but no /var? Huge assumptions here,...
5,946
Posted By Diabolist
If you're talking about sftp, then normally these...
If you're talking about sftp, then normally these account require a valid login shell. Which is bad if you're trying to restrict them to just sftp. You'll need to compile and use a tool like scponly,...
Forum: Solaris 11-18-2008
6,772
Posted By Diabolist
ungh, ok, last post. I said: "Where...
ungh, ok, last post.

I said:

"Where SUNW.i86pc is my dhtadm macro."

That should have been:

"Where SUNW.i86pc is my boot file."

Sorry :confused:
Forum: Solaris 11-18-2008
6,772
Posted By Diabolist
You aren't specifying an interface in your...
You aren't specifying an interface in your sysidcfg file are you?

I suppose I could post the macros to support my above post:

dhtadm -A -m PXEClient:Arch:00000:UNDI:002001 -d...
Forum: Solaris 11-18-2008
6,772
Posted By Diabolist
Aren't your grub menu options just out of order? ...
Aren't your grub menu options just out of order?

The directory of the grub menu will depend on how you ran the add_install_client. I usually just run a generic:

add_install_client -d SUNW.i86pc...
Forum: Solaris 11-18-2008
25,848
Posted By Diabolist
Your file and directory perms are way too open. ...
Your file and directory perms are way too open.

They shouldn't exceed 0750 for the directory, and 0640 for the files. You might want to expicitly set the owner() and group() for both the file and...
Forum: Solaris 11-18-2008
1,607
Posted By Diabolist
Sun's site shows the largest drive they provided...
Sun's site shows the largest drive they provided for it is 4.2GB, but I don't see why it couldn't support any SCA SCSI drive.

Heat is probably the main factor you have to consider.

I'm fairly...
1,643
Posted By Diabolist
You should maybe start off with teaching them...
You should maybe start off with teaching them something about security, then touch on security a bit, and end with a session on security.

:D Just kidding, but it always seems to be lacking....
3,873
Posted By Diabolist
You list the working code, but not the code...
You list the working code, but not the code that's broken :o makes it a little hard to help.

I'll provide a simplified, working, example... maybe the problem will pop out at you?

My input file...
Showing results 1 to 25 of 43

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