/tmp vs /var/tmp

I am running Solaris 8, updated to latest patches. When I create Posix message queues or semaphores, the corresponding directories (for example, .MQD and .SEMD) are created in /var/tmp. On all the other machines we have these are created in /tmp. I would like to change this location so that they are created in /tmp. This would help with some permission problems. I have been told that there is a patch to set this up properly, but I updated with the latest Solaris 8 recommended patch set last night, and things haven't changed. Is there some other patch I need or is there a different way to fix this? Thanks.

johane wrote:
And I'm struggling to understand why anybody would like to put such a "feature" in a language since there is such a high risk of introducing (hard to find) logical errors in the code.I agree -- one notorious gotcha occurs when using short or byte with a compound unsigned right shift operator ">>>="...
I don't think there's a good reason for it, at least not one that outweighs the problems.

Similar Messages

  • /var/tmp not getting cleaned out...

    This might not exactly apply to the Finder, Dock or Dashboard but it is file maintenance, and I don't see a closer match.
    I've noticed that my /var/tmp directory has a lot of files that are pretty old. There's 3 directories there that seem to be written to daily...those I wouldn't touch... But there's a whole bunch of files that are named things like: 4568943754a6d... around 56M worth each is ~1.5M
    Why are these not getting automatically cleaned up? Is there a limit to this directory that could be causing me issues. I have several but I don't dare mention them here for fear of being told to open a new post
    Thanks!

    Hi again
    does the '3 days ago' actually set the time? so '1 week ago' would be valid too?Ah, was afraid you might ask that
    '3 days ago' does "set the time" as you say. '1 week ago' might work, but the man pages are not particularly helpful on what works and what doesn't. The find man page refers you to the cvs man page, which says:
    However, cvs currently accepts a wide variety of other date formats. They are intentionally not documented here in any detail, and future versions of cvs might not accept all of them.But that gives an example of "1 hour ago" being valid, so I tried a few variations
    wacking whole directories scares me... especially since there are live directories in here that I think shouldn't be deleted... can I take this part out?Yes, you can leave out the complete second "find" command if you wish. But applications shouldn't leave files or folders lying around in /tmp or /var/tmp and expect them to still be there when they come back!
    excuse my ignorance what language is this?This is the Bourne Shell or more accurately bash. You can try reading the man page, but if you're interested I think you'd find an introductory shell scripting book a lot more readable!
    My weekly hasn't run since Nov 18th but the Monthy and daily both say Dec 1st!!!No problem. My weekly hasn't run since Nov 15th. It will eventually get run, after about a week of cpu time (not sleeping).
    Now that the periodic scripts are managed by launchd, rather than cron, they do eventually get run. Unless you are running a busy server with hundreds of users, rotating the log files is no big deal with today's typical disk sizes.

  • Automounting EncFS encrypted /var/tmp using pam_encfs

    I've encrypted /var/tmp using encfs and tried to set up automounting using pam_encfs, following the instructions at https://wiki.edubuntu.org/EncryptedHomeFolder, linked on the Arch Wiki. Basically, what I've done is the following:
    1. Install pam_encfs
    2. Insert the line "auth sufficient pam_encfs.so" into /etc/pam.d/login and append "use_first_pass" to every subsequent line (see below)
    3. Change the source and target in am_encfs.conf to /var/.tmp and /var/tmp, and change "allow_other" to "nonempty"
    4. Add fuse to the modules array in /etc/rc.conf
    5. Add myself to the fuse group
    6. Run "sudo encfs /var/.tmp /var/tmp" and set it up with the default options and my login password
    When I restart and login, however, /var/tmp is not mounted. I can manually mount it with "sudo encfs /var/.tmp /var/tmp".
    Here is my /etc/pam.d/login:
    #%PAM-1.0
    auth required pam_securetty.so
    auth requisite pam_nologin.so
    auth sufficient pam_encfs.so
    auth required pam_unix.so nullok use_first_pass
    auth required pam_tally.so onerr=succeed file=/var/log/faillog use_first_pass
    # use this to lockout accounts for 10 minutes after 3 failed attempts
    #auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
    account required pam_access.so use_first_pass
    account required pam_time.so use_first_pass
    account required pam_unix.so use_first_pass
    #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
    #password required pam_unix.so sha512 shadow use_authtok
    session required pam_unix.so use_first_pass
    session required pam_env.so use_first_pass
    session required pam_motd.so use_first_pass
    session required pam_limits.so use_first_pass
    session optional pam_mail.so dir=/var/spool/mail standard use_first_pass
    session optional pam_lastlog.so use_first_pass
    session optional pam_loginuid.so use_first_pass
    -session optional pam_ck_connector.so nox11 use_first_pass
    -session optional pam_systemd.so use_first_pass
    and my /etc/security/pam_encfs.conf:
    #This file is parsed top to bottom, until the first mount line that matches is found, then it stops.
    #Note that I dont support spaces in params
    #So if your for example gonna specify idle time use --idle=X not -i X.
    #If this is specified program will attempt to drop permissions before running encfs.
    #(will not work with --public for example, as that requires encfs to run as root)
    drop_permissions
    #This specifies which options to pass to encfs for every user.
    #You can find encfs options by running encfs without any arguments
    encfs_default --idle=1
    #Same for fuse, note that allow_root (or allow_other, or --public in encfs) is needed to run gdm/X.
    #you can find fuse options with encfs -H
    fuse_default allow_root,nonempty
    #For a mount line, - = generic, we try to fill in what we need.
    #A Mount line is constructed like this:
    #USERNAME if "-" or "*" gets replaced with $USER
    #SOURCE if USERNAME is -, replace with path + /$USER
    # if USERNAME is *, replace with $HOME/ + sourcepath
    #TARGET PATH if - replace with $HOME
    # if USERNAME is *, replace with $HOME/ + targetpath
    #ENCFS OPTIONS encfs options here is encfs_default + encfs_options
    #FUSE OPTIONS encfs options here is fuse_default + fuse_options
    #Keep in mind that the configuration file is parsed top to bottom, so if you put your generic line on top,
    #that will always match before any custom lines under it.
    #In this example, with example_user uncommented, the "-" line will never be parsed if you login as example_user.
    #In the lines with the USERNAME "*", all paths are relative to $HOME
    #USERNAME SOURCE TARGET PATH ENCFS Options FUSE Options
    #example_user /mnt/enc/example_user /home/example_user -v,--idle=1 allow_root
    #* .private private -v allow_other
    - /var/.tmp /var/tmp -v,>/home/ian/log nonempty
    The ">/home/ian/log" option at the bottom was an attempt to direct the output of the command pam_encfs runs to a file, but it didn't create a log file when I tried it. If anyone knows how to do this correctly, that would probably be pretty helpful, since it's difficult to debug without knowing what's failing.
    Thanks in advance for any advice.

    I think I figured it out. It is indeed a configuration issue.
    I found a post on the internet where someone suggested putting the items I had added to /etc/pam.d/system-auth in /etc/pam.d/system-login instead. I also read the documentation for PAM linux (http://linux-pam.org/), as previously I had only been reading the documentation for pam_mount. Then, by looking at all of the files in /etc/pam.d/ I figured out what was going on.
    I turns out system-auth is just used by too many other services. In particular, I believe it was the use by the systemd-user service that was causing an issue in this case.
    The catch was that system-login is also used by systemd-user, so even that probably wouldn't have fixed the problem.
    What I ended up doing was creating a new file that contained only the pam_mount and pam_ecryptfs lines I had added to system-auth previously. Then I modified system-local-login and system-remote-login to include that new file.
    I'll also need to make some modifications to the appropriate file for the graphical login manager when I set that up.
    Marked thread solved in case this helps anyone else in the future.
    Tom
    Last edited by tom101 (2013-12-28 16:27:21)

  • Firefox opens links from file:///var/tmp/

    Using kdemod with Firefox set as default browser, when I click a link in Kmail, an IRC client, or Kerry Firefox doesn't go out onto the internet it opens the link from the address file:///var/tmp/*. At some point the computer is retrieving text from the internet and creating the tmp file, but I get a really ugly page with no images at all and a really poor layout.
    This only affects my login. I've compared the entries in the Control Center --> KDE Components --> File Associations for html between logins and everything seems to be setup the same. Any ideas what could be going wrong?

    what about kcontrol > kde components > components chooser > web browser?  Is that set to your preferred browser?
    *edit*
    After re-reading your post I am not sure if the above has anything to do w/ it.
    Last edited by somairotevoli (2007-08-29 23:58:43)

  • /private/var/tmp has gone missing!  ***?!?!?!?

    Please, I need help on this one. I had an iBook G4 crash on me, then get as far as the white Apple screen with pinwheel before freezing. I tried running Disk Utility off of an OS X install disk, and it found no volume structure errors. However, when I tried repairing permissions on it, Disk Utility was reporting that the directory /private/var/tmp has gone missing, and it could not repair permissions.
    What gives? How can the whole directory get fried? How can I replace it? I've already tried doing an archive and install, but the OS X installed won't let me do an archive and install, probably because this folder is missing.
    Can anyone help?

    Get Prosoft Data Rescue to recover the data to an external hard disk. Shut down the computer, disconnect the drive any other third party peripherals and then next after that do an erase and install of the operating system. You will probably want to use a CD burner to burn off less frequently used data on occasion at least a couple times so that your hard drive does not fill up with unessential stuff. Some more tips on backing up are on this page:
    http://www.macmaps.com/backup.html
    Disclaimer: Reference to links I make to my Macmaps.com website are a for your information only type reference. I do not get any profit from this page, and it is open to the public.

  • Upgraded to Mavericks - System errors popping up in /private/var/tmp ... Help!!

    Hi there,
    Ever since I upgraded to Mavericks, and installed my standard software, I'm getting some odd behaviour.
    Every so often (no discernable pattern so far) my Finder pops up with a new window in /private/var/tmp.  There is a huge system stacktrace printed out in a file with the following format: "
    sysdiagnose_2013.10.30_19-53-16-MDT_9956.tar.gz
    There are a ton of files in there, so I have no idea how to figure out what is crashing and causing it. I get no "system crash message" to go along with it.
    $ la
    total 51592
    drwxr-x---  55 brandon  staff      1870 Nov  2 12:23 ./
    drwxrwxrwt  10 root     wheel       340 Nov  2 12:23 ../
    drwxr-xr-x@  4 brandon  staff       136 Oct 31 05:50 Brandons MacBook.mdsdiagnostic/
    drwxr-xr-x   7 brandon  staff       238 Nov  2 12:23 DiagnosticMessages/
    drwxr-xr-x  10 brandon  staff       340 Oct 31 05:50 SystemConfiguration/
    -rw-r--r--   1 brandon  staff       343 Oct 31 05:50 airport_info.txt
    -rw-r--r--   1 brandon  staff     24735 Oct 31 05:50 apsd-status.txt
    -rw-r--r--   1 brandon  staff      3623 Oct 31 05:50 bc_stats.txt
    -rw-r--r--   1 brandon  staff       838 Oct 31 05:50 bootstamps.txt
    drwxr-xr-x  29 brandon  staff       986 Nov  2 12:23 crashes_and_spins/
    -rw-r--r--   1 brandon  staff       888 Oct 31 05:50 dig-results.txt
    -rw-r--r--   1 brandon  staff       368 Oct 31 05:50 disks.txt
    -rw-r--r--   1 brandon  staff      5034 Oct 31 05:50 diskutil.txt
    -rw-r--r--   1 brandon  staff      1339 Oct 31 05:50 error_log.txt
    -rw-r--r--   1 brandon  staff    312320 Oct 31 05:50 footprint.fpdata
    -rw-r--r--   1 brandon  staff      6671 Oct 31 05:50 footprint.txt
    -rw-r--r--   1 brandon  staff   1635003 Oct 31 05:49 fs_usage.txt
    -rw-r--r--   1 brandon  staff     11583 Oct 31 05:50 fsck_hfs_user.log
    -rw-r--r--   1 brandon  staff     24176 Oct 30 23:45 fsck_hfs_var.log
    -rw-r--r--   1 brandon  staff      1112 Oct 31 05:50 gpt.txt
    -rw-r--r--   1 brandon  staff      2317 Oct 31 05:50 ifconfig.txt
    drwxr-xr-x   8 brandon  staff       272 Oct 31 05:50 ioreg/
    -rw-r--r--   1 brandon  staff       556 Oct 31 05:50 ipconfig.txt
    -rw-r--r--   1 brandon  staff     12945 Oct 31 05:50 kextstat.txt
    drwxr-xr-x  22 brandon  staff       748 Nov  2 12:23 logs/
    -rw-r--r--   1 brandon  staff     84574 Oct 31 05:50 lsappinfo.txt
    -rw-r--r--   1 brandon  staff   1003463 Oct 31 05:50 lsof.txt
    -rw-r--r--   1 brandon  staff    948932 Oct 31 05:50 lsregister.txt
    -rw-r--r--   1 brandon  staff   2603456 Oct 31 05:50 microstackshots
    -rw-r--r--   1 brandon  staff  12050663 Oct 31 05:50 microstackshots_lastday.txt
    -rw-r--r--   1 brandon  staff   1701106 Oct 31 05:50 microstackshots_lasthour.txt
    -rw-r--r--   1 brandon  staff    133219 Oct 31 05:50 microstackshots_lastminute.txt
    -rw-r--r--   1 brandon  staff       195 Oct 31 05:50 mount.txt
    drwxr-xr-x   8 brandon  staff       272 Oct 31 05:50 netstat/
    -rw-r--r--   1 brandon  staff         0 Oct 31 05:50 nfsstat.txt
    -rw-r--r--   1 brandon  staff     22642 Oct 31 05:50 odutil.txt
    -rw-r--r--   1 brandon  staff    189162 Oct 31 05:50 pmset_everything.txt
    -rw-r--r--   1 brandon  staff    119937 Oct 31 05:50 powermetrics.txt
    -rw-r--r--   1 brandon  staff     39115 Oct 31 05:49 ps.txt
    -rw-r--r--   1 brandon  staff    130781 Oct 31 05:49 ps_thread.txt
    -rw-r--r--   1 brandon  staff       143 Oct 31 05:50 reachability-info.txt
    -rw-r--r--   1 brandon  staff       305 Oct 31 05:11 resolv.conf
    -rw-r--r--   1 brandon  staff      1409 Oct 31 05:50 scutil.txt
    -rw-r--r--   1 brandon  staff      8942 Oct 31 05:49 smcDiagnose.txt
    -rw-r--r--   1 brandon  staff   3027018 Oct 31 05:49 spindump.txt
    -rw-r--r--   1 brandon  staff    514781 Oct 31 05:50 stackshot-last-sym.log
    -rw-r--r--   1 brandon  staff     31697 Oct 31 05:50 sysctl.txt
    -rw-r--r--   1 brandon  staff     31827 Oct 31 05:50 sysdiagnose.log
    -rw-r--r--   1 brandon  staff     64463 Oct 31 05:50 system_profiler.spx
    -rw-r--r--   1 brandon  staff    953612 Oct 31 05:49 taskinfo.txt
    -rw-r--r--   1 brandon  staff    395179 Oct 31 05:49 top.txt
    -rw-r--r--   1 brandon  staff       305 Oct 31 05:11 var_run_resolv.conf
    -rw-r--r--   1 brandon  staff     10930 Oct 31 05:49 vm_stat.txt
    -rw-r--r--   1 brandon  staff    169255 Oct 31 05:50 vmmap-38738.txt
    -rw-r--r--   1 brandon  staff     25105 Oct 31 05:50 zprint.txt
    Any help you could provide would be appreciated!

    When pressing Cmd-Opt-Ctrl-Shift-Period, 'sysdiagnose' is triggered. It takes a few minutes to complete. When ready, the output will automatically be revealed in a Finder window.

  • Clearing of /var/tmp/logs

    Hi all,
    Until now..we are clearing the logs manually by
    find /var/tmp -name '*.dbg' -mtime +0 -exec rm {} \;
    Now...needed to write a script..when ever the /var/tmp mount point reaches a threshold of 90% the above command should fire...
    How can i do the above...
    thanks,
    baskar.l

    Removing those logs is usually done not by database, but by OS commands, manualy or automatic.
    The best thing for you would be to write simple shell script, place it in the cron and schedule execution intervals based on you instance activity.
    You will need few variables in that script , one of them will propably be for holding the value got from os specific disk usage command and one for
    holding your desired treshold value.
    Then you could use if-then-else logic to compare those two values through those two variables and when matched execute your removal command.

  • Etc,tmp, and var folder won't hide in Leopard

    Hi can someone help me hide the etc,tmp,and var folder in Leopard 10.5.4
    I have run the ls -alO / (in terminal)
    I get these results:
    total 41517
    drwxrwxr-t 34 root admin - 1224 Jul 5 11:34 .
    drwxrwxr-t 34 root admin - 1224 Jul 5 11:34 ..
    -rw-rw-r--@ 1 Robert admin hidden 15364 Jul 5 12:31 .DS_Store
    drwx------ 3 root admin - 102 Jun 4 09:32 .Spotlight-V100
    d-wx-wx-wt 2 root staff - 68 Jun 4 09:02 .Trashes
    -rw-r--r-- 1 root admin - 0 Jun 4 09:32 .com.apple.timemachine.supported
    drwx------ 19 root admin - 646 Jul 5 12:08 .fseventsd
    -rw-r--r-- 1 Robert admin - 166 Jul 5 12:26 .hidden
    -rw------- 1 root wheel hidden 131072 Jun 30 03:51 .hotfiles.btree
    drwxr-xr-x 2 root wheel - 68 Sep 24 2007 .vol
    drwxrwxr-x+ 104 root admin - 3536 Jul 5 11:26 Applications
    -rw-r--r--@ 1 root admin hidden 44544 Jul 3 17:05 Desktop DB
    -rw-r--r--@ 1 root admin hidden 2 Jun 4 21:23 Desktop DF
    drwxrwxr-x 3 root admin - 102 Jun 4 19:37 Developer
    drwxrwxr-t+ 58 root admin - 1972 Jun 30 00:20 Library
    drwxr-xr-x 2 root wheel - 68 Sep 23 2007 Network
    drwxr-xr-x 4 root wheel - 136 Jun 4 19:26 System
    drwxr-xr-x 5 root admin - 170 Jun 27 01:40 Users
    drwxrwxrwt@ 7 root admin hidden 238 Jul 5 12:09 Volumes
    drwxr-xr-x@ 40 root wheel hidden 1360 Jun 4 19:23 bin
    drwxrwxr-t@ 2 root admin hidden 68 Sep 23 2007 cores
    dr-xr-xr-x 2 root wheel - 512 Jul 5 12:08 dev
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 etc -> private/etc
    dr-xr-xr-x 2 root wheel - 1 Jul 5 12:08 home
    -rw-r--r--@ 1 root wheel hidden 10293308 Jun 9 19:37 mach_kernel
    -rw-r--r--@ 1 root wheel hidden 10742313 Jun 9 19:37 mach_kernel.ctfsys
    dr-xr-xr-x 2 root wheel - 1 Jul 5 12:08 net
    drwxr-xr-x@ 7 root wheel hidden 238 Jun 7 19:43 private
    drwxr-xr-x@ 66 root wheel hidden 2244 Jun 4 19:23 sbin
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 tmp -> private/tmp
    drwxr-xr-x@ 11 root wheel hidden 374 Jun 30 00:16 usr
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 var -> private/var
    As you can see...
    private/var
    private/tmp
    private/etc
    do not have the hidden flag. I have tried to run this command with no luck on all 3:
    sudo chflags hidden /private/var
    sudo chflags hidden /private/tmp
    sudo chflags hidden /private/etc
    No luck. I put in my password and restart the finder/cpu and these folders still remain visible. Anyone have any suggestions?

    *Hi Tim. Looks like I do have the developer tools but for some reason maybe not that one tool. So I downloaded your file (thank you so much for allowing me to download it and for uploading it) and put it on my desktop as you suggested. Still no luck. The files still appear eventhough the commands went through.*
    *See below (my terminal window afterwards)*
    roberts-imac:~ Robert$ sudo ~/Desktop/SetFile -a V /private/tmp
    roberts-imac:~ Robert$ sudo ~/Desktop/SetFile -a V /private/etc
    roberts-imac:~ Robert$ sudo ~/Desktop/SetFile -a V /private/var
    roberts-imac:~ Robert$ ls -alO /
    total 41517
    drwxrwxr-t 34 root admin - 1224 Jul 5 11:34 .
    drwxrwxr-t 34 root admin - 1224 Jul 5 11:34 ..
    -rw-rw-r--@ 1 Robert admin hidden 15364 Jul 5 18:43 .DS_Store
    drwx------ 3 root admin - 102 Jun 4 09:32 .Spotlight-V100
    d-wx-wx-wt 2 root staff - 68 Jun 4 09:02 .Trashes
    -rw-r--r-- 1 root admin - 0 Jun 4 09:32 .com.apple.timemachine.supported
    drwx------ 25 root admin - 850 Jul 5 15:22 .fseventsd
    -rw-r--r-- 1 Robert admin - 166 Jul 5 12:26 .hidden
    -rw------- 1 root wheel hidden 131072 Jun 30 03:51 .hotfiles.btree
    drwxr-xr-x 2 root wheel - 68 Sep 24 2007 .vol
    drwxrwxr-x+ 105 root admin - 3570 Jul 5 15:21 Applications
    -rw-r--r--@ 1 root admin hidden 44544 Jul 3 17:05 Desktop DB
    -rw-r--r--@ 1 root admin hidden 2 Jun 4 21:23 Desktop DF
    drwxrwxr-x 3 root admin - 102 Jun 4 19:37 Developer
    drwxrwxr-t+ 58 root admin - 1972 Jun 30 00:20 Library
    drwxr-xr-x 2 root wheel - 68 Sep 23 2007 Network
    drwxr-xr-x 4 root wheel - 136 Jun 4 19:26 System
    drwxr-xr-x 5 root admin - 170 Jun 27 01:40 Users
    drwxrwxrwt@7 root admin hidden 238 Jul 5 15:23 Volumes
    drwxr-xr-x@ 40 root wheel hidden 1360 Jun 4 19:23 bin
    drwxrwxr-t@ 2 root admin hidden 68 Sep 23 2007 cores
    dr-xr-xr-x 2 root wheel - 512 Jul 5 14:51 dev
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 etc -> private/etc
    dr-xr-xr-x 2 root wheel - 1 Jul 5 14:52 home
    -rw-r--r--@ 1 root wheel hidden 10293308 Jun 9 19:37 mach_kernel
    -rw-r--r--@ 1 root wheel hidden 10742313 Jun 9 19:37 mach_kernel.ctfsys
    dr-xr-xr-x 2 root wheel - 1 Jul 5 14:52 net
    drwxr-xr-x@ 7 root wheel hidden 238 Jun 7 19:43 private
    drwxr-xr-x@ 66 root wheel hidden 2244 Jun 4 19:23 sbin
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 tmp -> private/tmp
    drwxr-xr-x@ 11 root wheel hidden 374 Jun 30 00:16 usr
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 var -> private/var
    *For some reason the entries below do not change:*
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 etc -> private/etc
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 tmp -> private/tmp
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 var -> private/var
    *I've noticed that the folders that are hidden start with an "l" and the others start with a "d". (example below)*
    lrwxr-xr-x 1 root admin - 11 Jun 4 09:04 var -> private/var (example 1)
    drwxr-xr-x@ 11 root wheel hidden 374 Jun 30 00:16 usr (example 2)
    *Any other guesses??? Appreciate your help on this.*
    Does that have something to do with it?

  • Aurbuild saying "package not found under /var/tmp/aurbuild/pkgbuilds"

    Hello everyone
    I am using aurbuild for installing aur packages. Since some time now, I keep getting the error message:
    package not found under /var/tmp/aurbuild/pkgbuilds
    For example the exact message is:
    lib32-pciutils not found under /var/tmp/aurbuild/pkgbuilds
    No result found
    What can I do about that?
    Thanks in advance
    b1

    Please see our Forum Etiquette regarding bumping b1: https://wiki.archlinux.org/index.php/Fo … te#Bumping
    Have you tried if the same thing happens with other packages and AUR-builders?

  • 2 TB MyCloud filesystems "/tmp" and "/var/log" both at 100%

    Now, this is just plain weird...  here's the output from "df -k": Filesystem 1K-blocks Used Available Use% Mounted on
    rootfs 1968336 685956 1182392 37% /
    /dev/root 1968336 685956 1182392 37% /
    tmpfs 40960 20992 19968 52% /run
    tmpfs 40960 64 40896 1% /run/lock
    tmpfs 10240 0 10240 0% /dev
    tmpfs 5120 0 5120 0% /run/shm
    tmpfs 102400 102400 0 100% /tmp                                           <<<<<<<<<<<<<---------------
    /dev/root 1968336 685956 1182392 37% /var/log.hdd
    ramlog-tmpfs 20480 20480 0 100% /var/log                             <<<<<<<<<<<<<---------------
    /dev/sda4 1918220368 26235484 1853008884 2% /DataVolume
    /dev/sda4 1918220368 26235484 1853008884 2% /CacheVolume
    /dev/sda4 1918220368 26235484 1853008884 2% /nfs/TimeMachineBackup
    /dev/sda4 1918220368 26235484 1853008884 2% /nfs/Public
    /dev/sda4 1918220368 26235484 1853008884 2% /nfs/SmartWare (pls. excuse the formatting but you can see at the arrows that /var/log and /tmp are at 100%) "/tmp" is filling up with *hundreds* of files with the form -rw------- 1 www-data www-data 0 Jul 14 00:43 sess_pdh5c9g907vqvusb3mdsvtlum3
    -rw------- 1 www-data www-data 0 Jul 14 00:43 sess_2a7v2di677ra43sh76lonm3de1
    -rw------- 1 www-data www-data 0 Jul 14 00:43 sess_o6kh3i4iggg78evs53kp6enpf6
    -rw------- 1 www-data www-data 0 Jul 14 00:43 sess_o0ahso52sef3h0if3ifpo4dno3
    -rw------- 1 www-data www-data 0 Jul 14 00:43 sess_bvn1o9v4b4ldgoq9uvtn2n24i0-rw------- 1 www-data www-data 0 Jul 14 00:43 sess_h01fbr9o1pte3ud2s9ainth7b6 all similarly named "sess_[somethingorother] And "/var/log" is filling up due to file "/var/log/user.log", with gazillions of error messages of the form Jul 14 00:02:06 WDMyCloud REST_API[6751]: 192.168.1.101 ORION_LOG /var/www/rest-api/api/Auth/src/Auth/User/UserSecurity.php ISAUTHENTICATED [ERROR] dbgvar0: Array\n(\n [_] => 1436857244438\n [RequestScope] => RequestScope Object\n (\n )\n\n)\n and file "/var/log/apache2/error.log", that has more gazillions of error messages in it of the form [Tue Jul 14 00:07:25.715561 2015] [:error] [pid 7107] [client 192.168.1.101:3844] PHP Fatal error: Uncaught exception 'Zend\\Log\\Exception\\RuntimeException' with message 'No log writer specified' in /var/www/rest-api/lib/Zend/Log/Logger.php:245\nStack trace:\n#0 /var/www/rest-api/lib/Zend/Log/Logger.php(396): Zend\\Log\\Logger->log(4, 'Unknown: open(/...', Array)\n#1 [internal function]: Zend\\Log\\Logger::Zend\\Log\\{closure}(2, 'Unknown: open(/...', 'Unknown', 0, Array)\n#2 {main}\n thrown in /var/www/rest-api/lib/Zend/Log/Logger.php on line 245 ooookay... something has clearly gone bezoomny...  Anybody seen this?  before I go off on Yet AnotherMad Debian Bug Hunt?  

    Hey WD...  Y'all's got a BUG... When I access the MyClod from my laptop running XP with FireFox, I get the thousands of  "sess_*" files written to /tmp, and I get groups of messages of the form Jul 14 22:36:26 WDMyCloud REST_API[23951]: 192.168.1.101 ORION_LOG /var/www/rest-api/api/Auth/src/Auth/User/UserSecurity.php ISAUTHENTICATED [ERROR] Authentication failure for /api/2.1/rest/mediacrawler_status?_=1436938574613
    Jul 14 22:36:26 WDMyCloud REST_API[23951]: 192.168.1.101 ORION_LOG /var/www/rest-api/api/Auth/src/Auth/User/UserSecurity.php ISAUTHENTICATED [ERROR] dbgvar0: Array\n(\n [_] => 1436938574613\n [RequestScope] => RequestScope Object\n (\n )\n\n)\n
    Jul 14 22:36:26 WDMyCloud REST_API[23951]: 192.168.1.101 ORION_LOG /var/www/rest-api/api/Auth/src/Auth/User/UserSecurity.php ISAUTHENTICATED [ERROR] dbgvar0: Array\n(\n [_] => 1436938574613\n [RequestScope] => RequestScope Object\n (\n )\n\n)\n written to /var/log/user.log. But when I access it similarly from the desktop machine, also running XP with FireFox, I just get *one* of the "sess_*" whatever files written to /tmp, and just one set of messages of the form Jul 14 22:40:26 WDMyCloud REST_API[24325]: 192.168.1.100 OUTPUT DlnaServer\Controller\Database GET SUCCESS
    Jul 14 22:40:29 WDMyCloud REST_API[23952]: 192.168.1.100 OUTPUT System\Configuration\Controller\FactoryRestore GET SUCCESS
    Jul 14 22:40:29 WDMyCloud Zend\Log[23877]: 8192
    Jul 14 22:40:51 WDMyCloud REST_API[23952]: 192.168.1.100 OUTPUT Alerts\Controller\Alerts GET SUCCESS written to /var/log/user.log. So the MyClod is playing nice with some computers and not others... My guess is this could be happening more than WD knows about and could be producing all manner of mysterious behavior, since not only does it only happen on some machines but it does *not* crash the MyClod - at least not right away.  The main effect is to fill /tmp and /var/log with garbage so nothing can write to them, which will probably affect some things and not others... https://www.youtube.com/embed/2Gwnmb6P-3k  

  • Is it safe to delete .appmergegen files in /var/tmp anytime?

    Hi,
    I saw when I start an weblogic server, it writes deployment files in /var/tmp in exploded format.
    Do anybody has any idea on these files? and why weblogic writes these in /var/tmp?
    And can these be deleted anytime without restarting weblogic?
    e.g. here are some of the files generated today:
    (each of the directory contains deployment files in exploded format)
    drwxr-xr-x 5 ecmspbea ecmspbea 512 Sep 14 07:29 .appmergegen_1222796450487_da.war
    drwxr-xr-x 9 ecmspbea ecmspbea 512 Sep 14 07:42 .appmergegen_1252939053427_da.war
    drwxr-xr-x 3 ecmspbea ecmspbea 512 Sep 14 07:42 .appmergegen_1252939053427
    For background:
    This is weblogic 10.0 on a Solaris 9 box.

    Thanks for your answer.
    But I am curious to know if these are not required at all after deployment is successfull, why weblogic does not delete these? It is going to be an overhead to the administrators to periodically delete these files from /ver/tmp or to write scripts ... whatever ...
    I'll delete all such files from /var/tmp. but needed a confirmation that weblogic server not at all access these during runtime (means we do not need to restart weblogic servers after deleting all these) ...
    Appriciate your help.

  • /private/var/tmp running full with cache

    We're importing a lot of JPEG and Photoshop pictures and in a big job the folder /var/tmp (locally on the FCServer, who is also the only Compressor) is running full with cache files.
    A lot of these:
    -rw------- 1 admin wheel 212310770 9 jun 09:38 fcsvrxmp_imgio_cachetuAko5
    -rw------- 1 admin wheel 206195341 9 jun 09:38 fcsvrxmp_imgio_cachevjmnyL
    -rw------- 1 admin wheel 202760422 9 jun 09:38 fcsvrxmp_imgio_cacheh66AYm
    -rw------- 1 admin wheel 200220075 9 jun 09:38 fcsvrxmp_imgio_cacheBEuj54
    -rw------- 1 admin wheel 14354020 9 jun 09:38 fcsvrxmp_imgio_cacheoEhooq
    -rw------- 1 admin wheel 268042240 9 jun 09:36 fcsvrxmp_imgio_cacheBLu5fu
    -rw------- 1 admin wheel 104792064 9 jun 09:36 fcsvrxmp_imgio_cachecQeFLO
    -rw------- 1 admin wheel 106102784 9 jun 09:36 fcsvrxmp_imgio_cachehU9Dje
    -rw------- 1 admin wheel 268435456 9 jun 09:36 fcsvrxmp_imgio_cachem77wYW
    -rw------- 1 admin wheel 106037248 9 jun 09:36 fcsvrxmp_imgio_cachenXrHzK
    -rw------- 1 admin wheel 89784320 9 jun 09:36 fcsvrxmp_imgio_cacheggr04X
    -rw------- 1 admin wheel 80150528 9 jun 09:36 fcsvrxmp_imgio_cacheilEkN0
    -rw------- 1 admin wheel 224499080 9 jun 09:36 fcsvrxmp_imgio_cachexpzbwB
    -rw------- 1 admin wheel 210338595 9 jun 09:36 fcsvrxmp_imgio_cacheaBpQJj
    -rw------- 1 admin wheel 208639941 9 jun 09:36 fcsvrxmp_imgio_cacheKVluet
    -rw------- 1 admin wheel 268435456 9 jun 09:34 fcsvrxmp_imgio_cacheIvAtRi
    -rw------- 1 admin wheel 260833280 9 jun 09:34 fcsvrxmp_imgio_cacheM2NNbU
    -rw------- 1 admin wheel 261554176 9 jun 09:34 fcsvrxmp_imgio_cacheRb4Zey
    -rw------- 1 admin wheel 161349632 9 jun 09:34 fcsvrxmp_imgio_cachenc145z
    -rw------- 1 admin wheel 217251840 9 jun 09:34 fcsvrxmp_imgio_cache8HN8Ne
    -rw------- 1 admin wheel 157089792 9 jun 09:34 fcsvrxmp_imgio_cache8gAH9B
    -rw------- 1 admin wheel 23509689 9 jun 09:34 fcsvrxmp_imgio_cacheRyJCi5
    -rw------- 1 admin wheel 213979433 9 jun 09:33 fcsvrxmp_imgio_cacheDaB5ox
    -rw------- 1 admin wheel 22190308 9 jun 09:33 fcsvrxmp_imgio_cache3Fbjf7
    As you can see, big files.. So big that the last 2 days my server startup HD filled almost full (1 GB left).
    So it looks like FCServer is not cleaning up after his self. Can I do something about this? At least change the max caches size?
    Thanks

    Hi,
    It was a corrupted PSD, one file corrupt all the other ones after that one also failed.... we removed the corrupt one and 'Analyze' all the other ones.
    Problem solved??

  • No space under /var/tmp

    Hi all,
    I'm having difficulties in one of our Solaris 10 boxes. When I try to edit a file using vi editor it gives me a message saying no disk space in the /var/tmp. but it seems like sufficient disk space available since /var/tmp is mounted to root partition. see the output
    5stac5(5.10):/var/tmp>df -k .
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/dsk/c0t0d0s0     10331209   6897631   3330266  68% /Please help me with this
    Thanks,

    Not specific. Even for a new file this error was given. However i've noted that large number of files created under /var/spool/clientmqueue. Is that can be a problem?

  • Sandbox deny file-read-metadata /private/var/tmp

    Hi,
    I have Berkeley DB 5.2.28.
    And I tried to use Berkeley DB on iOS 4.3.
    I wrote;
    printf (stderr, "db open - 1");
    ret = dbenv.open(strDBdir,
    DB_CREATE |
    DB_INIT_LOCK |
    DB_INIT_LOG |
    DB_INIT_MPOOL |
    DB_INIT_TXN |
    DB_THREAD |
    DB_RECOVER,
    S_IRUSR | S_IWUSR);
    printf (stderr, "db open - 2");
    I runned this app on iPod 4 (iOS 4.3), and then in xCode's Organizer found a message: "sandbox[363] <Notice>: myapp(362) deny file-read-metadata /private/var/tmp", between "db open - 1" and "db open - 2".
    How to resolve it?
    Please, help me.
    Thank you.

    Hi,
    I assume you have correctly followed and built BDB 5.2.28 for Apple iOS by following the guide for Building Berkeley DB for UNIX/POSIX and the notes specific to Apple iOS (iPhone OS).
    The error message you reported:
    sandbox[363] <Notice>: myapp(362) deny file-read-metadata /private/var/tmpis not an error from the BDB layer, but rather from the OS layer. It could point to insufficient privileges or rights (to write in that /private/var/tmp directory) or maybe a profile / access control list that is not configured correctly to allow the user you're running under to read metadata and data for a file; for example, make sure you have something like this in your sandbox profile:
    (allow file-write* file-read-data file-read-metadata
      (regex "^/path_to_BDB_environment__strDBdir")
      (regex "^(/private)?/var/tmp/")
      (regex "^(/private)?/tmp/"))If this does not help then I suggest you post on the Apple discussion forums.
    Regards,
    Andrei

  • Wlappc defaults to /var/tmp

    my wlappc task defaults to /var/temp directory to genearate the temporary jars. This could cause issues when two user tries to compile will use the same /var/tmp directory.
    How can i set my prefered temp directory in wlappc task. Below is the wlappc task in my ant script
    <wlappc debug="true" deprecation="yes" compiler="javac" verbose="yes" nowarn="yes" >
    Any suggestions will be highly appreciated.
    Thanks!

    my wlappc task defaults to /var/temp directory to genearate the temporary jars. This could cause issues when two user tries to compile will use the same /var/tmp directory.
    How can i set my prefered temp directory in wlappc task. Below is the wlappc task in my ant script
    <wlappc debug="true" deprecation="yes" compiler="javac" verbose="yes" nowarn="yes" >
    Any suggestions will be highly appreciated.
    Thanks!

Maybe you are looking for

  • Downloading BLOB from a table.

    Hello, First I want to say thatnks for such a great tool like HTMLDB. Question is: How do I download BLOB from a table. What I am trying to do is. I am uploading files to a default HTMLDB location (wwv_flow_file_objects$) and moving the records to di

  • In solman 4.0 how to send message to SAP through service desk

    Dear all,         I have configured service desk functionality, My requirement is from service desk how to send message to SAP. Regards, Pavan.

  • Kernel Panic in Lion after every boot up

    http://www.mediafire.com/?8r8y6bz0vsy4803 Anybody know what's up with my installation? I just upgraded my 2011 MBP through app store from newest Snow Leopard, everything updated (I think) - to Lion, and I can only boot in safe mode so far...Kernel Pa

  • Recovery in progress may need access to files error

    Dear all, I was shown the below error when trying to drop a tablespace TBS1. DROP TABLESPACE TBS1 INCLUDING CONTENTS; DROP TABLESPACE TBS1 INCLUDING CONTENTS ERROR at line 1: ORA-01156: recovery in progress may need access to files i donot have any b

  • Sound Quality Loss

    When I create a track on an audio instrument track using the Vienna Symphonic Library Special Edition, the sounds are great. But then, when I export it to an audio track in order to save room, the sound quality goes way down. Is this because I am usi