search for: scarolan

Displaying 20 results from an estimated 67 matches for "scarolan".

Did you mean: carolan
2010 Mar 04
4
Permissions problem
What am I doing wrong here? I need to be able to write to /var/cvs. This used to work before I moved these groups into an LDAP directory instead of /etc/group: [scarolan at watcher:/var/cvs]$ touch test.txt touch: cannot touch `test.txt': Permission denied [scarolan at watcher:/var/cvs]$ ls -ld drwxrwsr-x 4 cvs cvsgrp 4096 May 18 2008 . [scarolan at watcher:/var/cvs]$ id scarolan uid=4002(scarolan) gid=4002(scarolan) groups=10000(operations),10001(cvsgrp),40...
2011 Jul 20
2
Variable assigned to grep output - missing letter n!
This is kind of odd. [scarolan at host:~]$ cat loremipsum.txt Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis ipsum sed elit laoreet malesuada. Quisque rhoncus dui vitae eros euismod fermentum sollicitudin sem scelerisque. Nulla facilisi. Maecenas mollis pulvinar euismod. Duis viverra pharetra turpis eget feu...
2008 Jul 15
2
Help with iptables rule for blocking UDP port 53
I would like to block all DNS queries that come from one particular ip address. I used TCPdump to verify that the queries were in fact, coming from this IP: [scarolan at server:~]$ sudo tcpdump -n udp port 53 and src 10.100.1.1 tcpdump: listening on eth0 11:12:17.162100 10.100.1.1.19233 > 10.100.1.61.domain: 14270+ A? server.domain.com. (32) (DF) Could someone help with the proper syntax for an IPtables rule to block port 53 udp traffic from this IP? I tri...
2009 Jun 03
4
Good md5sum snapshot tool?
I have a server that is undergoing some patching soon and would like to make note of any files that have changed after the patching is complete. Can you recommend a tool that uses md5sum snapshots to do a quick before and after test, showing anything that's changed on a particular file system?
2011 Mar 03
4
Gnu Screen - terminal issues
I really like gnu screen and use it everyday but there's one thing that is a bit inconvenient, and that's the odd line wrapping and terminal size issues that seem to pop up. The problem crops up when I type or paste a really long command, and then go back and try to edit it; the text starts to wrap over itself and you have no idea what you are editing. Any fixes for this?
2009 May 04
6
Best mobile SSH client?
I'm up for a cell phone contract renewal and am considering upgrading my handset. I looked at some devices at my local AT&T store but nothing really jumped out at me. I'm particularly interested in a cell phone that has a reliable ssh client, with ssh-agent and public key authentication abilities. Those of you who administer systems remotely, what mobile ssh client do you recommend?
2008 Oct 01
2
XDMCP - no GDM login, only gray screen with X
I'm having trouble getting the GDM login screen to show up when I connect from a remote host. I'm using Xming on the local Windows machine, but every time I connect to the remote server all I get is a gray window with the X cursor. I have "Enable=true" in the [xdmcp] section of /etc/gdm/custom.conf. IPtables is disabled. I've googled around and read through the xdmcp page
2008 Mar 04
0
No value for $TERM and no -T specified
I just customized my prompt with a PS1= variable. Since updating my .bashrc this way, when I try to run commands remotely with ssh I get this: **************************************** [scarolan at kalki:~]$ ssh server pwd No value for $TERM and no -T specified/home/scarolan No value for $TERM and no -T specified **************************************** Anyone know why this is happening? Here's the contents of my .bashrc: **************************************** # .bashrc PS1=&quo...
2009 Jul 20
3
Limit RAM used by a perl script
I have a perl script which runs from a cron job. How would you limit the amount of RAM that this script is allowed to consume? Is there a ulimit setting that will accomplish this? If so does ulimit have to be run each time the script is run, or is there a way to set it permanently?
2012 Oct 17
2
Rsync - include only files containing matching string
I have a string, "2012_10_16"; let's call this $YESTERDAY How can I rsync a file tree from a remote machine to the local one, including *only* filenames that contain the matching string? I've read the man page and googled around but can't seem to get the syntax right. I either end up syncing all the files, or none of them. Here's how the code looks now (I will remove
2008 Aug 11
4
df to get total disk usage on all filesystems?
Is there a flag for the df command to get the total disk space used on all filesystems as one number? I have a server with a lot of mounted shares. I'm looking for a simple way to measure rate of data growth across all shares as one total value.
2008 Jul 10
3
Iptables not blocking UDP port 53
...REJECT rule. -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 53 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 53 -j ACCEPT I have used tcpdump and confirmed that packets are in fact still coming across from internet hosts. What am I doing wrong? [scarolan at host:~]$ sudo tcpdump -n udp port 53 | grep 10.100.1.1 tcpdump: listening on eth0 14:46:40.539995 10.100.1.1.60793 > 10.100.1.61.domain: 62011+ A? server.domain.com. (32) (DF)
2009 Apr 21
8
One for the Cisco experts...
I have a Cisco 6509 switch that I'm monitoring with SNMP from a CentOS5 machine. SNMP polls are the only access I have to this device, we are not allowed to log on via telnet. How can I find out which port on the switch a particular server is connected to? I was hoping that this is somehow possible using the mac address and the data gathered from snmpwalk/snmpget requests but I'm not
2009 Jan 03
2
Bash cgi upload form
Anyone have a function or script for uploading files from a web browser with a bash script? I know this is possible to do with Perl, I'm wondering if the same is possible using only bash.
2009 Jan 20
2
Tomcat Monitoring
What do you use for monitoring your Apache Tomcat servers? I have used jconsole to manually connect and look at the statistics. I'm wondering if there are any standard tools for watching the health of the java process. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 13
2
Suspend and/or Hibernate
I asked about ACPI several weeks ago but received no responses. Are suspend and hibernate features not supported in CentOS yet? I noticed there is a daemon for acpi: [scarolan at kalki ~]$ chkconfig --list | grep acpi acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off But how do I use this feature? Normally I'm accustomed to this being a menu option when I log out (eg, on recent versions of Fedora or Ubuntu). I noticed in /etc/acpi/events/ there...
2008 May 09
1
rsync - set owner and group?
Is there a way to force rsync to set a specific owner and group on destination files? I have managed to get the permissions set up the way I want, but the owner and group are still defaulting to a numeric id instead of the correct owner and group. I suppose I could add a manual "chown -R owner:group" at the end of my script, but was curious if rsync had this built in. Or maybe there
2008 Jul 09
2
CentOS Patch for http://www.kb.cert.org/vuls/id/800113
Will there be a BIND patch available for this vulnerability, for CentOS 3.9? http://www.kb.cert.org/vuls/id/800113
2008 Jul 23
2
df command reports inaccurate results?
Can anyone help make sense of this? This is an ext3 partition. It's only showing 403GB out of 426GB used, but then it says only 632MB available? Where'd the extra ~25GB go? [scarolan at server]$ df -H /disks/vrac5 Filesystem Size Used Avail Use% Mounted on /dev/sdb2 426GB 403GB 632MB 100% /disks/vrac5
2010 Aug 31
4
e2fsck with millions of files
I have a large (1.5TB) partition with millions of files on it. e2fsck has been running nearly 12 hours and is still on "Checking directory structure". Any tips for speeding this along? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100831/8653d551/attachment-0002.html>