You can add it to $HOME/.bash_profile:
# User specific environment and startup programs
PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
At least, you can in 7.2. I doubt that would change between .2 and .3 though. :) Matt
matt@paperlove.org
If I can help, I will.
I'm not running an ftp server on a 7.2 box, but as for telnet, did you change disable = yes to disable = no in /etc/xinetd.d/telnet? Matt
matt@paperlove.org
If I can help, I will.
Macgeneral -
Thanks for all the advice! Finally found the culprit last night after I took the time to (yuck) REALLY investigate.
I thought I was sure the extension that turned out to be the problem had been working fine on the system from day 1, so I'd never even checked it... but I realized...
Right... There isn't a 'Program Files' folder as in Windows, where each application will make a directory for its installation and put most everything there. In the Unix world, there's a handy directory structure that's fairly standard. So install scripts will often put the binaries for new...
select * from your_table_name where MONTH(your_date_field)='5';
That should work for you.
Check the online documentation at mysql.com for more on date functions and calculations. Matt
matt@paperlove.org
If I can help, I will.
GNOME and KDE each include a GUI RPM 'manager' kind of thing. GNOME's is called GnoRPM, and KDE's is KPackage, if I remember correctly.
I'm only familiar with GnoRPM really, but it opens to a view of what is already installed. You choose the install option, select the source path (point to your...
There's probably a simpler way to do it, but this function works ok for me.
function get_primkey($table) {
$result = mysql_list_fields($dbname,$table);
if (!$result) {
return false;
}
while ($field = mysql_fetch_field($result)) {
if ($field->primary_key) {...
Where are you when you get that? Sounds like there's no Makefile.
Did you try to run ./configure first?
Also, Slackware, from what I understand (never run Slack), does involve compiling most everything (which is what make actually does), but other Linux distros have different methods for...
Try ctrl-alt-F2 or F3. That should get you to another virtual console. You can log in there as root, and 'init 3' should shut down the X server. Then you can use Xconfigurator to change your X settings.
Hope this helps. Matt
matt@paperlove.org
If I can help, I will.
superdave42-
I set up a script at home so that my wife can just click a link on our home page (er, LAN home page - Apache running on the local box, which is Red Hat 7.1) to run 'ifup ppp0' if we aren't already online. The script checks for the ttyS0 lock file (first thing I came across that...
You can use smbclient if you're running Samba on the *nix side:
smbclient -M hostname then hit return. Samba finds the machine and tells you so, you type your message, hit Ctrl-D when you're done. This pops up on the Windows machine as if you'd used net send hostname message from a Windows...
Oh, forgot the zippage... Add gzip console$today; as the last line and it'll zip it.
To get it to another server, you can add scp console$today.gz user@host:directory or similar. Matt
matt@paperlove.org
If I can help, I will.
Something like this?
#!/bin/bash
today=`date +%e%b%Y`;
echo 'log1:' > console$today;
cat log1 >> console$today;
echo 'log2:' >> console$today;
cat log2 >> console$today;
That'll give you a file called 'console25Apr2002' (today it will, anyway!) which will contain:
log1:
[log 1 contents]...
Still no luck with zapping the PRAM from shutdown rather than restart. I did find an ActiveX folder in the Extensions folder, but wasn't sure what to do with it. I've already been through the Extensions Manager a few times, disabling certain things here and there... :/
Matt
matt@paperlove.org...
A line that reads 'set daemon XX' in your .fetchmailrc will run fetchmail at the interval you specify - XX. I think the value should be in seconds - ie 'set daemon 600' would check every 10 minutes.
Hope this helps... Matt
matt@paperlove.org
If I can help, I will.
Thanks for the response, MacGeneral!
Alas, I've done just about everything you suggest, with the exception of zapping the PRAM from a shutdown (vs restart, which I have done) and looking for an ActiveX folder inside the System folder... Will check those ideas out tonight. :)
It's a beige...
Coupla things occur to me beyond what Luc mentioned...
-Why chmod 666? You do know that will give the world read/write access (rw-rw-rw-)to the file? chmod 664 (rw-rw-r--) is more common for such things as web pages, or even 644 (rw-r--r--) if your host doesn't assign each user to a unique...
I just use mysqldump, which may or may not be what you really want. It basically creates an output file that you could use as source to recreate the database (ie it recreates tables and inserts data with plain ol' SQL statements). Works for me, so I didn't dig deeper into the options for MySQL...
I have pages that both insert data into the db and send mail - they don't suffer from any 'hanging.' So my first question would be - why do they hang?
Might be sendmail bumping into slow DNS when actually sending mail or something like that, rather than a problem with your pages...? Matt...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.