similar to: How to add a new line at a particular place in a file..

Displaying 20 results from an estimated 200 matches similar to: "How to add a new line at a particular place in a file.."

2012 Sep 03
2
Class for transfering files from Server to Client
I have installed JBOSS application manually following these steps: [code] 1.$ su -c "yum install java-1.6.0-openjdk-devel" 2.$ java –version 3.wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip 4.$ unzip jboss-as-7.1.1.Final.zip -d /usr/share 5.$ adduser jboss 6.$ chown -fR jboss.jboss /usr/share/jboss-as-7.1.1.Final/ 7.$ su jboss 8.$ cd
2015 Aug 13
2
Clunky Xorg with latest 6.7 upgrade?
Is it just me or does Xorg/Gnome seem slow and clunky to any other desktop users once the 6.7 upgrade is done? $ uname -a Linux CentOS501.homegroannetwork 2.6.32-573.1.1.el6.x86_64 #1 SMP Sat Jul 25 17:05:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/centos-release CentOS release 6.7 (Final) Top shows PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 32160 root
2008 Sep 11
3
Tomcat with squid username/password
Hi, I am trying to help my friend on this ------------------------------------------------------------------------ -- Hi, I have an application deployed on tomcat 5.5 with java 1.6.0_07. Occasionally the application needs to connect through our proxy to the outside to collect patches. I've added the following options to the JAVA_OPTS and restarted tomcat. -Dhttp.proxyUser
2009 Jan 10
2
[Bug 568] New: iptables-save saves option hashlimit-htable-gcinterval with error
http://bugzilla.netfilter.org/show_bug.cgi?id=568 Summary: iptables-save saves option hashlimit-htable-gcinterval with error Product: iptables Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: iptables-save AssignedTo:
2009 Mar 30
0
Problem with Tomcat
Hi, Tomcat was running well and suddenly stop of working. I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2 /etc/tomcat5/tomcat5.conf looks like as follows: JAVA_HOME="/usr/lib/jvm/java" CATALINA_HOME="/usr/share/tomcat5" JASPER_HOME="/usr/share/tomcat5" CATALINA_TMPDIR="/usr/share/tomcat5/temp"
2015 Aug 14
2
Clunky Xorg with latest 6.7 upgrade?
On Thu, 2015-08-13 at 23:51 -0700, Gordon Messmer wrote: > On 08/13/2015 02:44 PM, Bill Maltby (C4B) wrote: > > Top shows > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 32160 root 20 0 259m 104m 22m R 76.5 1.3 559:07.79 Xorg > > 23391 hardtolo 20 0 6293m 215m 26m S 16.9 2.7 21:49.86 java > > Well, what's process
2008 Mar 18
0
how to make virtual machine in xen allocate memory automatically?
hi, recently I installed xen 3.0 at centOS5.1 server with one centOS5.1 virtual machine, and I set the virtual machine allocate 2 vcpu and minimum memory allocation is 256mb, and maximum memory allocation is 750mb. and the virtual machine running fine at idle status, and allocated 256mb memory. And today I install an application called dotcms, and it : Using JAVA_OPTS: -Ddotserver=dotcms_1.5.1
2010 Oct 24
2
java runtime library
how to install java runtime library to wine?is there any installer?
2010 Aug 11
0
Re: [fcrepo-user] Autostart-Script
Hi, thx Riccardo. I will test it a little bit. On the first moment i couldn''t find fedora on ps aux but after testing on browser it runs. Best regards Benjamin Am 11.08.2010 10:01, schrieb Riccardo Valzorio: > Hi, > > in attach you can find the script we use to boot Fedora on startup. > You have to define a start/stop argument to be parsed for the rc.d > scripts. >
2011 Dec 28
4
JVM 7 fails to start
Hi, I installed the jre-7u2 into the wine under Ubuntu 11.10 But, when I try to run the java itself: Code: wine ${PATH_TO_JAVA/BIN}/java.exe I get following error: Code: fixme:heap:HeapSetInformation (nil) 1 (nil) 0 Error occurred during initialization of VM java/io/IOException: Bad pathname Any hints? Help will be mostly appreciated, I need to run windows app, which uses JVM. Thanks.
2006 Feb 05
2
I appear to be attacking others
It looks like my CentOS 4.2 box is attacking other people with some type of ftp attack. I got an email from somebody saying they were being attacked by my IP address. Further investigation /var/log/messages shows a whole bunch of sshd attacks on me, none of which appear successful. I'm running ethereal right now and I can see that my system is doing some kind of ftp attacks on others.
2007 Jun 13
1
SERVFAIL <=> NXDOMAIN
Hello, we encountered a problem with registry nic.at for tld .at and their transaction "BillWithDraw". This transaction allows an registrar to delegate authority back to registry. For a successful use of this transaction all nameserver-entries for the zone will be deleted by our application before nic-order will be sent to nic.at. Nic.at now checks all nameserver for existing
2020 Apr 07
3
fail2ban ban not working
I have fail2ban on my mail server monitoring Dovecot and Exim. I have noticed that it has stopped banning IP's. I have seen in /var/log/fail2ban.log: 2020-04-07 09:42:05,875 fail2ban.filter [16138]: INFO [dovecot] Found 77.40.61.224 - 2020-04-07 09:42:05 2020-04-07 09:42:06,408 fail2ban.actions [16138]: NOTICE [dovecot] Ban 77.40.61.224 2020-04-07 09:42:06,981
2017 Jun 06
4
How to update the root hints for bind DLZ
Hi, we are running a Samba AD on UCS 4.2, which comes with Samba 4.6.1. The DNS server (192.168.0.200) is operated by bind with the samba DLZ module. It also hosts several zones outside of samba. Every couple of hours, I get messages like these on the server: Jun 5 23:04:58 ucsdc1 daemon:[warning] checkhints: h.root-servers.net/A (198.97.190.53) missing from hints Jun 5 23:04:58 ucsdc1
2009 Jul 17
2
Rsnapshot/rsync buffer overflow
I have been using rsnapshot on OS X for a bit now to backup my debian home server to my external HD but have now started getting this error. Shiny:rsync-3.0.6 kurt$ sudo rsnapshot sync /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \ --exclude=mtab --exclude=core --rsh="/usr/bin/ssh -i \ /Users/kurt/.ssh/id_rsa" root at home.thisisnotajoke.com:/home \
2007 Oct 08
2
Applying function to data.frame
Hi, If I have the following data.frame >y time val 1 08:00:05.834 1 2 08:03:13.345 2 3 08:10:12.443 3 > and the following function which converts the time string to the number of milliseconds since midnight > str_to_millis function( s ) { a <- as.numeric( unlist( strsplit(s,":",fixed="TRUE") ) ) m <- a[1]*3600000 + a[2]*60000 + a[3]*1000 }
2008 Apr 24
1
tomcat5 - RHEL4.5 - CentOS 4.5
Hi I am seeing this issue on a RHEL4 box but i presume that the same will be for CentOS4.5 I am trying to get tomcat5 up and running using only upstream rpm's, as opposed to own rolled like i have done before, and hitting this issue. I have JAVA_HOME set in /etc/tomcat5/tomcat5.conf and also in /etc/sysconfig/tomcat5.conf and when tomcat is started using the init script it starts up
2002 Oct 24
1
Rjava failing to initialize in Windows 2000
Dear Any, I am trying to initialise Rjava with the objective of running ORCA within R. I am running R1.5.1 on Windows2000 and get the same problem with Sun Java run time jre-1.2.2_013 Java j2re-1.4.1_01 Microsoft Java Virtual Machine Build 3805 .JavaInit() is failing at : .C("s_start_VM", as.character(classPath), as.character(classPath),
2019 Apr 26
2
faI2ban detecting and banning but nothing happens
On Saturday 20 April 2019 00:32:43 Pete Biggs wrote: > What ban action do you use? If it's something like iptables-multiport, > then I wonder if the fact that it's detecting the failures as > '[dovecot]' means that it's using the dovecot ports, not the exim > ports, when applying the iptable rule. > > When a host has been banned, can you look at the
2007 Feb 04
1
Java Bindings on a Mac
I had to make some changes (sorry no diff available) to "configure" in 0.9.9 of the bindings so that I could compile them for OS X 10.4.8. Essentially I replaced the the paths to jni.h with /System/Library/Frameworks/JavaVM.framework/Headers. It compiled without error and created both libxapian_jni.so and xapian_jni.jar in the "built" subdirectory when I ran "make