Ubuntu Servers :: Unable To Patch The Files
Feb 8, 2011
I generated a patchfile of 2 directories using this command:
Code:
diff -ur source-20110125 source > mailpatch3.patch
Now I would like to apply the patch, doing this:
Code:
patch -p1 < mailpatch3.patch
But it then asks me for the file to patch. Why? Something that looks strange to me in the patch file: there are a lot of "common subdirectories" lines. Like this:
Code:
Common subdirectories: source-20110125/ac_depository and source/ac_depository
Common subdirectories: source-20110125/ac_depository_jar and source/ac_depository_jar
Common subdirectories: source-20110125/_backoffice and source/_backoffice
[code]...
View 2 Replies
ADVERTISEMENT
Nov 17, 2010
Very cool news on a small patch that apparently works wonders with the linux scheduler. Click here to see Phoronix testing of new 200 line Linux Kernel Patch shows it does wonders for performance
View 5 Replies
View Related
Dec 10, 2009
I'm having problems to install SCST in Fedora 11.I'm not able to apply the kernel patch because there isn't a file called drivers/scsi/scsi_lib.c in the /usr/src/kernels/2.6.29.4-167.fc11.i868.PAE.Does anybody have an idea on how to proceed?
View 3 Replies
View Related
Jun 28, 2010
My system is trying to install security update, but I get the following message: A package could not that allows the task to complete.
Details are as follows:
patch:libfreebl3-2258.noarch conflicts with libfreebl3-32bit.x86_64 < 3.12.6-3.1.1 provided by libfreebl3-32bit-3.12.6-2.pm.6.2.x86_64
View 9 Replies
View Related
May 5, 2011
I am using squid as a proxy server in my cent os 5 machine. I have downloaded and install squidGuard-1.4 using ./configure which it successfully do.THe problem is when I use make command it give me an error beacuse may it it is not compatible with BerkeleyDB. For
Code:
[root@localhost squidGuard-1.4]# make
making all in squidGuard-1.4
make[1]: Entering directory `/home/squidGuard-1.4/src'
[code]....
I am sure that it is due to patch missing .For that purpose I have download the patch "squidGuard-1.4-patch-20091015" and then extraxt it (untar) it. THe patch shows only these two files
Code:
[root@localhost squidGuard-1.4-patch-20091015]# ls
Readme.Patch-20091015 sgLog.c
I does not know how to apply the patch with currect squidGuard ?
View 9 Replies
View Related
Apr 8, 2011
I just want to upgrade my Slackware 13.1 kernel (2.6.33.4) to the latest stable kernel from kernel.org (2.6.38.2). I have never done anything like this and I am a Linux newbie, so I would appreciate a "Kernel Patching for Dummies" version if possible. I did do a search on this forum and most of what I read was over my head. I found an FAQ on kernelnewbies.org on "How To Apply A Patch" but when I attempted what they suggested, it said it couldn't find the file to patch at line 5 and asked me which file to patch. So I CTRL-Z'd out of there and came here. Here's what I tried:
[code]...
View 14 Replies
View Related
Jan 11, 2010
I need a tool that will enable me to manage files and other operations from another computer, access to my server. VPS and other host they usually provide cpanel and other webadmin app to do that.
I need advices on the followings:
1. FTP, allow me to access to my folder, like a web host
2. Access to config the server settings
3. Probably a GUI similar to cpanel
View 2 Replies
View Related
Jul 2, 2010
I am currently implementing an upgrade system for silent upgrades in my application. I am stuck. I need the code to patch binary files. But I can't find a good third party library. My code is in C# so I would prefer a C# library, but right now I would even go as far as using a library in another language and bind it into my C# code. But I just can't find a good patch/diff library. I must be missing something. Surely there must be some libraries out there that give us the ability to patch binary files?
View 8 Replies
View Related
Sep 2, 2010
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
View 2 Replies
View Related
Sep 11, 2010
is there a way to remove a patch from a kernel?
I need to apply a squashfs-lzma patch (squashfs 4.1cvs) to the liquorix kernel source which is already patched with squashfs 4.0.
how would I do that?I tried googling got this. url
but I dont know the command used to apply the patch the patch is called
35.4-3.patch.gz
url
but that patch includes more than squashfs,etc
View 1 Replies
View Related
May 11, 2011
I'm trying to install a patch but when I copy it into terminal I get message " /home/john/patch-modules_v62-opensuse.sh 'vmware-7.1.3-2.6.37-rc5.patch' not found. copy it to the current '/home/john' directory. Exiting" But I have it in my home directory!
View 3 Replies
View Related
Feb 22, 2010
I am unable to find the syslogd files. Ubuntu 9.1 installed. Logging is taking place. I want to redirect logging to central location. Do I need to install syslogd in order to control this service or is it controled via a different name/service?
View 1 Replies
View Related
May 29, 2010
i want to know why do we need to patch files based upon diff when we can directly overwrite the old file with the new file.
View 4 Replies
View Related
Jul 27, 2011
There is server with 3 hdd mounted to /h1 /h3 /h4 and its a file server contain 3 TB of data (must of them are in zip or rar format), We need to move whole files to the new server.I need a command or bash file to show me the name of files in these partition and the patch of them in the txt log file. (So i can create the link and download all of them in new server with download manager).I tried rsync but its too slow...After we created the links of whole files we will deny all ip address exclude new server IP address in nginx then we can transfer them all fast. (The servers are in 1 datacenter.)
View 2 Replies
View Related
Jul 20, 2010
i am downloaded some e-books in the format .rar. when i am extracting them i am getting error as There is no command installed for RAR archive files. Do you want to search for a command to open this file?
View 3 Replies
View Related
Feb 23, 2010
I'm having a problem connecting to my server with ssh.I'm running the latest Ubuntu 9.10 32-bit server, inside a virtual machine on a Mac (VMware Fusion 3, running on OS X 10.6.2 with 64-bit kernel).I've set up a network interface (eth2) to act as a host-only network between the virtual machine and the host.I can ssh into the server from my Mac when I type in its IP address ssh root@[IP address] BUT, I can not connect to the server.do I need to open a port with ufw? or configure something else in the ssh settings?
View 1 Replies
View Related
May 29, 2010
I have a Ubuntu Server machine that I can't get to 10.04. Sometime in the past I updated it to 9.04, but perhaps something went wrong. When I do a do-release-upgrade, it tells me there are no upgrades available. I tried a bunch of things but no luck, so I installed gnome to try the gui update manager on the console. When I start it, it first tells me that my distribution is no longer supported and that I should update. It gives me the button that says 9.04 is available, but after I click it I'm told that there are no new versions available.
View 5 Replies
View Related
May 1, 2011
I am setting up dhcp server for my public library and need to divide clients into a number of pools on the same network. The different ranges will be for different filtering requirements via squid/dansguard proxy. I have inhouse clients: staff, adult patron, and child patron, that have different filtering requirements and wireless guests that I want to shorter lease times to handle the rapid turnover rate. Trying to understand the terse manual, you assign pools via allow/deny members of classes, but classes are assigned by matching on mac address or vendor ids. Unfortunately as a poor rural library we have a hodge-podge of hardware with no matchable pattern. So I can solve the inhouse clients by using fixed-address, and remove them from the dynamic pool. Now the dhcp server would be serving only the short term wireless guests from the pool.
A common problem at libraries, you always get a few that are compelled to misbehave and break the libraries TOS. In the past the librarians would kick the offenders out of the library only to have them link in from the step or parking lot. Since I have their mac address in their initial lease I would like to prevent them from reestablishing a connection when they are banned.
My thinking is this; the library's computers are static and not part of the pool, the wireless clients would be unknown-clients, so set the pool to allow only unknown-clients, and for the "bad-boys" add their hosts in a group directive would make them "known" and therefore unable to get a IP from the dhcp server.
group {
host banned1 { hardware ethernet 00:00:00:00:00:01; }
host banned2 { hardware ethernet 00:00:00:95:a6:c1; }
host banned3 { hardware ethernet 0c:f1:b6:fe:00:01; }
}
[Code]....
View 3 Replies
View Related
May 4, 2011
I have just done a fresh install of server 11.04 32bit.I installed webmin. I can hit webmin , but it doesn't take my login. I tried with both my users but it refuses to log me in as if my username or password is wrong.
View 5 Replies
View Related
Aug 9, 2010
i wanted my own server so installed ubuntu and installed apache2, vsftp etc apache2 works, typed in localhost and it showed the 'it works' page. now, after setting up vsftp, i am now able to access the server via ftp on another pc. i used my username password which was created at the beginning of the Ubuntu installation. it connects fine, but everytime i am trying to upload a file to the var/www/ directory, it says permission denied. what do i have to do in order to transfer files into that directory?
View 3 Replies
View Related
Jan 23, 2010
I want to install mod_scgi. I have install the libapache2-mod-scgi package and changed the httpd.conf. When I try to restart the apache2 server, I got a syntax error :
Code:
View 7 Replies
View Related
Feb 20, 2010
I'm trying to run this command code...
how do I fix this? Although I'm working on Ubuntu 8.04.4 server 32 bit
View 3 Replies
View Related
Apr 5, 2010
I always use Shorewall on my Ubuntu Servers and it works great, one things I have never been able to get right is the TOS.Let say for example I would like:
HTTP traffic (80, but all traffic get routed to 3128 [Squid]) to get highest priority
SMTP (25) second highest
POP (110) third highest
The rest forth
How would I get that right?
View 1 Replies
View Related
Apr 29, 2010
I am trying to mount my usb printer in Ubuntu Server 9.10. I'm trying to do this so that the usb printer will be picked up by vmware server so the Windows XP guest I have on there will then be able to access the printer as if it were hooked up to it directly. I found a few posts online and this is what I've done so far. I found in a couple of posts that they said I should uncomment out the following lines in /etc/init.d/mountdevsubfs.sh. Well I found that the file didn't exsist. Someone posted up their copy of it so I copied that code into the mountdevsubfs.sh script. That code is the following:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: mountdevsubfs mountvirtfs
# Required-Start: mountkernfs
# Required-Stop:
[code]....
I also added this line to the bottom of my /etc/fstab file
Code:
usbfs /proc/bus/usb usbfs auto 0 0
When I go ahead and run the script it errors out on this line:
Code:
. /lib/init/mount-functions.sh
I went to go look in /lib/init and the mount-functions.sh script doesn't exist. I've googled this and I haven't been able to find anything. why am I missing /lib/init/mount-functions.sh and how can I get that script?
View 1 Replies
View Related
May 13, 2010
I have a Dell PowerEdge 2850 running Ubuntu 10.04 Server with SSH and Samba. My problem is that I am unable to execute my adduser.sh script which reads from a text file and adds users to the box and Samba. I have ran chmod a+x to make it executable and placed it in /usr/local/bin.
When I run sudo adduser.sh I get "sudo: unable to execute /usr/local/bin/adduser.sh: No such file or directory".
When I run adduser.sh I get "-bash: /usr/local/bin/adduser.sh: /bin/bash^M: bad interpreter: No such file or directory " I have been using Kubuntu as my home workstation for some time now but I have managed Windows servers but since I was given the freedom to setup this server I chose Linux.
View 5 Replies
View Related
Jun 22, 2010
I found one strange issue with ubuntu, can anyone suggest if its a bug or as designed? If I have two nameservers in my resolv.conf, ubuntu only checks the first (and receives a not found reply from there) and never goes to the next two nameservers. This behaviour is very different from windows or other linux systems.
View 3 Replies
View Related
Nov 13, 2010
I'm something of a Linux noob I must say. I run a community centre and we've been donated 50 ex government PCs to use in basic computing classes. The machines are HP DC7600 CMT tower base units, all with Windows XP Pro license stickers and blank hard drives obviously. set up a Ubuntu machine to clone Windows XP Pro onto a load of identical machines?
I could install all of them from disk and install drivers from pendrive but that would take forever! I like the idea of seting one up as I like it and cloning it across the LAN. Would save a massive amount of downloading updates for each client too. So far I've followed this guide: [URL] I can only get as far as stating up the drbl service (if that is the correct term?) but the terminal says something along the lines of "unknown command"So far I have one fully built base unit to use as the image, one running Ubuntu 10.4 and a 16 port switch (so I can clone 14 at a time?)
View 9 Replies
View Related
May 2, 2011
Basically I am trying to set up my own server so that I can ssh into it from anywhere. I am able to SSH into my server when I use the LAN IP of my server but I am not able to SSH into it if I use the public IP address. I have read many threads and in my opinion I've tried almost all of the common fixes suggested. One possibility may be that my ISP has blocked port 22. I have taken this into consideration and sent them an email and I'm presently waiting for a reply. However, I highly doubt that my ISP has restricted acess to port 22. I would really like to be able to SSH into my server from anywhere.
1). I installed openssh client/server using the following commands:
Code:
sudo apt-get install openssh-client
sudo apt-get install openssh-client
2). I forwarded port 22 on my router. (see attachment for the settings)
3). I modified /etc/ssh/sshd_config such that my server has a static LAN address.
contents of sshd_config file:
Code:
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to .....
I then entered the command:
Code:
sudo /etc/init.d/ssh restart
4). I turned off the firewall using the command:
Code:
sudo ufw disable
5). Here is the output of the IP tables:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
View 9 Replies
View Related
Aug 3, 2011
I followed this tutorial: [URL] But the links i created are not accessible. Is it to do with [URL] not working? I was doing [URL] and [URL], but didnt work
View 9 Replies
View Related
Aug 4, 2011
I'm running ubuntu 11.04 on two computers, and I had two ftp-servers running fine and well. But then, after a computer reboot, I'm not able to boot the servers anymore.
Code:
root@kjellern-lima:~# service vsftpd start
vsftpd start/running, process 2552
It says it starts running, but if I try to connect to it, or run:
Code:
root@kjellern-lima:~# netstat -a | grep ftp
nothing happens
View 8 Replies
View Related