Server :: Add New Service On Rhel 5?
Jul 21, 2010
I'm using java socket server program for transaction routing on rhel5. So I make a jar file of server to be run.
Now I need to add my application as a service. I just search in google how to do that, And i found some way and it is bellow,
#!/bin/bash
#
# chkconfig: 2345 85 15
# description: epic tle
# processname: epictle
[Code].....
I have written simple script (sh) to run jar file and I'm using bellow code for putting it as background
sh /opt/EpicTle/tle/run.sh >/root/.epicline/logs/debug/console.out 2>&1 &
I want to change 'console.out' file per day with date name rather than going with one file
View 6 Replies
ADVERTISEMENT
Mar 2, 2011
is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.
View 3 Replies
View Related
Feb 1, 2011
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?
View 1 Replies
View Related
Dec 14, 2010
what are the major differences between rhel 5.2 and rhel 5.4
View 2 Replies
View Related
Dec 9, 2009
I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.
View 1 Replies
View Related
Mar 29, 2010
I noticed that my VPS was rebooted recently and a new service appears
[root@localhost ~]# pstree
init─┬─brcm_iscsiuio───2*[{brcm_iscsiuio}]
View 3 Replies
View Related
May 24, 2010
I am getting these error in RHEL 5.3 while i did "yum update".
---> Package libstdc++-devel.i386 0:4.1.2-46.el5_4.2 set to be updated
---> Package libstdc++-devel.x86_64 0:4.1.2-46.el5_4.2 set to be updated
---> Package libstdc++44-devel.i386 0:4.4.0-6.el5 set to be updated
[code]....
The program package-cleanup is found in the yum-utils package.
View 2 Replies
View Related
Oct 9, 2010
RHEL 5 is my proxy server. i want to remove temp files and cache . How do i remove cache and temp files.
View 3 Replies
View Related
Apr 11, 2010
I am trying to do a https access with virtual hosting with apache.
But when I install mod_ssl rpm httpd server does not start again
I am stumped
httpd -t shows syntax is OK
View 5 Replies
View Related
Aug 11, 2010
I cannot ssh into an RHEL 5.5 server (192.168.20.104) from another RHEL 5.5 server (192.168.20.101) unless server debug is turned on 192.168.20.104, and even then, I have to wait several minutes before the connection is established. scp to and from the 104 server is also not working.Here is the debug output on the 101 server when server debug is not enabled on the 104 server-:
Code:
[applmgr@tclg-clone-01 ~]$ ssh -vvv 192.168.20.104
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
[code]...
View 6 Replies
View Related
Jun 21, 2010
Having some issues setting up sendmail on a (basically) blank RHEL 5.5 server setup. My ultimate goal is to be able to automagically send logs / errors / notifications to ourselves from the server.
Our basic setup is a Win 2003 domain with exchange running on mail.domain.com.au.
I've edited the '/etc/mail/sendmail.mc' and added the :
Code:
line to it.
Also added the domain (domain.com.au) to the '/etc/mail/local-host-names' files
Also edited submit.mc and added
Code:
When I try and send a mail from root or a test user to one of the domain accounts, it seems to go fine, i.e no errors are reported but it never gets delivered.
From the mail logs:
Code:
So it seems to be sent to the queue no problems and when I check the queue :
Code:
Total requests: 0
Not nothing ever gets received. Am I missing something? I have read and read and read but dont seem to be getting any furthur.
So in the end this server doesn't need to do anything except be able to send mail from root to an external mail address.
View 1 Replies
View Related
Oct 29, 2010
In oreder to run an application software on RHEL 3 ES server, I created a link forcefully using following command from root id:
# cd /lib64/tls/
# ln -sf libc-2.3.4.so libc.so.6
before that I copied file libc-2.3.4.so from a workstation with OS RHEL 4 WS so that a link can be created.
Now I am unable to run any command except cd & pwd and it gives error messaage as given below:
ls:relocation error:/lib64/tls/libc.so.6:symbol _rtld_global_ro,version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2with link time reference.
Before running this command libc.so.6 was pointing to libc-2.3.so file in path /lib64/libc-2.3.2.so.
I am now unable even to open a new window on the server.Please send me some solution as early as possible because this server is running production data and many users are runnig application on this server.
View 3 Replies
View Related
Mar 12, 2010
we are running a Red Hat Enterprise Linux ES release 3 (Taroon Upd 5) Kernel 2.4.21-32.ELsmp since several years. The server hosts an old ERP system who will be replaced at the end of the year.However it is necessary that some collegues are able to write some files to that server regulary. Since we are running Windows 7 on several machines, those users aren't anymore able to write to the samba share. Getting files from the share works fine.
But the problem seems not to be situated at the samba service because also the transfer using SSH (WINSCP) from any Win7 system to the server doesn't work.During testing we recogniced that transfering files smaller then 1kb works fine ... any file greater then 1kb ends up in an connection abort. This works with samba and also using SSH.All the workarounds editing some registry entries in Win7 for improving the interoperability between vista / win7 and samba don't work for us ... and also seem not to be the source of the problem.Is there a general known incompatibility between our RHEL version / kernel and Windows 7 regarding file transfers?
View 6 Replies
View Related
May 24, 2010
I have a RHEL 5 server with 32 bit architechture that is not recognizing more that 4 GB of RAM and I am trying to locate a version of the kernel-PAE package that will work well with the 2.6.18-53 kernel. I found something on Open VZ called ovzkernel-PAE that is built for the 2.6.18-53 kernel [URL]
and wanted to find out if there were any known issues with this release before I attempted to install it. Is anyone aware of any issues with any rpms on openvz.org or with this particular rpm in general?
View 1 Replies
View Related
Aug 16, 2011
I have a RedHat box that I have configured, security, audit rules, latest updates, etc. I want to be able to "image" that configuration so I can kick other boxes with that "image", that way no other configuration/updating needs to be done on the newly kicked boxes. What is the best way to accomplish this? To make things more difficult, it would be near to impossible for me to pull any software off the internet for this.
View 5 Replies
View Related
May 5, 2010
I have been finding the solution of this problem from last 2 days but i am still unable to get a clue what's happening?I have a virtual dedicated server in godaddy with CENTOS5 operating system. The problem is occurring with the named service. It is becoming dead within 1 hour of starting it./named status gives named is dead but subsys is locked.The issue is their in google but it has no solution.Anybody have a idea what's going on ... i am fed up of starting teh named service again and again.
View 2 Replies
View Related
May 20, 2010
I am trying to look at installing the PAE module on a RHEL 5 2.6.18-53 system and I cannot seem to find that around. I had hoped to find out if installing the CentOS 5 2.6.18-128 or 2.6.18-164 kernel-PAE modules would have a lot of negative consequences? Perhaps one of you could direct me to a download site that would provide kernel-PAE for a 2.6.18-53 build?
View 4 Replies
View Related
Sep 10, 2010
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
View 1 Replies
View Related
Dec 25, 2009
will the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies
View Related
Aug 30, 2010
I'm developing simple transaction switch using java socket programming and running operating system RHEL5.4 . Now it is completely done and working fine. So I have written the simple shell script to run it on background.
[Code]...
View 2 Replies
View Related
Mar 8, 2010
I've just created a new chkready script. but on trying to add it will the following command I get an error:
Code:
$ chkconfig --add languagetool
service languagetool does not support chkconfig
PS: Just learned how to write a chkconfig script.
View 5 Replies
View Related
Feb 17, 2010
I have linux server which 6.2 very old which was installed long back. CVS is running there . problem is sometime the port doesnot listen sometimes listen if i do netstat -an.It is weired. not sure how to restart the CVS service in the 6.2 server
View 1 Replies
View Related
Feb 28, 2010
i can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows
samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....
View 2 Replies
View Related
Aug 5, 2009
I have seen and tried a lot of web information about issues with VNC and the RHEL 5.x implementation of VNC.
I can't seem to get the behavior I want. Let me explain.
With SLES 10, I can use YaST and with a few clicks end up with a system that when rebooted, accepts VNC viewer connections to :1 and displays the system login screen.
Here I can log in as root or any user. Once logged in, I can choose to use the command line to restart the system if necessary and eventually, I can reconnect with the vncviewer to the system login screen.
RHEL 5.2 has a "share your desktop" setting in preferences which works fine, but requires that I be logged in locally, which prevents remote restarts. There is also a system services dialog that refuses to start vncserver as a service. There are numerous tutorial in the RH knowledge base and the web that explain how to specifically setup individual displays, :1, :2 for specific users and claim that it can work after boot. I have not been able to get these working, but what I really want is a simpler, single display, :1, that will present the RHEL login screen so I can log in as any user I want. I am the only person accessing these servers and they are behind a firewall using secure protocols when remote.
I think Red Hat did not want to make this too easy as VNC users need to consider the security risks. Is there a way to get the SLES 10 VNC approach to work on RHEL 5?
View 5 Replies
View Related
Feb 10, 2011
I bought a Ubuntu server with Parallels Plesk Panel 10 Domains. I'm looking for online website company which does server management. I have seen many
but many sites doesn't offer service as we are using Plesk as our control panel.
Please list down the sites which offer Ubuntu Server Maintainable Services.
Its very urgent. If you know any good company sites. Please let me know.
Please don't give me Indian Company sites as I'm looking for Companies
from Netherlands, USA, Germany, Brazil, Russia, Korea, China, etc.
Trusted companies and have started their company with atleast 3 year old company.
View 2 Replies
View Related
Sep 4, 2009
Debian Lenny, Stable: So I followed this procedure:
Step 1:
* Copy files to the /etc/openvpn/easy-rsa/ directory
sudo mkdir /etc/openvpn/easy-rsa/
sudo cp -R /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
Step 2:
* Edit /etc/openvpn/easy-rsa/vars
sudo vi /etc/openvpn/easy-rsa/vars
Change these lines at the bottom so that they reflect your new CA.
export KEY_COUNTRY="US"
export KEY_PROVINCE="CA"
export KEY_CITY="SanFrancisco"
[code]....
I can login with my other machine to my server but wehen I start hte server it does not fail. seem sto work, but windows see nothing. How to give the passwords to my users?
View 7 Replies
View Related
Jan 9, 2011
I am interested in signing up to the Amazon EC2 service with EBS. I have never used a unmanaged vps before, but I know how to use the command line etc. There are some basic packs on there to use, with basic LAMP stacks. But I would like to ask about how do I:
Upgrade a lamp stack? - someone mentioned yum, but what is this? how easy is it to use? is it enough? secure the lamp stack? - assuming I have no idea of linux security, can you give me a list or something of things I need to consider so I can begin the search (or just cover the steps would be awesome!) My website just uses php and mysql, so thats all i'll need. If you have any other tips on this,
View 1 Replies
View Related
Feb 11, 2011
how do i send email in SSH but rather this:
How do i setup an email service? I have my server configured and everything (ip tables, fail2ban, able to access it, open ports, blah blah blah) and now i want to get me some emailing service on it!
View 2 Replies
View Related
Mar 18, 2010
as a personal project i was just curious if i could set up a server and do a little service like "cha cha" any tips on how that would go? for those who dont know cha cha is a service.
View 1 Replies
View Related
Nov 9, 2010
How can I make Jboss 5.1 as a service? Whereby, I don't have to run it from ssh/command line to have it started.
View 14 Replies
View Related