Services in Solaris 10

Posted on 2006-05-31
Last Modified: 2013-12-21
Well, I have been fighting with this all day, and none of the stuff I have found so far has helped.

Solaris 10 Sparc fresh install patched up to date.  it seems like none of the "legacy" network services start. (telnet, ftp, rlogin finger etc...)

Yes some of the services should be disabled because they may be unsafe, but I would like to be able to enable them.

the svcs command shows them all to be in maintenance  If I use svcadm -v enable telnet  it comes back and says its enabled, but still shows maintenance and the log says "Property proto of instance svc:/network/telnet:default is missing, inconsistent or invalid"

The configuration files are those that were supplied by Sun and I have made no changes.

Does someone know how to fix this, or is their a good tutorial on on svcs?  (I've already looked at the top ones on google...)

Thank You for your help...

Question by:arthurjb
    LVL 1

    Assisted Solution

    the ultimate place to find this out is the sun document site.  do a search for svcs or svcadm and you'll get the right manual.

    I understand this problem, I'm just getting to grips with it myself
    LVL 1

    Expert Comment

    also check the install logs if you can find them. Solaris doesn't tell you if parts of an installation are corrupt or failed caused by a damaged CD (i had this in a technical interview once ;) - we installed solaris and the guy asked me to figure it out - I called up my mates at sun and we went through it all then finally he showed me the state of the install media.

    I got the job btw :)
    LVL 27

    Accepted Solution

    man svcs
    man svcadm

    svcs -x gives you the reason of why some service doesn't start

    Next check file: /etc/services that it has 'telnet' entry
    Next check file: /var/svc/manifest/network/telnet.xml, it should be 1942 bytes long
    Next chek that inetd is running: 'pgrep -lf inetd', since telnetd starts from inetd

    LVL 14

    Author Comment

    I've done the rtfm part several times, but it doesn't give much trouble shooting help. :-(

    svcs -x give the answer;
    Restarter svc:/network/inetd:default gave no explanation

    telnet.xml is 1942 long
    etc/services is correct and inetd is running

    It looks like none of the legacy inetd services are running and they all have the "no explanation" message.

    Yet if I start the services as stand alone (like ftp) they all work.  It almost makes me think that there is an inetd switch somewhere, but I haven't seen that yet...
    LVL 27

    Expert Comment

    I know, there where problems with svcs in Solaris 10 pre-release distribution (also known as s10_52).
    Please check your installed build number in /etc/release.
    If you have older version, I recommend you to get either 03/05 or 01/06 releases.
    LVL 14

    Author Comment

    Thanks for the help

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now