On a pc running Fedora4 with cups-1.1.23-15.4 , I have printers setup that can accept lp submitted jobs from other pcs, including windows pc on the LAN and a UNIX machine that is not on the lan. I would like to get the same functionality going with CentOS5.5 and cups 1.3.7-18.el5 5.7 On the CentOS pc
lpstat -p -d
printer 5si is idle. enabled since Tue 14 Sep 2010 03:30:34 PM PDT
printer Cups-PDF is idle. enabled since Thu 03 Jun 2010 09:42:49 AM PDT
I am trying to port the current Fedora4 system to the CentOS5 on a new hard disk. Actually, the Fedora4 system is constantly being hacked due to my lazy update. So i prefer a fresh install of CentOS5. I am not clear what files need copy and what does not need for ease and for avoiding possible backdoors.
I have an old fedora 4 server, used primarily for ftp access, that I need to migrate to a new machine that will run Centos 5.There are 50 user accounts defined locally on that server: how can I migrate them (user, pass, login options -ie no shell access-, data dir) to the new centos 5 server?
We've got to move a LAMP web application from a Red Hat box over to Cent OS. Actually it might wind up being a few applications. Basically are there any scary monsters to watch out for?
I will have some more details tomorrow morning as to exactly what we're moving and off of and on to what. The Cent OS installation I believe is 5ish. Red Hat could be a wildcard. <-It might be Red Hat, Red Hat Enterprise or Fedora
I'm migrating a server form CentOs to Ubuntu 11.04. I migrated the users, moving the config files and gaining the access prompt for all the users just when I modified adduser.conf and login.defs, changing valid uid and gid to start from 500 instead of 1000. When I try to copy the files from old server to the new one, either with rsync or cp -br, the system set to 0 uid and gid. If I explore the mount point, connected with sshfs, I can see the correct configuration, either as names or as numeric data.
With the release of CentOS 5.5 ext4 is considered stable in this distribution so I decided to migrate to it. Luckily I started from migrating fresh server with CentOS 5.5 using some instruction I found on the internet. I think I shouldn�t say, that I screwed the whole thing up ;) After about 6 hours cursing, kicking, and crying I solved the task and figured the correct sequence of actions. The small problem with migrating root partition is that you can�t unmount it BTW.
During migration task, I found, that CentOS 5.5 rescue mode is somewhat broken a little in terms of ext4 support. It can mount ext4 partitions successfully. But its e2fsprogs package (tune2fs, e2fsck etc.) doesnt see ext4 partitions and say, that superblock is corrupted on a partition once is converted to ext4 (at least it did it for me. May be I should force filesystem type with -t ext4 switch?). Keep in mind, that if you screw your system up too badly, you will not be able to run tune2fs and e2fsck on it from rescue modeBut you will still able to mount it if it is not corrupted badly. In all below examples,Boot your system normally and login as root. Upgrade kernel if you wish (I usually use yum upgrade to upgrade all on new machines). Then upgrade/install some other packages
I used checkinstall in fedora4 to make a rpm packed.The rpm pack is ok.When I used:
rpm -i xxxx.rpm to install the pack is ok. But when I used: rpm -e xxx to uninstall the pack didn't report error.But not uninstall. In my make file that checkinstall used is like this: install: FORCE
I am trying to port the current Fedora4 system to the CentOS5 on a new harddisk. Actually, the Fedora4 system is constantly being hacked due to my lazy update. So i prefer a fresh install of CentOS5. I am not clear what files need copy and what does not need for ease and for avoiding possible backdoors. Kinda a big problem,
I am trying to get a printer hooked up to my server and am told i need CUPS installed. I have networking set up and the Centos 5 is a host to a Windows XP guest using VMware. I am trying to get the server to act as a print server and know next to nothing about Linux. Can anyone walk me through the process please? I have downloaded CUPS-1.4.1-source.tar.bz2 and CUPS-1.4.1-source.tar.gz but do not know how to install things on Centos (or anything but Windows). Any help will be appreciated. Thanks in advance.
Since my last server upgrade, last Thursday, cups is having a strange behavior: I have 3 text-only printers, and an application that prints to them. The application, to print 5 lines, it sends 5 jobs to the printer. Before the upgrade, all the jobs where printed sequentially, without any delay. After the upgrade, cups makes a small delay (5s or more) between every one...Its very annoying for the users...
recently i have upgraded my centos 5.0 or 5.1 installation using 'yum upgrade' to centos 5.4 since the upgrade I am unable to print any PDF files as landscape, they get printed but do not seem to be rotated and are aligned a little bit less than when using portrait (test using the GUI and LP)
when printing a text file in portrait and landscape everything goes well tested on labelprinter Brother QL-580N and tested on Samsung SCX-5530FN Laserprinter both using the network I already tried 'yum downgrade cups' this works but with no success
I just installed CentOS 5.3 on Compaq desktop PC with HP laser jet 2100 attached to parallel port. The PC is connected to LAN with 2 other PCs running Fedora. I configured the HP printer as a shared CUPS printer and I was able to detect the printer from the other PCs running Fedora but I can't print test page from the other PCs.
P.S. I opened up port 513 and 631 for both UDP and TCP on print server PC and cups-lpd service is running on it.
I have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems. But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine
I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:
- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port) - uninstalling cups... (update manager nags) - fuser -k 631/tcp (great, but @ reboot the port is still open) Please teach me how to close this port / stop this service / tell update manager to shove cups.....
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting! cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.
If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:
and error_log shows: E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52
We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.
cupsd.conf on sysadmin looks like this and is as open as I can imagine:
Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.
I just know that it's something simple that's going to make me facepalm but I'm at a loss.
My setup is like this: i have a small office network and i bought yesterday a new multifunctional printer Samsung SCX-4521F. It is shared with samba and connected to the server with USB. In the network everyhing works well, users can log on to the domain, print from windows to the new shared Samsung printer and i even managed to enable network scannin. But when i try to print from MS DOS i wont get a single page. We have an accounting program in dos. All the other computers are XP Pro SP3. My server is running for 2 weeks the newest CentOS with all updates. I'v maped the network printer in windows witht the command "net use LPT1 \ServerSCX-4521F. I get a message that maping was completed succesfully. If i start a print job nothing happens. "Printing" or "warming up" flashes several times on the printer and thats it.
CUPS error log: I [02/Apr/2009:00:03:45 +0300] Adding start banner page "none" to job 125. I [02/Apr/2009:00:03:45 +0300] Adding end banner page "none" to job 125.
I am demo'ing Kubuntu 9.04 workstation to a customer. He has a CentOS 5.3 server (my doing). On it is our CUPS Network file server. Everyone (65 of them) print to our network printer through it using LPR/LPD (and sometimes Samba).
Problem: when Kubuntu's Print Configuration Tool went looking for printers, it found every network printer's IP address, but missed my CUPS printer server. What did I do wrong on one or both ends (I have control over both).
I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.
My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?
Apologies if this was asked before -- I have googled the last bytes out of my Firefox but fail to find anything helpful. Here's my problem:I have a foomatic hpijs cups-driver for a HP Inkjet (Non-PS printer) installed. Printing from UNIX-hosts works. I have cups configured not to allow raw-printing (/etc/cups/mime.types: #application/octet-stream, /etc/cups/mime.convs: #application/octet-stream).I have now installed samba-printing, the cups PS-drivers plus the Windows PS-drivers are populated to /etc/samba/drivers/W32X86/ and get pushed to the WIN-Client.Problem is that when I print from a WINXP client, the printer outputs heaps of Postscript-text instead of my page.I have tried to debug this a bit but fail to find anything really useful. My observations so far:
- The samba-pushed HP_Photosmart_3300.ppd (in both /etc/samba/drivers/... and in the resulting dir on the WINXP client) reads: *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
installed lenny and am trying to install brother dcp7010 again:
1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.
2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de it ends with " lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt" (connection to server not possible, refused)
3)[URL] doesn't work.
4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)
This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.
I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:
I'm in the process of duplicating all the data from my existing filesystems to a new storage solution. I know it is not recommended to do so but this will be a *lot* faster then having to reinstall and reconfiguring the system from scratch...I've synchronized the filesystems using rsync, used the following command line for that:
To make sure all data is mirrored properly, the next step is to boot into a live system and rerun rsync to copy any previously locked/altered files to the new storage. After moving this, I know I have to edit /etc/fstab on the new storage to make it match the proper UID for the drives. I also have to update grub and install grub into MBR of the new storage.
I recently converted from MS 2003 to Ubuntu 10.04.1 and i wish to change the filesystem of all my data disks from NTFS to EXT but i have run into a problem. When i delete the old nfts partition and create an EXT4 partition, i can see that on the newly created partiton the used space is about 20gb. I used gparted for this. I have read that EXT reserves some space for root, but since all the disks i wan't to convert is only used for data and not OS, i see no need for the reserved space. I found some commands to turn of the root space but that did not work so i changed to resiserfs but that very slow, unstable and under limited development.
I am having 2.4.18 kernel on vmware workstation(version 6.0.0 build-45731) in my system, I want migrate to 2.6.28 kernel. Having 2.6.28 source with me. What are the dependencies like gcc, binutils, glibc etc.
I have a Linux system running on an older Sun V20z. The drives are mirrored in a software RAID1. The motherboard has interfaces for only IDE and SCSI. The system is old and is no longer able to handle the load we're putting on it. I also have a much newer Sun X4100. This system is presently unused and has a pair of SAS drives in it. The new server only has SAS and SATA connections on the motherboard, though. I'm trying to think of the best way to clone the V20z over the X4100. I don't mind breaking the mirror knowing I can re-establish it later. I prefer not to do a fresh OS install followed by a tape restore. I would much rather break the mirror and clone one of the SCSI drives the SAS drive. I do have a USB to SATA adaptor for migrating external drives. Anyone know if this will work with a SAS drive? Any pointers on the best way to migrate this? I'm thinking even if the cloning is successful, I'm going to have to much with GRUB to get it to boot from the SAS drive?
I've been looking at Gnome 3 and the Gnome Shell and I don't like what I see. The Gnome devs are taking things in a direction I don't like, giving us new ways to do things that don't interest me and making them mandatory. AFAICT, in the long run there's no real way to configure things to work the way I've been doing things for the last fifteen years. This is not a rant, not (mostly) a complaint, merely an observation. Clearly, I'm not part of their target demographic and I doubt that I'd want to be under the circumstances.
To me, that means it's time for me to move on and try something different. After some careful research, I've migrated my laptop to XFCE and am very happy with it. Now, I'm about to do the same to my desktop. This leaves me with an interesting question: what's the best way to remove Gnome from my two machines without removing any support needed for various programs that I'm accustomed to using and expect to continue using?