Re: OT: VPS: Hosting providers? How it's done?
by Chris Mohler
On 4/24/07, Tony Nelson <tonynelson(a)georgeanelson.com> wrote:
[...]
> I wanted to set up a firewall, as running bare bothers me and the logs were
> showing enough attempts to make it worthwhile, especially for FTP. I found
> that I couldn't use any iptables modules, state, tcp, udp, or recent, which
> made for a rather useless firewall. I think that those modules and others
> could reasonably be preloaded or built into the kernel and so made
> available to all the clients, but I don't know if any hosting company does
> it.
Well we do have iptables, and use apf as the "firewall". Don't even
know if states can be configured in apf - I just cut off everything
but web, mail, and a custom SSH port...
Chris
17 years, 2 months
Help - I've completely borked up my linux
by Knute Johnson
I was playing around trying to install xubuntu on a usb doover and
somehow I completely borked up my FC6 installation. I have a
computer with two hard drives. On the first drive is Win XP and the
second had (and I think still does but borked) FC6. I went to boot
it after I got done playing with the xubuntu and FC6 wouldn't start.
It starts to come up but about the time it goes looking for the
drives it panics saying it can't find /dev/root. I booted the FC6
Rescue CD and it says there are no Linux partitions. I ran fdisk and
looked at /dev/sdb and it says there are two partitions, sdb1 and 2
and 1 is marked bootable.
Am I completely hosed or do you think I can recover from here?
Where do I start?
Thanks very much,
--
Knute Johnson
Molon Labe...
17 years, 2 months
Linking the functions in pi-md5.h
by Robert Cahn
I need to write a little program that computes an md5 checksum. In
/usr/include there is a nice header file that includes the functions
void MD5Init(struct MD5Context *context);
void MD5Update(struct MD5Context *context, UINT8 const *buf, unsigned len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(UINT32 buf[4], UINT32 const in[16]);
void byteSwap(UINT32 * buf, unsigned words);
When I do
#include "pi-md5.h" the code compiles but the linker can't find the
function. Does anybody know what library contains the code?
/Bob Cahn
17 years, 2 months
Re: ssh & sftp terminal timeout
by Tony Crouch
Hi Tim,
Yeah, I don't really understand it either. I have asked my uni to look
into it (several months back ... probably October last year), but have
not as yet received a reply.
One of the system admins did mention to my in passing he was
experiencing the same problem when connecting from home, not directly
connecting at the uni. So I was hazard a guess its something to do with
their firewall or something.
A friend of mine suggestions writing a script which, on logging in to
the remote machines, automatically performs a task (i.e. display a list
of people logged in and write this to a file which is continually
overwritten as so that the file does not impinge greatly on my quota)
every 5 minutes as to keep the connection alive.
Would anyone be able to offer some hints / suggestions as to how this
may be done? I have had a go myself, but (as usual) failed miserably.
Thanks again.
All the best.
Cheers,
Tony Crouch
17 years, 2 months
Problem with xine playing AVI files
by Paul Smith
Dear All
When playing an AVI file with xine, I get the following problem:
xine: found input plugin : file input plugin
failed to read 8 bytes at pos 732637184
xine: found demuxer plugin: AVI/RIFF demux plugin
video_decoder: no plugin available to handle 'XviD'
However, I do have installed the following packages:
Installed Packages
xine.i386 0.99.4-10.lvn6 installed
xine-lib.i386 1.1.6-1.fc6 installed
xine-lib-extras.i386 1.1.6-1.fc6 installed
xine-lib-extras-nonfree.i386 1.1.6-1.lvn6 installed
xvidcore-1.1.2-2.lvn6
Any ideas?
Thanks in advance,
Paul
17 years, 2 months
FC6: YUM problem after the latest yum update
by Joachim Backes
Hi,
after running "yum update" on FC6 some ten minutes ago (which updated yum too),
each yum call ends with error:
-------------------------------------------------------------------
yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib64/python2.4/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.4/logging/__init__.py", line 1333, in shutdown
h.close()
File "/usr/lib64/python2.4/logging/handlers.py", line 630, in close
if self.unixsocket:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib64/python2.4/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.4/logging/__init__.py", line 1333, in shutdown
h.close()
File "/usr/lib64/python2.4/logging/handlers.py", line 630, in close
if self.unixsocket:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'
----------------------------------------------------------------------
Has anybody similar problems? All comments are welcome.
Regards
--
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
17 years, 2 months
X windows related system hang
by Michael Kohne
I have a Fedora Core 6 system that I just installed on an AIMB-330
motherboard (it's an SBC from Advantek).
It generally seems to work, except for irregular (but frequent) system
lockups when X windows starts. When the system locks there is some
junk at the top of the screen (and it looks like it's in video mode)
and the box stops responding to ping and all active SSH sessions go
dead.
Configuration notes:
I've tried several tweaks to the configuration. At the moment I'm
running with the attached xorg.conf file, which only loads the
'bitmap' module. This was done to eliminate the other modules as
possible sources of the problem.
The built in video on this board does support two monitors (FC6 is NOT
configured to support them). The driver is 'via' and the chipset is
reported as CLE266 (line 155 of attached log file). That jibes with
My test configuration is to bring the system up in runlevel 3 and run
startx as root with an empty ~/.Xclients file. This causes the X
server to start up and then shut down, so I can run startx repeatedly
and quickly.
I have also run the system with a 'reboot every 10 minutes' cron job
(booting into runlevel 5), and it will occasionally hang at startup in
the same manner. It's just quicker to get it to fail with the startx
trick.
The same sort of hang was present under FC1 on this system as well.
I've googled around a bit and can't quite make head nor tail out of this mess.
I've attached the Xorg.0.log file from the latest hang to this e-mail
(it looks pretty much the same as previous non-hang log files. Could
be that I didn't get a log in the hang case this time).
Any pointers to appropriate clues would be appreciated. This problem
has been troubling our systems for some time now, and I've finally
been assigned to hunt it down. I have the feeling that there is some
reasonable way to debug this, I just don't know what it is.
Thanks!
--
Michael Kohne
mhkohne(a)kohne.org
17 years, 2 months
octave error
by Martin Marques
Please, tell me I haven't lost it yet.
octave:14> -5^4
ans = -625
Since when does an even power of a negative number give a negative result?
$ rpm -q octave
octave-2.9.9-1.fc6
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués | Programador, DBA
Centro de Telemática | Administrador
Universidad Nacional
del Litoral
---------------------------------------------------------
17 years, 2 months
Fedora 7 removable disk permissions
by Derek Tracy
When I plug in my iPod (or any other removable disk) I am unable to write to
it due to permissions. Does anybody know what group the user has to be in
in order to successfully read/write to a removable disk? I am running
Fedora 7 and the current permissions on /media/disk are:
drwxr-xr-x 6 root root 16384 1969-12-31 19:00 disk
-- R/S
---------------------------------
Derek Tracy
tracyde(a)gmail.com
---------------------------------
17 years, 2 months