General :: Unable To Copy PPD File When Creating New Printer Via Lpadmin?
Jul 18, 2011
I'm a Red Hat 6 newbie but have been around Unix.I looked at some threads here regarding this issue and haven't been able to find a solution.I'm executing;
lpadmin -p bam -v socket:139.64.101.21 -m /etc/cups/ppd/BR5370_2_GPL.ppd
When I look in /var/log/cups/error_log, here's what I get:
E [18/Jul/2011:14:37:36 -0700] [cups-driverd] Bad PPD name "/etc/cups/ppd/BR5370_2_GPL.ppd"!
E [18/Jul/2011:14:37:36 -0700] copy_model: empty PPD file!
[code]...
View 5 Replies
ADVERTISEMENT
Jan 4, 2011
I am running Slackware 13.1 64bit and the cupsd config is the one pretty much the default. I can connect to it from my browser at http://localhost:631 and play around with the options with no problem. I have been following a previous post on configuring a PDF printer [URL]. I am at the point of using lpadmin on the command line to create the pdf printer with the adobe distiller ppd file. When I try to do so it just hangs and eventually I get a connection timeout. When I do an lpinfo -v I get the same thing. If I try lpinfo -h localhost:631 the request returns immediately with nothing. I tried to create the PDF printer through the cups web ui but I did not get far.
View 2 Replies
View Related
Mar 11, 2010
I am trying to use ln to create a hard link to file a and whenever I do it, it creates a copy of the file instead. After having edited file a, when opening the link, it shows the old information and opening file a shows the new information. The command I am using is
Code:
ln /home/user/file
within the new directory i am trying to link from. I am using centos 5.4.
View 7 Replies
View Related
Nov 4, 2010
I don't think this is a "perl one-liner" of find and replace. I'm trying to auto-fill some information in a listing of files. The simplest example is that in the files the following exists:
I would want the script to find this and populate it with something like -- Date : 20101004-1758
I have a few more similar fields to autofill, and I'd like to do this from within a larger perl script I'm developing to process these files. So, how I perform in-place file modification from within a perl script?
View 3 Replies
View Related
Apr 3, 2010
I am trying to copy the file on remote server, but I am getting error " ssh: connect to host 172.28.21.14 port 22: Connection timed outlost connection "My two server are bastion10 and newlink, I want to copy file from newlink to bastion10 buet unable. I am able to ping, when i run " lsof -i :22 " command on link3new server I am getting
link3-new:lsof -i :22
sshd 6992 root 4u IPv6 11878 TCP *:ssh (LISTEN)
while on bation10 it is ( ESTABLISHED ) ..
View 3 Replies
View Related
Mar 1, 2011
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
View 1 Replies
View Related
Sep 2, 2010
I have to copy file from download folder to /usr/bin. when i right click on it and select copy option and in /usr/bin the paste option is not coming.
View 3 Replies
View Related
Mar 21, 2010
After update to 10.04 I am not longer asked to authenticate when attempting to run "root" priv. apps in System->Administration Just get the error: Quote: Failed to run /usr/sbin/whatever-application as user root. Unable to copy the user's Xauthorization file. Google searches have been in vain. All apps still run if ran from terminal w/ sudo command.
View 1 Replies
View Related
Feb 3, 2010
I recently installed Jaunty in my departmental machine which is having 70 GB harddisk and 512 MB RAM. Before installing I partitioned the Hard disk by using Gparted of Live CD into Four compartments namely
1. Primary partition of 30 GB of file type ext3
2. Extended partition of 39 GB which I divided again into two logical Partition of 20 GB and 19 GB. Labelled it as D and E
3. 1 GB of swap partition
I installed the Jaunty in primary partition, gave the mount point as /The problem is I am not able to copy or save file in the extended partition namely D and E
View 9 Replies
View Related
May 14, 2010
I have some issue with my amanda backup server, which is connecting with Scalar Quantum i500 via FC. I got the error as below 3 days ago.
These dumps were to tape 000289.
*** A TAPE ERROR OCCURRED: [No more writable valid tape found].
Normally I will load the proper tapes and run the amflush to push stuff from the holding disk to tapes manually. However this time amflush in this case did not help, Amanda immediately responded with an out of tape error again.
Meanwhile I got some errors from dmesg as well
st3: Error 18 (sugg. bt 0x0, driver bt 0x0, host bt 0x0).
scsi1 (0,3,0) : reservation conflict
View 8 Replies
View Related
Sep 14, 2009
error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file
int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);
[code]....
View 1 Replies
View Related
Aug 25, 2009
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies
View Related
Aug 26, 2010
I am unable to add my USB printer via the YaST2 Printer Configuration setup tool in openSUSE 11.3. The printer, a Dell Color Laser 1320c, was last used with openSUSE 11.2, and setup was entirely uneventful. No driver is provided by Dell, so I used the Fuji Xerox DocuPrint C525A Linux driver. The problem: To add a print queue in 11.3, a Connection must be specified (parallel, USB, network, etc). However, the configuration wizard fails to show the presence of the USB print device.
[Code]...
This printer was working just eight weeks ago under 11.2, and 11.3 is obviously able to detect its presence and identify it correctly. I feel certain the solution is simple, but I haven't found documentation that provides the answer.
View 7 Replies
View Related
Jun 14, 2011
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also need to keep the order intact after copying.
For e.g - If I get a JPG file under /home/usr/new/1/ then the destination also needs to be /test/old/new/1/.
At the moment, I am simply putting all files under /test/old/ and I can't somehow get the later /new/1/ folder path created under /test/old/
I understand this could well be done using while OR if else loop, though if someone can just guide me with a hint, I would be really grateful.
I will complete the rest of the steps and was asking here since I am still not comfortable with the shell/bash scripts yet and planning to be really good at it over the next couple of months.
View 1 Replies
View Related
Jun 3, 2010
I had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..
View 1 Replies
View Related
Jul 1, 2011
I have Debian / Ubuntu / Xubuntu. I'm trying to distribute and run a Python file with the least number of clicks for the end user. How do I create a PKG file for Mac OS X on Linux?
View 1 Replies
View Related
Oct 20, 2009
I want to configure file printer (print to file) on my rhel-5 machine in such a way that if users fire print command from windows xp it should create an individual computer wise txt file on my linux machine. File name should be different for each printer.
View 2 Replies
View Related
Nov 16, 2010
I have an embedded linux system (Debian 'Lenny') which booting from a microSD flash. If I make a copy of a file on the flash file system (cp test test1) and then power off (disconnect power spontanious). Connects power again and the system come up, but the file test1 is gone. How can I secure that test1 is NOT disappear if the power get lost?If I copy file and then restart system with reboot command, the file test1 does not disappear.
View 7 Replies
View Related
Sep 19, 2009
favor and let me know how can I copy some text in one file and paste it to another file ,when both of the files are being opened by vi text editor ?
View 7 Replies
View Related
Oct 18, 2010
I have a C-function that create a file and then make a copy in the same directory, but somethin is wrong with permission or owners.The program starts as root user.The file creates by the program:
-rwxrwxrwx 1 root staff 199680 Oct 18 10:58 test
Ok, but after copying the permission is not the same.The file after copying (with new name) by the program:
-rw-r--r-- 1 root root 199680 Oct 18 10:58 test_copy
I want to have full permission of the copy, how to do??
View 2 Replies
View Related
Nov 23, 2009
I just upgrade to Fedora 11.
I have problem in installing the printer, no matter add printer in local network or Windows Printer via Samba.
The summary is as follow:
I have download a printer driver and had installed but got error when I tried to printer a test page.
View 6 Replies
View Related
Apr 26, 2011
I have create a perl script, which create a text file, and it works well. But i want this to create in a specified directory.
THe scrip is:
Code:
#!/usr/bin/perl
use POSIX;
#Directory where the text file will be created.
$directory = '/space/data';
[Code]....
View 14 Replies
View Related
May 2, 2011
I'm having issues copying files from a USB attached HDD (formatted by the NAS to EXT3) over to a NAS device. First some background info (maybe relevant or may not be): I upgraded the HDD in my NAS and now I'm unable to copy the files over from the old HDD while plugged into the NAS. Also tried copying over from windows 7 (64 & 32 bit) as well as an XP machine using EXT2FDS & IFS resulting in perpetual re-booting of all three machines.As a result of that I got a brainwave to try copying the files over from a bootable Linux DVD (Unbuntu 11.04) to the Nas over the network. I am in Unbuntu now but I am having problems copying to the NAS. It seems to work when I select individual files but when I select a older/folders/sub folders to copy over an "error while copying" dialog box appears appears. For example: in "Show More Details" here is the copied text from an error: "Error stating file '/media/f0745264-c91b-4528-9fe3-e3469cdb13cc/Public
View 4 Replies
View Related
Sep 8, 2010
I am unable to copy files on my machine. For instance, if I have two folders on the desktop and I want to move one folder into another, I get the error message:Error "Not on the same file system". I am using SL5.4.
View 1 Replies
View Related
May 2, 2011
I'm having issues copying files from a USB attached HDD (formatted by the NAS to EXT3) over to a NAS device. First some background info (maybe relevant or may not be): I upgraded the HDD in my NAS and now I'm unable to copy the files over from the old HDD while plugged into the NAS. Also tried copying over from windows 7 (64 & 32 bit) as well as an XP machine using EXT2FDS & IFS resulting in perpetual re-booting of all three machines.As a result of that I got a brainwave to try copying the files over from a bootable Linux DVD (Unbuntu 11.04) to the Nas over the network. I am in Unbuntu now but I am having problems copying to the NAS. It seems to work when I select individual files but when I select afolder/folders/sub folders to copy over an "error while copying" dialog box appears appears. For example: in "Show More Details" here is the copied text from an error: "Error stating file '/media/f0745264-c91b-4528-9fe3-e3469cdb13cc/Public/MANUALS/oliver_manual_99_99GM_tractors_O_7_1956.pdf': Input/output error"
View 2 Replies
View Related
Aug 17, 2011
create a Cron file and script. I've tried reading through my Linux book but I am just lost here. I need to create a Cron file that will perform a Level 0 backup once per month, a Level 2 dump one day per week, and a Level 5 dump every day that neither a level 0 nor a level 2 dump is performed.
View 5 Replies
View Related
Oct 21, 2009
How to create a dump of an existing file and how to restore it with command line?
View 6 Replies
View Related
Mar 17, 2010
In order to change host name I usually create a file with this:
nano /etc/hostname (after going SU)
And in that I type the new hostname.
Also I did this too...
nano /etc/hosts
127.0.0.1 localhost <hostname>
nothing happens. OS is PCLinux
View 5 Replies
View Related
Dec 1, 2010
I am calling a service using http post through wget, the command is successfully executing but for each execution its creating a file and saving variable names n data n it. I want to execute this command without creation of a file. Would anyone suggest me what needs to be done in this regard.
My command:
wget --post-data 'var1=99&var2=200' http://xyz.example.com:5555/invoke/Samples:httpInvoke
For every execution, its creating the files with names:
Samples:httpInvoke1
Samples:httpInvoke2
Samples:httpInvoke3
[Code]...
View 1 Replies
View Related
Sep 23, 2009
I am using CentOS 5.3. output of "uname -a" Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
My kernal version is kernel-2.6.18-92.el5
Whenver i try to copy files from my centos to pendrive ( 2gb, kingston datatraveller) my system is gettin hanged leaving no option then to reboot. i tried from the terminal also, and as a diffrent user also. but same results.
View 6 Replies
View Related