Displaying 20 results from an estimated 10000 matches similar to: "testing for nil numeric value in find"
2007 Nov 24
5
rspec.opts
Where can I find a list of the options and their usage and meanings for
the contents of this file?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some
ruby code. Can someone tell me why the following works:
<h1>Display Cart</h1>
<p>
Your cart currently holds <%= @items.size %>
<%= @items.size == 1 ? "item" : "items" %>.
</p>
while this does not?
<h1>Display Cart</h1>
<p>
Your cart currently
2010 Sep 13
7
Problem with SSHD update.
This morning I applied the 13 or so new updates to my servers. On
one of them the ssh service and clients stopped working immediately
after the update. I restarted the server in anticipation that there
might be some instability introduced by updating on a system with
active ssh connections. However, this has not cleared the problem.
The packages in question are:
openssh.i386
2005 Dec 01
5
Configuring X after instal on CentOS4
What is the name of the program that replaces Xconfigurator and
XF86Setup for resetting video display values for X post-install?
Regards,
Jim
--
*** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne Harte & Lyne Limited
vox: +1 905 561 1241 9 Brockley Drive
fax: +1 905 561 0757 Hamilton, Ontario
2020 Jul 07
3
Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca
brockley.harte-lyne.ca ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=4, Children=0
SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600,
ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca.
(flags=600000f0, serial=110, ttl=3600)
NS:
2020 Jul 08
2
How to delete an unwanted NS record
On Wed Jul 8 14:05:32 UTC 2020, L.P.H. van Belle wrote:
> The original DNS, was that a Windows 2003 or lower server?
>
> Because this looks familiar.
> (&(flatname=BROCKLEY)(objectclass=primaryDomain))' base: 'cn=Primary Domains':
> No such object: dsdb_search...
All the Samba service I am working with are test platforms and have never been
part of or received data
2007 Sep 07
7
rpm spec files for ruby
I am trying to package ruby-1.8.6 for CentOS-4.5 and I would like to take
a look at the spec files used for ruby-1.8.1 that ships with CentOS. Is
there any place that I can see these or could someone do me the kindness
of sending them to me?
I am also confused as to how one breaks out the component parts of a build
into separate rpm packages. The source distribution from ruby-lang.org
seemingly
2013 Sep 16
3
easy BASH question
I am obviously missing something basic here but can someone explain to me what
is wrong with the first statement, which returns nothing?
$ history | grep ^su
$ history | grep su
2997 su -l
3024 su -l
3050 su -l
3054 su -l
Thanks,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited
2007 Dec 21
3
CentOS-5 Need Help With Serial Ports
I have been struggling with setting up two serial ports on an HP/Compaq
D512S (Intel P4) under CentOS-5. I am not at all sure why these things
were not auto-configured when I initially installed the CentOS system from
CDs but they were not.
I have found various resources on the web and from them uncovered the
setserial utility. What I need from somebody is guidance on how to use
this utility to
2011 Dec 14
2
Shutdown KVM guest not working
I am in the middle of a rather confusing situation. At
the moment I am unable to shutdown a KVM guest machine.
Nor am I presently able to open a virt-manager session on
the host.
I am not exactly sure what has happened but the problem
with the vm guest is that issuing a "virsh shutdown 1"
from the root console has no effect.
# virsh list
Id Name State
2014 Dec 02
7
Help with at Bash script
I am attempting to get a script borrowed from DJB to work on my CentOS-6.6
box. Simplified it looks like this:
tcpdump -l -n -e port 53 \
| awk '{if ($14 ~ /A.*?/) print $15}' \
| while read domain ; do echo $domain ; done ;
The sticking point is the 'while read' construct. Run just as 'tcpdum | awk'
I get this:
english.stackexchange.com.
www.urbandictionary.com.
2012 Sep 04
6
Simple routing question
We use a dual homed CentOS-6.3 host for our Internet gateway router.
Its internal nic (eth1) is configured such that the address
192.168.0.1 is one of its aliases.
# cat /etc/sysconfig/network-scripts/ifcfg-eth1:192BOOTPROTO=none
BROADCAST=192.168.255.255
DEVICE=eth1:192
IPADDR=192.168.0.1
IPV6INIT=no
MTU=""
NAME="LAN - Non-routable"
NETMASK=255.255.0.0
NETWORK=192.168.0.0
2006 Sep 26
5
Samba setup for CentOS-4.4 workstations
I am trying to get our prototype Linux workstation to allow users to see
shares on our legacy MicroSoft Windows-2000 Domain Server, I can find
guides for setting up Samba as a Primary Domain Controller but I cannot
seem to locate any good and expansive guide for setting up a samba
workstation and just joining the domain. Perhaps this is so trivial a
process no-one thinks that it requires such a
2020 Aug 06
3
Domain admin has no access to C:\Windows\system32\rundll32.exe
On Thu Aug 6 17:14:11 UTC 2020 Rowland penny rpenny at samba.org wrote:
>
> No, either case will work on Linux.
>
> How did you log into the laptop ?
>
> did you just log in as 'Administrator' or as 'BROCKLEY\Administrator' ?
Originally I logged in as BROCKLEY\administrator. I also logged on as
BROCKLEY\Administrator and that was converted to
2015 Mar 03
6
TLS, SRTP, Asterisk11 and Snom870s
CentOS-6.5 (FreePBX-2.6)
Asterisk-11.14.2 (FreePBX)
snom870-SIP 8.7.3.25.5
I am having a very difficult time attempting to get TLS and SRTP
working with Asterisk and anything else. At the moment I am trying to
get TLS functioning with our Snom870 desk-sets. And I am not having
much luck.
Since this is an extraordinarily (to me) Byzantine environemnt I am
going to ask if any of you have gotten
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
Rails 1.2.5
Ruby 1.8.6
Rake 0.7.3
RSpec 1.0.8
PostgreSQL 8.2.5
I am experiencing a problem with the "rake spec spec" task on an initial
trial of rspec. After creating the rails app I installed rspec and
rspec_on_rails in the vendor\plugins subdirectory from svn. I then used
ruby script\generate rspec_model product. I next manually created the
database instances depot_development and
2012 Aug 11
7
Eth1 problem on CentOS-6.3
I am trying to transport a dd image between to hosts over a cross
linked gigabit connection. Both hosts have an eth1 configured to a
non routable ip addr on a shared network. No other devices exist on
this link.
When transferring via sftp I received a stall warning. Checking the
logs I see this:
dmesg | grep eth
e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1)
00:1c:c0:f2:1f:bb
2020 Jul 23
3
samba-tool domain backup offline stalls
On Thu, July 23, 2020 14:36, Jeremy Allison wrote:
> The samba binary has an nbt server turned on
> by default. It has a different functionality
> set than nmbd.
The jail is not running anything other than sshd and webmin, as the netstat
results clearly show. The issue appears to me to be that samba-tool cannot
bind to that port even though it is available.
--
*** e-Mail is
2012 Aug 23
3
System will not boot - faulty fstab?
I believe that I made a boo boo recently when recovering some unused
disk space. Without going into painfully embarrassing detail I need
to delete an entry in fstab for a now non-existent logical volume.
The system reports that the there is a bad superblock for said logical
volume. Mainly I expect because there isn't one anymore. How do I
edit fstab so as to remove the mount request? For
2015 Apr 02
2
SEmodule dependency hell.
On Wed, April 1, 2015 16:09, Andrew Holway wrote:
> I used the command: semanage port -m -t http_port_t -p tcp 8000
> to relabel a port. perhaps you could try:
> "semanage port -m -t unconfined_t -p tcp 8000"
> Failing that; would it work to run your application in the httpd_t
> domain?
>
I ended up having to create a custom policy to allow the other
application to