Displaying 20 results from an estimated 5000 matches similar to: "Being Green, Time to make the servers sleep!"
2009 Dec 01
6
Unable to share directory via Samba?
So I went to System > Administration > Server Settings > Samba and
added a folder to share and initially set it to guest access to get
things going.
I couldn't access this one and only share on this server with guest
access from either my Windows laptop (XP Pro SP3) or a Leopard server
(10.5.8) so I changed the settings to use user authentication and
added my local user details
2011 Feb 02
6
Lost root access
So on a virtual server the root password was no longer working (as in
I couldn't ssh in anymore). Only I and one other know it and neither
of us have changed it. No other account had the correct privileges to
correct this so I'm wondering, if I had mounted that vdi as a
secondary device on another VM, browsed the file system and delete
/etc/shadow would this have wiped all users passwords
2011 Feb 16
6
Authentication Problems
Hi List,
We have a CentOS VPS running a web site in a DC far away. The chap that
dev's this site told me he couldn't SFTP in yesterday, his password was
being rejected (I went to his desk to confirm and saw it was telling him the
password was incorrect but neither him nor me had changed it and we are the
only two with access to this VPS). So I logged in as root and reset his
password, be
2011 Feb 03
3
User Details
I have some questions on how I can perform the following actions from
the terminal in CentOS 5.5 final. My Google searches aren't helping
and I keep seeing references to the command 'useradd' but this isn't
present on my box;
-How to add a new user?
$ useradd
-bash: useradd: command not found
(This is the same for my normal user and when logged in as root)
-How to set/change an
2010 Aug 07
6
ext4?
Listee's...
I have a 5.5 box and I have formatted a partition as ext4 however I
can't mount it, the mount command is telling me its an unknown file
system type. fsck tells me the partition is a clean ext4 partition but
I can't mount it.
Some reasearch has lead me to believe the problem is that ext4 isn't
enabled in the kernel by default in 5.5 (this was originally a 5.2 box
that
2012 Jan 12
2
CPU Usage when idle
Hello guys,
Did anyone noticed how green CentOS 6 is compared to the previous
release? I've been running a couple of "CentOS 6" VMs (on our vSphere
environment) for the last couple of weeks and noticed a BIG difference
when it comes to CPU usage when the VM is completely idle. I would
like to share what I've seen in our environment:
PfSense 2.0 (FreeBSD) VM: 40 Mhz
CentOS
2013 Jul 26
2
RTP from pcap file
Howdy all,
Does anyone know of a niffty CLI tool for Linux that can take a PCAP
file that was created on a SIP PBX for example, and then dump the
payload of the various RTP streams in there into seperate files so I
can listen to them?
I can go this graphically with Wireshark, but I'd like to script it
for automation.
Cheers,
James.
2011 Feb 21
2
Basic Bash Script Question
I'm stuck trying to work this one out and my Google skills are
apparently lacking today.
This is a test bash script;
#!/bin/bash
do something | tee a.log
if [ $? -ne 0]; then
echo broken
fi
The problem with this script is $? contains the exit value of the tee
command, but I want to check the exit value of whatever command I put
in place of 'do something'.
How can I achieve this
2013 Jun 13
3
Troubleshooting TDMs (Packet capture like debugging)
Hi All,
I am looking for a way to troubleshoot issues with TDM (E1) trunks
with a provider.
Currently with SIP trunks I am using tcpdump to perform packet
captures between our gateways and the SIP providers IPs, capturing
traffic on all ports, to include both the SIP messages and the RTP
stream.
How can I achieve a similar result on TDM links connected to TDM cards
in Asterisk servers, where by
2011 Apr 06
2
File-system Corruption
Hi List,
I suppose this isn't strictly CentOS but I'm talking about some 5.5
servers so I thought someone else here may have had the same issues;
We power on servers at night via IPMI and shut them down the same way
for automation. The problem I'm facing is that the servers are
shutdown in about 2 seconds. IPMI provides remote access to the power
features as we know so I don't
2009 Jun 03
3
System V Init Script
Hey Listees,
I have a question (hopefully quite simple) about the system V init scripts
in /etc/init.d. I have an app installed and for some reason it had no system
V init script. It has been installed a long while now so I can't quite
remember whats going on but basically I remember I wrote the init script my
self and the app is enabled as a service which chkconfig to run at system
levels 3,
2009 Jun 19
1
Shell Script: Simple array usage = bad substitution?
Hey Guys n Gals;
I have some arrays that I can't seem to expand correctly (if that's
the correct word?), imagine the following example:
#!/bin/bash
myArray=("First" "Second" "Third")
First=("Monday" "Tuesdays" "Wednesday")
Second=("One" "Two" "Three")
Third=("A" "B"
2010 Jul 12
4
occasional glitching when playing
Hello list
I'm running Icecast 2.3.2. Every few seconds, streams are interrupted by a
noticeable glitching or popping sound.
It sounds like it's being caused by a buffering or latency problem but I'm
not sure how to fix it.
If the listener re-connects to the stream it stops the glitching for a few
minutes, but eventually it returns.
Glitching is also appearing in the dumpfiles
2008 Oct 21
3
[Question] power management related with cgroup based resource management
Hi, all
These days, I am interested in green IT area for low power OS
So, I have a question about it.
Is there any good idea or comments about power management related with
cgroup based resource management?
I have no idea about that, but it seems to be possible to find a good concept.
And I hope so
Is it some strange question? ^^
Regards,
Dong-Jae Kang
2011 Jan 26
2
Basic Permissions Questions
Hi List :)
So, I have a folder1, its owner is user1 who has r+w on the folder.
User2 is the group owner who only has read access (when I say user2, I
mean the group called user2, because when you make a new user the OS
can make them their own group). You can see these permissions below:
[user2 at host test]$ ls -l
drw-r----- 3 user1 user2 28 Nov 2 16:17 folder1
How ever user2 can not
2009 Jun 10
3
Crontabs
Hey list,
I have several crontabs set up to run at night and I'm not convinced
they are running but of course, I'm not here to see for sure!
The crontabs are like the following example;
30 20 * * * sh /home/a_user/nightlyscrips/nightly_script_1 >
/home/a_user/nightlyscripts/`date +%d-%m-%Y--%H-%M-%S`.log
However, if this would have successfully ran last night I would surely
expect to
2008 Dec 23
2
Bash Script for Beginners! oh dear :'(
Hey guys,
I'm a bit of a beginner (understatement!) with shell scripting and
seek help! I am setting up our new squid proxy. Its working a treat
and squidGuard is the icing on the cake. But, I am trying to write a
shell script to search through our black list category's for
squidGuard and remove the parsed value;
Scenario:
/some/directory/where/blacklist/is/stored contains about 40-50
2009 Apr 29
3
Rsync/SSH automation problem?
Hi All,
I have a win2k3 server that its backing up to a CentOS 5.3 server. On
the Win2k3 machine I plan to have rsync back up nightly to the CentOS
server through ssh. The command I am using is as follows:
rsync -vrPtz -e ssh myuser at myserver:/remote/backup/folder/ /local/backup/folder/
This all works great for the inital test except its prompts me for a
password for "myuser" (as
2004 Jul 08
3
Audiocodes -> Asterisk Implementation
Anyone out there have the AudioCodes MP-108 working with Asterisk? I am able to get the channels to registers with Asterisk, but anytime I try and send a call I receive these error messages:
Jul 6 15:12:10 DEBUG[1133742896]: chan_sip.c:771 __sip_ack: Stopping retransmission on '117801284512845hUxv-9991110061--17708185305@63.201.117.76' of Response 20587: Found
Jul 6 15:12:10
2010 Apr 15
2
Power consumption monitoring
Hi,
I have quite a few low-end development/test servers running
continuously and I would like to better manage their power
consumption.
I have found interesting information on how to perform CPU scaling
(e.g. [1] or [2]).
But I cannot find if there is a way to (software) monitor power
consumption on CentOS (or other such data like CPU temperature, fan
speed etc.).
What I read so far is that