Networking :: ERROR: Lock Directory /var/run/samba Does Not Exist

Jan 20, 2010

When i try to share a folder from linux ubuntu desktop i am facing a problem a error reported are as follow:

loaded services file OK.
ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist

or i have no permission to open samba

View 1 Replies


ADVERTISEMENT

OpenSUSE Network :: Samba Share Shows Many Hidden Files Like ".directory.lock.?????.test"

Aug 7, 2010

I just noticed that I find lots of hidden files named ".directory.lock.??????.test" across my samba-shared file system. The questionmarks stand here for some random alpha-numeric patterm.

- Which application might have created them?

- Is it save to delete those ?

With e.g. "find . -type f -name ".directory.lock.??????.test" -exec rm -f {} ;"

View 1 Replies View Related

Debian :: "test-tz" Directory Gives An Error - Directory "australasia" Doesn't Exist But "Australia" Does

Jul 31, 2010

I need to compile "/usr/share/zoneinfo/" to a directory in /home/dir/ so I can use it in a program to find and assign a time zone to users (example: UTC +3 or similar) and I need all available cities and town in it. it seems I should be able to do that with "zic" but what I found and tried does not work. I needed examples and I found the only info giving examples comes from: [URL]... Trying the 2 first lines verbatim after creating the "test-tz" directory gives an error that was to be expected although I use the distro used in the example, this is because the directory "australasia" does not exist but directory "Australia" does.

[code]...

I should be able to extract the info mentioned above is correct?

View 1 Replies View Related

Ubuntu Networking :: Samba NTFS Mount Mercurial Commit DeprecationWarning: Use Lock.release

Feb 8, 2010

When trying to commit or get status from a mercurial repository on a mounted NTFS filesystem i get the following error:

Code:
/usr/lib/pymodules/python2.6/mercurial/lock.py:71: DeprecationWarning: use lock.release instead of del locklocker = self.testlock()

I found a couple of person who had the same problem but i can't find a solution.

View 4 Replies View Related

Ubuntu :: When Went To Mount D Drive (like Usually Do In Windows) Got The Error Message "directory D: Does Not Exist"?

May 7, 2010

i'm running ubuntu 10.04 and windows vista on my laptop and I installed Dos box on ubuntu quite some time ago, when i went to mount my d drive (like i usually do in windows) I got the error message "directory D: does not exist" i tried to fix it myself but i gave up because it wasnt that important. A while later i read on a webpage that "Linux doesnot employ the concept of drive letters" so i thought this must be the reason for this error message but why would there be dosbox for linux if that was the case

View 2 Replies View Related

Fedora Installation :: Error: Can't Create Transaction Lock On /var/lib/rpm/.rpm.lock (Permission Denied)

Nov 22, 2010

I just downloaded OpenOffice 3.2.1 from the openoffice.org weebsite. I followed the instructions precisely and everytime ended up in the same error message - 'error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)'. I am using Fedora 13.

View 2 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

Ubuntu Networking :: Sharing The Samba File / Directory?

Aug 1, 2010

I've been trying for what seems like forever to share a single directory with only two authorized users and I just can't get the permissions right.

Running Ubuntu 10.04 desktop as home file/print server.
Two users: chris and gretchen
Directory to share: Music
Music resides in chris' home folder.

I'd like to have full access for these two users and no access for anyone else. The challenge is that the best I can get for gretchen is read-only. What i've done so far:

Created user accounts for each
Created Samba accounts with passwords for each
Created a group called "family" and added chris and gretchen to it
Assigned the family group to the Music folder.
Shared the folder giving read and write access to family group.

chris seems to work ok but when gretchen access it from her snow leopard laptop she can't create a new folder. It should be noted that chris is also the admin account.

View 3 Replies View Related

Networking :: Samba - Permissions Of Shared Directory And Directories Above It?

Oct 20, 2009

I am running Ubuntu 9.04, and wish to share a folder to be accessed without logging in via Windows Vista. If I set up the share through the nautilus right-click menu and enable "Guest Account", the share is inaccessible. The folder shows up, but it fails to mount. Vista says that it can see the computer, but not the shared folder.

The folder is

/home/william/shared

The only way I can get it to work is if I change the permissions of the folder /home/william to allow Others to access files.

View 1 Replies View Related

Ubuntu Networking :: Active Directory Samba Share Permission?

Feb 24, 2011

I'm having a problem with Active Directory and Share permissions that I cant seem to figure out. I used likewise-open to join my ubuntu server to a windows 2008 domain. Everything seems to be working fine. The problem is, the only way I can access the shares is if I CHMOD 777 the share directory. If I CHMOD 770, the Domain owner or Domain group member of the directory cant access the directory. Also, when creating a folder within the share, I need to set the directory mask as 777 in order to enter those sub folders.

Heres the share section from my smb.conf

Code:
[public]
comment = Ubuntu File Server Share
path = /srv/samba/public
browseable = yes

[Code]...

View 1 Replies View Related

Ubuntu :: Copying Files To A Directory And Skip The Files That Already Exist In The Directory?

Jun 30, 2011

How would i go about copying files to a directory, yet skip the files that already exist in the directory, and also remove the files that are in the directory. For example:

Code:

$ls /dir1
img001.jpg
img002.jpg

[code]....

Now i would like to copy from dir1 to dir2, but the contents of dir2 would be:

Code:

$ls /dir2
img003.jpg

View 7 Replies View Related

Networking :: Unable To Create Samba Account In Home Directory Machine

Jul 15, 2010

I'm not able to create Samba Account. it is showing the error message as below

Failed to initialise SAM_ACCOUNT for user <username>. Does this user exist in the UNIX password database ?
Failed to modify password entry for user <username>

Unix accounts are created in Corporate Office, which is in US. We had a dedicated link from our office to US office. Now this link has been disconnected & now we have a VPN connection through internet to US Office. there is a firewall on both the sides. While creating samba account i tried to give netstat command & i saw it is trying to make a connection to the Unix Server at US, but the connection is not getting established it is showing SYN_SENT.

The port from the Home directory server trying to connect to the Unix server is connecting using Dynamic port but the Unix server port it is showing as PORTMAP. Network guys are not opening all the ports in the firewall. Kindly let me know the DESTINATION PORT that the home directory server is trying to connect to Unix Server, so that i can ask my network guys to open that perticular port. So that i can create Samba account to the users.

View 1 Replies View Related

Ubuntu :: Home Directory Does Not Exist?

Jul 17, 2011

My desktop just froze for some reason and I had to force shut down. When I logged back in I could not get into my /home/username directory, a message popped up that it does not appear to exist and if I would like to put it as root.

what should do to get it back?

View 1 Replies View Related

General :: The Directory Would Not Exist Until 'mv' Has Been Called As In?

Jul 3, 2011

I want to copy a file from an old directory to a new directory and ideally I would like that the 'mv' command itself could create the directory for me in one step...That is to say that the directory would not exist until 'mv' has been called as in:Code:mv olddirectory/file.dat newdirectory/file.datso mv would create the directory 'newdirectory' in the above call....I am not sure if this is possible however, that is to say I think it may be necessary that the directory 'newdirectory' already exists before I make the above call to mv, as when I make try the above call when 'newdirectory' doesn't exist I get the following error:Quote:mv: cannot move `test1/4215/4215-001R.fit' to `test2/test.fit': No such file or directoryso to sum up, my question is:is there some paramater for 'mv' that I can change so that it will create the new directory as well as copy the file and if not, are there other commands that might do this?

View 3 Replies View Related

Ubuntu :: Check If Files Exist In Directory?

Jun 30, 2011

how to check two arguments whether it is a file and the other is a directory, check if files exist in directory and copy it if it is a newer version. Seriously i need idea to do tis, jst some simple sample wil do

View 3 Replies View Related

General :: Check If Directory DOES NOT Exist In BASH?

May 10, 2010

i tried to create a if else statements or either an else statement I get a message saying that the directory exists (mkdir: cannot create directory `./MAY2010': File exists I am running this in a crontab file and I dont want any output telling me that the directory exists. I just want to check if the directory doesnt exist, create one else do nothing (not even a message telling me that the directory exists).

[Code]....

View 8 Replies View Related

Software :: Directory Listing Of Files That Don't Exist?

Oct 16, 2010

I think as a result of a script that started duplicating files in a loop, the allotted capacity on my VPS filled up with multiple nested copies of the same files... After a reboot, I could delete most of them, but got rm stalled in certain directories...

after isolating which ones, I found this: a directory listing that lists the files, and at the same time tells me they are not there!!!

partial listing:

Code:
ls
ls: cannot access userkey.php: No such file or directory
ls: cannot access workshop.php: No such file or directory
ls: cannot access quiz.php: No such file or directory
ls: cannot access webservice_rest.php: No such file or directory

[Code]....

View 5 Replies View Related

Ubuntu Servers :: Using Apt For Updating From A Local Directory And Samba Shared Directory

Jul 9, 2010

I want to update all the machines in the network from a central repository which is on my master server and whose archive directory is shared through samba.I searched in the man page of sources.list and found that there is an option for this but can't able to implement this. Can anybody kindly tell me the way to do the same.

View 1 Replies View Related

Ubuntu Servers :: (IMO) Apache - Directory PHPInfo Does Not Exist

Mar 23, 2011

Have Apache running on Ubuntu Server. Say I have a domain, www.somewhere.com, and I have uploaded a file, phpinfo.php. If I hit http://www.somewhere.com/phpinfo.php, I get my file as expected. However, If I hit non-existent file http://www.somewhere.com/phpinfo/somefile.dat, it also acts as if I hit phpinfo.php, instead of giving me a 404 error. It seems that because the DIRECTORY "phpinfo" does not exist, it decided that I must have meant to hit phpinfo.php at the root of the site.

If I create an empty "phpinfo" directory then it behaves as expected and gives me a 404 not found page. This is reproducible for any other file name you can think of. I'm sure this is some Apache convenience behavior but I would like to disable it (it is messing with some mod_rewrite stuff I would like to do). Because it's hard to describe I cannot figure out which Apache option it might be (whatever I Google for gives me completely unrelated results).

View 9 Replies View Related

Ubuntu :: Unable To Login (home Directory Does Not Exist)

Nov 8, 2010

I just recently bought a second hand netbook (HP Mini Mi 110) from ebay which use linux ubuntu as OS. I changed the previous username to mine but when i tried to login again...this warning pop out "your home directory is listed as: '/home/mazlin' but it does not appear to exist. Do you want to log in with the /(root) directory as you home directory? It is unlikely anything will work unless you use a failsafe session" so i click yes. then...

user's $HOME/.drmc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. user's $HOME directory must be owned by user and not writable by other users. next i click OK, then... your session only lasted less than 10 seconds. if you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. try logging in with one of the failsafe sessions to see if you can fix this problem. when i click ok, the login screen reappear again... how to use failsafe sessions.

View 7 Replies View Related

Debian Installation :: Xauthority Does Not Exist - File Or Directory Not Found

May 2, 2015

I am running a fairly new Debain Jessie stable installation with Xfce desktop. I need to use Xfce4 becuas the standard Gnome 3 does ot work when logging in with xrdp which I use becuase the actual box is headless.

I have an issue when starting synaptic. When I start it from the menu entry it just does not start. When I start from the terminal with

Code: Select allgksudo synaptic

I get an error box "Unable to copy the user's Xauthorization file" At the same time I can see in the terminal window a message

"Error copying '/home/userxxx/.Xauthority' to /'tmp/libgksu-SwcIe0': File or Directory not found".

I assume it is related to that I use a rdp session to connect, but I am otherwise clueless.

Code: Select alluserxxx@server2>xauth
xauth: file /home/userxxx/.Xauthority does not exist

View 2 Replies View Related

Ubuntu :: Archive Manager Create The Specified Directory If It Doesn't Exist?

Feb 16, 2010

Is it possible to have Archive Manager create the specified folder when I enter it into the path field? Like if I want to put something in "/Main/Sub1/Sub2" But "sub2" doesn't exist, can I just have Archive Manager create it and put the files there?

View 1 Replies View Related

Ubuntu :: Chmod: Cannot Access 'afk-kick' File Or Directory Not Exist?

Oct 22, 2010

here is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:

cd
chmod 777 ../bin/panel
cd ../bin/panel

[code]....

View 2 Replies View Related

Ubuntu :: How To Lock Folder / Directory?

Oct 28, 2010

its look like ordinary question..i want to know how to lock a directory in such a way that it require password for unlocking(by entering to that directory)

View 9 Replies View Related

Ubuntu :: Finding Folders - Extracting Files - Permission - Directory Does Not Exist

Aug 28, 2010

new to ubuntu and linux, and using Lucid 10.04 LTS ok, i'm trying to get XBMC going, and following a nice step by step instruction on wiki.xbmc.org, but now i'm stuck at this step... In Ubuntu the SVN Repositories are not automatically added. You must add them manually. First, download the SVN Repo Installer from: [URL] Extract it to the ~/.xbmc/plugins/programs directory. If this directory does not exist, run XBMC one time and then exit back to Ubuntu. The directory should now exist.

i ran xbmc once (after the video driver problem was solved, though it messed up my dual monitors, gotta figure that one out yet.) i got the zip file, it's in my downloads. now my newbness really shows... i can't find an 'extract' command for gnome, can't find the .xbmc directory using the file browser, can't figure out how to hunt for folders instead of files, and don't know how to look inside folders i don't have permission to, that is, i don't know if there's a 'sudo' like option for the file browser. i've been searching the forums, but without the correct search terms, i'm wading in an ocean. i really want to give ubuntu an honest try, but i feel like a foreigner. EDIT: btw, up to this point, the forums have been invaluable, you all are great.

View 2 Replies View Related

Ubuntu :: Unable To Lock Administration Directory

Jan 11, 2011

So I was trying to run this: sudo apt-get update && sudo apt-get upgrade.But then it stopped working in the terminal, so i got this:E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?So then I ran this: sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock..Which blanked my screen. I booted to a terminal and I ran apt-get update and apt-get upgrade.All my files are there, I ran -ls. Any advice as to how to log on graphically again?Also-when I turn on the computer, it says the screen graphics card and the like were not detected properly.

View 1 Replies View Related

Ubuntu :: Unable To Lock Administration Directory / Why Is So?

Mar 21, 2011

On my freshly installed 64bit ubuntu i keep getting this error:
Unable to lock the administration directory (/var/lib/dpkg/)
whats going on?

View 3 Replies View Related

General :: Lock Ssh User On Own Home Directory?

Jun 21, 2011

I must to give ssh connection to own customer. So I want to lock ssh user on own home directory. It is not necessery to reach other folders. I know that ftp user can lock on own folder but I don't know how to lock ssh user.

View 1 Replies View Related

Ubuntu Installation :: JDK 6 - Unable To Lock Administration Directory

Feb 25, 2010

I am currently new to ubuntu. I would like to install jdk 6 in ubuntu. I've tried to install using this command: sudo apt-get instal. But in the end, I only got this result:
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I've tried many times and still it doesn't works.

View 4 Replies View Related

Ubuntu :: Can't Update - Unable To Lock The List Directory

Jan 23, 2011

red minus sign next to internet and following states..... E: Type 'cat' is not known on line 45 in source list /etc/apt/sources.list E: Unable to lock the list directory

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved