Friday, 4 April 2008
|
| CIS, solaris 9 and swapfiles Adirtymindisajoyforever 13:39:09 |
| | Hi all,
The CIS security advices to rename S73nfsclient when possible. We don't need nfs but have a swap file defined in /etc/vfstab, this mounting is done from the S73nfsclient script (/sbin/swapadd). The file is not added as swap. Could someone explain why this swapadd needed to get called from an nfs client script? In single user mode all works fine.
|
| | Add comment |
|
| omit prompt for Terminal Type Radje 13:33:02 |
| | Hello,
When I login (as a certain user) to a machine running Solaris 10, I get prompted for the Terminal Type:
Last login: Fri Apr 4 09:11:59 2008 from 172.16.92.163 TERM = (vt100)
After pressing enter I get the real prompt. I don't want to get this terminal type question but direct go to the prompt. Because this is causing problems for automatically login by scripts from other machines. Have can I omit this question?
Thanks in advance, Marcel
|
| | 1 answer | Add comment |
Thursday, 3 April 2008
|
| archives ?? Grant 20:05:28 |
| | Is there a site to download older versions of solaris 10 ? The sun site only has latest versions. I want older version since it might support my older hardware better.
Thanx
grant
|
| | 4 answer | Add comment |
|
| ILOM interface and NTP Guest 19:07:39 |
| | Hi All,
I need to have the system time of my SunFire x4200 (Solaris 10) server synced through NTP. But since I don't know anything about Solaris and being new to the SUN world I have to ask you a couple of questions.
Basically this server is connected to an isolated network (10.1.1.0/24) with an e1000g interface and this network cannot reach our ntp servers. So what I was planning to do is to connect the MGMT interface to an open network (10.2.2.0/24) where I can reach the corporate NTP servers. On this MGMT interface, if I am right, ILOM is running and I should be able to sync it with "set /SP/clients/ntp/ server/1 address=1.1.1.1".
So here are my doubts:
- this ntp clock update will affect the Solaris environment? - can I run a NTPd server on this Solaris having as time source ILOM or the local system time? (With this I wont to provide ntp to other servers on the isolated network) - by connecting to the network the MGMT interface, services running on the Solaris environment (i.e. httpd) will be also opened in the MGMT interface?
Thanks to everyone who could clear these doubts I have. Stef
|
| | Add comment |
|
| NFS4 showmount -a equivalent ChrisS 10:56:02 |
| | Since NFS4 client mount points don't show up in the old showmount -a command on an NFS4 server, what command or file does keep track of NFS4 client mount points?
thanks
Chris
|
| | 17 answers | Add comment |
|
| For Sale: XBOX 360, PSP, NDS Lite, Wii Modded Consoles & Retro Stuff MovieWorld 09:29:47 |
| | We're a video game specialist and wholesaler for modded consoles, retro consoles and game backups, we ship worldwide. Below are some of our offerings at wholesale prices. For any enquiries, please feel free to contact us at gamersparadisemy@gmail.com
Sony Playstation 3 - 40GB Pack (NTSC/U & NTSC/J versions available) comes with two dual shock 3 controllers and Hori cooling fan. USD 350 (with worldwide shipping)
XBOX 360 Elite (with HDMI) - 120GB Pack (NTSC/U & NTSC/J) comes with two controllers and Nyko cooling fan. Modded and able to run XBOX 360 backups, homebrew softwares and able to go online via XBOX Live. USD 400 (with worldwide shipping)
XBOX 360 Premium (with HDMI, free 2 ori games, Forza 2 and Viva Pinata) - 20GB Pack (NTSC/U & NTSC/J) comes with two controllers and Nyko cooling fan. Modded and able to run XBOX 360 backups, homebrew softwares and able to go online via XBOX Live. USD 330 (with worldwide shipping)
XBOX 360 Core (without HD cable, only composite video) - 20GB Pack (NTSC/U & NTSC/J) comes with 1 controller. Modded and able to run XBOX 360 backups, homebrew softwares and able to go online via XBOX Live. USD 260 (with worldwide shipping)
Nintendo Wii - (NTSC/U & NTSC/J) comes with two controllers and Nyko cooling fan. Modded and able to run Nintendo Wii backups and homebrew softwares. USD290 (with worldwide shipping)
Sony PS2 - (NTSC/U & NTSC/J) comes with two controllers and Nyko cooling fan. Modded and able to run PS2 backups and homebrew softwares. USD130 (with worldwide shipping)
Sony PSP with 4GB MSPD Able to run PSP backups and homebrew softwares. USD180 (with worldwide shipping)
Nintendo NDS Lite with R4 (2GB MiniSD card included) Able to run NDS backups and homebrew softwares USD180 (with worldwide shipping)
*** Remarks: All modded consoles come with 5 backups of your choice whereas for portables, they will come with 5-10 preloaded games of your choice on the memory card.
------------------------------------------------------------------------------------------------------------
XBOX 360 / Wii / PS2 Backups, USD2 each (dvd-r), USD3 each (factory pressed gold disc) - minimum order of 10 games needed.
NDS / PSP Roms USD2 per game, burnt on dvd-r, USD5 for any 3 games burnt on dvd-r
------------------------------------------------------------------------------------------------------------
Used Retro Consoles, Original Games & Backups (Please email us for the best price, we have many used retro consoles and games in stock, all in perfect condition, sourced from Shibuya, Japan)
Neo Geo Cart (Original Games Only) Neo Geo CD PSX SNES (CD Backup Machine with complete SNES roms) N64 (CD Backup Machines with complete N64 roms) Sega Saturn Sega Dreamcast Sega Megadrive Sega Game Gear (Original Games Only) Sega 32X (Original Games only) Panasonic 3DO Atari Jaguar (Original Games Only) PC Engine (Backups Only For CD Version) XBOX Gameboy Advance Gameboy Micro Atari Jaguar (Original Games Only)
Gamers Paradise Sdn. Bhd. LG 148, Sungai Wang Plaza, Jalan Bukit Bintang, 55100 Kuala Lumpur, Malaysia gamersparadisemy@gmail.com
|
| | 2 answer | Add comment |
|
| hostname or else? Ela 04:57:16 |
| | i connect to a remote machine called 123.456.789.12 and would like to display as machine1 instead of the long IP. After reading hostname usage and testing for many times I still fail to do that despite I'm a root. is that due to DNS restriction or some other commands I should use? Thanks for your advice~
|
| | 2 answer | Add comment |
|
| unix mail not working for special character : Owen Zhang 02:01:09 |
| | I have a problem send message with special character ":". When I started a email by typing "mail helpownen@jennifer dai", I created the following message body.
mytest:mytest123
The message I received is an empty message. After I modified the message body as the following,
mytest\:mytest123
I still receive any empty message. After I deleted ":", I started to receive the message with right message body. Do you know how to deal with ":" in message body?
|
| | 1 answer | Add comment |
Wednesday, 2 April 2008
|
| Cannot run webserver setup Jim 22:56:42 |
| | I've gone thru the preconfig OS for a T2000 and a T1000, set up a user, and loaded 10_Recommended
I then added Sun WebServer 7.0: sjsws-7_0u2-solaris-amd64.tar Extracted the tar: tar -xvf sjs*
I then try to run "setup"
On both the T2000 and T1000, I get this:
root@dog # ./setup --console ./setup: cannot execute
I have recently loaded the WebServer on two X4200 without any problems.
So why doesn't this execute?
Thanks!
T1000 /opt directory root@dog # ls -la total 438128 drwxr-xr-x 13 root other 512 Dec 9 09:29 . drwxr-xr-x 25 root root 512 Apr 2 10:01 .. drwxr-xr-x 2 root other 512 Dec 9 07:47 Legal -rw-r--r-- 1 root other 708 Dec 9 07:47 README.txt drwxr-xr-x 7 root sys 512 Apr 30 2007 SUNW0scgfss drwxr-xr-x 3 root bin 512 Apr 30 2007 SUNWits drwxr-xr-x 4 root bin 512 Apr 30 2007 SUNWmlib drwxr-xr-x 5 root sys 512 Apr 30 2007 SUNWrtvc drwxr-xr-x 15 root sys 512 Apr 30 2007 SUNWspro drwxr-xr-x 5 root bin 512 Apr 30 2007 SUNWvts drwxr-xr-x 3 root other 512 Dec 9 09:48 WebServer drwxr-xr-x 9 root sys 512 Apr 30 2007 gcc drwxr-xr-x 3 root sys 512 Apr 30 2007 netbeans -rwxr-xr-x 1 root other 26620 Dec 9 07:47 setup -rw-r--r-- 1 root other 224153600 Apr 2 10:25 sjsws-7_0u2- solaris-amd64.tar drwxr-xr-x 3 root root 512 Apr 30 2007 sun
|
| | 1 answer | Add comment |
|
| using pipe in shell script Ela 21:47:51 |
| | Dear all,
I found I cannot use a variable name as the input of the command "cat" followed by piping the result. Could any body tell me how to solve the problem?
cat $filename |\ while read line do echo "$line read from $filename" done
|
| | 4 answer | Add comment |
|
| Force a service into offline mode Michael Schmarck 18:16:14 |
| | Hello.
This morning, I noticed the following:
,----[ non functional oracle service ] | --($:/opt/apps/Teamcenter/tcpre51/software.6/logs)-- svcs -a | grep \* | offline* 3:43:55 svc:/application/oracle/database:RACE002 | | --($:/opt/apps/Teamcenter/tcpre51/software.6/logs)-- svcs -xv svc:/application/oracle/database:RACE002 | svc:/application/oracle/database:RACE002 (Oracle database) | State: offline since 8. Januar 2008 03:43:55 CET | Reason: Start method is running. | See: http://sun.com/msg/SMF-8000-C4 | See: man -M /usr/share/man -s 5 ora-smf | See: /var/svc/log/application-oracle-database:RACE002.log | Impact: This service is not running. | | --($:/opt/apps/Teamcenter/tcpre51/software.6/logs)-- tail /var/svc/log/application-oracle-database:RACE002.log | database RACE002 is OPEN. | [ Jan 7 03:41:45 Method "start" exited with status 0 ] | [ Jan 8 03:42:52 Stopping because service disabled. ] | [ Jan 8 03:42:52 Executing stop method ("/lib/svc/method/ora-smf stop database RACE002") ] | Database closed. | Database dismounted. | ORACLE instance shut down. | [ Jan 8 03:43:00 Method "stop" exited with status 0 ] | [ Jan 8 03:43:54 Enabled. ] | [ Jan 8 03:43:55 Executing start method ("/lib/svc/method/ora-smf start database RACE002") ] | | --($:~)-- LC_ALL=C date | Tue Jan 8 07:52:52 CET 2008 `----
This means, that the oracle/database service for instance RACE002 did not come up - the "Start method is running" all the time since about 4am until now.
What can I do, to force the service "svc:/application/oracle/database:RACE002" into offline mode? I tried running
svcadm disable svc:/application/oracle/database:RACE002
But this did not seem to have any effect, whatsoever.
Thanks a lot, Michael
|
| | 3 answer | Add comment |
|
| pfexec - Combining profiles and auths does not work Michael Schmarck 16:24:37 |
| | Hello.
As noted in <news:1385912.HgAgHZWx1O@schmarck.cn>, I'm looking for a way to allow a group of users to manage a service. In doing so, I played with pfexec and found something, which I don't understand.
In /etc/user_attr, I've got:
mike::::type=normal;profiles=RACE Beta Management racebeta::::type=normal;auths=solaris.smf.manage.teamcenter/beta
In /etc/security/exec_attr, I added:
RACE Beta Management:solaris:cmd:::/usr/sbin/svcadm:uid=636
(uid 636=racebeta)
The racebeta user is able to do "svcadm disable teamcenter:beta".
Now, as user "mike", I tried to use pfexec. But:
$ /usr/bin/pfexec /usr/sbin/svcadm restart svc:/application/teamcenter:beta svcadm: svc:/application/teamcenter:beta: Permission denied.
I thought that this should work, as mike has "RACE Beta Management" as one of the profiles listed in /etc/user_attr and RACE Beta Management has as one of it's command (cmd) entries /usr/sbin/svcadm, which is to be run with the uid (and euid) 636 (ie. racebeta).
Why does this not work? Why does pfexec not pick up the authorization names from /etc/user_attr?
When I add
mike::::type=normal;auths=solaris.smf.manage.teamcenter/beta
to /etc/user_attr, mike can run the svcadm command just fine (the command that failed as shown further up).
Thanks, Michael
|
| | Add comment |
|
| Cannot open "Users" tool in SMC Michael Schmarck 13:28:45 |
| | Hello.
I started SMC for the first time on this Solaris 10 U4 box. When I go to "This Computer" -> "System Configuration" -> "Users", I'm prompted for login information and I enter root & root-password. But then I am denied access: "Authorization failed to the Solaris Management Console server while attempting to load the specfied tool.".
Other tools, like "System Configuration" -> "Computers and Networks", work just fine.
What needs to be done, so that the Users tool in SMC works? Sadly, there seems to be no logging reg. this "issue" - neither in the syslog nor anywhere else.
This is a Solaris 10 U4 sparc system with up-to-date patches (thanks to Martin's great pca tool!).
Thanks for your time,
Michael
|
| | Add comment |
|
| Sun Studio doesn't install either (was Re: Solaris vs Linux vs
FreeBSD on SPARC Machine (was: Re: Mike3 13:01:12 |
| | Well, I tried installing Sun Studio as was suggested but that didn't work either. The installer failed with this:
--- # ./batch_installer --accept-sla Usage: dirname [ path ] Java Accessibility Bridge for GNOME loaded.
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
The following requested patches have packages not installed on the system Package SPROcpl from directory SPROcpl in patch 124864-01 is not installed on the system. Changes for package SPROcpl will not be applied to the system. Package SPROcplx from directory SPROcplx in patch 124864-01 is not installed on the system. Changes for package SPROcplx will not be applied to the system. Package SPROmrcpl from directory SPROmrcpl in patch 124864-01 is not installed on the system. Changes for package SPROmrcpl will not be applied to the system. Package SPROscl from directory SPROscl in patch 124864-01 is not installed on the system. Changes for package SPROscl will not be applied to the system. Package SPROsclx from directory SPROsclx in patch 124864-01 is not installed on the system. Changes for package SPROsclx will not be applied to the system. Package SPROstl4h from directory SPROstl4h in patch 124864-01 is not installed on the system. Changes for package SPROstl4h will not be applied to the system. Package SPROstl4a from directory SPROstl4a in patch 124864-01 is not installed on the system. Changes for package SPROstl4a will not be applied to the system. Package SPROstl4o from directory SPROstl4o in patch 124864-01 is not installed on the system. Changes for package SPROstl4o will not be applied to the system. Package SPROstl4x from directory SPROstl4x in patch 124864-01 is not installed on the system. Changes for package SPROstl4x will not be applied to the system. Package SPROstl4y from directory SPROstl4y in patch 124864-01 is not installed on the system. Changes for package SPROstl4y will not be applied to the system.
Checking patches that you specified for installation.
Done!
The following requested patches will not be installed because the packages they patch are not installed on this system.
0 Packages from patch 124864-01 are not installed on the system.
No patches to install.
Installation failed: cleanup successful. ---
Trying to run "./prepare_system" before this gave:
--- # ./prepare_system -C Usage: dirname [ path ] The following steps are required: netbeans # ./prepare_system -s netbeans Usage: dirname [ path ] invalid media for preparation. You may only check your system with this script. ---
?!
What does that mean? Invalid media? I thought this was a full download!
|
| | 2 answer | Add comment |
|
| reusing the wheel Ela 12:09:48 |
| | From Google search, I locate
http://www.sap-img.com/oracle-database/shell-script-to-dynamically-generate-init-ora-file.htm
to
Dynamically Generate a File
However it seems that it is not a usual shell script. How should i modify it? I've already finished the "for" part and I only need to know the particular part for dynamically generating files with unique names like:
name: file_30_50
1 db_30_50 1
X
X
name: file_30_70 1 db_30_70 1
X
X
name: file_50_50 1 db_50_50 1
X
X
name: file_50_70 1 db_50_70 1
X
X
|
| | Add comment |
|
| www.sun.ca not working Michelle 10:33:03 |
| | Is it just me, or is www.sun.ca not work now.
Dang, their sites suck for availability.
|
| | 2 answer | Add comment |
|
| Re: How accurate will Sun clock be over 4 hours? Rick Jones 10:12:42 |
| | In comp.sys.sun.hardware Dave <foo@coo.com> wrote:
That is a possibility. I have one of these
which is a rubidium oscillator. I could get another and sync them both to GPS. A bit more complexity than I wanted, but it might be necessary. Nah, just get yourself one of these watches
http://www.leapsecond.com/pages/atomic-bill/
Then you can simply walk the time from one setup to the other.
rick jones -- Process shall set you free from the need for rational thought. these opinions are mine, all mine; HP might not want them anyway... feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
|
| | 3 answer | Add comment |
|
| Re: Solaris vs Linux vs FreeBSD on SPARC Machine (was: Re: Was: More
FreeBSD Problems! Graphics a Mike3 06:44:50 |
| | On Mar 31, 2:33 am, Dave Uhring <daveuhr...@yahoo.com> wrote:
On Mon, 31 Mar 2008 01:15:14 -0700, mike3 wrote: checking whether the GNU Fortran compiler is working... no configure: error: GNU Fortran is not working; the most common reason for that is that you might have linked it to shared GMP and/or MPFR libraries, and not set LD_LIBRARY_PATH accordingly. If you suspect any attaching /home/sgc-programming/gcc-build-4.2.3/i386-pc-solaris2.10/ So apparently I _DO_ have to set LD_LIBRARY_PATH. Looking in /home/sgc-programming/gcc-build-4.2.3/i386-pc-solaris2.10/libgfortran/ Bzzzzzt! I did tell you that you must use the -L/path_to/lib and -R/path_to/lib in your LDFLAGS. Example: export LDFLAGS='-L/usr/local/lib -R/usr/local/lib' iff the gmp and mpfr libs are in /usr/local/lib. You do this *before* running the configure script. Do NOT set LD_LIBRARY_PATH, *ever*!! Oh, OK. But what about the what I thought was a BUG I discovered in GCC, the one with the error "error: size of array 'test' is negative"?
Looking at the code snippet, I'd say there seems to be a mismatch between the size of one of the types tested and the expected value. Could this be another 32/64 incompatibility issue? (I know some types change length when going from 32 to 64, for example, "long" becomes 64 bits long on a 64-bit machine while it's 32 bits long on a 32-bit machine, and pointers undergo a similar inflation.) I noticed the darned thing was still trying to include "-m64" in it's compile even though CFLAGS was set to -m32 and nothing else!
|
| | 21 answer | Add comment |
|
| start script not working on solaris 10 Inetquestion 02:16:32 |
| | I've been using a variant of the script below on solaris 8 and 9 without issue. When I tried to move the script over to a solaris 10 server it now gives an error about line 18. The problem is there is no line 18... Is there something inherently wrong with this that will not work on solaris 10? If I change the format to be:
su - USERNAME -c somecommand
it will work fine...just wanted to see why the other format now craps out...
-Inet
#!/bin/sh
case "$1" in
'start') su - USERNAME <<-'@@' echo "Starting ..." somecommand & @@ ;; 'stop') su - USERNAME <<-'@@' echo "Stopping ..." somecommand & @@ ;; esac
|
| | 2 answer | Add comment |
Tuesday, 1 April 2008
|
| RAID email notification Brad 21:01:18 |
| | Hi,
Does anyone know how to set up email alerts/event notification for a Sun Storedge 3310 hooked up to a server running Solaris 10? It is built as a RAID 5 with 2 spares.
Thanks.
|
| | Add comment |
|
| / full system Happytoday 17:26:56 |
| | I can not mount any devices using volume management becuase of root full system . Please guide me how to exceed the space of root or empty some of its space.
# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c1d0s0 4391670 4294028 53726 99% / /devices 0 0 0 0% /devices ctfs 0 0 0 0% /system/ contract proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab swap 665588 728 664860 1% /etc/svc/ volatile objfs 0 0 0 0% /system/object /usr/lib/libc/libc_hwcap1.so.1 4391670 4294028 53726 99% /lib/libc.so.1 fd 0 0 0 0% /dev/fd swap 664936 76 664860 1% /tmp swap 664892 32 664860 1% /var/run /dev/dsk/c1d0s7 127237310 1017608 124947329 1% /export/ home
# uname -a SunOS xerox 5.10 Generic_118855-33 i86pc i386 i86pc # ls Desktop cdrom export mnt rmdisk var Documents dev home net sbin vol TT_DB devices kernel opt system bin etc lib platform tmp boot evolution lost+found proc usr #
|
| | 24 answer | Add comment |
|
| Java Web Console completely empty Michael Schmarck 16:55:09 |
| | Hello.
On a Solaris 10 system which has been upgraded from U2 to U4 some time ago, I now started the webconsole for the first time. After doing a login to https://host:6789/ as root, I only see this:
You Do Not Have Access to Any Application No application is registered with this Sun Java(TM) Web Console, or you have no rights to use any applications that are registered. See your system administrator for assistance.
I'm seeing myself right now
I guess I need to register some applications. Where would I find those applications? I remember that during a Solaris 10 training, we were shown the webconsole and were able to do ZFS stuff from there. And I think there were some more things in the webconsole as well.
I google'd the error message I posted above and found basically only other post which dealt with smcwebserver at http://www.osdir.com/ml/os.solaris.opensolaris.zfs/2006-05/msg00438.html There, the guy did:
smreg add -a /usr/share/webconsole/zfs
I don't have a "zfs" (directory, I presume) in /usr/share/webconsole. There's:
--($:~)-- ls -la /usr/share/webconsole/ total 14 drwxr-xr-x 11 root bin 512 Mrz 27 15:10 . drwxr-xr-x 107 root sys 2560 Mrz 27 15:10 .. drwxr-xr-x 2 root bin 512 Mrz 27 15:10 bin lrwxrwxrwx 1 root root 52 Mrz 27 15:10 com_sun_web_ui -> ../../../usr/share/webconsole/webapps/com_sun_web_ui drwxr-xr-x 3 root bin 512 Mrz 27 15:10 docs drwxr-xr-x 2 root bin 512 Mrz 27 15:10 lib drwxr-xr-x 2 root bin 512 Mrz 27 15:10 locale drwxr-xr-x 3 root bin 512 Mrz 27 15:10 man drwxr-xr-x 2 root bin 512 Mrz 27 15:10 other drwxr-xr-x 9 root bin 512 Mrz 27 15:10 private drwxr-xr-x 2 root bin 512 Mrz 27 15:10 templates -r--r--r-- 1 root bin 5 Jun 3 2007 version.txt drwxr-xr-x 4 root bin 512 Mrz 27 15:10 webapps --($:~)-- cat /usr/share/webconsole/version.txt ; echo 3.0.3
Could somebody please tell me, what packages I seem to be missing? I can provide a pkginfo and/or showrev list, if needed. And if someone could please also post a good "wcadmin list" from a working Solaris 10 system with smcwebserver, that would be real great!
$ sudo /usr/sbin/wcadmin list Deployed web applications (application name, context name, status): console ROOT [running] console com_sun_web_ui [running] console console [running] console manager [running] Registered jar files (application name, identifier, path): console audit_jar /usr/lib/audit/Audit.jar console console_jars /usr/share/webconsole/lib/*.jar console jato_jar /usr/share/lib/jato/jato.jar console javahelp_jar /usr/jdk/packages/javax.help-2.0/lib/*.jar console shared_jars /usr/share/webconsole/private/container/shared/lib/*.jar Registered login modules (application name, service name, identifier): console ConsoleLogin userlogin console ConsoleLogin rolelogin No shared service properties.
$ sudo smreg list
Warning: smreg is obsolete and is preserved only for compatibility with legacy console applications. Use wcadmin instead.
Type "man wcadmin" or "wcadmin --help" for more information.
No plugin applications have been registered.
No jar files have been registered.
No login modules have been registered.
The list of registered server configuration properties:
session.timeout.value=15 com.sun.web.ui.v3.uploadfilter.maxfilesize=-1 authentication.login.cliservice=ConsoleLogin logging.default.handler=com.sun.management.services.logging.ConsoleSyslogHandler logging.default.level=info logging.default.resource=com.sun.management.services.logging.resources.Resources logging.default.filter=none logging.debug.level=off audit.default.type=Solaris audit.Solaris.class=com.sun.management.services.audit.SolarisAuditSession audit.None.class=com.sun.management.services.audit.LogAuditSession audit.Log.class=com.sun.management.services.audit.LogAuditSession audit.class.fail=none authorization.default.type=SolarisRbac authorization.SolarisRbac.class=com.sun.management.services.authorization.SolarisRbacAuthorizationService authorization.PrincipalType.class=com.sun.management.services.authorization.PrincipalTypeAuthorizationService debug.trace.level=0 debug.trace.options=m debug.trace.maxsize=5 debug.trace.maxfiles=5 debug.trace.stacksize=10 category.name.1=Systems category.name.2=Desktop Applications category.name.3=Storage category.name.4=Other category.name.5=Services
Thanks a lot for your time, Michael
|
| | 1 answer | Add comment |
|
| tap, tun, brdgadm and VirtualBox? Frank Tarczynski 15:27:51 |
| | Has anyone managed to get host interface networking working with S10X86 and VirtualBox?
I'm using the tap/tun and brdg drivers from http://www.whiteboard.ne.jp/~admin2/tuntap/ with VirtualBox v1.5.51 without much luck.
Anyone got this working?
Frank
|
| | Add comment |
|
| rm and unlink vs stat Rex Mottram 15:05:01 |
| | This is maybe not the most critical issue in the world but I find it interesting and am wondering if anyone has historical knowledge or an informed opinion: while debugging another problem I noticed that the Solaris and GNU/Linux 'rm' programs do something differently. If I run (say):
% rm -f *.o
on Linux it will simply issue an unlink() system call for each file on the command line and (ignoring return codes due to the -f flag) return. Solaris rm, however, does a stat() of each named file and unlinks it only if stat says it exists.
It seems to me the GNU behavior is smarter since it will result in N system calls for N arguments, whereas Solaris will make somewhere between N and 2N. Not to mention the potential race condition between stat and unlink, although wouldn't be technically a bug since I don't believe POSIX makes any guarantees about what happens if another process or thread creates a file while rm is running.
This analysis is all via truss, BTW - I have not read the source code. Anyway, is there a reason for Sun rm to do the apparently superfluous stat?
TIA, RM
|
| | 3 answer | Add comment |
|
| Automated SysAdmin; Dot Files; HP-UX porting (ver: Aug 1, 2006) Mike Peterson 09:00:01 |
| | The automated system administration scripts, which are copies of the scripts in active use on our Solaris 2.X, Linux (RedHat and Mandrake), SGI IRIX 6.X, and FreeBSD 5.X systems; they also were used on SunOS 4.1.X, HP (HP-UX 9.X), SGI (IRIX 5.X). They are available as files 'autoadmin.shar.*' from URL: http://www.noc.utoronto.ca/~mikep/unix/ (Note: these files were last updated Aug 1, 2006).
The dot file scripts, which are copies of the .cshrc / .login / .profile / etc scripts in active use on our Solaris 2.X, Linux (RedHat and Mandrake), SGI IRIX 6.X, and FreeBSD 5.X systems; they also were used on SunOS 4.1.X, HP (HP-UX 9.X), SGI (IRIX 5.X). They are available as files 'dotfiles.shar.*' from URL: http://www.noc.utoronto.ca/~mikep/unix/ (Note: these files were last updated Aug 1, 2006).
The BSD to HP-UX porting tricks, a set of notes and helpful C routines for porting programs to HP-UX, are available from URL: http://www.noc.utoronto.ca/~mikep/unix/HPTRICKS This file also contains a driver program and functions to obtain the load average on a wide variety of systems, including HP-UX, IRIX, SunOS, Solaris, DEC OSF, Stardent(!), and even for systems with no /dev/kmem access (or if you can't get your program to be setgid to the "kmem" group because you do not have 'root' access). (Note: this file was last updated Jun 16, 1999). -- Office Door Sign of the Week: Mike Peterson Incorrigible punster -- Do not incorrige. U/T Network Security E-mail: mikep@noc.utoronto.ca Tel: 416-978-5230 WWW: http://www.noc.utoronto.ca/~mikep/ Fax: 416-971-1362
|
| | 15 answers | Add comment |
|