Cleaning /tmp on a SunRay server

Hello,
I'm running a server with 70 SunRay units, used by a different group of users every week. Mostly. Some stick around for a few months, but the majority are here for a week at a time. The /tmp directory gets littered quickly with files related to SunRay usage. We're also using Sun's GNOME 2.0 desktop environment, which creates /tmp files. Some of the files in /tmp should not be deleted, since they will cause the SunRay units to go into a "transient state", where they have an IP address, but no graphics data is arriving from the server. The screen will display only a blue box containing the IP and MAC addresses, a status code, etc, and it will float around the screen like a screensaver. The same thing appears to happen after about 30 days, to random SunRay units, if no files from /tmp are deleted. I am trying to determine which files, if deleted, will cause the floating blue box of death, and which ones I should nuke to maintain stability.
Here are some examples of files from /tmp that I'm not sure when or if to erase:
-rw------- 1 root other 352 Aug 30 15:07 .Xauth.Aay8j
drwxrwxr-x 2 root root 1536 Sep 28 14:28 .X11-pipe
-rw-rw-rw- 1 root other 0 Aug 10 18:11 X101
prw-rw-rw- 1 root other 0 Sep 28 08:25 X11
prw-rw-rw- 1 root other 0 Sep 28 08:39 X12
-rw-rw-rw- 1 root other 0 Sep 27 20:39 X13
drwxrwxr-x 2 root root 1536 Sep 28 14:28 .X11-unix
srwxrwxrwx 1 root other 0 Sep 28 01:25 X10
srwxrwxrwx 1 root other 0 Aug 10 18:11 X100
srwxrwxrwx 1 root other 0 Aug 10 18:11 X101
What is a good way to tell if the .Xauth* files, and the files in the .X11-unix and .X11-pipe dirs, are still in use or are from a now non-existent X session?
-rw-rw-rw- 1 root other 1388 Sep 28 01:26 .dcs.robson:10.37dd79
srwxr-xr-x 1 jbullock 03frg304 0 Sep 23 07:03 jpsock.140_03.12710
-rw------- 1 jbullock 03frg304 49 Sep 23 06:58 sh12690.2
There are dozens of .dcs* and sh* files. What are the .dcs*, jpsock.* and sh* files for, and when is it safe to nuke them?
Many thanks,
Brent

i had the "Mailbox is on a different server" error too recently (mine shows up in ms outlook express) - and believe my problem came from having the hostnamealiases space delimited instead of comma separated (with no spaces, e.g. "foo.host1.com,bar.host2.com") - comma delimited, no spaces seems to be required ...
i am having a different problem now though:
i can login to communications express hosted domains via -
the main host url using credentials like: [email protected]/passwd
but when going to any of the hosted.com's urls, and trying to login without the @hosted1.com in the user - i get redirected to access manager (and subsequently can't login using either uid or [email protected] at the hosted1.com/uwc url).
here's what i have in AMConfig.properties:
com.sun.identity.server.fqdnMap[mail.hosted1.com]=mail.actual.org
com.sun.identity.server.fqdnMap[mail.hosted2.com]=mail.actual.org
com.sun.identity.server.fqdnMap[mail.hosted3.com]=mail.actual.org
here's what i have in uwcauth.properties:
virtualdomain.mode = y
mail.actual.org.isvirutalhostname=mail.actual.org
i have also added the cookiedomains in amconsole under service configuration --> platform - in addition to creating directories (hosted1.com, hosted2.com, hosted3.com) under /opt/SUNWuwc/WEB-INF/domain - containing the original files and directories under /opt/SUNWuwc/WEB-INF/domain (i was not clear if these directories should take this form e.g. including the .com or if they should just contain the domain-name --e.g. hosted1?)
i can receive hosted email via pop using uid [email protected]/passwd, etc.
thanks for any input.
s7
using sparc 2005q4 msg -58; uwc - 42

Similar Messages

  • Issue with configuration of another sunray server on same network

    Hello,
    I'm wondering whether it's possible to have another sun ray environment in the same network next to another.
    I'm trying to setup a test environment to do some testing, but after installing the server the only server displayed in the test sunray webGUI is the production sunray server. Luckily I cannot do anything with it, because if I could do actions with the production server from the test server that would be a huge security issue.
    Kind regards,
    J

    Just FYI, a sunray server array will have a group signature that is shared amongst other members in that array. If a new sunray server is setup with a different group signature, they should not care about eachother.

  • Sunray unit connected to Linux Sunray server and Solaris Sunray Server

    Hi,
    Currently, I work in a development environment where there is two Sunray servers.
    One server is running on Linux ubuntu and the second one is running on Solaris.
    In order to connect to the wanted sunray server, the dhcp server is configured with the list of the mac address of the sunray units. So one sunray unit connects always to the same sunray server.
    I would like to know if it is possible to have the two sunray server available from one sunray unit. And make the choice of sunray Server in function of the sun card inserted in the sunray unit.
    - from my sunray unit A, if I insert my sun card AC I can open a session on the Linux server.
    - from my sunray unit A, if I insert my sun card BC I can open a session on the Solaris server.
    Thanks

    You can do this by using an SRSS feature called "Automatic Multi-Group Hotdesking", or AMGH for short. For details read the "Regional Hotdesking" section in the SRSS Admin Guide and the manpages for utamghadm, ut_amgh_script_interface, ut_amgh_get_server_list and ut_amgh_free_server_list, and/or read the AMGH entries in [Bob Doolittle's blog|http://blogs.sun.com/bobd/].

  • Vdi 3.1 troubles with sunray server

    hi
    i'm not able to restart (warm or cold) sunray services from the webui (logged in as root) and the sunray server itself react not as expected (the sunray client stands on 26 D)
    i found access denied messages in the log but i dont know why they occur i've not changed access rights or something like that
    Feb 4 09:38:57 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[2981] from 172.27.35.16 33120
    Feb 4 09:38:57 vdi in.utrcmdd[2981]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    Feb 4 09:39:02 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[2990] from 172.27.35.16 33126
    Feb 4 09:39:02 vdi in.utrcmdd[2990]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    Feb 4 09:39:02 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[2992] from 172.27.35.16 33134
    Feb 4 09:39:02 vdi in.utrcmdd[2992]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    Feb 4 09:39:05 vdi java[2037]: [ID 521130 user.info] utadt:: username={root} hostname={vdi} service={Admin} cmd={} message={Services restart using warm restart failed for host(s) vdi} status={0} return_val={0}
    Feb 4 09:39:05 vdi inetd[645]: [ID 317013 daemon.notice] utrcmd[3001] from 172.27.35.16 33139
    Feb 4 09:39:05 vdi in.utrcmdd[3001]: [ID 808958 daemon.warning] refused connect from vdi (access denied)
    could you help me to solve this issue?
    thank you
    br
    Andre

    Would probably need to see your VDI instance cacao log file to see why this is failing, but you might need to add the following to [libdefaults] section of your krb5.conf file, for 2008R2 AD server:
    default_tkt_enctypes = rc4-hmac
    default_tgs_enctypes = rc4-hmac
    And then restart VDI services (/opt/SUNWvda/sbin/vda-service restart)
    Note that VDI will actually try to query individual AD servers as defines as part of your AD Global Catalog when it tries to lookup AD domain data. This means you need to verify that your global calalog referenced servers are valid and having matching forward and reverse DNS information:
    For example:
    $ *nslookup -querytype=any gc.tcp.vdi.com.*
    Server:          win2008.vdi.com
    Address:     192.168.1.100#53
    gc.tcp.vdi.com     service = 0 100 3268 win2008.vdi.com*.
    $ nslookup win2008.vdi.com.
    Server:          win2008.vdi.com
    Address:     192.168.1.100#53
    Name:     win2008.vdi.com
    Address: _192.168.1.100_
    r$ nslookup 192.168.1.100
    Server:          win2008.vdi.com
    Address:     192.168.1.100#53
    100.1.168.192.in-addr.arpa     name = win2008.vdi.com.*
    You'd want to verify that every record returned by the *nslookup -querytype=any gc.tcp.yourdoamin.com* command refers to a server that can be reached and has matching forward and reverse DNS. Otherwise, this may trigger VDI to have failures or delays in performing directory queries.
    Beyond that, you need to look in the cacao.log file for errors that you can find and post.
    Edited by: DoesNotCompute on Oct 13, 2012 11:48 AM

  • SunRay server in zone

    Can i install SunRay Server in a non-global zone?

    Someone please do something about this. SRSS in zones is a non-negotiable requirement to participate in future of desktop virtualisation, etc.

  • How to configure polish keyboard on SunRay Server Software

    Hi all
    I have a anoying probem with Sun USB Keyboard working on SunRay.
    I've installed SunRay Server Software 3.1 on RedHat ES
    Everything works fine but the keyboard on terminal client. Keyboard pluged into the server (RH ES) works good, i can press ALT+key to see polish letter, but it doesn't work when i log in from SunRay terminal. Even xmodmap on server shows different logs than on terminal. It is like client can't see the polish layout and keyboard type. I think it takes default from somewhere.
    Is there any other file to confgure layout different then xorg.conf? Maybe in /opt/SUNut ?
    I was trying to configure it through setxkbmap but I get error: "XKB extension not present on :11.0"
    Have no clue to solve that problem...Can anyone help me?
    thanks in advance!

    Sorry, Dariusz but your issue is not a hardware issue.
    Operating Environment locale and its influence on a keyboard mapping is 100% a software issue.
    You might consider posting your question to one of the OS forums.
    However, since you are not using Solaris or JDS, there may not be any answer for you here.
    I do not see the Sun Ray software as qualified for CentOS
    http://www.sun.com/software/sunray/index.xml
    If you have purchased the Sun Ray License(s) to use the software beyond the 90 day evaluation period, then you can contact Sun's technical support and open a service case.
    http://www.sun.com/service/contacting/solution.html

  • How to increase the dhcp IP range for sunray server

    Hello,
    We need help on how to reconfigure DHCP on sunray server. The current configuration is range of 150 DHCP addresses has been configured for the 10.218.0.0 network, which is exhausted now.
    Yes with utadm -a will add new and -d will delete, here do we have any option to reconfigure and add additional 10 more addresses.
    OR any thing that how to backup existing network configuration and then delete->and add new configuration.
    Appreciate help on this.
    Thanks,
    Dattatray.

    Hi Francisco
    If you are trying extend the validity of the resource, then as you said that you tried extending the resource by extending the General data tab, and the validity of the resource still remains till 12.2010.
    The validity of the resource if governed by a couple of things :
    Validity as defined in R/3 Work center under capacity tab in the APO resource tab
    In CFC9, you can define what should the validity of the resource be, when you are CIFing the resource.
    Moreover, as you have righlty read in various posts across the forums, you can use the report /SAPAPO/CRES_CAPACITY_LENGTHEN to extend the validity of the resource. But I am not sure how are using this report. Please type in se38, enter this report and execute. In the next screen, enter the version, the resource and the location at which the resource exists. Click on execute and validity of the resource should increase.
    Let me know if it helps.
    Rgds, Sandeep

  • Sunray Server Software 1.3 and Solaris 9

    Any idea when Sunray Server 1.3 will be supported on Solaris 9? I'm a bit surprised that there haven't been any patches released yet, Solaris 9 has been out for a while now...

    Hi there,
    as far as I know, 1.x will never be supported on Solaris 9, but the upcomming 2.0 will.
    Regards,
    Chris

  • SunRay Server 1.3 - SmartCards

    Apologies in advance if these are silly questions.
    I'm looking at a SunRay server 1.3 installation currently and the Schlumberger MicroPayFlex card is used for login to a session. I believe it is set up with standard functionality - it reads a number off the card and associates the number with the session, therafter identifying that session from the card number at any terminal, while the session is still open.
    I would like to introduce a different smartcard e.g. Gemplus MPCOS but retain the same functionality and procedures.
    My questions are:
    1. Are other smartcards supported in v1.3 without the need to write code ? i.e. can I buy some Gemplus MPCOS cards, make some small administrative change and continue operating as usual ?
    2. If there is a new .cfg file required (that doesn't come as standard) what goes into the .cfg file - the ATR of the card ?
    Thanks in advance

    You should plan to move off 1.3, it's ancient.
    1. Are other smartcards supported in v1.3 without the
    need to write code ? i.e. can I buy some Gemplus
    MPCOS cards, make some small administrative change
    and continue operating as usual ?1.3 supports a handful of card types including MPCOS. 'man -M /opt/SUNWut/man utcard' is the place to start.
    2. If there is a new .cfg file required (that doesn't
    come as standard) what goes into the .cfg file - the
    ATR of the card ?A smartcard .cfg file contains much more than an ATR. Its contents are a program written in a smartcard-specific stack-based language. If your new card is similar to one of the supported cards then you might be able to figure out how to derive a new .cfg file from an existing .cfg file. Otherwise you could try opening a support case with Sun, although it's extremely unlikely that they would deliver any enhancements to 1.3. Did I mention how ancient 1.3 is?

  • Sunray Server Sizing - Solaris x64

    Hi,
    Where can I obtain information on how to size a Sunray server running on x4170 hardware for CPU and memory in a pure kiosk configuration where the Sun connector redirects the session to a XP VM? Currently I base my config on 20 - 35 users per CPU core and 256MB ram per user. Also with network configuration as in how do I team NIC's together using Solaris 10 for the above configuration, is it needed or what are the best practices.
    Thank you.

    On the SunRay wiki are some sizing examples. Memory is the crucial part, they say.

  • Clean Install on Mac Mini Server

    I just purchased a Mac Mini Snow Leopard Server and used Target Mode from my MacBook Pro to repartition the disks. I first thought I would set up the 2 disks in the Mac Mini as RAID Mirrored. I tried to perform a clean install of Snow Leopard with the install DVD in my MacBook Pro. But the OS Install program would not let me past the restart stage because the computer with the Optical Drive was a laptop. I left the Firewire connection in tack and the DVD in the MacBook Pro's optical drive.
    I then tried the Remote Install procedure, with a monitor & keyboard, while holding down the C key, but all I got was a folder with a "?" on my monitor. I also tried a startup using the "option" key and the "shift" key. I tried this again with the Firewire connection removed. I then tried to use Server Assistant on my MacBook Pro and complete a Remote Install. Still no luck, folder with "?" on the monitor, and Server Assistant could not find the Mac Mini Ethernet address.
    I concluded that the RAID configuration was causing me the problem and used Target Mode to remove the RAID configuration and repartitioned the 2 disks into 2 partitions each, for various purposes. I then repeated all of the attempts above to reinstall Snow Leapord Server Software with the same results as above.
    Can anyone give me some guidance?

    Page 38 of the manual http://manuals.info.apple.com/enUS/Mac_mini_Late2009_SL_ServerUG.pdf has worked like a charm. Follow the steps here.
    Hope this helps

  • Clean Access and Windows 2003 Server

    I am trying to install the Clean Access Client on a VM running Windows 2003 Server. When I connect to our customer's network the VPN client appears to connect properly and I see the Clean Access window. Then it all seems to fall over. My customer tells me I should see a blue window with a red OK button on it but I never see it. As a result I never get completely into the network. Is this because I am running this on Windows 2003 Server or should I be looking at something else? Can this run in a Virtual Environment and on 2003 Server?

    I work it out partially by myself:
    1)
    (excuse me, I meant "kinit and Krb5LoginModule" not "kinit and kinit.exe").
    Krb5LoginModule seems to work now (with TCP). The output is:
    KRBError:sTime is Tue Jun 01 17:13:51 CEST 2004 1086102831000
    suSec is 945761
    error code is 52
    error Message is Response too big for UDP, retry with TCP
    realm is SSOTEST.RTC.CH
    sname is krbtgt/SSOTEST.RTC.CH
    KrbKdcReq send: kdc=rtcnt978.ssotest.rtc.ch TCP:88, timeout=30000, number of retries =3, #bytes=232
    DEBUG: TCPClient reading 1496 bytes
    KrbKdcReq send: #bytes read=1496
    KrbKdcReq send: #bytes read=1496
    EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
    KrbAsRep cons in KrbAsReq.getReply sso_testuserCommit Succeeded
    Which is what I want (it tries first with UDP, then the KDC says the TGT is too big for UDP and the client tries again with TCP)
    2)
    I still have the error :-(

  • Won't install on clean OS X: Error enabling server management.

    Hi All,
    I'm getting seriously fed up of Server.app.
    I previously had it installed on my Mac Mini, but due to various reasons did a clean install of OS X. On boot, the only app I have installed so far is Parallels. My second app is Server.app, well it would be but it fails when trying to configure it:
    Error enabling server management.
    A problem was detected with Server. Please redownload Server from the App Store.
    Obviously I did do this, to no avail. I also copied over a known working version of Server.app from another machine and got the same message. I mean what gives? Why isn't it even letting me install it?!
    Thanks

    Not only do I have that folder already in existence, but I have a plist file located there that is for the server.app I'm sure.
    com.apple.serverd.plist
    I have tried deleting this and relaunching to no avail.
    Still stuck with the error.
    And terminal doesn't seem to agree with that command.
    Says "-al" isn't a valid command?
    Console is giving me a tiny bit of info that might help...
    3/21/13 12:40:19.800 PM Server[8383]: Could not find image named 'XSLock'.
    3/21/13 12:40:34.388 PM launchdadd[8388]: Could not open /Applications/Server.app/Contents/Library/LaunchServices/com.apple.serverd (open() error 2: No such file or directory)
    3/21/13 12:40:34.388 PM launchdadd[8388]: Could not close file descriptor for old temporary tool. Continuing on. We will be left with a dangling reference to the file, and this will prevent it from being cleaned up automatically by the system until launchdadd is either relaunched or the system is rebooted. (close() error 9: Bad file descriptor)
    3/21/13 12:40:34.389 PM launchdadd[8388]: FAILURE: Could not create a request for tool at path /Applications/Server.app/Contents/Library/LaunchServices/com.apple.serverd
    3/21/13 12:40:34.390 PM Server[8383]: ERROR: failed to enable serverd: Error Domain=kSMErrorDomainFramework Code=5 "The operation couldn’t be completed. (kSMErrorDomainFramework error 5 - The tool at the specified path is not valid.)" UserInfo=0x7fba6c0bc270 {NSDescription=The tool at the specified path is not valid.}
    Not sure where to go from here.

  • Sunray Server and DTUs USB Support

    I'm looking for help on usb support through the Sunray DTUs. I would like to be able to connect a usb device as I would with inside of Windows from a Sunray. USB drives are about the only thing I have working but not consistently. I've used the USB drive daemon posted on the Thinkthin blog and that works most of the time. I would like to use printers connected directly to the DTU. I have an idea on how to add the printer using the tmp/SUWut/units/<macaddress>/dev path but it seems that I cannot get it to work; maybe I'm using the wrong settings/drivers. I would also like to use USB cdroms, floppys, etc. Basically anything that doesn't require a special driver in Windows I would like to use on a DTU. It makes it hard to convince people that these can replace desktops when the functionality of things like USB are nowhere nearly as developed as Windows desktops. BTW, I need it both on the Solaris side and through the Sunray Windows connector. Any help would be greatly appreciated.

    I am not sure about sunray connector (windows) but within solaris it is rather transparent as long as the usb drive device is not NTFS. Plug it in and it should show up in /tmp/SUNWut/mnt/user/. I use a dvdwriter (lightscribe) the same way.
    Whenever I have problems with users not being able to mount thumb drives it is always a NTFS issue or a high density thumb drive (8-16gb).
    Not sure why sun doesn't put something more apparent on the desktop when you mount a drive. The rest of the world does that and it would make it a bit more user friendly. If you want a pain in the rear try using virtualbox through a sunray and mount usb devices. It works but it is really convoluted.
    Never bothered with printers.

  • Sunray Server Capacity Planning

    I've searched high and low on the net to see how to spec out a server for a 50-desktop environment.
    Each desktop will use the uttsc connector.. However on my 2 systems I've tried, the Load average is through the roof. (5.2 install/kiosk users)
    Has anyone calculated the I/O / Resources for X user?

    What kind of systems did you try ?
    For serving 50 simple RDP (kiosk) desktops I would go for one a physical server with 1 quadcore with 8GB memory.
    good luck.

Maybe you are looking for

  • Blue screen hard disk dump AND memory dump

    I sent my toshiba satellite a215-s4767 to the repair depot for a screen replacement and since i got it back i have had 2 blue screen memory dumps and 1 hard disk dump blue screen(that was last night). I got it back on christmas eve so ive had it back

  • Memory Leak issues

    Hello. I am having an issue with Flash 9 and wasnt sure if this needed to be posted in here or general. I figured that I would need some kind of code to fix this so I posted it in here. This is my issue..the typical dreaded memory leak problem. The p

  • Unreconciled documents at specific date

    Here's the problem: I need to show customer balance at specific date span (let say from BeginningDate to EndingDate). However for beginning balance, I must show all unreconciled documents (invoices, credit memos, incoming and outgoing payments, and d

  • Stolen iTouch thinking about calling the police? What do you think?

    Guys I am desperate and I am serching all over the interenet and seeing if the police can do much. Here is what I found: Go to the police and report it stolen. Give them the serial number and they will enter it into NCIC, and if it is turned into any

  • [iPhone] Data in tables

    I am looking at the SimpleIndexedTableView example app. I don't yet understand where data in tables is stored. I have looked (I thought) through all of the files included in the package and can't seem to find the list times zones of Abidjan through Z