CentOS 5 :: Directory In Which G++ Resides?
Nov 15, 2009Although there are code...
what should I do ?
Although there are code...
what should I do ?
I'm trying to install this program, which consists of simply unzipping the file MyPasswords_2_61_Portable.zip into a new directory /usr/src/MyPasswords. When in that directory I can start the progam OK with sh MyPasswords.sh.
However if I create a launcher sh /usr/src/MyPasswords/MyPasswords.sh nothing happens and if done from a normal terminal I get 'Unable to access jarfile MyPasswords.jar which resides in the new directory.
Adding /usr/src/MyPasswords to the $PATH by editing my .bash_profile hasn't made any difference.
1) How many male server may resides in a domain. 2) what is the region if following command dig www.example.com return more than one A record.
View 9 Replies View RelatedIs there a simple way to delete an existing Linux Distro install so you can install a new version or distro in the partitions where a current one resides? We have several laptops, all of which are at least dual boot with Windows and with a Linux Distro. A few have Windows and two Linux Distros.
What we want and need to do, without disturbing the Windows install is simply remove a current Linux install and replace it with another install, a simple way. We cannot find a simple Partition command of eliminate install or install over existing install. Since the movement in Linux community for four years now is "easy", "simple", and "user friendly" you would think Ubuntu project would by now have a simple, low risk way of doing this. The delete and expand specific partitions method is very risky (to the O/S installs one wished to keep intact) and requires more partition study than all but a few people have interest or time to invest in.
Anyone know of a simple way to replace an install. What puzzles us is why Ubuntu has not come up with a simple command that allows users to replace one Ubuntu version with another, or at least uninstall back to a previous install when a user finds the new version tanks his system and requires hours of study to figure out how to get his basic hardware up and running.
I realize that Linux community members tend to accept criticism about as gracefully as a Republican or a Democrat but progress cannot happen without constructive or well meaning criticism. For those so tempted, please spare me the "stupid", "its easy idiot", "Works fine on my PC" or "this is the best of all possible worlds" replies.
I'm trying to setup routes for a gateway that resides on a different subnet. Our ISP leased us a block of IPs and told us to route through the current gateway, which is on a different subnet than our current block of addresses. To test, I've enabled one of the new addresses on one of the existing machines, which works. That machine has an address on the same subnet as the gateway, however.
The gateway address is 24.111.1.177 One of the new addresses I'm trying to use is 96.2.192.130, netmask= 255.255.255.240, broadcast= 96.2.192.143 Obviously, I can't just specify that gateway in /etc/network/interfaces without some routing, which is where the trouble I'm having is. The machine I'm trying to set this up on is part of 2 networks - one internal, on two different NICs.
[Code]...
i recently started sockets programming. In the process i began to look for relevant network information about my computer and realized that ifconfig wasn't displaying the same information that resides in my /etc/network/interfaces file. On the interfaces file my IP address is 192.168.1.109 for interface eth0 but ifconfig displays 192.168.1.101. I was under the impression that ifconfig got its information from the interfaces file but clearly doesn't. I tried re configuring the device with ifconfig and then disabling and re enabling the device with ifdown and ifup so that the device updated its information but it didn't.
[Code]....
Is there any way to setup the Centos Directory Server without an internet connection?? i tried using the command: yum install centos-ds
but this just tries to connect to the internet to to download the packages. Is there a site where i can find the package so that i can copy it to my server and install it or is there some other way to do this?
I have a dual boot computer. The WindowsXP "side" has been infected with a rootkit virus. So far UBUNTU has not been affected to my knowledge. I have not yet removed the virus from the WindowsXP "side". I am thinking of deleting the NTFS partition and have the computer fully dedicated to UBUNTU. Now for my question. Is there a possibility that the virus resides in the MBR and that I need to "rebuild" the MBR to actually remove the virus?
Even more extreme, should I totally re-install UBUNTU in the name of safety and precaution.
Im new in centos community and i just installed it.I installed it through the virtualbox and without X server so i im running only with console. I have problem with ssh keygen. When i generated a keygen i get two files: keygen and keygen.pub. Tutorials telling me that i have to rename keygen.pub to "authorized_keys" and copy it to /root/.ssh. But when im trying cd to /root/.ssh then i get the error: no such file or directory, even "whereis" don't know where is this folder.
View 1 Replies View RelatedMy boss has commissioned me with creating a new file server to replace a M$ server that is installed now. We want to go with Linux for many reasons, but one big thing we want to be able to do is still manage permissions using M$ type permissions from our XP desktop's rather than unix style permissions. How would this be accomplished on a CentOS box?
View 1 Replies View RelatedI am quite new to linux so pleas be understanding :) Here's my problem:
I have a server: A with some directory dirA/ I want to have an access to that directory on server B.
I was reading about "mount" but its very ambiguous for me.
We have a problem where there is not enough space in our /tmp partition. We are trying for fix our mysql database, and keep running in to the space issue... the error we are getting says:
myisamchk: Disk is full writing '/tmp/STGL3SGd' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
Our /tmp partition is current set at 485M, but it is not large enough to handle the database fix...
Does anyone know of a work around - perhaps to assign different directory for the temp files?
I have a freshly installed CentOS 5.4 box which I'm trying to get AD authentication working on. I have AD authentication via kerberos working for SSH, but when I try and have it work for SMB shares I'm getting an access denied error. What's even more odd is that when I tell pam to use winbind to authenticate SSH...it works just fine. Wbinfo -a username%password authenticates fine and getent passwd and group enumerates the AD users and groups ok. My smbd.log was throwing the following error "Failed to verify incoming ticket with error NT_STATUS_LOGON_FAILURE" but has since stopped for some reason, but googling this indicated I needed re-join the machine to the domain, which I have.
View 3 Replies View Relatedsecond day ever using command line so bare with me. I setup a cloud server through rackspace hosting..I installed vsFTPd and made a user and password and set the home directory to /var/www for this user When I try connecting via FileZilla, I get this error
Response:220 (vsFTPd 2.0.5)
Command:USER arms2o10UseR
Response:331 Please specify the password.
Command:PASS **************
Response:500 OOPS: cannot change directory:/var/www/
I have been looking at all different forums and have tried multiple things like through selinux, chowning etc..
1. I have two domains domain1.com and domain2.com on my centos server.
2. In a file in domain1.com I am writing the php function
chdir('/var/www/vhosts/domain2.com/httpdocs'); but it is not working at the same time if I am trying to change the directory to one of the subdirectory in domain1.com than it is working means chdir('/var/www/vhosts/domain1.com/httpdocs/css'); is working.
3. The problem is I cant able to change the directory from domain1.com to domain2.com. /var/www/vhosts/domain1.com/httpdocs => /var/www/vhosts/domain2.com/httpdocs is not working
Is it some permission issue or anything else ? Is it something related to chroot jail or what?
I upgraded my php from 5.1.6 to 5.2.10 but at php -v I got a weird error, so I figured let's reinstall some things. This was the probably very dumb commando I used:
yum remove gcc-c++l zlib zlib-devel php*
Now I think my whole server is fxxxed because I get the following messages:
-bash: /usr/bin/yum: No such file or directory
-bash: rpm: command not found
-bash: ls: command not found
And the only thing I'm glad about is I still have an SSH connection open because creating a new connection isn't possible either. what should I do to repair this all.
CentOS 5.4 (Final) is installed on my VPS.I'd uploaded a zip file that contains a directory and some files that there are space in their names and now I can't do anything with them.
I can't move them using mv command
I can't rename them
I can only re-compress or delete the folder
how I can rename or move them?
is it possible to set just the homedir as SFTP Directory? The user shouldn't be able to go anywhere else. And is that possible in combination with denying ssh access?
View 3 Replies View RelatedHow can the linux boxes authenticate from Windows Active Directory ? The Apache should also authenticate from Windows Active Directory ?
View 3 Replies View RelatedTo be clear: I searched and used the button above to find similar topics, but my solution wasn't there.
I was very busy with work the past months, so my quest to become a Linux Crack hasn't borne too many fruits yet So I am still a ...
So here is my problem:
I have 3 users on my CentOS VPS:
root
user1
user2
For security reasons I only log on via public key, root access is denied. Admin is user1. user2 is a regular user.
I want user1 to be able to additionally access user2's home directory, when I log in via SFTP using FileZilla, because occasionally I want to move files from user1's home directory to user2's home directory. But I need user2 to still be able to connect to his home directory via SFTP, too (everything I tried up to now always "breaks" his account).
How do I do that?
user1 is in the wheel group in order to be able to become root if necessary.
user2 is in the user2 group.
I tried adding user1 to the user2 group, but that alone doesn't seem to give him access to user2's home directory.
I know this must be about rights and permissions, maybe group permissions? I sit on it about 8 hours now and don't see no light at the end of the tunnel. When I think I got it I suddenly can't log in with user2 anymore (neither PUTTY nor FileZilla).
I am trying to accomplish an objective, I need to get 389 Directory server installed in the process however is it possible to just have email addresses of users in the LDAP server? I have a primary domain, example 'abcefg.com' with about 3,000 users and several hosted domains like 'xyz.com' and 'mno.com'. The end goal is to speed up email processing, so instead of the Barracuda asking the email server(s) if a user exist it queries the LDAP.
Is there a way to configure 389 Directory Server to contain just the email addresses of the end users to allow the Barracuda to poll the LDAP server to verify the email address is valid. The rest of the authentication like password is handled by the email server. So in the end the LDAP server would just contain the email addresses (live) and the Barracuda would query the LDAP asking if joebob@abcefg.com exist if it does carry on. If user xxeedd@abcefg.com does not exist drop it and go on.
I've tried to follow online tutorials about Samba PDC, I don't think I finished it well in CentOS 5.6 because when I tried to browse the profiles folder of the users in the home directory, the files doesnt appear. Actually the windows xp pc needs to restart before I can see the files, why is that? One more question, how can I transfer the profile directory from another CentOS box that will act as the storage of the roaming profile of the users? I use this in configuration smb.conf
workgroup = POGI.work
server string = Samba PDC Server
netbios name = samba
local master = yes
[code]....
I did useradd -g users ldaptest and tried logging in remotely but the client always says no such user. what do I have to do to update the users that LDAP sees?
View 2 Replies View RelatedI've configured kerberos authentication on my centos 5.2 box. When I kinit with a username in AD and not on the centos box, I get a TGT. However, I cannot log into the centos box as any of the AD users. This is probably a stupid question but do I also need to create the account's on the centos box that I have in AD? If so, does that mean i can then use pam to authenticate users on my cyrus imap process running on the centos box?
View 2 Replies View RelatedI've been looking for alternatives to Active Directory with Centos mainly SAMBA and OpenLDAP. I have worked with SAMBA and I know I can create a PDC and make clients join a domain but how about enforcing Group Policy?... is this possible with SAMBA or OpenLDAP/LDAP?
View 2 Replies View RelatedI would prefer to use a linux server for authentication but I will need the same configuration features.I have been looking for a good guide to setting up CentOS as an alternative to Active Directory, but have not found one yet.The features I want to see.
1. works with Windows clients.
2. Network Home folders (does not neessisarly need to hold profile information)
3. Logon scripts for clients.
4. shared printers
5. shared folders.
6. can log linux boxes in with the same credentials and logon scripts.
While setup of vmware on CentOS5.4 i am facing the below error.What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include]
View 5 Replies View RelatedI'm running CentOS 5.4 in combination with DirectAdmin, and I'm wondering: Is it safe to remove /media and /opt directory?Because those directories /media and /opt are empty.
View 3 Replies View RelatedI want to use rsync to backup a directory on my local hard drive to a USB hard drive.
I created the initial backup with:
rsync -av /share/chris/docs/* /usb/docs
I'm starting using Centos having a trouble.
I'm trying to execute the command:
Uum Update
Or other yum installation of samething
After a while I obtain always messages saying:
Insufficient space in download directory
So I understood is a problem with space.
I went to my shell and digited the command:
df -h
but it show there is plenty of space.
I also deleted a lot of space to make room, just to be sure, but nothing different happens. I'm attaching a screenshot to this post.