How can I determine version of apache running?? (pz4wfq .)

From: hmnguyen@verizongni.com
Date: Thu May 15 2003 - 07:39:02 EDT


                      sunmanagers-request@sunm
                      anagers.org To: sunmanagers@sunmanagers.org
                      Sent by: cc:
                      sunmanagers-bounces@sunm Subject: sunmanagers Digest, Vol 2, Issue 32
                      anagers.org
                                                                                                                                           
                                                                                                                                           
                      05/14/2003 07:58 AM
                      Please respond to
                      sunmanagers
                                                                                                                                           
                                                                                                                                           

Just cd to directory where Apache resides, for example: cd
/opt/apache2/bin, then run ./apachectl -v. It will prompts you the version.

Hoang
Verizon Network service group.

Send sunmanagers mailing list submissions to
             sunmanagers@sunmanagers.org

To subscribe or unsubscribe via the World Wide Web, visit
             http://www.sunmanagers.org/mailman/listinfo/sunmanagers
or, via email, send a message with subject or body 'help' to
             sunmanagers-request@sunmanagers.org

You can reach the person managing the list at
             sunmanagers-owner@sunmanagers.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sunmanagers digest..."

Today's Topics:

   1. How can I determine version of apache running?? (pz4wfq .)
   2. Wondering if i can get netmask in decimal in ifconig -a
      (Himanshu Khona)
   3. How to 80 Gb HDD in Sun Ultra 10 with solaris 8 (Sanjay Kumar)
   4. Question about Remote Controlling a SUN
      (Andy.Kannberg@lgphilips-displays.com)
   5. find problem (Andreas Hoeschler)
   6. NFS problem (Martynas Buozis)
   7. Summary: find problem (Andreas Hoeschler)
   8. Numeric Sorting - Time Honored Question
      (Bennett, Michael (consultant))
   9. Segmentation-Core Dump on Admintool (Will S.)
  10. SUMMARY (no sumary) how to discover the hardware pluged on to
      my sun machines (W.L.Alsemgeest)
  11. Determining who consumes disk space (Andreas Hoeschler)

----------------------------------------------------------------------

Message: 1
Date: Wed, 14 May 2003 03:17:43 +0000
From: "pz4wfq ." <pz4wfq@hotmail.com>
Subject: How can I determine version of apache running??
To: sunmanagers@sunmanagers.org
Message-ID: <BAY8-F120M3TbhyF2fP000147a7@hotmail.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

I'm trying to determine the version of apache running on a solaris box. I
not able to determine. I have looked on the net every where with no luck.
So I come to you for assistance.

Is there a file that would indicate the version or command that would
tell me the version of apache running on the Solaris.

Thanks in Advance.

SM

------------------------------------------------------------------------

MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*.

------------------------------

Message: 2
Date: Wed, 14 May 2003 11:56:09 +0530
From: "Himanshu Khona" <himanshu.khona@patni.com>
Subject: Wondering if i can get netmask in decimal in ifconig -a
To: <sunmanagers@sunmanagers.org>
Message-ID: <002c01c319e1$b5d5ce90$6144a8c0@pcspppm1042>
Content-Type: text/plain; charset="iso-8859-1"

Hey,

IS there any way whereby i can get ifconfig -a to give me netmask in
decimal
instead of hex.

TIA, will summarize.
Himanshu

------------------------------

Message: 3
Date: Wed, 14 May 2003 11:57:51 +0530 (GMT+05:30)
From: Sanjay Kumar <sanjay.kumar@progression.com>
Subject: How to 80 Gb HDD in Sun Ultra 10 with solaris 8
To: sunmanagers@sunmanagers.org
Message-ID: <5208929.1052893671043.JavaMail.Administrator@progpm>
Content-Type: text/plain; charset=us-ascii

Hi Guru

I have Sun Ultra 10 running with Solaris 8. I want to installed 80 Gb hard
disk on that m/c
Pls. tell me how can I add this hard disk in my m/c

Thanks in advance

Sanjay chahar

--
===============================================================
Privileged or confidential information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), please delete this message and
kindly notify the sender by an emailed reply. Opinions, conclusions and
other information in this message that do not relate to the official
business of Progression and its associate entities shall be understood as
neither given nor endorsed by them.
--------------------------------------------------------------
Progression Infonet Private Limited, Gurgaon (Haryana), India
------------------------------
Message: 4
Date: Wed, 14 May 2003 10:24:53 +0200
From: Andy.Kannberg@lgphilips-displays.com
Subject: Question about Remote Controlling a SUN
To: sunmanagers@sunmanagers.org
Message-ID: <OF749CC4A1.82E0D726-ONC1256D26.002DA0D5@LocalDomain>
Content-Type: text/plain; charset=us-ascii
Guru's,
I have a E220r which is in location A.
I want to administer this machine from location B, some 30 km from Loc. A
There is no physical connection between the systems.
I also want to be able to connect remotely to the serial port in case of
the system going down.
And offcourse, it has to be secure.
How can I do that ?
I looked on the internet for something like these Annex terminal
concentrators, but wasn't able to find
anything.
Any hints, tips ?
I will summarize
kind regards,
Andy Kannberg
System Engineer
SPIRIT UNIX group
LG Philips Displays Eindhoven
The Netherlands
tel: 040 - 2789265
fax: 040 - 2785405
email: Andy.Kannberg@LGPhilips-Displays.com
------------------------------
Message: 5
Date: Wed, 14 May 2003 10:26:31 +0200
From: Andreas Hoeschler <ahoesch@smartsoft.de>
Subject: find problem
To: sunmanagers@sunmanagers.org
Message-ID: <C40D40B0-85E5-11D7-8259-000393CA0072@smartsoft.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Dear managers,
I have home directories
/home/ahoesch
/home/ubitter
...
Each directory contains a directory .Trash. I would like to remove all
files in the .Trash directories of all homes (users) while the .Trash
directories itself are kept. I experimented with find
bash-2.03# find /home -name ".Trash"
/home/ahoesch/.Trash
/home/dfelske/.Trash
/home/aliedtke/.Trash
/home/ubitter/.Trash
/home/hluther/.Trash
/home/beate/.Trash
...
in hope I could do something like
find /home -name ".Trash" -exec rm -rf {} \;
However, this would remove the .Trash directories as well which I do
not want. Any ideas?
Thanks a lot in advance,
    Andreas
------------------------------
Message: 6
Date: Wed, 14 May 2003 11:03:43 +0200
From: Martynas Buozis <martynas@ti.com>
Subject: NFS problem
To: sunmanagers <sunmanagers@sunmanagers.org>
Message-ID: <3EC2066F.4060609@ti.com>
Content-Type: text/plain; charset=windows-1257; format=flowed
Hello
This is not 100% Solaris related problem, but I hope that someone more
experienced with RPC can help me. In a fact I am writing this question
here because everything is working fine with file system shared on
Sun/Solaris box, while it is not working with file system shared on
EMC/Celerra.
I am using disk less clients that boots  RedHat 8.0 over BOOTP and mount
root file system over nfs. But I got stuck with mounting root file
system shared on EMC/Celerra. Everything works fine when root file
system is shared on SUN/Solaris box.
This is how boot process ends when I use Celerra as NFS server :
Looking up port of RPC 100003/2 on aaa.bbb.ccc.xxx
Looking up port of RPC 100005/1 on aaa.bbb.ccc.xxx
call_verify: server accept status: 5
call_verify: server accept status: 5
call_verify: server accept status: 5
RPC: garbage, exit EIO
Root-NFS: Server returned error -5 while mounting /BOOTP/redhat/8.0/
VFS: Unable to mount root fs via NFS, trying floppy.
This is how it looks (all options are same, except for NFS server IP and
share path, all files are identical on shared file systems) when root
file system is shared on SUN/Solaris :
Looking up port of RPC 100003/2 on aaa.bbb.ccc.yyy
Looking up port of RPC 100005/1 on aaa.bbb.ccc.yyy
VFS: Mounted root (nfs filesystem).
I can mount file system using command line "mount
aaa.bbb.ccc.xxx:/BOOTP/redhat/8.0 /mnt" shared on EMC/Celerra when
RedHat is up and running. I can access all files there - no problems at
all. The problem is only to mount root file system during OS boot.
Can you give any tip what is wrong and what are possible ways to fix it
  ? What is meaning for status 5? If I would know what exactly is wrong
- maybe I would be able to fix it. What are major diffrences between
Sun/Solaris and EMC/Celerra NFS shares ?
Any help would be highly appreciated.
With best regards
Martynas
------------------------------
Message: 7
Date: Wed, 14 May 2003 11:25:50 +0200
From: Andreas Hoeschler <ahoesch@smartsoft.de>
Subject: Summary: find problem
To: sunmanagers@sunmanagers.org
Message-ID: <0D8AE275-85EE-11D7-88DF-000393CA0072@smartsoft.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Dear managers
thanks a lot for the overwhelming response. I got 30 or so different
approaches to do the job. The simpliest was
  rm -rf /home/??*/.Trash/*
Thanks to Lars Hecking, Vincent Rbeaud and all the others that replied.
Regards,
   Andreas
------------------------------
Message: 8
Date: Wed, 14 May 2003 11:57:28 +0200
From: "Bennett, Michael (consultant)"
             <MBennett.consultant@upccorp.com>
Subject: Numeric Sorting - Time Honored Question
To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
Message-ID: <60378C494D94F9458E047FA57CF29CAD4BFFF7@nlsrbacoexc07>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
I've answered this before, and now forgotten.
if I have a list in a file as follows:
             2.11.a
             1.11.a
             2.10.a
             1.10.a
             2.9.a
             1.9.a
             2.8.a
             1.8.a
             2.7.a
             1.7.a
             2.6.a
             1.6.a
             2.5.a
             1.5.a
             2.4.a
             1.4.a
             2.3.a
             1.3.a
             2.2.a
             1.2.a
             2.1.a
             1.1.a
How do i numerically sort fields 1 and 2.
I already have done it without spaces:
             sort -n -k  1n -k 2n list
but failure with field separator:   sort -n -t \. -k 1n -k 2n list;   or
sort -n -t. -k 1n -k 2n list
If I change the . to a : then it clearly works with: sort -n -t: -k 1n -k
2n
list
Clearly it doesn't like . as a field separator?
Yours sincerely,
Michael J Bennett
Sun Professional Services Consultant
______________________________________________
Contact:                       mbennett.consultant@upccorp.com
Telephone:         +31 (0)20 77 89413
______________________________________________
Address:           CIO Office
             D1-4-12
             Boeing Avenue, 53
             Schiphol-Rijk
             1119 PE
             Netherlands
______________________________________________
------------------------------
Message: 9
Date: Wed, 14 May 2003 03:07:58 -0700 (PDT)
From: "Will S." <zerwin_solaris@yahoo.com>
Subject: Segmentation-Core Dump on Admintool
To: sunmanagers@sunmanagers.org
Message-ID: <20030514100758.18034.qmail@web20503.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi Guys,
Can you help me find a solution for this. When I run
admintool it gives me this error:
Segmentation - Core Dump
Rgds,
Zerwin
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
------------------------------
Message: 10
Date: Wed, 14 May 2003 13:36:05 +0200
From: "W.L.Alsemgeest" <W.L.Alsemgeest@tpgpost.nl>
Subject: SUMMARY (no sumary) how to discover the hardware pluged on to
             my sun machines
To: "'sunmanagers mail list'" <sunmanagers@sunmanagers.org>
Message-ID: <002a01c31a0d$0262c3f0$ec0b4e91@lr021.kpnpost.nl>
Content-Type: text/plain; charset="iso-8859-1"
Original question (see bottom):
I resieved three anwsers:
1)
You could check out the output of "prtpicl -v" to see what you can find
there !?
But prtpicl is not on my solaris 8 system
2)
maybe you can use some scripts of SunExplorer (SUNWexplo) and put some html
around
SUNWexplo dit not provide me with the requested info.
3)
Harald also wanted this info.
If still someone can give me a awnser, I will summary again.
For so far I can not say anything more than:
A T3 is present on this system, but i can't tell what kind of disk there
are
in the T3 (or T5 or d1, or whatever)
Greetings,
Wim Alsemgeest
> Hi admins,
>
> I am writing a script that is making a Server Instalation Document of all
of
> the machines.
> Finding the harddisk's is not a problem.
> If a A1000 is connected is will also find it by performing:
>
> retval=$(echo | format | grep -c A1000 )
> if [[ ${retval} -gt 0 ]] ; then
>     echo "<P>"
>     echo "Er is een A1000 aangetroffen <BR><BR>"
>     echo "val=\$(/usr/sbin/osa/healthck -a | grep cl | awk -F: '{print
$1}')
> <BR>"
>     echo "for i in $( echo ${val} ) ; do /usr/sbin/osa/drivutil -i \${i}
;
> done<BR><BR>"
>     echo "<PRE>"
>     val=$(/usr/sbin/osa/healthck -a | grep cl | awk -F: '{print $1}')
>     for i in $( echo ${val} )
>     do
>         /usr/sbin/osa/drivutil -i ${i}
>     done
>     echo "</PRE>"
>     echo "</P>"
> fi
>
> This gives as output:
>
> Drive Information for cl201_002
> Location  Capacity   Status         Vendor  Product          Firmware
> Serial
>             (MB)                              ID             Version
> Number
> [1,0]     17274      Optimal        SEAGATE ST318203LSUN18G  034A
> LR72435100
> [2,0]     17274      Replaced       SEAGATE ST318404LSUN18G  4203
> 3BT1GE6M00
> [1,1]     17274      Replaced       SEAGATE ST318203LSUN18G  034A
> LRJ1334800
> [2,1]     17274      Optimal        SEAGATE ST318203LSUN18G  034A
> LR79456900
> drivutil succeeded!
>
> So I know when a A1000 is connected and what type of disk's are used.
>
> Now I have a system with a RAID cabinet connected. With :
>
> retval=$(echo | format | grep -c RAID )
> if [[ ${retval} -gt 0 ]] ; then
>     echo "<B>Er is een RAID Device aangetroffen </B><BR><BR>"
>     echo " echo | format | grep RAID \n"
>     echo "<PRE>"
>     echo | format | grep RAID | tr "<" "(" | tr ">" ")"
>     if [[ -f /opt/SUNWhwrdg/dptutil ]] ; then
>         echo "\n/opt/SUNWhwrdg/dptutil -I | grep -v \"Must specify\"
\n\n"
>         /opt/SUNWhwrdg/dptutil -I | grep -v "Must specify"
>         echo "\n\n/opt/SUNWhwrdg/dptutil -L all \n\n"
>         /opt/SUNWhwrdg/dptutil -L all
>     fi
>     echo "</PRE>"
> fi
>
>
> i get the following output:
>
> Er is een RAID Device aangetroffen
>
> echo | format | grep RAID
>
>        4. c2t0d0 (DPT-RAID-10-SM02 cyl 34547 alt 2 hd 32 sec 128)
> /opt/SUNWhwrdg/dptutil -I | grep -v "Must specify"
> Inquiry Data
>
--------------------------------------------------------------------------
-
> Manufacturer:  DPT
> Model:         PM3755U2B
> Rev:           SM02
> Type:          HBA
> /opt/SUNWhwrdg/dptutil -L all
> Address    Type              Manufacturer/Model         Capacity  Status
>
--------------------------------------------------------------------------
-
> c2t0d0     Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> c2t1d0     Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> c2t2d0     Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> c2t3d0     Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> d0b2t0d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> d0b2t1d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> d0b2t2d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> d0b2t3d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> #  b0 b1 b2  Controller     Cache  FW    NVRAM     Serial     Status
>
--------------------------------------------------------------------------
-
> d0 c1 c2 --  DPT PM3755U2B  64MB   SM02  SUN V1.5  12-022888  Optimal
> Address    Type              Manufacturer/Model         Capacity  Status
>
--------------------------------------------------------------------------
-
> c2t0d0     RAID 0 (Striped)  DPT      RAID-10           69098MB   Optimal
>  c2t0d0    RAID 1 (Mirrored) DPT      RAID-1            17274MB   Optimal
>   c2t0d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>   c2t1d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>  c2t2d0    RAID 1 (Mirrored) DPT      RAID-1            17274MB   Optimal
>   c2t2d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>   c2t3d0   Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>  d0b2t0d0  RAID 1 (Mirrored) DPT      RAID-1            17274MB   Optimal
>   d0b2t0d0 Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>   d0b2t1d0 Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>  d0b2t2d0  RAID 1 (Mirrored) DPT      RAID-1            17274MB   Optimal
>   d0b2t2d0 Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
>   d0b2t3d0 Disk Drive (DASD) FUJITSU  MAJ3182M SUN18G   17274MB   Optimal
> Address    Max Speed  Actual Speed  Width
>
--------------------------------------------------------------------------
-
> c2t0d0     40 MHz     20 MHz        wide
> c2t1d0     40 MHz     20 MHz        wide
> c2t2d0     40 MHz     20 MHz        wide
> c2t3d0     40 MHz     20 MHz        wide
> d0b2t0d0   40 MHz     20 MHz        wide
> d0b2t1d0   40 MHz     20 MHz        wide
> d0b2t2d0   40 MHz     20 MHz        wide
> d0b2t3d0   40 MHz     20 MHz        wide
>
>
>
> QUESTION?
>
> How do I know, without going to the hardware, what type of hardware this
is.
> Is it a T3????
> How can i discover the connected hardware?
>
> Greetings,
> Wim Alsemgeest The Netherlands
a
Wim Alsemgeest
Unix  Specialist iPlanet
Phone +31 70 45 22 961
Fax +31 70 45 22 810
E-mail w.l.alsemgeest@tpgpost.nl
------------------------------
Message: 11
Date: Wed, 14 May 2003 13:55:11 +0200
From: Andreas Hoeschler <ahoesch@smartsoft.de>
Subject: Determining who consumes disk space
To: sunmanagers@sunmanagers.org
Message-ID: <EAE5D731-8602-11D7-88DF-000393CA0072@smartsoft.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Dear managemers
we have a 40GByte disk with home directories (30 users), databases,
backups and so on. "df -b" reports that 35 Gbyte are in use so we
slowly have to take care that we do not run out of disk space. I am now
searching for a way to determine how much disk space is allocated by
which user in which directory so that I can tell which user has tons of
old emails in his home directory that probably can be deleted and so on.
How would I go for this? I would like to get a list of
directory                      bytes allocated
or anything comparable. I checked the man page of df but did not find
the answer.
Thanks a lot,
    Andreas
------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
End of sunmanagers Digest, Vol 2, Issue 32
******************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:24 EDT