Displaying 20 results from an estimated 4000 matches similar to: "Unable to share directory via Samba?"
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
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
2009 Mar 19
4
Being Green, Time to make the servers sleep!
Shadies and Mentlemen;
I am trying to be green and put our backup servers to sleep during the
day and have them wake on LAN and fire back up at night for our
nightly backups as "sleep" is a sort of low power usage mode.
(At this point I would be curious to know the different levels of
sleep, what can I achieve? Does my server just drop into a low power
state, or can I stop the hard
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
2009 Sep 27
2
Software Raids Questions (I have only ever used hardware?)
Hey List;
I have no experience with software RAIDs; at work we only use hardware
RAIDs and I'm looking to implement, probably a RAID 5 set up at home
for a media server however I have a few questions;
I have three 1TB drives in various places; one is inside a USB caddy,
one is inside my PC and in is inside my existing media centre.
Is it possible to add these three drives to another one to
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
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
2009 Nov 26
2
Problem with Portech MV-372
Hi,
I am experiencing a weird issue with my MV-372.
Mobile1 & Mobile2 are both registered to my asterisk server, I am able to
use them for outgoing call with no problem, but when I call the sims in my
gateway, they are routed to the right context/extension/priority, but as
soon as I hangup, the sim unregistered from asterisk and tries to register
with my the callerid of the last incoming
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,
2010 Feb 15
5
Hardisk cloning for centos-5.3
Hi,
I want to clone my hardisk containing the centos-5.3 OS and its swap
region on to new raw hardisk via network
either through ssh, tftp or ftp. How do i do that ?
Is there any Tool for that or will DD command be sufficient.I know that dd
command will have to be used on hardisk
with already existing partitions and not on raw disk.
Regards,
Premraj M
Disclaimer : This message is
2009 Sep 18
2
Segmentation fault
hi
i've recently installed centos 5.3 on the machine.
the installation went fine, but after that (on the first boot) it says
a lot of segmentation fault errors
fe.
# yum
Segmentation fault
i've tried centos 5.2 and 5.0 also, but none of them works.
but the centos 4.x works fine.
could anyone tell me where the problem is?
thanx a lot
fous
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"
2009 Dec 31
3
Lost mdadm.conf
Hi,
I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to
mount the filesystem again. So I've booted using rescue but I was wondering
if I can do a command like this safely (i.e without losing the data
previously stored).
mdadm -C /dev/md0 --level=raid0 --raid-devices=2 /dev/sda1 /dev/sdb1
Where of course the raid devices and the /dev/x are the correct ones
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
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 Aug 31
3
Migration - wrong SQL statement is created
Hi,
I am doing my first steps with RoR and I have the following problem:
I execute my migration file with the following content on a
MySQL-database via Rake:
<code>
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.integer :id
t.string :username, :size => 100
t.string :password, :size => 100
t.string :email, :size