Re: [CentOS] VPN connection before login

2015-05-01 Thread Jegadeesh Kumar
,vpnc, command is used to connect VPN server. We can configure VPN server
IP, username, password there.
On 1 May 2015 21:28, "Tim"  wrote:

> I imagine something like Cisco AnyConnect on Windows, where you can
> connect before login to the machine. So afterwards user specific network
> shares are available and can be connect via scripts.
>
> I have an openvpn server running.
>
> Regards
> Tim
>
> Am 1. Mai 2015 13:34:48 MESZ, schrieb Jim Perrin :
> >
> >
> >On 04/30/2015 03:42 PM, Tim wrote:
> >> Hi all,
> >>
> >> is there a possibility to connect to a VPN manually before login on
> >CentOS desktop (Gnome). I know of a similar functionality in Windows.
> >
> >This is reasonably vpn specific as to the type, and configuration
> >allowed. Can you be more specific?
> >
> >--
> >Jim Perrin
> >The CentOS Project | http://www.centos.org
> >twitter: @BitIntegrity | GPG Key: FA09AD77
> >___
> >CentOS mailing list
> >CentOS@centos.org
> >http://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] VPN connection before login

2015-04-30 Thread Jegadeesh Kumar
Vpnc will help u to login VPN from Linux machine.
On 1 May 2015 02:12, "Tim"  wrote:

> Hi all,
>
> is there a possibility to connect to a VPN manually before login on CentOS
> desktop (Gnome). I know of a similar functionality in Windows.
>
> Is there a tutorial or something?
>
> Thank you
> Tim
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mysql 5.6, Centos 7 and errno: 24 - Too many open files

2015-04-30 Thread Jegadeesh Kumar
we can set ulimt to limit the number of open files

On Thu, Apr 30, 2015 at 3:22 PM, Götz Reinicke - IT Koordinator <
goetz.reini...@filmakademie.de> wrote:

> +1 Thanks! That was a little bit confusing at first.
>
> Regards . Götz
>
> Am 30.04.15 um 04:21 schrieb carlh04...@gmail.com:
> > Thank you for clarifying this, Johan. Very much appreciated!
> >
> > On Wed, 29 Apr 2015 22:28:00 +0200
> > Johan Kooijman wrote:
> >
> >> Carl,
> >>
> >> By default my.cnf has to obey the OS limits, so in this case the
> >> order is: systemd > /etc/security/limits* > /etc/my*.
> <...>
>
>
> --
> Götz Reinicke
> IT-Koordinator
>
> Tel. +49 7141 969 82 420
> E-Mail goetz.reini...@filmakademie.de
>
> Filmakademie Baden-Württemberg GmbH
> Akademiehof 10
> 71638 Ludwigsburg
> www.filmakademie.de
>
> Eintragung Amtsgericht Stuttgart HRB 205016
>
> Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
> Staatssekretär im Ministerium für Wissenschaft,
> Forschung und Kunst Baden-Württemberg
>
> Geschäftsführer: Prof. Thomas Schadt
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS Stale file handle drives me crazy (Centos 6)

2015-04-08 Thread Jegadeesh Kumar
In this case, you could export the same directory which already mounted in
the client.

On Wed, Apr 8, 2015 at 2:44 PM, Marcin Trendota 
wrote:

> Dnia czwartek, 2 kwietnia 2015 3:03:53 PM Götz Reinicke - IT Koordinator
> pisze:
>
> > Hi folks,
> > I have a Centos 6 NFS server, which dirves me crazy.
> > The directory I try to export cant be accessed by different clients.
> > I tried a centos 7, centos 6 and a pool of vmware esxi 5.5 systems.
> > At the client side I get errors like:
> > mount.nfs: Stale file handle
> [...]
> > I use xfs on all shared filesystems.
> > Googling for VMWARE and native NFS suggestions did not help so far :-/
> > Any hint or suggestion is very very welcome! Regard & thanks . Götz
>
> I had similar problem:
> https://www.centos.org/forums/viewtopic.php?f=13&t=49422
>
> Is your C6 server 32 or 64bit?
>
> --
> Over And Out
> MoonWolf
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to decrypt rootpassword form kickstart file

2015-03-30 Thread Jegadeesh Kumar
Hi Team,

I have the kick start file where my root password is store like


# Root password
rootpw --iscrypted $1$1SItJOAg$UM9n7lRFK1/OCs./rgQtQ/
# System authorization information
auth  --useshadow  --passalgo=sha512



Is there any way to decry pt the password and get it as plain text.


I  know single user mode works but my case it in remote site.


Thanks,

Jegadeesh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Need help for write rpm spec

2015-03-18 Thread Jegadeesh Kumar
Hi

I am try to write  rpm spec for install tomcat on a linux machine.But while
build the rpm i found following error

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/home/rpmbuild/BUILD/Install_tomcat-1.0
extracting debug info from
/home/rpmbuild/BUILDROOT/Install_tomcat-1.0-1.el6.x86_64/usr/local/jdk1.7.0_13/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
*** ERROR: No build ID note found in
/home/rpmbuild/BUILDROOT/Install_tomcat-1.0-1.el6.x86_64/usr/local/jdk1.7.0_13/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so
error: Bad exit status from /home/rpmbuild/tmp/rpm-tmp.n1saIQ (%install)


RPM build errors:
Bad exit status from /home/rpmbuild/tmp/rpm-tmp.n1saIQ (%install)


Below is my spec file

Name:   Install_tomcat
Version:1.0
Release:1%{?dist}
Summary:Tomcat installer

Group:  Application
License:BSOFT
Source0:Install_tomcat-1.0.tar.gz
BuildArch:  noarch
BuildRoot:  %(mktemp -ud
%{_tmppath}/%{name}-%{version}-%{release}-XX)


#BuildRequires:
#Requires:

%description
This RPM is used to install the tomcat application

%clean
rm -rf $RPM_BUILD_ROOT

%prep
%setup -q


%build


%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/local
cd $RPM_BUILD_ROOT/usr/local
tar -xf   %{_topdir}/SOURCES/Install_tomcat-1.0.tar.gz --strip 1
tar -xf  jdk-7u13-linux-x64.gz
ln -s  jdk1.7.0_13/  $RPM_BUILD_ROOT/usr/local/java
echo "export JAVA_HOME=/usr/local/java" >>/etc/profile
echo "PATH=\${JAVA_HOME}/bin:\${PATH}" >>/etc/profile
source /etc/profile
java -version
tar -xf apache-tomcat-7.0.32.tar.gz
ln -s  apache-tomcat-7.0.32/  $RPM_BUILD_ROOT/usr/local/tomcat

%files
%dir /usr/local
%defattr(-,root,root,-)
%doc

%post
chmod 755 -R /usr/local

Please help me to solve the error

Thanks
Jegadeesh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to write RPM spec

2015-02-17 Thread Jegadeesh Kumar
Hi team,

I setup the RPM build server and read some doc to write the spec files. but
i did get it clearly. So can you guys please help me to write a new RPM
spec.

or give me a scenario to write

Thanks,
Jegadeesh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS upgrade info

2015-02-16 Thread Jegadeesh Kumar
Hi team,

I upgrade my OS to 6.6 via yum update. Thanks a lot for your support

On Mon, Feb 16, 2015 at 11:38 PM, Johnny Hughes  wrote:

> On 02/16/2015 10:29 AM, Jegadeesh Kumar wrote:
> > I am working on linux environment. we have centOS servers which is
> running
> > on CentOS 6.2. So far i didn't work on upgrade OS to higher version.
> That's
> > why i asked this question.
> >
> > I know yum upgade will update the packages that installed on the server.
> > Any way  let me try um upgrade and update you.
> >
>
> Every time this comes up, I try to explain how CentOS numbering works
> and how CentOS works in general.
>
> In CentOS, there is CentOS-5, CentOS-6 and CentOS-7.  The minor
> versions, or point releases as we call them, like 5.11, 6.6, 7.0.1406
> ... are all just "POINT IN TIME" releases of the major CentOS branch you
> are on.
>
> These "POINT IN TIME" releases are NOT designed to be consumed out of
> band.  In reality, being on CentOS-6.2 when CentOS-6.3 is available
> means you are missing security updates as 6.3 is just 6.2 and all
> current updates.
>
> If you have any CentOS-6.x release installed and if you run a "yum
> update" without changing anything then you will get the latest update
> set for CentOS-6 .. which is currently 6.6 plus updates.  That is the
> only version of CentOS-6 that is in any way tested and it is the only
> version that might be somewhat secure.  Any other CentOS-6 version is
> missing security updates.
>
> It is just like Windows 7 and Service Packs.  If you have Windows 7, you
> SHOULD have the latest Service Pack installed.  If you don't that is an
> unsupported option and you have security issues.  You can have Windows
> 7, Windows 8 or Windows 10 and be secure, but you must be running the
> latest service packs on each of those to be secure.  If you are running
> Windows 7 without any service packs, that is a very bad thing.
>
> Same for CentOS .. you can be running 5, 6, or 7 .. but you need to be
> running the latest snapshot in that tree to have all the security
> updates .. and unless you (or your provider) are trying really hard,
> running any updates set will take you to the latest version in your branch.
>
> 
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS upgrade info

2015-02-16 Thread Jegadeesh Kumar
I am working on linux environment. we have centOS servers which is running
on CentOS 6.2. So far i didn't work on upgrade OS to higher version. That's
why i asked this question.

I know yum upgade will update the packages that installed on the server.
Any way  let me try um upgrade and update you.

On Mon, Feb 16, 2015 at 8:55 PM, Carson Chittom  wrote:

> Jegadeesh Kumar 
> writes:
>
> > how to upgrade CentOS 6.6 from 6.2
>
> I apologize if I'm doing you a disservice, but the fact that you're
> asking this makes me think you're not familiar with CentOS (or perhaps
> even Linux generally).  Upgrading packages is fairly basic system
> functionality.  You may want to spend some time reading documentation
> before you do anything else.
>
> A good deal of information is accessible on a CentOS system itself using
> the "man" and "info" commands.  Additional documentation is available at
> http://wiki.centos.org/Documentation
>
> The answer to your specific question is found in the manual page for
> yum ("man yum" at a command line prompt), but yum can do a lot of
> things.  Probably what you want is:
>
> # yum upgrade
>
> But depending on your needs and the packages installed on your machine,
> you may need a different yum command.
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS upgrade info

2015-02-16 Thread Jegadeesh Kumar
how to upgrade CentOS 6.6 from 6.2 Thanks,
Jegadeesh 

 On Monday, 16 February 2015 6:37 PM, Carson Chittom  
wrote:
   

 Jegadeesh Kumar 
writes:

> I wan to know the details steps about how to do OS upgrade?
> Say for an example currently i am using CentOS 6.2 and plan to upgrade
> that to 7. Please detail me the steps.

I suggest you begin by reading the release notes for CentOS 7, which are
at http://wiki.centos.org/Manuals/ReleaseNotes/CentOS7 -- here is an
excerpt:

  For the first time, there is a supported upgrade path from CentOS-6 to
  CentOS-7. This path is only supported from the latest version of
  CentOS-6 (being 6.6 at the time of writing) to the latest version of
  CentOS-7. For more information on the upgrade procedure please take a
  look at this page. The tools needed for this functionality are still
  being tested and will be released at a later time. If you can help
  with the testing, please see this CentOS-Devel mailing list thread and
  this wiki entry.

So, upgrade to 6.6 first, and then use the upgrade procedure from Red
Hat, if you're willing to help with testing.

Or install 7 from scratch, of course.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS upgrade info

2015-02-16 Thread Jegadeesh Kumar
 Hello,
I wan to know the details steps about how to do OS upgrade?
Say for an example currently i am using CentOS 6.2 and plan to upgrade that to 
7. Please detail me the steps.

Thanks,
Jegadeesh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos