This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| message_delivery_results | CREATE TABLE `message_delivery_results` ( | |
`id` int(11) NOT NULL auto_increment, | |
`job_id` int(11) default NULL, | |
`message_id` int(11) default NULL, | |
`contact_id` int(11) default NULL, | |
`provider_response` int(11) default NULL, | |
`attempted_at` datetime default NULL, | |
`current_state` int(11) default NULL, | |
`last_state_at` datetime default NULL, | |
`delivered_at` datetime default NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I need to set in_progress (an attr on an ActiveRecord object) to false | |
when the call is done. Every bit of my code works fine, except... | |
When the party hangs up before my logic is finished finish_call is never called. | |
I have set these in startup.rb: | |
config.end_call_on_hangup = false | |
config.end_call_on_error = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Switching to new root and running init. | |
unmounting old /dev | |
unmounting old /proc | |
unmounting old /sys | |
SELinux: Disabled at runtime. | |
type=1404 audit(1252277271.146:2): selinux=0 auid=4294967295 ses=4294967295 | |
INIT: version 2.86 booting | |
Welcome to CentOS release 5.3 (Final) | |
Press 'I' to enter interactive startup. | |
Setting clock (utc): Sun Sep 6 17:47:53 CDT 2009 [ OK ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@epsilon ~]# grep ldap /etc/nsswitch.conf | |
passwd: files ldap | |
shadow: files ldap | |
group: files ldap | |
netgroup: files ldap | |
automount: files ldap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $" | |
# | |
# Sample configuration file for the Common UNIX Printing System (CUPS) | |
# scheduler. See "man cupsd.conf" for a complete description of this | |
# file. | |
# | |
MaxLogSize 2000000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Printer configuration file for CUPS v1.3.7 | |
# Written by cupsd on 2009-09-10 13:25 | |
<Printer adelstein> | |
Info Created by redhat-config-printer 0.6.x | |
Location Location Unknown | |
DeviceURI socket://richard:9100 | |
State Idle | |
StateTime 1249233750 | |
Accepting Yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Printer configuration file for CUPS v1.3.7 | |
# Written by cupsd on 2009-09-10 13:25 | |
<Printer adelstein> | |
Info Created by redhat-config-printer 0.6.x | |
Location Location Unknown | |
DeviceURI socket://richard:9100 | |
State Idle | |
StateTime 1249233750 | |
Accepting Yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@dawkins ~]# mkdir my_chroot | |
[root@dawkins ~]# mkdir my_chroot/bin | |
[root@dawkins ~]# mkdir my_chroot/lib | |
[root@dawkins ~]# cp /bin/bash my_chroot/bin | |
[root@dawkins ~]# cp /lib/libtinfo.so.5 /lib/libdl.so.2 /lib/libc.so.6 /lib/ld-linux.so.2 my_chroot/lib | |
[root@dawkins ~]# chroot my_chroot | |
bash-4.0# ^C | |
bash-4.0# exit | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@alert ~]# ldd /bin/bash | |
libtermcap.so.2 => /lib64/libtermcap.so.2 (0x000000390c200000) | |
libdl.so.2 => /lib64/libdl.so.2 (0x000000390aa00000) | |
libc.so.6 => /lib64/libc.so.6 (0x000000390a600000) | |
/lib64/ld-linux-x86-64.so.2 (0x000000390a200000) | |
[root@alert ~]# mkdir my_chroot | |
[root@alert ~]# mkdir my_chroot/bin | |
[root@alert ~]# mkdir my_chroot/lib | |
[root@alert ~]# cp /bin/bash my_chroot/bin | |
[root@alert ~]# cp /lib64/libtermcap.so.2 /lib64/libdl.so.2 /lib64/libc.so.6 /lib64/ld-linux-x86-64.so.2 my_chroot/lib/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@alpha ~]# strace chroot my_chroot | |
execve("/usr/sbin/chroot", ["chroot", "my_chroot"], [/* 30 vars */]) = 0 | |
brk(0) = 0x2304000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acd4fccf000 | |
uname({sys="Linux", node="alpha.axzas.com", ...}) = 0 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=66700, ...}) = 0 | |
mmap(NULL, 66700, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2acd4fcd0000 | |
close(3) = 0 |