Web access in a Bash script

622 byte By susee_sun@yahoo.co.in at 2007-11-26 10:32:10
Hi Gurus,I am coming with a lot of Queries now a days..Hope i am not handicapped with you all..I want to access a site from my script and copy the content of it into a fileHere is the site details , http://146.101.166.250/otc2000/xml/flights/FlightXML.asp?SiteId=125&BaseUrl ...

Replacing a pattern in a file

432 byte By susee_sun@yahoo.co.in at 2007-11-26 10:32:19
Hi.,In my file I want to replace the occurance of the VARIABLE_1 with VARIABLE_2 in a particular line..HERE is the Example:# sed -e 's/multimediaGroup type="media" dbid=$a/multimediaGroup type="media" dbid=$b /' abc>abc.newhere I am replacing the $a with $b But it is not working..It is not ...

set limitpriv option missing with zonecfg command

597 byte By mukunds at 2007-11-26 10:32:56
Hello All,I was evaluating solaris 10 for our environment. Recently i downloaded solaris10 update-2 and installed it on ultra60 box. But to my surprise, the set limitpriv option was missing when i tried to set dtrace, net_rawaccess privilages, though its clearly given in the official ...

Can't load module

3128 byte By MileHigh at 2007-11-26 10:33:06
I am a newbie trying to configure an on board NIC (Rhine-II) on Solaris 10.I have downloaded the driver from http://homepage2.nifty.com/mrym3/taiyodo/eng/vfe-2.3.1.tar.gzand followed the steps in the readme. However, when I try to load themodule, modlod reports it cannot find the file. ...

tree removal issue with zfs on Blade 1500/PC rack server IDE disk

1768 byte By s.urbat at 2007-11-26 10:34:02
All systems tested are current as of beginning of the week I wrote this (patch state).I have observed the following issue: when I try to remove with rm -rf dira whole directory tree named dir, only the regular files will be removed on Solaris 10 u2 (2006/06) when doing so on a ZFS file system ...

Too much ARP for a zone

2227 byte By rygoff at 2007-11-26 10:34:08
Hello all, Sitting in a container, I still can guess the IP and MAC addresses of all active NICson the physical box, as well as grasp some information of it's peers.Is it a feature? :-)Then, I should have a choiсe to switch it off, shouldn't I?Thanks,Andrei [Connected to zone 'smbd' ...

Boot cd rom from lom>

252 byte By mattias_westerberg at 2007-11-26 10:34:09
Hello!I have a problem with a server. Something is wrong so that i can not get to the ok prompt to boot from the cd. Is it possible to boot from the cd rom from the lom> prompt?Or any sugestions how to solve this in another way?

NIC drivers

121 byte By suntech76 at 2007-11-26 10:34:53
Where do i look for drivers for my NIC.I installed the OS but the drivers are not installed.. what do i do.

zonecfg add file system

934 byte By simquest at 2007-11-26 10:35:58
Look my config, when i log to the zone dbsrv,i dont see my file system "/FCI". Do you know what is the problem ? zonecfg -z dbsrvzonecfg:testzone> add fs zonecfg:testzone:fs> set dir=/FCI zonecfg:testzone:fs> set special=/dev/dsk/c2t0d0s0 zonecfg:testzone:fs> set ...

Permission denied

677 byte By susee_sun@yahoo.co.in at 2007-11-26 10:37:22
Hi,I am facing a peculiar problem in my solaris server running on solaris10.I am having a full permission on my home folder I am able to create files by using touch & by > operator tool.But when I go for editing the file i am getting the error "permission denied".Here I attached the ...

Unable to Qualify My own Domain name

410 byte By susee_sun@yahoo.co.in at 2007-11-26 10:37:25
Hi ,From yesterday I start getting the error message from my Solaris10 server.ERROR:# Oct 6 14:11:06 nibappsun08 sendmail[9825]: [ID 702911 mail.alert] unable to qualify my own domain name (nibappsun08) -- using short nameCan anybody share me the reason why it is and how can i get rid of this ...

Restarting the ssh services

333 byte By susee_sun@yahoo.co.in at 2007-11-26 10:37:28
Hi,How can I restart the ssh services in my solaris10 Sparc server.I made changes in the /etc/ssh/sshd_config file.For the changes to take effect I need to restart the ssh services , which script I need to stop & how can I restart the service...RegardsSuseendran . ...

can solaris work on virtual machine ?

235 byte By GEOPHYSICIST at 2007-11-26 10:38:38
i downloaded the iso files of solaris 10 for x86.i used to check my cd first on VMware but unfortunately i get always the message that no bootable cd.can solaris work in virtual machine environment?thank you

Please help!?

1425 byte By Ewen.Chan at 2007-11-26 10:38:42
a couple of questions:As some of you may have seen, I've been having a little bit of problems with ZFS lately. http://www.opensolaris.org/jive/thread.jspa?messageID=62919&#62919And I don't know what to do.I am at a point where I can't sleep because I am thinking about it and trying to ...

How to access the Console of remote servers

327 byte By susee_sun@yahoo.co.in at 2007-11-26 10:38:55
Hi,We are maintaining the Sun Sparc servers in remote and we are using ssh & Telnet to accesss the servers.How can we access the consoIe of the remote servers for some administration activities like resetting the password .., Rebooting a Hung system etc..Thanks & regardsSuseendran ...

Dual CPU message log

1209 byte By fire-fly at 2007-11-26 10:39:02
HiI need some help in the /var/adm/messages on a Solaris10 machine with Dual CPU.The messages are:-Oct 5 10:11:58 p2ps01 unix: [ID 950921 kern.info] cpu1: UltraSPARC-IIIi (portid 1 impl 0x16 ver 0x34 clock 1503 MHz)Oct 5 10:11:59 p2ps01 unix: [ID 950921 kern.info] cpu0: UltraSPARC-IIIi (portid ...

Configuring Virtual IP address

642 byte By susee_sun@yahoo.co.in at 2007-11-26 10:39:24
Hi ,I want to configure a virtual IP address to my network InterfaceCan anybody guide me the steps that I need to do to do the sameThe Virtual IP-10.210.7.242 , Mask-255.255.255.0The current output of ifconfig -a is follows,bash-2.05# ifconfig -alo0: ...

how to determine which services are monitored by SMF

181 byte By shiv_1982 at 2007-11-26 10:39:47
on solaris 10 the new feture of SMF monitors services. How can we determin which services are currently monitored in our box...is there any command lile "svcs" with an option

Unprivileged users can't connect via ssh

304 byte By Mobiwan at 2007-11-26 10:39:48
Strange things are happening on my new Solaris 10 installation. I simply can't get it to accept ssh logins from unpriviledged users. While PermitRootLogin yes enables access for root without problem, no other account works. Anyone an idea how to change this?!Thanks, ...

TCP wrapper & OpenSSH

307 byte By ripnix at 2007-11-26 10:39:56
Hello all,i want to use TCP wrapper, but first i need to check if its in the system or not, if ssh is configured with it or nothow can i find out if i have TCP wrapper on my system (Solaris 10)and if OpenSSH is compiled with the --with-tcp-wrappers optionBR,RIP ...

volfs/vold problems after upgrade from 1/06 to 6/06

716 byte By monolith at 2007-11-26 10:40:03
I noticed in the 6/06 "What's new" notes, volfs/vold is now handled by SMF. However, after my upgrade, my console was spamming:Oct 9 05:56:11 server2 /usr/sbin/vold[1501]: [ID 159315 daemon.error] vol_init: already a daemon runningI'm assuming that vold had already been started by a legacy ...

boot device & zfs

230 byte By nzirdos at 2007-11-26 10:40:31
Hi,Are there any plans (or even a time-line?) to make zfs usableon the boot-device? Or should we stick with a few UFS slices onthe primary RAID-1 and use ZFS only for data on other devices?Cheers

Help Required: Moving a Non Global Zone . . .

660 byte By wmz at 2007-11-26 10:40:32
I am trying to move a non global zone using Solaris 10 6/06 . . . # zoneadm -z testzone move /zones/newpath/testzone/this happens . . .usage: zoneadm helpzoneadm [-z <zone>] listzoneadm -z <zone> <subcommand>Subcommands:helpboot [-s]haltreadyrebootlist ...

Oracle related - On Solaris 10

2720 byte By ashrafkt at 2007-11-26 10:40:45
Hi, I face problem while installing SAP Solution Manager 4.0/ Oracle 10.2.0.2 on Solaris 10.SAP experts say it is an OS related problem.The relevent portions of log is given below. Please help to solve this. sapinst.log ############ ERROR 2006-10-05 16:50:18 CJS-00084 SQL statement or script ...

Sun Fire v490 / Solaris 9 booting from CD, Network problems

1128 byte By Kevin_N at 2007-11-26 10:40:52
Hi Folks,I have built a custom bootable CD ROM based on the Solaris 9 installation disk.When I boot my Sun Fire v490 from this I have problems with the network.Part of the boot process calls a script which in turn makes the following callifconfig ce0 10.4.20.20 netmask 255.255.0.0 upHowever ...

Background and forking process from SMF

1444 byte By mAbrante at 2007-11-26 10:42:39
Hello all,this might be a stupid question, but i haven't find any clear answer, possibly since its difficult to find any good keywords to feed into a searchengine.I started to write manifests for the local processes that i'm running on my server, however i got into some problems with certain ...

metaset autotake feature

802 byte By Tom_Tiger at 2007-11-26 10:42:41
I try to enablel autotake on a diskset, so i am able to mount the metadevices in /etc/vfstab.It seems to be working except I get a 1 as exit code;root@myhost_a:/etc # metaset -s myhost_ads -A enablemetaset: myhost_a: myhost_ads: diskset is auto-take; cannot accept additional ...

How unencapsulate rootdisk under vxvm with solaris10

633 byte By diego_giovanelli at 2007-11-26 10:43:00
Hi, I know how unencapsulate rootdisk under vxvm for solaris 2.6 .27.2.8 and 2.9 .. this is the step : a) recreate all physical partiont on disk-drive b) modify /etc/vfstab whit physilcal partion c) cd /etc/vx/reconf.d/state.d ; rm root-done ; touch install-dbe) remove entry /etc/system ( set ...

Network listen problem

564 byte By BlackJellyBeans at 2007-11-26 10:43:50
I have 3 zones configured - each zone has is own qfe port and unique IP address. Within each zone the same process is running, dds, and it listens on a specific port for requests. Netstat shows that each process is binding as *.RDDS*.*(actual port number is 5435)Problem is that regardless of ...

Non-global zone installation problem

809 byte By akumta at 2007-11-26 10:44:01
I have created a non-global zone sqa45-zone as follows:zonecfg -z sqa45-zonezonecfg:sqa45-zone> infozonepath: /export/home/zones/sqa45-zoneautoboot: falsepool: inherit-pkg-dir:dir: /libinherit-pkg-dir:dir: /platforminherit-pkg-dir:dir: /sbininherit-pkg-dir:dir: /usrnet:address: ...

Installing a Separate package from the Solaris CD

416 byte By susee_sun@yahoo.co.in at 2007-11-26 10:44:29
Hi .,I installed Solaris on my Sparc Station .,But now I want to install few packages which are not installed during the OS installation. Example:If i want to install the package SUNWarc from the Installation cd., Can anybody tell me the Easiest way to find out the Location of the package from ...

Volume manager or zfs

242 byte By simonquest at 2007-11-26 10:45:06
I have veritas volume manager in a couple of systems.Zfs is it similar ?I read the documentation, and, the pool disk creation, file systems depend of the pool of disk. Its like veritas. What is the big difference ?

samba on solaris (server and client)

373 byte By klbaugher@kirchman.com at 2007-11-26 10:45:07
Our network admin has asked us to use samba to share between our Solaris boxes instead of NFS since NFS uses multiple ports and samba only one.We have not had much luck, our windows clients using samba to access the same solaris box seem fine. Any help on how to configure the solaris client or ...

Solaris 10, Tomcat 5 Cant connect to a database

600 byte By Machius at 2007-11-26 10:45:13
Hi:I installed Solaris 10 in a Sun Sunfire V100 Server and installed Tomcat 5.5.20 with JDK1.5, when my application needs to connect to my database server (MS Windows 2000 with MS SQL SERVER 2000 by Port 1433) using JDBC, the application do nothing, There's no information in Tomcat and System ...

Directory Server recommendations (NIS to LDAP)

1080 byte By rayvd at 2007-11-26 10:45:25
I'm starting out looking into migrating our NIS database to LDAP using Sun Directory Server.We currently use NIS primarily for authentication and Unix account information.I've installed Sun Java System Directory Server 5.2.4 on a Solaris 10 machine (is this different than iPlanet or whatever ...

CDE Login

304 byte By yakimagis at 2007-11-26 10:45:45
New installation of Solaris 10. Root can login to the console using CDE no problems. When any other user tries they just get returned back to the CDE login screen. Users were added using the Solaris Management Console. There must be a setting somewhere that restricts console ...

Porting Solaris 9 ACLs to Solaris 10 ZFS

323 byte By jeffn at 2007-11-26 10:45:47
Hi All,I need help migrating my Solaris 9 ACLs over to the new chmod style ACLs on Sol 10 ZFS.There are approx. 23000 ACLs set on the old Sol9 UE5000 that I need to set on the new T2000 running ZFS on Sol10. Has anyone addressed this problem yet?Customers are ...

Copying files by using SCP in a Script

419 byte By susee_sun@yahoo.co.in at 2007-11-26 10:46:03
HI ,I want to copy files from one of my server to other by using scp.I am using a script which will generate a tar file and I want it to paste it automatically to my other server using SCP.But how can I can make this automation in a Script.I dont want it to ask for the password while copying to ...

libncurses.so.5 missing

264 byte By windy81 at 2007-11-26 10:46:14
Hello!After installing ncurses from the official Companion CD (Solaris 10 06/06), libncurses.so.5 is still missing. I found a bugreport regarding this issue (6469006) but no solution. Do I have to build ncurses myself?TIA Stephan

Patching apache2 breaks PHP

422 byte By windy81 at 2007-11-26 10:46:28
Hello!After installing patch 120543-06, PHP from sunfreeware.com does not work anymore. So I decided to build my own version of php5, usingCFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"as mentioned in the README of the patch. But still I am only getting "segmentation faults" in the apache ...

building postfix with mysql problem, Please helppppppppp

6263 byte By Haythammorsy at 2007-11-26 10:47:24
Hi all,I have a sun fire v880 machine running solaris 10, i need to set an email server using postfix+mysql.I already installed myql and its working fine. but when trying to build postfix with mysql i get a compliation error, here's wts going on: bash-3.00# make makefiles 'CCARGS=-DHAS_MYSQL ...

Solaris 10 install woes since ZFS

519 byte By Lever-Ender at 2007-11-26 10:47:39
This is WIERD!I'm trying to reinstall Solaris onto my SunBlade 1000 but I seem to be having issues with ZFS having been on the disk, EFI formats and SMF not starting anything!I can't grab the OBP messages but it complains about being unable to open ZFS mount when format -e'd the disks and ...

"ifconfig arp" behavior

1032 byte By gaheilon at 2007-11-26 10:47:59
Hi,I'm using Solaris zones in a way that I'd like arp to be active in some zones, but not in others. I'm using the same NIC but non-gobal zones can have logical interfaces on it.In some zones, I want to prevent ARP from automatically publishing the mac address. I tried to use the arp/-arp ...

boot device escape character

1331 byte By mors1 at 2007-11-26 10:48:28
Hi all :)I install Solaris 10 on Sun T2000 (what a nice machine!!).It worked very well but it got stock after the Boot Device option...this is the output:0:0>L2 Tests....Done0:0>Test Memory Basic....Done0:0>Test Slave Threads Basic....Done0:0>Extended CPU Tests....Done0:0>Scrub ...

zones, file-systems and packages...

496 byte By nzirdos at 2007-11-26 10:48:38
Hi,Can someone please shed some light on this for me?I don't quite understand how I could install a package into a non-globalzone if I chose to use the "sparse root model", and the file-systems from the global zone were mounted loop-back.I'd like to be able to keep the file-systems for ...

Solaris miniroot altering question

328 byte By AssafL at 2007-11-26 10:48:49
Hi all,I've created a bootable custom jumpstart DVD.I run the 'boot cdrom - install', boot process starts.Is there a way to skip network devices configuration during miniroot boot?It takes a lot of minutes until it skips eth0-eth3 and starts the jumpstart installation ...

ZFS and hardware RAID - A little bit confused.....

2500 byte By something at 2007-11-26 10:49:01
HelloWe bought two Sun X4200 servers with hardware mirror RAID configured:-bash-3.00# raidctlRAIDVolume RAIDRAIDDiskVolume TypeStatus DiskStatusc0t0d0 IMOK c0t0d0 OKc0t1d0 OKBecause they have an identical software installation i had this (simple) idea:1. Installing everything on the first ...

Solaris 10 6/06 mount NFS share on boot?

720 byte By PS-NetOps at 2007-11-26 10:50:26
Hello,This seems like a pretty simple question, but I haven't been able to figure out what's wrong for a couple of days: How can I have my Solaris 10 NFS client machine mount an NFS share on boot? I have:host:/share - /u01/mount nfs - yes rsize=32768,wsize=32768,hard,noacin my /etc/vfstab ...

FTP to solaris server from Windows

486 byte By susee_sun@yahoo.co.in at 2007-11-26 10:50:42
Hi ,I am uploading files to my Solaris 10 server from my windows machine using ftp.It is a batch file when i run it from my windows machine it automatically copy the files to the FTP server.My query is,How can i send the password to my ftp server while i am running a batch file..I dont want to ...

Load Balancing + Zones + Default route

710 byte By DanVP at 2007-11-26 10:50:45
Howdi! - I'm in the process of setting up a http load balancer in front of 2 zones.Since i would like to maintain proper logging on the zones, the source address from the client hitting the load balancer is maintained, ie the zone will, when trying to reply, try to hit the originating client ...