Ubuntu Servers :: Run X11 Over Ssh: "connect /tmp/.X11-unix/X0: No Such File Or Directory"

May 19, 2010

I'm trying to run X11 windows over ssh but I get this error:

Code:

ssh -X -C server@192.168.1.103
Warning: No xauth data; using fake authentication data for X11 forwarding.
server@server:~$ xclock
connect /tmp/.X11-unix/X0: No such file or directory
Error: Can't open display: localhost:10.0

I managed to connect with another computer. That computer has a /tmp/.X11-unix/X0 socket. Is there a way to create a socket on this computer?

View 8 Replies


ADVERTISEMENT

Software :: Getting Error While Unzipping A UNIX ZIP File - Cannot Find Zipfile Directory

Feb 18, 2011

I am facing an issue, while unzipping an UNIX ZIpped file. The message I am getting is as below.

/> unzip np_ARUDDP99_20110201.zip
Archive: np_ARUDDP99_20110201.zip

End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of np_ARUDDP99_20110201.zip or np_ARUDDP99_20110201.zip.zip, and cannot find np_ARUDDP99_20110201.zip.ZIP, period.

View 4 Replies View Related

Programming :: System() Routine Returns: Access: Unix Error (2) No Such File Or Directory

Oct 23, 2010

I am running shell command through C program using system() routine.

I am executing "opcontrol --status" an executable using the this routine and I get the following error. access: unix error (2) No such file or directory

But when I give the complete path to the executable it runs perfectly.

The executable is installed in "/usr/local/bin/" And the path variable has this path.

View 1 Replies View Related

Ubuntu Servers :: Postgresql Not Starting - Error "psql: Could Not Connect To Server: No Such File Or Directory"

Feb 1, 2010

I'm trying to install postgresql 8.3 on Ubuntu 8.04 LTS server and I'm running into problems starting it. Commands I've done # apt-get install postgresql postgresql-common Things I've tried Starting it manually

# /etc/init.d/postgrsql-8.3 start

Nothing appears in my /var/run/postgresql When I try and start psql as the postgres user I get the following error psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? I've been following the docs at: https://help.ubuntu.com/community/PostgreSQL

View 2 Replies View Related

Ubuntu Servers :: Connect To Specific Directory / FTP

Jan 1, 2010

I'm using VSFTP in my ubuntu server and I want FTP to show me only the /var/www directory and its files/sub-directories. How can I do this? This has to do with vsftp.conf?Also I've read is recommended to make a user only for FTP, thus limiting its access to the desired directory. How can I do such thing?

View 1 Replies View Related

Software :: Which Directory For Php.ini File - How To Connect With Postgresql

Mar 16, 2010

we did get php installed! Now for the next question...having trouble getting php to connect with postgresql database. I believe this has to do with the php.ini file. What directory do we put the php.ini file? and do we just use the php.ini-dist file that was downloaded during install rename it php.ini and add under dynamic extensions extension=pgsql.so?

Believe that php.ini should go under

/usr/bin
directory, because that is what we type when running php script
/usr/bin/php some_script.php

View 1 Replies View Related

Ubuntu Servers :: No Such File Or Directory?

Jan 9, 2011

I've got a Ubuntu 10.04 Server edition installed as a VMWare ESXi VM. It's been working great for about 6 months. This morning, after not making any changes, I started seeing some errors. First problem was that my website (managed by apache2) was offline. SSH/ftp didn't work either. So I go through the console through vSphere. Tried a quick ifconfig, and I got this:

Code:
bash: /sbin/ifconfig: No such file or directory
mmk. Tried ls /sbin/ifconfig, got this:
Code:
bash: /bin/ls: No such file or directory

[Code].....

Commands known to work: dir, vi, dmesg, rmdir, mkdir, ifup (but it then returns ifconfig not found), shutdown, reboot, fsck (but I chose no to prevent damage) Commands known NOT to work: ifconfig, ps, ls

View 9 Replies View Related

Ubuntu Servers :: No Such File Or Directory Error?

May 11, 2011

rcon@li121-251:~/b3$ ./b3_run.py
: No such file or directory
rcon@li121-251:~/b3$ l;

[Code].....

as you can see up top it gives me an error when i try to run the file. it is a Ubuntu error and i don't what the heck is causing it. had it before but don't remember how i resolved it.

View 8 Replies View Related

Fedora :: Error - Cannot Connect To Server Socket Err = No Such File Or Directory

Apr 29, 2011

What is the magic that needs to be done to be able to record in audacity?

- Fedora 15 x86_64 2.6.35.12-88.fc14.x86_64
- SoundBlaster X-Fi card.
-I have added rpmfusion to yum repos.

When I start audacity the following is printed to the concole:

Code:

Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3653

View 5 Replies View Related

Fedora :: How To Install From A .tar.gz - Navigate The Unix Terminal Directory

Dec 23, 2010

Im trying to install net-vi_2.2.1.tar.gz its my understanding that i need to navigate the Unix terminal directory to the either the tar.gz archive or extract the file to a folder and use that as the command directory for the terminal so my first question is how do i use that folder with the terminal? what command do i use?

After that i use the readme or install text file for the rest of the commands i need but im not sure cause ive never installed from tar.gz before

How to install a .tar.gz file ?

View 8 Replies View Related

General :: Mounting An Nfs Directory In UNIX On A System With Two NICs?

Jun 2, 2010

I'm trying to mount a folder located at 10.0.0.1:/pxe/ on eth1 but I'm not sure how to do this with two NICs enabled. The command mount 10.0.0.1:/pxe/ /mnt/pxe/ works fine when I only am using the one NIC the appropriate machine is on, but how can I specify to use eth1 when eth0 is also enabled?

View 1 Replies View Related

Ubuntu Servers :: Cache Directory And File Structure In Memory?

Aug 11, 2010

i am running Ubuntu Lucid x64 as a fileserver that shares its files via SFTP, NFS and Samba. Currently the hard disks are configured to go to standby if they are not needed. This works perfectly as long as no one browses the shares or my HTPC is running: That one repeatedly looks through the shares for new music or movies. In other words my problem is that the disks are spinning up a lot more often than they should have to. Additionally the spin-up time delays the response time while browsing. Since the machine has a lot of unused RAM i want to tell the kernel that it should keep the directory structure in memory. That way the disks would not need to spin up every time someone browses through the directories.

View 2 Replies View Related

Ubuntu Servers :: Error While Loading Shared Libraries - No Such File Or Directory

Jan 25, 2010

There is like one month since dig fails running after some upgrade. Platform: Ubuntu-Server 6.06.1 _Dapper Drake_ - Release amd64 Error: Code: dig: error while loading shared libraries: libdns.so.21: cannot open shared object file: No such file or directory.

View 2 Replies View Related

Ubuntu Servers :: Command Line To Copy File To Root Directory

May 12, 2010

I want to copy file from the Server cd drive and USB drive to the server root directory, but I haven't find any command of listing the cd drive or usb drive.

View 4 Replies View Related

Ubuntu Servers :: Directory Listing Missing File Icons For Apache

Sep 9, 2010

For some reason my directory listings are missing their icons for Apache on Ubuntu Server. An example: [URL]. They all come up not found.

View 6 Replies View Related

Ubuntu Servers :: Error Occurs When We Use Move Upload File, To The New Directory Within Our PHP App

Oct 7, 2010

We are running into issues with a File Upload script written in PHP. We can upload files without issues except with .*x files (such as .docx) We are getting permission denied errors. The error occurs when we use move upload file, to the new directory within our PHP app. If we give the uploads folder 777 access, it works fine without error. I dont like that. So I set it to 775 (Also dont like this), but it didnt work until I gave group ownership to www-data (I really dont like this)

This issue only happens on our production server, which is Ubuntu 9.04, running Apache2.2 and PHP5 will all the newest updates. We also have all MIME's configured, and are able to download the file from Apache without error. The first thing we noticed before the file permissions error, was that the MIME type changed to .zip when we used mime content type function. But yet using the FILES array, it still showed .docx.

View 2 Replies View Related

Ubuntu Servers :: Unable To Open Device /dev/megadev0: No Such File Or Directory

Jun 19, 2011

I have an Ubuntu server x64 (10.04) that is running FOG for imaging Its installed on an Intel server board (1 RU rackmount) I configured the RAID in an Intekl based BIOS utility which Looks similar to This Ubuntu installed and runs perfectly. however im unable to monitor the status of the drives from the OS, so Im unaware of any drive failures that may occur I manged to install megacli but it returns blank data (along with exit code: 0x00) Iv also tryed megactl wich says

Code:

unable to open device /dev/megadev0: No such file or directory

one of my colleagues who had used the server previously was certain that the raid was on board the intel site also makes mention of intel using LSI products in their RAID controllers Relevant section of dmidecode:

Code:

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Intel

[code]....

View 5 Replies View Related

Fedora Servers :: Cannot Delete Directory 'foo': File Exists

Jan 17, 2009

I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why.
Now when I try to delete the files from the server so I can start again I get the following error message

Code:
rm -r Single_injections/
rm: cannot remove directory `Single_injections/195320/400mA/010': File exists
rm: cannot remove directory `Single_injections/195320/400mA': File exists
rm: cannot remove directory `Single_injections/195320': File exists
rm: cannot remove directory `Single_injections': File exists

[Code].....

View 6 Replies View Related

Ubuntu :: File Extension Z - Unix Compressed Archive File?

May 6, 2010

Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip

View 6 Replies View Related

Ubuntu Servers :: Samba To Replace Windows File Server In Active Directory?

Jul 22, 2010

We have a couple of Windows file servers that just share files. It is all they do. We'd like to use Ubuntu on two replacement servers allowing Windows XP and Windows 7 clients to access the files. Our network is active directory based due to Exchange and homegrown .NET apps, so it is important that active directory is used to authenticate the clients. Samba doesn't need to be a pdc or bdc, but provide pass through authentication.I understand that Samba can communicate with active directory through security-ads and security-domain.

Here are my questions to see if I should proceed:1) Folder permissions:If we move all our files to the Ubuntu server how do we set folder permissions and will we see the active directory accounts when we do this?2) Skipping ubuntu accounts: I know the domain and ads allow you to skip creating ubuntu accounts, right? If not, how do you keep the passwords synchronized?3) Easiest way? Is there a very easy way to pull this off that I've missed? My goal is to eliminate the Windows based file servers while ensuring the admin part of it is as easy as possible.To date I've been able to get the sharing to work with an ubuntu account mirroring the active directory account. I've been able to get Samba to talk to the pdc, but not successfully through domain security. ADS security was a complete cluster with winbindd

View 3 Replies View Related

Fedora Servers :: Can't Upload File To Empty Home Directory

Feb 1, 2009

I just installed FC10 and then used yumex to install the vsftpd FTP daemon package. I'm using the vsftpd.conf file that came with the distribution, and its almost identical to one I copied from my FC2 machine's working set-up. When I try to FTP in as a known system user I'm presented with my home directory /home/myusername/. The directory appears empty to the FTP program, but isn't in reality. I can't upload a file to the empty home directory. I can move up the directory hierarchy to /home/, but again that appears as an empty directory.

I don't think it's a vsftpd.conf file issue. I've tried everything I can there. Could it have something to do with permissions? I fiddled with those, but couldn't make an FTP directory listing work.

[code]....

View 5 Replies View Related

Programming :: Connect To Remote Unix Server Using Script?

Aug 4, 2010

1)We need to do a clean up a folder in a remote unix server . What is the best option to connect to remote server? how do we use ssh ? Is there any prerequisite to use ssh?

2) We have to SCP few files to another folder in a remote unix server . I formed the below command to use in script. Is it of correct usage? scp -r $POS_HOME/posctl [login nameip address:/home/username/directory]

I have seen public key/private key generation part for SCP. How do we handle this? Does this need to be done as unix admin?

View 7 Replies View Related

Server :: Connect Samba To Unix-like Operating Systems?

Jun 9, 2010

i want to know how to connect it to debian,fedora, mandriva, puppy (or any other distro thats independant and most software needs to be installed with tarballs)and i also want to learn to connect to it with mac os x, and solaris (open solaris)

View 10 Replies View Related

Fedora Servers :: Can't Access Or Modify File Unless Directory Mode Is 777 And Files Are 666

Nov 8, 2010

I have a multi user system for my roommates and myself that has separate folders for each of us. I've got user authentication working with samba, but unless I set every file and folder readable/writeable by all users, I can't browse it or edit the files.This isn't ideal as the shares are open to other users access, so I'm hoping there's a way to keep folders at 750 and files at 660 while allowing samba users to browse, delete and edit.Also, the samba share is actually a mounted NFS share from another server. Both the NFS server and the Samba server have the same users/uid's. When a file is created from a Windows host via the Samba client, the NFS server's permissions do show that the correct user owns the files, but since the files aren't mode 666 but 640 I can't edit or delete the file.

View 4 Replies View Related

Ubuntu Servers :: Can't Connect To Server (file Or Remote Terminal) From Laptop

Jan 23, 2011

I have an ubuntu fileserver and an ubuntu laptop both running 10.10.For some reason I can't connect to the server (file or remote terminal) from the laptop, even though I can access ssh through terminal on my mac and have been able to mount the filesystem on another computer running the ubuntu liveCD. I just get the error 'no route to host'.I've tried turning off the firewall on the laptop and re-installing ssh on both computers, but I don't have a clue what to do next!

View 9 Replies View Related

Fedora Servers :: Mount.nfs4: Mounting Localhost:/home Failed - No Such File Or Directory

Nov 28, 2009

I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory

but

[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist
[root@flokipal ~]#

works

View 3 Replies View Related

Software :: Inventory Tool For Unix Servers?

May 18, 2011

Has anyone come across a decent Inventory (Hardware & Software) Gathering Tool.I googled out, but could not found anything impressive.

View 9 Replies View Related

Ubuntu Servers :: Ldap Samba/unix Password Authentication Management

Feb 10, 2010

I maintain a samba PDC for a small business, our current setup does not work very well; on a hardware upgrade I directled imported the old ldap database and attempting to add machines to the domain causes all sorts of trouble.

I'm 95% sure the original database (which predates my employment) was created using the idealx smb-ldap tools, unfortunately on our current platform (debian lenny) these tools seem to be broken; the only things hey seem to do reliably are set passwords and add posix users, asking them to do anything involving samba/windows causes errors. The idealx tools seem to be abandoned, and I don't know enough perl to try and fix them.

Since the idealx scripts seem to be abandoned, and most of the good samba+ldap how-tos references the idealx tools, I was wondering what people use nowadays to manage there ldap directories; surely they aren't importing .ldif files to add new users/machines like I've been doing. Are people just writing thier own management scripts/web-apps? Or are the smb=ldap tools just broke on debian?how to generate the NT/LM password hashes and proper SIDs, does anybody have anything they could point me to about this?

View 1 Replies View Related

Ubuntu Servers :: Export Normal Unix Users To Ldap User?

Jul 1, 2010

how to export normal unix user to ldap I've unbuntu ldap server with some local users. I want to export all my local users to ldap database as a ldap users. Or if there is any configuration so that when ever a normal user is created then automatically an ldap user with the same name as the normal user will be created

View 5 Replies View Related

Ubuntu Servers :: Unix-to-samba Password Sync (and Vice Versa)?

Jul 28, 2010

I'd like for the server (10.04) to keep samba passwords and unix passwords "in sync"; i.e. when a user changes his unix password (via passwd), his Samba password is automatically changed to match the unix password. Similarly, when a user changes his samba password (via smbpasswd), then his unix password is changed to match. smb.conf seems to make provision for this; following are the applicable entries from my smb.conf:

Code:
obey pam restrictions = Yes
pam password change = Yes

[code]....

View 2 Replies View Related







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