General :: Mv: Cannot Stat `/public/public/clamscans/*.txt': No Such File Or Directory

Sep 24, 2010

I run the following file with the >log.log redirector and it does not capture errors.

echo ************************BEGIN LOG******************************
date +"%m/%d/%Y %H:%M:%S $HOSTNAME"
cp -f /scripts/original/clamscans.log /scripts


The following errors show up when I run from the file from the term window, but are not written to log.log:

tar: /public/public/clamscans/*.txt: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
mv: cannot stat `/public/public/clamscans/*.txt': No such file or directory

I know with windows you can add the 2>&1 to capture error data. Is there such a thing for Linux?

View 2 Replies


General :: Move The Contents Of /public-back/templates Recursively With Permissions Into /public/templates?

Apr 20, 2011

ls -al ../public-back
drwxrwxr-x 4 apache apache 4096 Apr 19 03:32 templates
ls -al ../public-back/templates
drwxrwxr-x 2 apache apache 4096 Apr 19 03:33 content


How do I move the contents of /public-back/templates recursively with permissions into /public/templates ?

View 2 Replies View Related

Ubuntu :: Use Openssl Public And Private Keys So Only A Host With The Public Key Could Access / Decrypt The Filesharing

Aug 2, 2011

I'm trying to write a p2p file sharing program using python's built-in libraries. Everything is going well. The only thing is that i'd like to be able to use openssl public and private keys so only a host with the public key could access/decrypt the filesharing. I've gotten these libraries (httplib, basehttpserver, ssl, os) to work using just a pem file containing both the public and private keys but no success with them seperately. Can someone point me in the right direction or offer an alternative? PS, the goal of the project is to create an anonymous, decentralized, secure file sharing program. I want to be able to upload this to sourceforge so everyone can use it, if that's any incentive

View 2 Replies View Related

Debian Configuration :: Forward Traffic From Public IP To Another Public IP?

Mar 3, 2010

How can I forward all traffic from a public IP to another public IP. Let's say I have a first debian box named box1 with eth0 = and eth0:1 = and I want to forward all traffic from to "box2" located somewhere else over the internet and having for eth0 Both and are public IP ranges.

View 1 Replies View Related

General :: Error - /var/opt/axigen/domain: Cannot Stat: No Such File Or Directory

Mar 8, 2010

can you see below command i give return me error however it has been working fine before. there is 1 directory i want to make it .tar.gz [root@sa1 script]# tar cvzf /var/opt/bkup_axigen/axigen_bkup_2.tar.gz /var/opt/axigen/domain tar: Removing leading `/' from member names tar: /var/opt/axigen/domain: Cannot stat: No such file or directory tar: Error exit delayed from previous errors

View 2 Replies View Related

Programming :: Tar; Cannot Stat: No Such File Or Directory?

Oct 5, 2010

I'm trying to backup every night a big directory (~2.5Gb) using tar+gzip.I'm calling tar like this:nice -n 19 tar --ignore-failed-read --exclude-tag-all=.kein-backup -Pczpsf '/backup/20100925233802f/archive.tar.gz' '/srv/products'And in 90% of the cases works just fine, in about 20 minutes is everything done. However, if it happens that in those minutes one file or folder from '/srv/products' gets deleted it reports me the following error:tar: /srv/products/prod14564.gif: Cannot stat: No such file or directorytar: Exiting with failure status due to previous errorsDoes it exist a parameter for tar to ignore this kind of errors? Is it there any other way to avoid these errors

View 3 Replies View Related

OpenSUSE :: Kgpg Unable To Open File After Importing Public Key

Feb 27, 2010

I created a key pair in kgpg on suse 11.1 kgpg version 1.2.2. i am able to encrypted and decrypted files on the pc with no issues. I then exported the public key for the key pair created above, placed on flash drive and moved to my laptop running suse 11.2.

i open kgpg version 2.2.2 and imported the key, all was good. I then passed the file encrypted on 11.1 to the 11.2 laptop and with kgpg tried to decrypt the file, but the decrypting failed. The details shows the public key i just imported and then it says gpg:decryption failed: No Secret key.

I am not clear why on it is failing and if i missed a step some where along the way.

View 1 Replies View Related

Fedora :: BASH :: Change File Stat In Sub Directory?

Oct 23, 2010

So I have created a Bash script with the intent of the program to change the names of the files in a folder's subdirectory.The code recognises the individual subdirectories, then is able to enter into one and list the files individually, but when it tries to change their information it says;' cannot stat ' : ' No such file or directory 'As if it is looking in the directory that contains the Bash script, not its subdirectory.It is essentially saying, I see a file here called FILE but sorry, I can't change FILE because FILE doesn't exist. kweh?Is this something outside the capabilities of Bash? Am I asking too much of it? Can Bash only manipulate files that are in the same folder as the script?

echo enter directory


View 6 Replies View Related

Slackware :: Install: Cannot Stat `cuda.h': No Such File Or Directory

Dec 15, 2010

I am trying to install the nvidia-drivers from When I try to run the SlackBuild, I get the following error:

install: cannot stat `cuda.h': No such file or directory

What am I missing?

The nvidia-kernel SlackBuild ran fine and created the kernel package.

View 14 Replies View Related

Security :: Secure And Automated Backups - Add Public Key To Authorized_hosts File On Prod Server?

Mar 13, 2010

I'm trying to find a secure way to backup files on my Prod Server to Backup Server. It must be automated, so I will need to run a command with cron which will login to Prod Server from Backup Server and backup data. 1. Do you think it would be secure enough to do this by creating an passwordless RSA private key on Backup Server and adding it's public key to authorized_hosts file on Prod Server? I can't think of a way to Automate this without having to enter any passwords without passwordless RSA key. Is there another. more secure way? 2. Should I create a special user for backup, which will only have read access to all files in the directory that I am backing up? If so, How can I run a check that this new backup user indeed has read access to ALL files in the folder that I intent to back up? How can I ensure the backup process will not skip files due to some permission problem? 3. I'm thinking of using rsnapshot tool, which uses rsync.

View 10 Replies View Related

General :: Where Is GNU's Public Key

Jul 1, 2010

I can't find GNU's public key anywhere. I searched on and I googled, and I can't find their public key.

View 2 Replies View Related

Programming :: Using Piped Data As Input - Cannot Stat '-': No Such File Or Directory

Nov 6, 2010

Code: stuart@stuart:~/$cat showthread.php.html | grep -o [URL][^"< ]*" | uniq | head -n3 | plowdown - cannot stat '-': No such file or directory Code: stuart@stuart:~/$ awk NR==$x Musiclist.txt | cut -d/ -f6 | basename $1 .mp3 .mp3 Here's some system info on the bash i'm using:


View 13 Replies View Related

General :: SSH With DSA Public Key Authentication?

Jan 20, 2010

I want to setup SSH with DSA public key authentication between two servers

View 1 Replies View Related

General :: Way To Ssh Without Interactivity / Not Using Public Key

Jul 24, 2010

I execute ssh host and then wait 1 second and then echo the password into stdin. Just experimenting. Would there be a way to get this right?

View 3 Replies View Related

General :: Mount 'public On Xxx' To Local Fs?

Feb 6, 2011

I am using Fedora and I can see the public folders from other computers on my network as 'public on xxx'. Is there any way to mount that to the local fs? The way it is now I can only access it in the file manager.

View 2 Replies View Related

General :: Get Public Key For A Package To Install With Yum?

Sep 16, 2010

I understand that I can specify nogpgcheck on the command line, or gpgcheck=0 in the repo file, but if I want to do it "right" how would I get the public key? And where should I have looked to find this without bothering the group? I looked in man yum and don't seem to find it.

View 6 Replies View Related

Ubuntu Networking :: WUSB600N Wireless - Error Cannot Stat `rt3572sta.ko': No Such File Or Directory

Nov 11, 2010

well I am a novice in Linux OS, I have a wireless card, it's a Linksys WUSB600N but it doesn't work in Ubuntu 10.10 Desktop Edition, which it is the one I have, 64 bits machine, so I read this [URL] and I did all the steps, I downloaded 2010_0915_RT3572_Linux_STA_v2.4.0.2.tar but in the last part, sudo make install I got this error

alain@alain:~/t/2010_0915_RT3572_Linux_STA_v2.4.0.2$ sudo make install
make -C /home/alain/t/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/home/alain/t/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA

so i have no way to get connected to the internet, what is that error cannot stat `rt3572sta.ko': No such file or directory, I think thats why i can make the wireless card work.

View 7 Replies View Related

General :: Create A Unique Zip With Only Public Subdirectory?

Apr 15, 2010

I've a lot of websites (100+ directories) I want to create a unique zip with only public subdirectory.

My structure now is like:

- Site 1
--- app
--- tmp
--- log
--- public


View 4 Replies View Related

General :: Cannot Connect To Service With Public IP Only With Localhost

Apr 20, 2010

I have installed Linux Mint 8 (based on ubuntu). And I have setup a webserver on port 8098.

I can connect to my webserver with, but when I try to connect to from the same machine or another machine it doesn't work.

How can I get this working? Is there any default firewall settings that I have to change?

View 2 Replies View Related

General :: Looking For Public Process Hosting Provider?

Jun 22, 2010

I am looking for something like or SDF that will run dedicated background processes of my choosing. (i.e. OpenSSH).

View 2 Replies View Related

General :: Generate A Public/private Key - UNIX

Nov 17, 2010

For using SSH, why does a host also need to have a public and private key? And how can I generate a public/private key pair for myself?

View 5 Replies View Related

General :: Github Private/public SSH Key Authentication?

Jan 28, 2011

I created a private/public pair. I put the public on github.But I can never push to github.Every time, it says public denied. In order to push, I need to do this:eval ssh-agentssh-add ~/.ssh/github_dsaThis is driving me nuts that I have to do this every time. So, I just put it in my ~/.bashrc file. I feel like that's a hack. Is this normal?

View 1 Replies View Related

General :: SSH Skips Public Key Authentication For A Key But Works With Another / Cause To This?

Jul 6, 2011

I have a little problem

For years, I've been using SSH with public key authentication to connect to a remote server, and my private key is formatted like this:


I've tried creating a new key which uses DSA, but I got the same result...

Does anyone know what the cause to this might be?

View 1 Replies View Related

General :: Retrieving A Public RSA Key Through The Command Line?

Jun 29, 2011

I'm doing a project demonstrating weaknesses in facebook's security setup, and I've reached a bit of a roadblock.I need to retrieve the public RSA key of the website (facebook) that it uses for https traffic. I know I can do this through firefox and everything, but I need to do it through the command line. If that's possible, that would be great, and would lead me to question number two. Once I have the public key, how would I use it to decrypt raw network traffic, like from wireshark, that came from facebooks servers that was encrypted using the public key?

View 4 Replies View Related

General :: Bind Local Address To Public Ip?

Mar 25, 2011

I need to publish my local webserver from my lan to access outside using internet, I have public ips provided by ISP my local webserver address is and I want to bind this local address to a public ip (Ex: to use it out side my lan through squid.

View 11 Replies View Related

General :: Cannot Login To Server - Permission Denied (Public Key)

May 1, 2011

I am working currently on my server on an issue, I configured the SSH Deamon that only people who have a valid ssh-key can login on to the server, and kicked the password option. Now I've added a user account git. I navigate to his home folder created the folder ".ssh" and created in that folder the file "authorized_keys" I copied my public key in there. Now on my local machine I added that identity (via ssh-add) and I wanted to connect to my server. but when I'm trying to login myself I can't the only message I get is "Permission denied (publickey)."

View 1 Replies View Related

General :: Generating Public And Private Keys Using Putty Key Gen?

Jul 19, 2010

Another question though...i have a fedora 12 server set up and i have created 3 sudo users. I have created 3 putty keys (public and private) using putty key gen and basedn my research i was told to put the public keys in /home/"user"/.ssh/authorized_keys .I did that but when i tried to log on using the key...the server is saying "server refused key" could anyone assist in this issue

View 4 Replies View Related

General :: Connect Systems In Private And Public Networks Using IP

Jan 11, 2011

I have one doubt that is how can we actually connect a system in private network with the system in a public network using IP address. I have one system in private network (in my campus) I need to connect it with the system on public network (home) using IP address and communicate with each other. How can I do it or is there any other way of connecting these two systems more easily?

View 4 Replies View Related

General :: Pointing Multiple Domains To A Single Public IP?

Apr 28, 2011

If i have two domins [URL] and [URL], can i point it to same IP Address in DNS?.I had already added namevirtualhost in my Apache.If possible, is there any risk,disadvantages.

View 11 Replies View Related

General :: Public Key For Libmms-0.5-1.fc14.i686.rpm Is Not Installed?

May 1, 2010

I am trying to upgrade from Fedora 10 to Fedora 14 and my system returns this error:

Public key for libmms-0.5-1.fc14.i686.rpm is not installed

Obviously I need to install this but I have been unable to find it. Also I am not really sure whether I can go from Fedora 10 to Fedora 14.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved