Suspend fails when samba shares are mounted

I have a weird problem with my laptop when I try to suspend to ram.
If no samba share is mounted, then it suspends OK.
If there is a samba share mounted, when I suspend through KDE menu or by the command "pm-suspend", then it fails to suspend, and in /var/log/pm-suspend I see the line "s2ram_do: Device or resource busy". If I type the command " s2ram -f" then it suspends OK.
I have created a hook that executes "umount -a -t cifs" and now it suspends, but only if the samba share is available. If it is an unavailable it still fails to suspend.
Does anyone has the same problem or a solution to this?
P.S. I hope I posted in the correct category...

Hi nanawel, i've a very similar problem to your on my home machine: this (https://bbs.archlinux.org/viewtopic.php?pid=1196319) is the thread i found when researching my problem, so i started investigating it and then discovered the samba shares problem, so i found out your problem when looking up for similar annoyances in Google.
Have you been able to track it down?
As i said in the other thread, i don't have installed any of those gnome-shell extensions, but i have the TweakTool->Desktop option named "Show mounted volumes on the desktop" enabled, as well as an entry in my /etc/fstab file: tomorrow i'm going to have some tries with my brother's pc and see if i can find out something more.. i'll keep posting on this thread then, since it looks like my problem is very very similar.. hopefully we'll be able to track it down this beast.
But also, I'm also experiencing that "slow network share/choppy desktop" on my work machine only: it looked like a FUSE issue, but could never debug that since i've a quite important deadline at work and can't start debugging my OS during working hours
Anatolik was kind enough to chime in and suggest to debug it (https://bbs.archlinux.org/viewtopic.php … 7#p1193437), this is the thread about it.

Similar Messages

  • [Gnome-shell] Desktop freezes when Samba shares become unavailable

    Hi,
    I'm experiencing a very annoying problem on the laptop I use at work. I'm using an up-to-date Arch with Gnome-shell and we have a bunch of network shares on several servers.
    I access them via Nautilus and everything's fine as long as I don't unplug the cable. If I do that while Samba shares are mounted in Nautilus (through GVFS), the entire desktop freezes and I have to restart GDM to get it back (but all applications are killed and that's not cool).
    I also realized that when I mount a Samba share I'm accessing through a personal VPN (so, through the Internet), the entire desktop becomes slow and choppy. If I transfer a file to the remote folder using Samba over this VPN, I cannot do anything until the transfer is finished. During this time the desktop is freezed. But after that I get it back and it's working again (but is still slow as long as I keep the share folder mounted).
    When I unmount the "slow" Samba shared folder, everything works perfectly.
    Why is Gnome so dependent on such thing as a simple mounted shared folder? Is there a way to prevent this behaviour?
    Thanks in advance

    Hi nanawel, i've a very similar problem to your on my home machine: this (https://bbs.archlinux.org/viewtopic.php?pid=1196319) is the thread i found when researching my problem, so i started investigating it and then discovered the samba shares problem, so i found out your problem when looking up for similar annoyances in Google.
    Have you been able to track it down?
    As i said in the other thread, i don't have installed any of those gnome-shell extensions, but i have the TweakTool->Desktop option named "Show mounted volumes on the desktop" enabled, as well as an entry in my /etc/fstab file: tomorrow i'm going to have some tries with my brother's pc and see if i can find out something more.. i'll keep posting on this thread then, since it looks like my problem is very very similar.. hopefully we'll be able to track it down this beast.
    But also, I'm also experiencing that "slow network share/choppy desktop" on my work machine only: it looked like a FUSE issue, but could never debug that since i've a quite important deadline at work and can't start debugging my OS during working hours
    Anatolik was kind enough to chime in and suggest to debug it (https://bbs.archlinux.org/viewtopic.php … 7#p1193437), this is the thread about it.

  • What can I do to stop high network usage when a Samba share is mounted?

    Ok, so i've done a lot of googling on this, but i've not really found any conclusive answers.
    Basically, when I mount a samba share from another machine, Lion goes crazy. I can see from iStat menus that network (wireless) usage varies wildly from 300KB/s, right up to 6/7 MB/s, but my cpu usage doesn't spike at all. When this is happening the laptop is almost unusable, clicking something can take 30 seconds for a response. I'm presuming that this is something to do with Spotlight trying to index the share, but as it's several terabytes in size, it never completes. I've left the laptop on overnight in the hope that whatever process is causing this would finish, but to no avail. I've also placed the share in the Privacy tab in Spotlight's preferences, and used mdutil -i to stop it accessing the volume, but with no luck.
    Can anyone help? It's driving me nuts and it means i can't access my files without having to ftp in instead.
    I'm running 10.7.3

    Unfortunately, your description of the problem and the placement of both your main and AirPort Express routers does lend itself to believe the problem is most likely Wi-Fi interference. If it isn't the microwave or portable phones, it could be obstacles like walls between the routers that may be preventing the stream from consistently reaching the Express.
    In your configuration, the stream will first travel to the main router, and then, from the main router to the AirPort Express. If, for example, you started the stream in the same room as the Express, that stream would have to travel across several rooms at least twice.

  • AddNode.sh fails when Voting Disks are placed in ASM

    Hi Forum, adding a node with addNode script throws an error when Voting disks are placed on ASM. Did anyone else had this issue or any ideas ?
    Thanks a lot for your help.
    [grid@host02 bin]$ sh -x ./addNode.sh -silent "CLUSTER_NEW_NODES={host01}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={host01-vip}"
    + OHOME=/u01/app/11.2.0/grid
    + INVPTRLOC=/u01/app/11.2.0/grid/oraInst.loc
    + ADDNODE='/u01/app/11.2.0/grid/oui/bin/runInstaller -addNode -invPtrLoc /u01/app/11.2.0/grid/oraInst.loc ORACLE_HOME=/u01/app/11.2.0/grid -silent CLUSTER_NEW_NODES={host01} CLUSTER_NEW_VIRTUAL_HOSTNAMES={host01-vip}'
    + '[' '' = Y -o '!' -f /u01/app/11.2.0/grid/cv/cvutl/check_nodeadd.pl ']'
    + CHECK_NODEADD='/u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/cv/cvutl/check_nodeadd.pl -pre -silent CLUSTER_NEW_NODES={host01} CLUSTER_NEW_VIRTUAL_HOSTNAMES={host01-vip}'
    + /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/cv/cvutl/check_nodeadd.pl -pre -silent 'CLUSTER_NEW_NODES={host01}' 'CLUSTER_NEW_VIRTUAL_HOSTNAMES={host01-vip}'
    + '[' 1 -eq 0 ']'
    [grid@host02 bin]$
    Output from /u01/app/11.2.0/grid/cv/log/cvutrace.log.0:
    <snipped>
    TaskVotingDisk:Voting Disk:TASK_SUMMARY:FAILED:CRITICAL:VERIFICATION_FAILED
    ERRORMSG(GLOBAL): PRVF-5430 : Voting disk configuration does not meet Oracle's recommendation of three voting disk locations
    ERRORMSG(GLOBAL): PRVF-5431 : Oracle Cluster Voting Disk configuration check failed
    ERRORMSG(host01): PRVF-5449 : Check of Voting Disk location "ORCL:SPT_OCRVOTE01(ORCL:SPT_OCRVOTE01)" failed on the following nodes:
    ERRORMSG(host01): No such file or directory
    ERRORMSG(host01): PRVF-5449 : Check of Voting Disk location "ORCL:SPT_OCRVOTE02(ORCL:SPT_OCRVOTE02)" failed on the following nodes:
    ERRORMSG(host01): No such file or directory
    <snipped>
    Edited by: user12857528 on 14/11/2010 18:39

    Thanks Sebastian, brilliant - setting of IGNORE_PREADDNODE_CHECKS=Y did the trick !
    The only thing is that my neat 3 Voting disks are reduced to two only now:
    Before it was:
    [grid@host02 bin]# ./crsctl query css votedisk
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 4dea88bcf2fa4f11bfdbcca6e3aade14 (ORCL:SPT_OCRVOTE01) [SPT_OCRVOTE]
    2. ONLINE 71e395e6e30e4febbf907305dc7827c6 (ORCL:SPT_OCRVOTE02) [SPT_OCRVOTE]
    3. ONLINE 187d3474f0fe4fe0bf5cec1bb35203ae (ORCL:SPT_OCRVOTE03) [SPT_OCRVOTE]
    Located 3 voting disk(s).
    where now it is:
    [grid@host01 bin]$ ./crsctl query css votedisk
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 4dea88bcf2fa4f11bfdbcca6e3aade14 (ORCL:SPT_OCRVOTE01) [SPT_OCRVOTE]
    2. ONLINE 71e395e6e30e4febbf907305dc7827c6 (ORCL:SPT_OCRVOTE02) [SPT_OCRVOTE]
    Located 2 voting disk(s).
    and third disk is in mount_status closed after adding node host01.

  • SSO failing when sap transactions are accessed in portal thru internet

    Hi,
    We are accessing portal through internet on reverse proxy(Apache) but the SSO is failing when accessing sap transactions in portal but other screens(ESS) are accessible. Please let me know does this require any config settings in portal or apache side.
    thanks i advance.
    Marcus

    Hi Rajender,
    I tried doing the same in the ECC system but the iview is throwing error"resource not available".
    We have given just an Apache Ip address in the format  <ipaddress>:80 as we doesn't have FQDN for the apache in the place of WebAs and ITS Host name.
    Also the WEBAS path is /sap/bc/bsp/sap and ITS path is /sap/bc/gui/sap/its/webgui. Does this require any modifications.
    Please also let me know for any changes need to be done on the httpd.config file on Apache server.
    portal.xxxxx.xxx.xx  - Our External URL
    hostname:port/irj/portal - Our Intranet URL
    Please let me know the exact format of the entries to be made in ITS and Web As settings with the apache details.
    Web AS Host Name :   Hostname:port
    ITS Host Name :   Hostname:port
    ITS Path  : /sap/bc/gui/sap/its/webgui
    thanks in advance
    Marcus

  • Crashes when Firewire Drives are mounted

    For some reason now Logic crashes (hangs...not responding) when i boot Logic with my one firewire drive mounted. When i unmount the drive and then boot Logic it works fine. THen i re mount it and open my project.
    Is there a fix for this?

    Here's what I think is going on...
    You wrote:
    If i boot logic and then mount the drive it works fine.
    Logic keeps a file (somewhere) that remembers the most recently opened songs/projects. I think this file is corrupt. I have no idea what the file is called, where it's located, but I think it's corrupt. Bascially, when you launch Logic but the drive to which a recent song isn't mounted/not available, that song will disappear from Logic's recent song list. But I have the feeling that Logic hasn't totally forgotten about the existence of that song. So when the drive is mounted and Logic loads up, it might just be trying to find the drive where the song lives but something gets screwy in the process.
    Here's what I suggest:
    a) quit Logic if it's running
    b) mount the drive
    c) copy the entire project to your internal HD
    d) launch Logic
    e) open the song from your HD
    f) if this works without crashing, re-save the project to your FW drive under a new name
    g) go to Logic's recent song list and count the number of songs in the list. Let's say it's 20 songs in the list...
    h) hold option for one second and create a NEW song (this will be Logic's "default" song)
    i) save it to your FW drive as a simple song (not project) called "a"
    j) now save it 20 more times, changing the name each time, i.e., "b", "c", etc. What you're attempting to do is completely clear Logic's recent song list of all previous song titles with something known to be "benign"
    k) re-load your real song as saved to your FW drive in step F above
    l) if this works, quit Logic without saving
    m) re-boot the computer
    n) make sure the FW drive is mounted
    o) launch Logic and load the song from step F from the FW drive
    If all that works, then I think my theory is right about the recent file list being corrupt.
    If it doesn't work, well, [Elmer Fudd = ON] I twied and I twied...

  • Changing Locations locks up PB when network drives are mounted

    I have a bunch of different network locations and frequently bounce from one to the other (going to/from different offices). If I have a network drive mounted at, say, "home", then close the powerbook lid, go to an office, open it and switch to the "office" location, THEN relalize I forgot to unmount the drive and try to do so, I get a spinning beachball for several minutes. Anyone know a trick or a way around this. Is there some setting that shortens the timeout for disconnected drives? Thanks.
    PowerBook G4 1.5Ghz   Mac OS X (10.4.3)  

    Hi Geoffrey,
    This won't be much help, but I'm having the exact same issue. I'm mounting AFP shares from a ReadyNAS, but I'm not using Bonjour Mounter. And this happens whether I script the volumes to mount, or if I mount them manually. For whatever reason, they dismount when I switch users, lock the screen, etc.
    Have you tried mounting non-ReadyNAS volumes to see if the same issue occurs?  I'm curious.
    Hope someone replies that can help. :-)

  • SCCm 2012 R2 - OSD fails when multiple computers are getting built

    Hi everyone,
    I ran into a weird issue with my SCCM 2012 R2. I noticed when I build one computer with SCCM OSD, it works fine. But when I try to run more than one built at a time, only one usually works. The rest usually doesn't get apps installed in the task sequence,
    some don't get added to the domain etc. Any idea what it might be? Could it be that simultaneous connections to the distribution point are getting terminated and imaging fails?
    Appreciate your help! 

    Ok guys, this seems to be a false alarm here. It turns out I was missing a driver for ethernet card on my Dell T1600. I kicked off 3 Dell Optiplex 9020 and they all worked flawlessly. This is weird though, since I did install OS on some T1600 before and
    they all worked fine...
    Anyway, I downloaded the driver and added it to SCCM. I will kick off the install again today and see if that solved it.

  • Query fails when large results are retrieved with Datacache enabled using Kodo 2.5.3.

    This is the last message received from the Kodo trace. The machine
    details are captured in the log files attached in the tar file. My kodo
    properties settings are provided below.
    2003-08-28 17:23:09,523 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] begin
    rollback
    2003-08-28 17:23:09,530 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] end
    rollback 1ms
    2003-08-28 17:23:09,539 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] begin
    rollback
    2003-08-28 17:23:09,544 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] end
    rollback 1ms
    2003-08-28 17:23:09,548 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] return
    [com.solarmetric.datasource.PoolConnection@db14d4[identityHashCode:30332961,wrapped:com.solarmetric.datasource.PreparedStatementCache$CacheAwareConnection@db14d4[identityHashCode:13592751,wrapped:com.mysql.jdbc.Connection@db14d4]:
    [requests=892;size=39;max=70;hits=852;created=40;redundant=0;overflow=0;new=40;leaked=0;unavailable=0]]]
    to [com.solarmetric.datasource.DataSourceImpl$SortablePool[min=0;
    max=100; size=2; taken=1]]
    2003-08-28 17:23:09,554 DEBUG [Thread-3] runtime.JDBCStoreManager
    (JDBCStoreManager.java:858) - Invalid execution manager reference count.
    Count should not be less than 0. Count was -1. Please contact
    [email protected] for more information.
    Kodo properties.
    # Kodo JDO Properties configuration
    # To evaluate or purchase a license key, visit http://www.solarmetric.com
    com.solarmetric.kodo.LicenseKey=@LICENSE_KEY@
    com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=java:/TransactionManager
    javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory
    javax.jdo.option.ConnectionDriverName=com.mysql.jdbc.Driver
    javax.jdo.option.ConnectionUserName=@DB_USER@
    javax.jdo.option.ConnectionPassword=@DB_PASSWORD@
    javax.jdo.option.ConnectionURL=@DB_URL@?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
    javax.jdo.option.MinPool=0
    javax.jdo.option.MaxPool=100
    javax.jdo.option.Optimistic=true
    javax.jdo.option.RetainValues=false
    javax.jdo.option.NontransactionalRead=false
    javax.jdo.option.IgnoreCache=false
    com.solarmetric.kodo.FlushBeforeQueries=true
    com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.plugins.CacheImpl
    com.solarmetric.kodo.RemoteCommitProviderClass=com.solarmetric.kodo.runtime.event.impl.JMSRemoteCommitProvider
    com.solarmetric.kodo.RemoteCommitProviderProperties=Topic=topic/KodoCacheTopic
    com.solarmetric.kodo.PersistentTypes=com.ewarna.pdm.entities.IDCounter,\
    com.ewarna.pdm.entities.AbstractEntity,\
    com.ewarna.pdm.entities.achievability.AchievabilityResult,\
    com.ewarna.pdm.entities.achievability.ActualCondition,\
    com.ewarna.pdm.entities.achievability.Condition,\
    com.ewarna.pdm.entities.achievability.ConditionGroup,\
    com.ewarna.pdm.entities.achievability.ConditionLabel,\
    com.ewarna.pdm.entities.achievability.DyeGroupPE,\
    com.ewarna.pdm.entities.achievability.DyePairPE,\
    com.ewarna.pdm.entities.achievability.DyeSetPE,\
    com.ewarna.pdm.entities.achievability.DyeStuffPE,\
    com.ewarna.pdm.entities.achievability.DyeloadPE,\
    com.ewarna.pdm.entities.achievability.FormulationJobPE,\
    com.ewarna.pdm.entities.achievability.FormulationJobTemplatePE,\
    com.ewarna.pdm.entities.achievability.Material,\
    com.ewarna.pdm.entities.achievability.ProcessPE,\
    com.ewarna.pdm.entities.achievability.RecipeOutputCriteriaPE,\
    com.ewarna.pdm.entities.achievability.RecipePE,\
    com.ewarna.pdm.entities.achievability.SubstratePE,\
    com.ewarna.pdm.entities.colorimetry.CIELabSearchIndexPE,\
    com.ewarna.pdm.entities.colorimetry.ReflectancePE,\
    com.ewarna.pdm.entities.colorimetry.ReflectanceSetPE,\
    com.ewarna.pdm.entities.colorimetry.SpectroPE,\
    com.ewarna.pdm.entities.management.CustomerPE,\
    com.ewarna.pdm.entities.management.SupplierPE,\
    com.ewarna.pdm.entities.storage.AccountPE,\
    com.ewarna.pdm.entities.storage.BagPE, \
    com.ewarna.pdm.entities.storage.DatasetPE,\
    com.ewarna.pdm.entities.storage.EntityAttributeFieldPE,\
    com.ewarna.pdm.entities.storage.EntityAttributeKeyPE,\
    com.ewarna.pdm.entities.storage.EntityAttributePE,\
    com.ewarna.pdm.entities.storage.EntityTemplatePE,\
    com.ewarna.pdm.entities.storage.SessionPE,\
    com.ewarna.pdm.entities.storage.SharedInfo2PE,\
    com.ewarna.pdm.entities.storage.UserPE,\
    com.ewarna.pdm.entities.storage.VirtualFolderPE

    Also, note that this is not necessarily a fatal condition -- it is merely
    an unexpected one. Are you seeing any exceptions before or after this
    message is printed out that are related to activity on Thread-3?
    -Patrick
    On Thu, 28 Aug 2003 18:48:14 +0800, Makas Tzavellas wrote:
    This is the last message received from the Kodo trace. The machine
    details are captured in the log files attached in the tar file. My kodo
    properties settings are provided below.
    2003-08-28 17:23:09,523 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] begin
    rollback
    2003-08-28 17:23:09,530 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] end
    rollback 1ms
    2003-08-28 17:23:09,539 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] begin
    rollback
    2003-08-28 17:23:09,544 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] end
    rollback 1ms
    2003-08-28 17:23:09,548 DEBUG [Thread-3] datasource.DataSourceImpl
    (DataSourceImpl.java:313) - [ C:14357716; T:2310757; D:20217139 ] return
    [com.solarmetric.datasource.PoolConnection@db14d4[identityHashCode:30332961,wrapped:com.solarmetric.datasource.PreparedStatementCache$CacheAwareConnection@db14d4[identityHashCode:13592751,wrapped:com.mysql.jdbc.Connection@db14d4]:
    [requests=892;size=39;max=70;hits=852;created=40;redundant=0;overflow=0;new=40;leaked=0;unavailable=0]]]
    to [com.solarmetric.datasource.DataSourceImpl$SortablePool[min=0;
    max=100; size=2; taken=1]]
    2003-08-28 17:23:09,554 DEBUG [Thread-3] runtime.JDBCStoreManager
    (JDBCStoreManager.java:858) - Invalid execution manager reference count.
    Count should not be less than 0. Count was -1. Please contact
    [email protected] for more information.
    Kodo properties.
    # Kodo JDO Properties configuration
    # To evaluate or purchase a license key, visit http://www.solarmetric.com
    com.solarmetric.kodo.LicenseKey=@LICENSE_KEY@
    com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=java:/TransactionManager
    javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory
    javax.jdo.option.ConnectionDriverName=com.mysql.jdbc.Driver
    javax.jdo.option.ConnectionUserName=@DB_USER@
    javax.jdo.option.ConnectionPassword=@DB_PASSWORD@
    javax.jdo.option.ConnectionURL=@DB_URL@?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
    javax.jdo.option.MinPool=0
    javax.jdo.option.MaxPool=100
    javax.jdo.option.Optimistic=true
    javax.jdo.option.RetainValues=false
    javax.jdo.option.NontransactionalRead=false
    javax.jdo.option.IgnoreCache=false
    com.solarmetric.kodo.FlushBeforeQueries=true
    com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.plugins.CacheImpl
    com.solarmetric.kodo.RemoteCommitProviderClass=com.solarmetric.kodo.runtime.event.impl.JMSRemoteCommitProvider
    com.solarmetric.kodo.RemoteCommitProviderProperties=Topic=topic/KodoCacheTopic
    com.solarmetric.kodo.PersistentTypes=com.ewarna.pdm.entities.IDCounter,\
    com.ewarna.pdm.entities.AbstractEntity,\
    com.ewarna.pdm.entities.achievability.AchievabilityResult,\
    com.ewarna.pdm.entities.achievability.ActualCondition,\
    com.ewarna.pdm.entities.achievability.Condition,\
    com.ewarna.pdm.entities.achievability.ConditionGroup,\
    com.ewarna.pdm.entities.achievability.ConditionLabel,\
    com.ewarna.pdm.entities.achievability.DyeGroupPE,\
    com.ewarna.pdm.entities.achievability.DyePairPE,\
    com.ewarna.pdm.entities.achievability.DyeSetPE,\
    com.ewarna.pdm.entities.achievability.DyeStuffPE,\
    com.ewarna.pdm.entities.achievability.DyeloadPE,\
    com.ewarna.pdm.entities.achievability.FormulationJobPE,\
    com.ewarna.pdm.entities.achievability.FormulationJobTemplatePE,\
    com.ewarna.pdm.entities.achievability.Material,\
    com.ewarna.pdm.entities.achievability.ProcessPE,\
    com.ewarna.pdm.entities.achievability.RecipeOutputCriteriaPE,\
    com.ewarna.pdm.entities.achievability.RecipePE,\
    com.ewarna.pdm.entities.achievability.SubstratePE,\
    com.ewarna.pdm.entities.colorimetry.CIELabSearchIndexPE,\
    com.ewarna.pdm.entities.colorimetry.ReflectancePE,\
    com.ewarna.pdm.entities.colorimetry.ReflectanceSetPE,\
    com.ewarna.pdm.entities.colorimetry.SpectroPE,\
    com.ewarna.pdm.entities.management.CustomerPE,\
    com.ewarna.pdm.entities.management.SupplierPE,\
    com.ewarna.pdm.entities.storage.AccountPE,\
    com.ewarna.pdm.entities.storage.BagPE, \
    com.ewarna.pdm.entities.storage.DatasetPE,\
    com.ewarna.pdm.entities.storage.EntityAttributeFieldPE,\
    com.ewarna.pdm.entities.storage.EntityAttributeKeyPE,\
    com.ewarna.pdm.entities.storage.EntityAttributePE,\
    com.ewarna.pdm.entities.storage.EntityTemplatePE,\
    com.ewarna.pdm.entities.storage.SessionPE,\
    com.ewarna.pdm.entities.storage.SharedInfo2PE,\
    com.ewarna.pdm.entities.storage.UserPE,\
    com.ewarna.pdm.entities.storage.VirtualFolderPE--
    Patrick Linskey
    SolarMetric Inc.

  • [SOLVED] advanced shell script for mount and unmount samba share

    Good morning guys,
    Today I've a very long question....
    Hope in your help....:
    I usually move from different network.
    For one of those I need to mount some share that are under an ActiveDirectory server.
    To do that I use samba.
    Especially I've made and use the below  shell script.
    I know that it's so stupid but I'm a very newbie:
    #!/bin/sh
    echo "This is a custom script for mount my citrix share"
    echo "Please insert user password (must a sudoer user)"
    echo " "
    sudo mount -t cifs -o username='myusername',password='mypassword' //host_ip/TsHome$/myusername /home/myuser/samba_share/TsHOME
    sudo mount -t cifs -o username='myusername',password='mypassword' "//host_ip/direction" /home/myuser/samba_share/direction
    echo " "
    read -p "Press ENTER key to close this terminal"
    exit
    As I say the script work but it's so crude...!
    I want/need to implement it whit the follow addictions:
    1. print a feedback on mount: somenthing like "TsHOME is now mounted" or "unable to mount TsHOME"
    2. check if the share are already mounted: to prevent accidentally multiple mount. If a share is already mounted I want to print something like "TsHOME is already mounted on /home/myuser/samba_share/TsHOME"
    3. ask for share password  (now it's in clear on script) - This is optinal
    4. un-mount the share before reboot or shutdown command. That because I've notice that If i reboot or shutdown without manually un-mount the share the step of unmounting network file system became very slow
    If it's no extremely difficult, can someone help me to write this script?
    I know that man exist but I'm not a programmer and it's so difficult for me approch it.
    Thank you in advance.
    Ale
    Last edited by Alexbit (2010-09-23 21:29:13)

    Thank you very (VERY) much!
    I've follow your information and.. it work!
    If can be usefull to other this is the complete script:
    #!/bin/sh
    echo "This is a custom script for mount citrix share"
    echo "****************************************"
    echo " "
    echo "Please insert domain password:"
    read -s mypassword
    echo " "
    echo "|checking mount state...in share are not mounted mount it!|"
    echo "+-------------------------------------------------------------------------+"
    if grep "TsHome" /etc/mtab &>/dev/null; then
    grep "TsHome" /etc/mtab | awk '{print "TsHome is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" //ipaddress/TsHome$ /home/Samba_share/TsHOME && echo "TsHOME is now mounted" || echo "unable to mount TsHOME"
    fi
    echo " "
    if grep "direction" /etc/mtab &>/dev/null; then
    grep "direction" /etc/mtab | awk '{print "direction is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" '//ipaddress/direction' /home/Samba_share/direction' && echo "direction pat is now mounted" || echo "unable to mount direction"
    fi
    echo " "
    if grep "Area" /etc/mtab &>/dev/null; then
    grep "Area" /etc/mtab | awk '{print "Area is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" '//ipaddress/Area' /home/Samba_share/Area && echo "Area is now mounted" || echo "unable to mount Area"
    fi
    echo " "
    echo "All DONE!"
    echo " "
    read -p "Press ENTER key to close this terminal"
    exit
    I don't really well understand what I've to put in rc.local.shutdown....
    I think somethings like:
    #!/bin/bash
    # /etc/rc.local.shutdown: Local shutdown script.
    echo "This is a custom script for UN-mount citrix share"
    echo "********************************************"
    echo " "
    echo "|check mount state: if mount then un-mount!|"
    echo "+-------------------------------------------------------+"
    echo " "
    if grep "TsHome" /etc/mtab &>/dev/null; then
    grep "TsHome" /etc/mtab | awk '{print "TsHome is NOT mounted -> going on..." $2}'
    else
    sudo umount /home/Samba_share/TsHOME && echo "TsHOME is now UN mounted" || echo "unable to UN-mount TsHOME"
    fi
    echo " "
    if grep "direction" /etc/mtab &>/dev/null; then
    grep "direction" /etc/mtab | awk '{print "direction is NOT mounted -> going on.." $2}'
    else
    sudo umount /home/Samba_share/direction && echo "direction is now UN mounted" || echo "unable to UN-mount direction pat"
    fi
    echo " "
    if grep "Area" /etc/mtab &>/dev/null; then
    grep "Area" /etc/mtab | awk '{print "Area is NOT mounted - Finished" $2}'
    else
    sudo umount /home/Samba_share/Area && echo "Area is now UN mounted" || echo "unable to UN-mount Area"
    fi
    echo " "
    echo "going shutdown"
    echo " "
    sleep 5
    I've try but it seems to ignore the IF statement... this is the output when ALL share are UNmounted:
    $ sh /etc/rc.local.shutdown
    This is a custom script for UN-mount citrix share
    |check mount state: if mount then un-mount!|
    +-------------------------------------------------------+
    umount: /home/Samba_share/TsHOME: not mounted
    unable to UN-mount TsHOME
    umount: /home/Samba_share/direction: not mounted
    unable to UN-mount direction
    umount: /home/Samba_share/Area: not mounted
    unable to UN-mount Area
    going shutdown
    Tomorrow I will test again when I'm at office.
    Meanwhile can you check if I made a macroscopic mistakes?
    Thank you again!
    Last edited by Alexbit (2010-09-23 17:34:49)

  • Mounting samba share starts avahi, ssh and sftp at client

    The problem is at the client. When i mount a samba share (with # mount), avahi is started, which starts ssh and sftp. This is wrong on many levels.
    Not sure how long this has been going on, someone else already asked this on stackexchange on 11.2.15, but didn't get any answers.
    Journal output immediatly after mounting (hostname, ip etc. removed):
    Mär 18 01:35:51 hostname dbus[434]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Mär 18 01:35:51 hostname systemd[1]: Cannot add dependency job for unit boot.automount, ignoring: Unit boot.automount is masked.
    Mär 18 01:35:51 hostname systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    Mär 18 01:35:51 hostname systemd[1]: Starting Avahi mDNS/DNS-SD Stack Activation Socket.
    Mär 18 01:35:51 hostname systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Found user 'avahi' (UID 84) and group 'avahi' (GID 84).
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Successfully dropped root privileges.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: avahi-daemon 0.6.31 starting up.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
    Mär 18 01:35:51 hostname dbus[434]: [system] Successfully activated service 'org.freedesktop.Avahi'
    Mär 18 01:35:51 hostname systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Successfully called chroot().
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Successfully dropped remaining capabilities.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Loading service file /services/sftp-ssh.service.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Loading service file /services/ssh.service.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Joining mDNS multicast group on interface enp1234.IPv4 with address myip.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: New relevant interface enp1234.IPv4 for mDNS.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Network interface enumeration completed.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Registering new address record for myip on enp1234.IPv4.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Registering HINFO record with values 'X86_64'/'LINUX'.
    Mär 18 01:35:52 hostname avahi-daemon[2583]: Server startup complete. Host name is hostname.local. Local service cookie is 123.
    Mär 18 01:35:53 hostname avahi-daemon[2583]: Service "hostname" (/services/ssh.service) successfully established.
    Mär 18 01:35:53 hostname avahi-daemon[2583]: Service "hostname" (/services/sftp-ssh.service) successfully established.

    Thanks for your answer.
    snakeroot wrote:Are you sure it is actually starting ssh and ssftp or is it just having avahi advertise them as existing?
    I'm not sure if anything is started, the term "Service ssh successfully established" sounds like the ssh serrver is started to me, but it might just be strange wording. What does "advertise as existing" mean?
    From the snippet you quoted, it looks like the latter. Unless you have alread started socket activation for ssh or sftp, whether via systemd *.socket or inetd, I'm not sure it would actually be started.
    I didn't enable anything manually.
    I think you can rm/mv the sftp-ssh.service and ssh.service files /etc/avahi/services/ and prevent those services from being advertised.
    OK thanks for the hint. Nontheless i would rather stop avahi from starting than configuring it.
    Begin rant...
    I'm a bit annoyed that avahi is starting without my permission. Seems like systemd is getting a bit overzealous with starting services. Interestingly this was one of the big problems with upstart, and was supposed to be solved with systemd. I still like systemd.

  • [SOLVED] Samba fail when in VPN

    I'm trying to use smbnetfs to automount our corporate samba shares when I'm VPNed in via VPNC. I have been unable to gain access to samba shares when physically outside of the network. If I plug in my laptop to corporate switch, shares are mounted. When I VPN in from the outside, nothing. Can someone shed some light on this? Only thing I can think of is I get a local IP assigned (192.168.80.0 subnet) when I plug in physically to the network and maybe that is causing samba to refuse connection? But when I VPN in I connect to the gateway so I should be seen as local. Not sure what to do next.
    Thanks for the help.
    Last edited by mpz (2011-09-29 18:16:14)

    As a test, I installed gvfs-smb package for Nautilus and after reboot was able to mount my share. At that point, it was clear it was doable so after some reading, mount -t cifs //<ip>/<share> did the trick
    Edit: Still does not auto-mount with smbnetfs but at least I have access to my environment
    Last edited by mpz (2011-09-29 19:01:19)

  • Client access issues when mailboxes are mounted on a specific mailbox server

    One of our 3 mailbox servers gives us an error when mailbox databases are mounted on it.
    All web services are not functioning properly, there is an event log error for each web service web.config file saying file not found, If I open each web.config file and look at the line in question they all point to:
    <assemblies>
            <add assembly="Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          </assemblies>
    Does anyone know what this is pointing at or what my server is missing?
    It is Exchange 2013 Sp1 RU7 as are my other 2 mbx servers which work fine...
    all pre-req's are installed as I double checked and no difference between the 3 mbx servers that I can see...
    ***Don't forget to mark helpful or answer***

    IIS error
    === Pre-bind state information ===<o:p></o:p>
    LOG: DisplayName = Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<o:p></o:p>
    (Fully-specified)<o:p></o:p>
    LOG: Appbase = file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/<o:p></o:p>
    LOG: Initial PrivatePath = C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Autodiscover\bin<o:p></o:p>
    Calling assembly : (Unknown).<o:p></o:p>
    ===<o:p></o:p>
    LOG: This bind starts in default load context.<o:p></o:p>
    LOG: Using application configuration file: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Autodiscover\web.config<o:p></o:p>
    LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config<o:p></o:p>
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.<o:p></o:p>
    LOG: Post-policy reference: Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    ***Don't forget to mark helpful or answer***

  • Windows samba share shows "zero KB" for file size....

    Upgraded, clean install, to leopard and now I see "Zero KB" for file size on my Windows Home Server samba shares. Before the upgrade all that info was displayed but afterwards that info is gone. The only changed on my network was upgrading to Leopard. My linux samba server still works perfectly with 10.5 but the windows samba shares are not. I can browse, mount and copy files to and from the windows samba shares but the file size info isn't displayed. The file size isn't even displayed when I "Get Info" on a file. Previously using 10.4 all was working perfectly and all info was displayed and or was available if I wanted it. Not sure if it is something to do with how Windows Home Server handles samba or if it is how Leopard handles windows samba shares. No settings were changed on my network from when I was running 10.4. The only change on my home network/hardware has been upgrading to Leopard! No other changes were made to any servers or computers that were previously working perfectly with 10.4. Other than this "Zero KB" issue all has gone quite smoothly.

    I removed the . (and moved the directory to match) but I still have the same issue.
    Here's the smbd.log after a rebooting and then restarting samba:
    [2010/05/04 07:25:41.262266, 0] smbd/server.c:500(smbd_open_one_socket)
    smbd_open_once_socket: open_socket_in: Address already in use
    [2010/05/04 07:25:41.266578, 0] smbd/server.c:500(smbd_open_one_socket)
    smbd_open_once_socket: open_socket_in: Address already in use
    [2010/05/04 07:26:01.041577, 1] smbd/server.c:267(remove_child_pid)
    Scheduled cleanup of brl and lock database after unclean shutdown
    [2010/05/04 07:26:21.051370, 1] smbd/server.c:240(cleanup_timeout_fn)
    Cleaning up brl and lock database after unclean shutdown
    [2010/05/04 07:26:45.716653, 1] smbd/server.c:267(remove_child_pid)
    Scheduled cleanup of brl and lock database after unclean shutdown
    [2010/05/04 07:36:46.016675, 0] smbd/server.c:500(smbd_open_one_socket)
    smbd_open_once_socket: open_socket_in: Address already in use
    [2010/05/04 07:36:46.017386, 0] smbd/server.c:500(smbd_open_one_socket)
    smbd_open_once_socket: open_socket_in: Address already in use
    And log.nmbd:
    [2010/05/04 07:25:41, 0] nmbd/nmbd.c:857(main)
    nmbd version 3.5.2 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2010
    [2010/05/04 07:26:48.718046, 0] nmbd/nmbd.c:71(terminate)
    Got SIGTERM: going down...
    [2010/05/04 07:27:26, 0] nmbd/nmbd.c:857(main)
    nmbd version 3.5.2 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2010
    [2010/05/04 07:27:26.544934, 0] nmbd/nmbd.c:696(open_sockets)
    [2010/05/04 07:36:46, 0] nmbd/nmbd.c:857(main)
    nmbd version 3.5.2 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2010

  • Error -108 in quick time x when I share movies in Final Cut Pro X

    HI,
    PLEASE NEED HELP!!!!
    After install LION a problem came out when I try to "share" my proyects, the funny thing is that only fails when I "share" to iPhone and iPad!, when i "share" to MAC and PC (1080p) it works wreat. the ERROR CODE -108 from QUICK TIME came out.
    I found that -108 means 'out of memory' but in my case is not possible (i think). I reinstalled the FCP X but the problem remain.
    I want to reinstall Quick time X but looks like it can't be unistalled, so any idea?
    Thanks!
    My MAC PRO 2010 setup:
    -2 x 2.93 GHz 12 core
    -48 Gb RAM OWC
    -4 internal Hard Drives:
          -OWC EXTREME 6G SSD 120Gb ( here is installed LION, Final Cut Pro X, Compressor, etc and I use it for my currect FCPX proyect only) 40Gb used, 80Gb free space
          -Original Apple HD 7,200RPM 1Tb  (iTunes library)
          -Original Apple HD 7,200RPM 1Tb
         -BARRACUDA 7,200RPM 3Tb   (EVENTS and PROYECT are here) 600Gb used
    -Graphic Card HD5870
    Thanks for your help!

    What is the exact spec of the clips that cause the problem?
    (Open one of the files with QuickTime and press Cmd+i to open the Inspector - then report back with the what it says).
    Andy

Maybe you are looking for