Logging User command to Syslog

203 byte By pferenc at 2007-11-25 23:20:38
Hi,Can you help me? How can i send a user command to the system log?(I can read the forums rearly, please post a messages to pferenc@enternet.hu too)Thanks your help...

Hacked ? who, uptime, w ?

772 byte By fistv at 2007-11-25 23:20:40
I just inherited some E's running solaris 8, the uptime and w command output is not right, uptime gives me:uptime 2:33pm 0 users, load average: 0.24, 0.36, 0.24 w 2:33pm 0 users, load average: 0.17, 0.34, 0.23 User tty login@ idle JCPU PCPU wha who -a just returns a prompt, no output no matter ...

Top for Solaris

151 byte By Nuor at 2007-11-25 23:20:42
I would really like to add 'top' to my Solaris workstation.What would be the easiest way to find and add this?Many thanks

cannot create minor node

798 byte By jglenz at 2007-11-25 23:20:43
hello.I have a 4500 that I installed multiple JNI 1063 sbus Fiber channel cards, in order to connect to an IBM ESS storage system.myself being a bit of a newbie to solaris/unix, I am having difficulity with a perticular error that I see at boot.'cannot create minor node for <fce> ...

Sunscreen stats

333 byte By charles786 at 2007-11-25 23:20:46
HiI dont know very much about Sunscreen on Solaris, but we do have it in our environment, I have been asked to gather stats on malicious attacks, port scans, hack attempts , worms, viruses etc, can Suncreen give me these and yet better still a precise breakdown of each repective ...

Concatenate RAID 5 arrays

540 byte By paladinrjb at 2007-11-25 23:20:47
I don't know if this is possible or not, but it seems feasable. I am trying to use metainit to concatenate two RAID 5 arrays together. I set up my two arrays c3t0d0 and c4t0d0 in dptmgr, which are on seperate RAID controllers. When I try to run "metainit d0 2 1 c3t0d0s6 1 c4t0d0s6" I get the ...

ls and du disagreement

1084 byte By NDumeige at 2007-11-25 23:20:48
I wrote a script to do log rotation for a Weblogic Application.The file is permanetly written to and grows fast. The filesystem size forbid to make a copy of the file.Mainly the script in crontab does just this :cat FILE | gzip > ARCHIVE && cat /dev/null > FILENow, ls and du show ...

telnet <<EOF>

388 byte By mtaom at 2007-11-25 23:20:50
Is it possible to redirect commands in a telnet session?I can't seem to log in:namu# telnet aqasap << EOF > root> blah > ls> exit> EOFTrying 8.12.30.14... Connected to aqasap.Escape character is '^]'.Connection closed by foreign host.namu#Thanks,Miller ...

Ultra 60: PCI SERR on boot

1674 byte By haral at 2007-11-25 23:20:51
I replaced the PCI fan on an Ultra 60 (450MHz), 512MB mem, 2 internal SCSI disks, CDROM, SunPCI 400 MHz card, and now it won't boot. I get the following error:Rebooting with command: bootBoot device: disk1 File and args:SunOS Release 5.8 Version Generic_108528-19 64-bitCopyright 1983-2001 Sun ...

Attaching D1000 Array to Ultra 60.. HELP!

549 byte By ingroup at 2007-11-25 23:20:54
I'm trying to attach a D1000 Disk array to an Ultra 60. I have a PCI SCSI card instslled and the cable going from PortA on the card to "SCSI A" port, and the terminator on the 2nd port of A.The Ultra 60 (no matter what I do) won't recognize the fact that there is a SCSI controller (other than ...

no swap activity

373 byte By jaydog3955 at 2007-11-25 23:20:55
using the performance meter there is no activity on the swap, it is flatlined. I'm generaly between 25 to 50 % on cpu, over 50% on paging and usualy over 50 % on disk, but the swap in flatlined all of the time. any ideas, to increase use of the swap. I have used sar and the perfomance meter ...

Ultra Enterprise System is not booting

1323 byte By b_manu7803 at 2007-11-25 23:20:56
System is not booting and giving the following error messages at ok promot....ok boot cdrom -sBoot device: /sbus/espdma@e,8400000/esp@e,8800000/sd@6,0:f File and args: -sSunOS Release 5.6 Version Generic [UNIX(R) System V Release 4.0]Copyright (c) 1983-1997, Sun Microsystems, Inc.Fatal ResetSC ...

LDAP servers

111 byte By fistv at 2007-11-25 23:20:57
What and where is a good source for setting up an LDAP server for solaris. Never done one before.

backup files on Solaris8 box

307 byte By cmk168 at 2007-11-25 23:20:59
I want to create a backup operator a/c for my backup server to use to connect to my solaris 8 box to do a full backup. Which group should I create this user in in order for the a/c to have enough rights to backup everything under "/" file system? (using "root" is definitely not a good idea!!) ...

sun ultra 1 ethernet connection

290 byte By jjren at 2007-11-25 23:21:02
I have a SUN Ultra 1 workstation. It has a onboard ethernet and I saw the ethernet connector. When I issue the command: ifconfig -a. I only found lo0. there is no hme0. Is there anybody know how to config the ethernet on Ultra 1? Should I see hme0 for ethernet device? Thanks.

iostat metadevice reporting

291 byte By dwerther at 2007-11-25 23:21:03
When iostat reports data on 'metadevices' (on my machine, iostat labels them md1, ..., md5), is it reporting on activity on the disk controllers or on file systems? I presume it's controllers.Second, is it possible to get stats on file system latencies? Thanks

Disk info Script

393 byte By mojapekf at 2007-11-25 23:21:05
I hope someone will be able to help me. I need a script that will help me get the Total Disk space Allocated, Total Used and Total Free for both internal and external disks (taking into consideration raw volumes & swap). I am not at all good when it comes to shell scritpting & will ...

connection problems

213 byte By vijay2071 at 2007-11-25 23:21:08
I am able to ping to a machine but not able to telnet or rlogin into it.It is a sun-solaris machine which was working and all of sudden this is happening.Any suggestions to resolve this

restrict ftp access to a particular directory

195 byte By alfonsoE at 2007-11-25 23:21:09
How can one restrict an ftp user to a particular directory in Solari 2.6 and Solaris 2.8 without using 3rd-party software. Also, this is not for an anonymous ftp user.thanks.

ssh problem

610 byte By vijay2071 at 2007-11-25 23:21:10
I am using F-secure ssh client s/w to get access to a Sun-Solaris machine. I have the username login id and passwd of user who hassecure access to the sun-solaris machine Solaris version being 2.6.The authentication method I am using is passwd , but eveytime I try it it does not accept the ...

how can my e450 be booted without a keyboard or console?

465 byte By richx at 2007-11-25 23:21:14
there is no frame buffer or no console connextions from term a or b, the worst, no keyboard attached. after i power it up, the running led will blink but its ip address cannot be pingable. after power down and a sun's keyboard is attached and power up again, everything is normal. but the ...

How do I configure my SUN machine to work with a router.

437 byte By hnvhelp at 2007-11-25 23:21:15
I have a Netgear router. Configured it with XP & NT. Could not do on Solaris. I run Solaris 8. Here is the documentation "If you are installing the router with a Unix-based computer, see your system documentation to set up TCP/IP networking to obtain IP addresses automatically using DHCP". ...

syslog: how to distinguish hardware vs. software messages

212 byte By bjriley at 2007-11-25 23:21:16
Does anyone know of a way to filter syslog messages generated by hardware (i.e. device drivers) from messages generated by software (i.e. anything other than device drivers)?Thanks,BJR

how to add new message in the login page for each user?

546 byte By samai at 2007-11-25 23:21:17
Hi, I have a question on how to add a special announcement for each login session before the login prompt.The default setting is: login: password: I want to add more words on top it:Announcements: ...................................................... ...

alloc: /: file system full

1288 byte By jonharris1 at 2007-11-25 23:21:18
I have a file system full message, which is pretty obvious why, df -kFilesystem - kbytes used - avail - capacity - Mounted on/dev/dsk/c0t0d0s0-103588 - 95669-0 -100%-//dev/dsk/c0t0d0s6-527457 - 366602 - 108110 - 78%-/usr/dev/dsk/c0t0d0s7 -3323412 - 894874 - 2395304 - 28% - ...

Boot problem on Ultra 10

754 byte By jmlight0 at 2007-11-25 23:21:20
I have a Sun Ultra 10 running Solaris 8. Until recently it worked fine. I shut it down to attach it to a new UPS. Now it will not boot properly. The message says "ifconfig cannot find /usr/lib/ld.so.1" It will complete the boot sequence and I can log onto the console in command line mode, but I ...

roleadd cores in Solaris 8

466 byte By iceman80231 at 2007-11-25 23:21:22
Hello everyone,I am currently running Solaris 8 on a Enterprise 220R and have attempted to use the -A option with roleadd and received the following message:Segmentation Fault - core dumpedHowever, when I use -P with a profile with roleadd, the role is added without a problem.The syntax of the ...

How to change ENV variable in shell script?

209 byte By henry_z99 at 2007-11-25 23:21:23
Hi folks,I tried to change env variable DISPLAY in a shell script. But after the script finished and exited, the value changed back. How to retain the value pls.?Thanks,henry

Boot Problem on Ultra 10 (still)

1857 byte By jmlight0 at 2007-11-25 23:21:25
I am still having a boot problem with my Ultra 10 running Solaris 8. The computer was running normally until I performed a shutdown. Now it boots, but does not allow any networking or remote access. Also, I cannot login to a normal graphical session. The error message that shows when it boots ...

Unable to recognize external SCSI tape

188 byte By gmswenson at 2007-11-25 23:21:26
I have a couple Ultra 60s running 5.6, when I connect an external SCSI tape drive, they do not recognize it on reboot . Any ideas on how to debug this?- George Swenson

setting password for a user

338 byte By sudattaP at 2007-11-25 23:21:27
I have a Sun-Blade 100 sun sparc server and I as root tried to create a user say user1 whose password is set to no-pass and another user say user2 whose password is set 'locked'.But if I try to login as user1 or as user2 I am prompted for a password which I feel shouldn't happen.Any comments ...

Error while running script

276 byte By laudem at 2007-11-25 23:21:29
When attempting to run a script the following error comes up:access control disabled, clients can connect from any hostxhost: must be on local machine to enable or disable access control.What is cause of this error and how can I remedy this?

daemons

733 byte By sudattaP at 2007-11-25 23:21:31
Hi .I am only a student and this question is a part of my assignment.So all solaris gurus please help me out.1.Is there a way to find out what all daemons are enabled/running in my system?Actually I wanted to use the 'rusers -l 'command to find out who all are logged in on remote hosts but ...

Sharing of Storage!!!

198 byte By govindc at 2007-11-25 23:21:34
Folks,I got two, T-1405 Servers and a single d130 storage device.Can someone tell me ,how I can share the d130 between the two T1405.The D130 got a scsci-in and scsi-out.

file permissions

330 byte By lheverly2 at 2007-11-25 23:21:35
Hi,How would I setup a directory that would automatically set the permissions of files that are placed in that directory to rw for user, group, and others. At this time all the files that are being put into the directory are defaulting to rw for owner and r only for group and other.Thanks,Larry ...

list correct number of open files

892 byte By gargand at 2007-11-25 23:21:37
I would like to be able to monitor the number of open files, as it relates to the rlim_fd_cur and rlim_fd_max kernel parameters. I have an application that is not stable for long periods of time, and the vendor has stated that the number of available file descriptors should be set to unlimited. ...

serial number

210 byte By sjp000 at 2007-11-25 23:21:40
hello,Is there a command or a file that will allow me to get serial number on my Sun workstations? I am doing some inventory and need to get serial numbers off of remote servers. JP

"plumbing" an interface

85 byte By sudattaP at 2007-11-25 23:21:41
When do we plumb an interface and what is meant by that?-sudatta

Securing ufsdumps to remote servers

760 byte By spamly at 2007-11-25 23:21:42
I'm performing a bunch of ufsdumps from servers that do not have a tape drive to one that does. No big deal. The only thing that I'm curious is how secure this is.Since remote ufsdumps use the "shell" service, I need to keep that active at least for the duration of the backup. I also need to ...

fmthard command

345 byte By sudattaP at 2007-11-25 23:21:44
HiI have a problem.I think I have accidently done something wrong with the VTOC on the disk.I have heard of a command fmthard to relevel a disk but do not know how to go about as my system is not booting up saying something like checksum error in reading disk level.any idea will be highly ...

root mounting during boot process

163 byte By mmvarman at 2007-11-25 23:21:45
hello everyone,I have a more generic question.When does a ROOT actually gets mounted during the boot process.regards,magi

specify a default domain for my server

143 byte By cmk168 at 2007-11-25 23:21:46
How can I specify a default domain for my server, say "xyz.net", can I just put this entry into a file call "/etc/defaultdomain"?

LUNS missing if LUN 0 masked out

908 byte By rock2lion at 2007-11-25 23:21:48
HiI have a problem on Sun Systems with specific Host Bus Adaptors and our storage systems.On an Ultra 80, with FCE 6460 JNI Fibre Channel Card with 5.2.1 Firmware for that card (Latest known Firmware from the JNI site). Also we have tried a Qlogic Fibre Card (either 2200 or 2300).The problem is ...

email won't connect after patch cluster install

684 byte By rjthomson at 2007-11-25 23:21:52
Installed latest patch cluster on Solaris 9 SunBlade100 running postfix for mail. (Previous cluster install was start of April). Now get error: "?Connection failed to mail.domain.removed,143: Connection refused" when I try to connect by IMAP or POP from remote machine. (PINE works from local ...

Cannot su to root

589 byte By ColinRenouf at 2007-11-25 23:21:53
I guess I am being dumb here....I can no longer su to root from a telnet session. I needed to stop my Ultra 60 from dropping to the boot prom whenever I switched my PC off (it was used as a tty). I edited /etc/default/kbd to stop dropping out and rebooted without the tty and it seemed to work. ...

Solaris file system detailed information

411 byte By tlemons at 2007-11-25 23:21:54
HiI need to learn a lot more about Solaris' file systems. I'm looking for engineering white paper or Blueprint-level information, but I'm not finding it. Specfically, I want to know how to detect and treat fragmentation in the file system. I need to explain why I can read one file much ...

How can I get an audit or list of system info

203 byte By justtls at 2007-11-25 23:21:55
I need to quiry multiple Sun boxes and retrieve number of cpu's total storage, availble storage, os version, serial number, etc. Basicly I need a way to get as much resource in as possible

PANIC! mountd

2137 byte By ponbur at 2007-11-25 23:21:56
Hi!I got a webbserver (naboo) who NFS mounts its /opt/www from a other server (amidala). some times i got this in amidalas messeges log:Apr 24 15:38:43 amidala mountd[25608]: [ID 367356 daemon.error] svc_tli_create: could not bind to requested address: No ErrorApr 24 15:38:43 amidala ...

SUNWcsr, /var/sadm/pkg structure

908 byte By fim32 at 2007-11-25 23:21:57
strangest thing happened, i was going around, installing 112438-01 (the /dev/random thing), and on one machine, the driver wouldn't attach. strange, so i look, and the patch didn't install the files into /kernel/drv (but DID install into /kernel/drv/sparcv9 conveniently)anyhoo, long story ...

PID process and IP address

403 byte By miguelangelga at 2007-11-25 23:21:58
Hi..Somebody can tell me, if is posible associate the IP address and the PID process?....I mean, I have some process in my server, I can check it with prstat command and the column PID show the number of that process. Can I associate or find that process number with the IP address that is ...