Displaying 20 results from an estimated 3000 matches similar to: "Asterisk CLI problem if run from /etc/inittab"
2013 Apr 16
1
inittab - huh what's it good for?
We run a CentOS-5 based hylafax server with external serial modems. We
are transitioning to an Asterisk system using IAXmodem running on
CentOS-6.
On the CentOS-5 system to start the fax modems we added these lines to
inittab:
# Add fax lines and always ALWAYS run "telinit q" after making a change.
fax1:2345:respawn:/usr/sbin/faxgetty ttyS0
fax2:2345:respawn:/usr/sbin/faxgetty ttyS1
2006 Jun 30
1
/etc/inittab: Serial access/ Console Server
>On Thu, 2006-06-29 at 20:48 -0700, Chris Fox wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Rodrigo Barbosa wrote:
>>
>> > you might want to try agetty:
>> >
>> > T0:23:respawn:/sbin/agetty 9600 ttyS0 vt100
>> >
>> > Not sure if it will work, but seems likely.
>> >
>> I've always
2011 Oct 04
2
Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?
Hello,
sorry, for 1 more question on CentOS 5 -> CentOS 6 migration.
On my old CentOS 5.7 machine I have the following line:
pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl >/tmp/pref-`date
+%a`.txt 2>&1' afarber
and this has served me well, I don't want to install
anything else like daemontools etc. - to keep my web-server
easily reinstallable (or movable to
2011 Jun 02
2
Restarting a Perl-script (socket daemon) from /etc/inittab
Hello fellow CentOS sysadmins,
I run a small multiplayer card game
with around 500 users at peak times.
The client is in Flash and the server is in Perl.
The Perl server binds to port 8080, i.e. only
1 instance of it can be started (important detail).
The Perl server poll()s TCP-sockets and forks
only once - at the startup by calling this method:
sub daemonize {
die "Can not
2009 Feb 15
1
No such command 'core stop now'
This happens mysteriously & randomly. If asterisk was killed and
restarted, it often gives this error
myast*CLI> core stop now
No such command 'core stop now' (type 'core show help core' for other
possible commands)
Any hint
Thanks
Jim
2009 Nov 18
1
Removing respawning process from inittab w/o killing it
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I need to remove an entry of inittab which is used to (re)spawn a process:
mydemon:2345:respawn:/usr/sbin/mydemon >/dev/null 2>&1
So, I would comment out that entry and reload init running ``telinit
q''. IIRC, this would lead to the currently running daemon being killed.
I don't want to /try/ whether I'm right, as
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
The following patch allows OpenSSH 2.2.0-p1 to be started (and managed)
from /etc/inittab (by "init") on systems which support that. This is
useful when you *really* want SSHD to always run since it will be
automatically restarted by "init" if it dies (and if "init" dies the
the systems dies :-).
I use a line (in /etc/inittab) like this on Solaris systems:
2008 Nov 12
0
guest inittab problems
We have several suse 10.3 guests running in paravirtualization, however
all the guests boot with the following messages:
Loading keymap Couldnt open /dev/tty1
Loading /usr/share/kbd/keymaps/i386/qwerty/us.map.gz
failed
Loading compose table latin1.add
failed
Start Unicode mode
Couldnt open /dev/tty1
Couldnt open /dev/tty2
Couldnt open /dev/tty3
Couldnt open /dev/tty4
Couldnt open
2009 Oct 09
0
/etc/inittab not loaded properly
hi, im new here.
we have servers with centos 4. yesterday one of it crash and cold rebooted.
reboot process run well until finally we found that some of
/etc/inittab configurations doesn't loaded properly, like no virtual
terminal available and svscanboot not executed.
i assumed that these configurations not loaded:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2010 Apr 29
9
illegal root login on `hvc0''
Hi,
I''m running Xen 4 on Slack64. I haven''t console login prompt to domU until
I changed xvc0 to hvc0 on /etc/inittab file. No I have access to login but
whenever I try to login I get this error from /var/adm/secure file
root@darkstar:/var/adm# cat secure
Apr 28 22:49:22 darkstar login[1286]: ILLEGAL ROOT LOGIN on `hvc0''
Apr 28 22:49:45 darkstar last message repeated
2010 May 18
2
/etc/inittab
Help!
I hosed my system and did a restore from a backup but when I boot, I get an
error no inittab file found.
Where can I get a 5.2, 'stock' inittab file not in a rpm so I can use a
rescue disk to create this file? Or if possible, could someone please post
their's for me?
TIA
2007 Sep 18
6
Limiting Simultaneous calls
Is there a way to limit simultaneous calls. I like to limit
simultaneous outgoing calls as more than few simulataneous calls are
charged by my voip providers. However, I do not want to have any such
restriction for internal calls.
Thanks
Jim
2008 Sep 01
10
Unable to xm console in a running domU
Hi list,
I am running a virtualized server. Dom0 uses Xen 3.2.1 with Debian
Etch and a custom kernel 2.6.21 created by my webhosting company.
I install my domU using debootstrap for a Debian Etch with
2.6.18-6-xen-amd64 kernel. Everything works well except the fact that
once the VM is started I cannot "xm console" into it. It only works
while it is booting and while it is shutting
2010 May 15
1
what''s wrong with my pv domU console? INIT: Id "1" respawning too fast: disabled for 5 minutes
Hi Pasi,
if I don''t change the tty to hvc it will stopped on
Kernel 2.6.31.13 on i686 (console)
localhost login: root
Kernel 2.6.31.13 on i686 (console)
localhost login: root
Kernel 2.6.31.13 on i686 (console)
localhost login: root
After I change it to hvc0 followed the twiki page the log is
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK
2007 Nov 18
2
Launching X-Windows at different runelvels
Hi all,
I need to launch X-Windows at runlevel 4 and 5. CentOS only start up x-windows
at runlevel by default. I have modified /etc/inittab to accomplish this:
x:4:respawn:/etc/X11/prefdm -nodaemon
x:5:respawn:/etc/X11/prefdm -nodaemon
But this returns errors every time that start and stop system ... Which is the
correct form to launch x-windows under centos at different runlevels??
Many
2009 Feb 10
1
INIT: Id "snmp" respawning too fast: disabled for 5 minutes
Hello all,
I recently started seeing these messages on the consoles of three
production Centos 5.2 servers. They have been occurring nonstop for the
past few days and show up routinely every five minutes.
INIT: Id "snmp" respawning too fast: disabled for 5 minutes
INIT: Id "snmp" respawning too fast: disabled for 5 minutes
INIT: Id "snmp" respawning too fast:
2002 Jul 18
1
openssh 3.4 solaris pkg & privsep error
Hello,
this is MAx Gregis from Italy.
I send you this e.mail about privsep error with OSSH 3.4 on Solaris 2.6
an Solaris 7.
Usually i find the error of compression disabled if i use SSHD qith
inetd daemon.
But if i put this entry:
sshd:23:respawn:/usr/local/sbin/sshd -D > /dev/null 2>&1
in /etc/inittab ( and after a good "init q" for reading new inittab)
In this mode
2017 Aug 26
5
[PATCH 1/2] builder/templates/debian.preseed: enable serial console
Also unify .index-fragment files
---
builder/templates/debian-7.index-fragment | 7 -------
builder/templates/debian-8.index-fragment | 7 -------
builder/templates/debian-9.index-fragment | 18 ++++++------------
builder/templates/debian.preseed | 1 +
builder/templates/make-template.ml | 6 ------
5 files changed, 7 insertions(+), 32 deletions(-)
diff --git
2009 Jun 04
1
CDR question
Hi,
Asterisk does not post CDR when dial status is CHANUNAVAIL.
Can someone tell me what are the conditions under which CDR is not posted?
Thanks
Jim
2014 Mar 11
1
Asterisk Authentication
Hi,
I am trying to setup asterisk so that anyone from any IP can call using any
callerid as long they have an account - also no registration is required.
However, it seems like asterisk tries to find peer based on either the IP
address or from header. What I really want is asterisk to find
account/peer based on username passed as part of the authentication and NOT
from the IP address or the