I have this script:
#!/bin/bash
if [ -e /var/run/pgsql.pipe ]; then
while [ -e /var/run/pgsql.pipe ]
do
psql -q -h padsysdb -U sysloguser syslog </var/run/pgsql.pipe
done
fi
...running on a Ubuntu Linux server. It's clearly very simple; it just keeps checking the named pipe /var/run/pgsql.pipe and sending the contents to the psql command, which interprets the input as a SQL command and executes it accordingly.
My question is, given that I want this …
[View More]loop to execute (a) from server startup (b) indefinitely and without interruption, how do I reasonably ensure (a) and (b)?
More specifically, where do I stick this (or an equivalent) in the startup scripts on Ubuntu, and is there a good automated way to make sure it keeps going? I really don't want to lose any of my database input. It's a fairly critical system, and I'd like to make this pretty robust.
Kevin
[View Less]
If you are familiar with LaTeX, the program pdflatex (included with
every standard distribution) will give you a pdfile in one step.
Cheers,
Michael
--
------------------------------------------------------------------
Michael Doob Telephone: (204) 474-9796
Department of Mathematics Fax: (204) 474-7606
University of Manitoba email: Michael_Doob(a)umanitoba.ca
Winnipeg, …
[View More]MB, Canada R3T 2N2
------------------------------------------------------------------
[View Less]
Does anyone have any pointers on how to set up a server which will encrypt, say, the /home filesystem (~300 GB)? I'm open to any Linux or *BSD solution. Don't make me resort to using Windows! :-)
Does anyone have any pointers on how to set up a server which will encrypt, say, the /home filesystem (~300 GB)? I'm open to any Linux or *BSD solution. Don't make me resort to using Windows! :-)
Hello,
I think Bill was talking about Ruby on Rails at the last MUUG.
They've release a new version, 1.2.
[quote]
We're talking mime types, HTTP status codes, and multiple representations of
the same resource serious. And of course there's the international pizzazz
of multibyte-safe UTF-8 wrangling.
That's just some of the headliner features. On top of that, there's an
absolutely staggering amount of polish being dished out. The CHANGELOG for
Action Pack alone contains some two hundred …
[View More]entries. Active Record has
another 170-something on top of that.
[/quote]
I was also talking to him about a Perl web application framework called
Bigtop that I'm considering playing around with:
http://www.usegantry.org/
[quote]
Bigtop is a code generator which can safely regenerate as thing change (like
the data model). The bigtop script reads a Bigtop file to produce apps
[/quote]
[View Less]
Sun has an interesting Google Maps page showing Solaris installs that
use their auto update feature. Here is Winnipeg...
http://sysnet.sunwarp.net/maps/?
lat=49.87184882890924&lng=-97.13459014892578&zoom=12&mtype=Sat
or
http://shorterlink.org/1536
shawn
I'm selling my Cisco lab. Before I put it on eBay, I thought I'd ask if
anyone locally was interested. I don't have any pictures yet.
This auction is for seven 2500 series routers, a 4000 series router,
various cables, and accessories. All are in good working order.
2509: 16M RAM, 16M Flash, 1 Ethernet, 2 Sync Serial, 8 Async serial
2507: 16M RAM, 16M Flash, 1 Ethernet (16 port hub), 2 Sync Serial
2504: 16M RAM, 12M Flash, 1 Token ring, 2 Sync Serial, 1 ISDN BRI
2501: 16M RAM, 16M Flash, 1 …
[View More]Ethernet, 2 Sync Serial
2521: 16M RAM, 16M Flash, 1 Token Ring, 4 Sync Serial (2 high, 2 low), ISDN
BRI
2514: 16M RAM, 16M Flash, 2 Ethernet, 2 Sync Serial
2514: 4M RAM, 8M Flash, 2 Ethernet, 2 Sync Serial
4000M: (4M Flash, 16M DRAM) 1 Token Ring, 4 Serial
24 port Token Ring Switch
Cables:
1 x 8 port async (octopus) cable for the 2509 to console into the other
devices
5 x DB60 DTE-DCE (ie serial crossover for the 2500s) cables
4 x DB60-RS232 DTE-DCE (serial crossover for the 4000 to a 2500) cables
2 x token ring connectors for the 2500s
Power + Ethernet cables
Don't worry about buying your CCNA/CCNP/CCIE lab in parts (not to mention
separate shipping charges), this is a ready to
go lab setup with eight routers. I have happily used it over the past few
years for CCNP studying and writing, including all the scenarios at
ccnprecertification.com.
Despite the equipment's age, it's still great for lab scenarios with BGP,
OSPF, EIGRP, NAT, IPv6, multicast, and IPSEC VPNs. The 2509 has 8 async
serial ports to act as a terminal
server, just like on the CCIE lab. The 2521 and 4000M make great frame
relay simulators. Put the 2514s into
bridging mode and you can even play with spanning tree. Pick up an ISDN
emulator and you can do dial on demand scenarios (or do it over the AUX port
with the gear as it is)
All the necessary cables and transceivers are included to hook the routers
together and get started. I'll even include "Routing TCP/IP volume 1" by
Jeff
Doyle to make you a guru of interior routing protocols and "CCNA Video
Mentor" by Wendell Odom if you're just starting out.
--
Sean Walberg <sean(a)ertw.com> http://ertw.com/
[View Less]