Search Results

Search: Posts Made By: vimes
Forum: Solaris 02-09-2009
11,226
Posted By vimes
Is that shell code you're writing? Anyway,...
Is that shell code you're writing?

Anyway, getfacl doesn't work on ZFS filesystems.


File system doesn't support aclent_t style ACL's.
See acl(5) for more information on Solaris ACL support....
Forum: Solaris 02-04-2009
18,085
Posted By vimes
That's normal. 192.168.35.210 is not in the range...
That's normal. 192.168.35.210 is not in the range 192.168.1.0/255.255.255.0.


$ ipcalc 192.168.1.0/255.255.255.0
Address: 192.168.1.0 11000000.10101000.00000001. 00000000
Netmask: ...
Forum: Solaris 02-04-2009
17,180
Posted By vimes
You can't do it with ZFS I think. Rather you need...
You can't do it with ZFS I think. Rather you need to add another LUN to the zpool.
Forum: Solaris 02-04-2009
11,226
Posted By vimes
Export/import ZFS ACL's
I've been wondering about this one, is there any way to do the following with ZFS ACL's (i.e. "copy" the ACL over to another file)?

getfacl /bla/dir1 | setfacl -f - /bla/dir2

I know about...
Forum: Solaris 11-07-2008
117,818
Posted By vimes
Try netcat (http://netcat.sourceforge.net/). ...
Try netcat (http://netcat.sourceforge.net/).

I think you can do:


nc -zu <ip> <udpport>
Forum: Solaris 11-07-2008
14,493
Posted By vimes
I'm not sure... Is it only slow when...
I'm not sure...

Is it only slow when connecting and after that it's fast? Or are all the commands slow for that user, even after you're connected?
Forum: Solaris 11-07-2008
8,757
Posted By vimes
Can you compare /etc/hosts on both WS? Also,...
Can you compare /etc/hosts on both WS?
Also, compare the sendmail configs...
Forum: Solaris 11-06-2008
60,762
Posted By vimes
I think you can specify a range to delete. Like...
I think you can specify a range to delete.
Like if you have 14020 mails, you could delete 14000:


mailx -N
> d 1-14000
> q


Or something like that. Do a search on the forum, there a few...
Forum: Solaris 11-06-2008
8,757
Posted By vimes
The quick (wrong) way: Edit...
The quick (wrong) way:
Edit /etc/mail/sendmail.cf and replace the line that starts with "DS" with "DSmail.foo.com". Then restart sendmail.

The good way:
You'll have to edit the .mc file and...
Forum: Solaris 11-06-2008
60,762
Posted By vimes
This will delete all mail for user root: cat...
This will delete all mail for user root:

cat /dev/null > /var/mail/root
Forum: Solaris 11-06-2008
14,493
Posted By vimes
Try "su - oramach" as root and see if it takes a...
Try "su - oramach" as root and see if it takes a long time as well?

Might be something in the .profile for your oracle user or so...
Forum: Solaris 11-06-2008
8,757
Posted By vimes
Check the connectivity from the workstation to...
Check the connectivity from the workstation to your mailserver.


ping mailserver.foo.com
telnet mailserver.foo.com 25
Forum: Solaris 11-06-2008
3,562
Posted By vimes
Not sure why the system assigned them in that...
Not sure why the system assigned them in that order, but to solve it read man path_to_inst ;)



So, you can change /etc/path_to_inst, then do: touch /reconfigure; init 6.
Forum: Solaris 11-06-2008
3,970
Posted By vimes
Hello, Can you post "swap -s"...
Hello,

Can you post "swap -s" output?
Forum: Solaris 11-06-2008
24,354
Posted By vimes
This is quite an interesting subject. We've been...
This is quite an interesting subject. We've been exploring our possibilities with this as well. You definitely want to look into the detach/attach mechanism. Cloning isn't useful here, since you...
Forum: Solaris 10-30-2008
125,178
Posted By vimes
Thanks both. :b:
Thanks both. :b:
Forum: Solaris 10-30-2008
125,178
Posted By vimes
Thanks radoulov, I forgot about good ol' LSOF....
Thanks radoulov, I forgot about good ol' LSOF. It's not there, but I'll just install it on the machine. We've not been using lsof lately, since most of our machines are Solaris 10 now and it doesn't...
Forum: Solaris 10-30-2008
125,178
Posted By vimes
List TCP ports with process
Hello,

One of our developers is asking for a command/script in Solaris similar to "netstat -anp" in Linux. He gave this output as an example:


root@xxx:~# netstat -anp | grep LISTEN
tcp ...
Forum: Solaris 10-29-2008
15,559
Posted By vimes
Found this on SILO: Linux Online -...
Found this on SILO:

Linux Online - SPARC-HOWTO.: SILO. (http://www.linux.org/docs/ldp/howto/SPARC-HOWTO-17.html)
Forum: Solaris 10-29-2008
7,632
Posted By vimes
Please post the output of "ifconfig ce0" in the...
Please post the output of "ifconfig ce0" in the global zone. It's probably not plumbed or doesn't have an IP address. Since you're sharing the NIC with the global zone it should be UP and have an IP...
Forum: Solaris 10-28-2008
24,399
Posted By vimes
Won't that actually execute every minute for the...
Won't that actually execute every minute for the hours you specified?
00:00
00:01
00:02
00:03
..
00:59
05:00
05:01
...
etc.
4,176
Posted By vimes
Hello. I know this isn't really what you...
Hello.

I know this isn't really what you asked for, but it might be easier (less frustrating) to do something like that in Perl:


#!/usr/bin/env perl

my @output = `df -k / 2>&1`;
if ( $?...
Forum: Solaris 10-24-2008
7,099
Posted By vimes
Like everyone said, it depends on the...
Like everyone said, it depends on the application.

But here are two ideas:
- Just firewall the connections you don't want to allow. Even better, firewall everything and just allow what you want....
4,854
Posted By vimes
Hello, I advise you read man test. It will...
Hello,

I advise you read man test. It will help you a lot.

The error on line 8 is because your if statement is not valid.
You can't do the -2 inside the if statement. Also to check numbers you...
2,599
Posted By vimes
Several ways to do that. For example, have a look...
Several ways to do that. For example, have a look at "grep -c". Check the manpage if needed. It returns the number of matches found by grep. If you put that in a var, you can then check the var in...
Showing results 1 to 25 of 46

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