Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: m1bzm
  • Order by date
  1. m1bzm

    ' syntex error from mysql

    yeah it is inputting the \ into the database. but not to worry i'm just stripping it when i'm retrieving it. Well thank you everyone, esp DRJ478 you've saved a lot of grief!! :o)
  2. m1bzm

    ' syntex error from mysql

    thanks drj478. My question leading from this is, when you're pulling the data from the DB does will i have to strip the \' to get ' instead of \' in the text? Does that make sense? lol, i hope so, lol. thanks a lot everyone so far!!!
  3. m1bzm

    ' syntex error from mysql

    now i thought that, but i've used the standard syntax for my INSERT and UPDATE, unless i'm making some blind mistake, lol. Howevere here is my mysql query $result=mysql_query("UPDATE events SET displayuntil='$displayuntil', headline='$headline2' WHERE id = '$id' ");
  4. m1bzm

    ' syntex error from mysql

    Hi i've got this bit of code that looks for the ' and adds \ infront of it where needs be when inserting into the database. I've used this bit of code loads in the past, however on this server i'm hosting this site with i get this error ERROR 1064: You have an error in your SQL syntax. Check...
  5. m1bzm

    clean & working RH7.3 install fails when add 2nd HDD

    THANKS cyoung you-da-man! :) My problem was my fstab file was using labels so I changed it using information from this site: http://www.mandrakeuser.org/docs/mdoc/ref/fs-and-mntpoints-fstab.html and now it works a treat :) Thanks to everyone who responded, hope I can return the favour one day :)
  6. m1bzm

    clean & working RH7.3 install fails when add 2nd HDD

    yep you're absolutly right I dont want to boot from the drive, only read from it. fstab doesnt seem to be on my system ???? dont tell me they've taken it out of 7.3 or maybe theres something strange going on here? I think whats happening here is that linux is mounting the system partions from...
  7. m1bzm

    clean & working RH7.3 install fails when add 2nd HDD

    Ok here goes :) Ive got a server which used to run redhat 7.2 but it got mashed by a worm and now I cant login to it. It still boots but its riddled with problems after our little vistor so im going to rebuild it. Im going to use this rebuild as an opportunity to upgrade so Ive installed RH7.3...
  8. m1bzm

    Redirecting username@domain1.com to username@domain2.com ?

    Hey guys, I hope this is any easy one... How do I configue sendmail to receive email to username@domain1.com and when it receives it redirect it to username@domain2.com and then resend it? At the moment Im redirecting in the virtusertable and I thought I could just try: @domain1.com...
  9. m1bzm

    Kill wont kill an ipop3d process

    Hey guys, sometimes one of our users will ring us and say his or her mailbox is locked, sure enough when we run a "PS -AUX" we can see that there is a process open with a PID which their username is holding. Most of the time when I "KILL PID" it stops the process and the...
  10. m1bzm

    Testing SCSI Dat Drive

    How do I know if my SCSI drive is OK sat on my ISA SCSI card? Is there something I need to be seeing when the system boots? My SCSI card has jumpers to set the IO/IRQ and I dont know if Im getting resource conflicts or anything. The system is booting fine. Thanks guys :)
  11. m1bzm

    stopping sendmail takes long time?

    Is there an easy explanation as to why our Sendmail takes about 15 attempts to stop it? We're on RedHat 6.2 and only have about 70 virtual hosts on that machines. When we want to restart it we have to issue ./sendmail stop about 10 - 20 times before it stops. Any ideas anyone?
  12. m1bzm

    Using "passwd" in a perl script

    Hi all. Im writing an ISP automation package that controls all aspect of being an ISP. Ive just hit a small problem that someone might be able to help me with :) Im looking for some examples of perl scripts that use the "passwd" function to change a users password. I want to run a...
  13. m1bzm

    Server Replication (again)

    Hey thanks all - Ive got it going with all your help :-) This is part of the cron job and at the moment it works great. It takes a gziped tarball of all the important files and ftps them offsite. ====autobackup and ftp off site script=== tar -cplzvf /root.tar.gz . --exclude root.tar.gz ftp -v...
  14. m1bzm

    Server Replication (again)

    Hi Krischrist LOL your one step ahead of me because that was going to be my next question... Im trying to work out how to backup the individual partitions to a file. Ive tried backing up the whole server to a file but the file size gets too big and the tar command fails :-( Ill set up the...
  15. m1bzm

    Deleting mail in the POP3 files

    Hi all, I constantly get users ringing us asking us to delete the contents of their POP3 mailbox. The only way I know how to do this at this time is to go into /var/spool/mail and open the file that coresponds to their POP3 account and delete all the lines except the top section. This works...
  16. m1bzm

    Server Replication (again)

    Hi all, I read a few threads on this subject a few weeks ago. Can anyone answer this one for me? Im would like to use this tar commmand: tar -cplzf backup.tar.gz . --exclude backup.tar.gz to backup my box but am I correct in understanding that it will only backup the "/" partition...
  17. m1bzm

    IP address format in hosts.allow file

    Hi all, At the moment in my hosts.allow file (REDHAT 6.2) Im using straight forward direct addressing i.e. in.ftpd 192.168.3. 192.168.2.5 etc... by typing in the whole ip address some octets to represent wildcards. Im not too familiar with the formal IP notation where an IP range can be...
  18. m1bzm

    IP format in hosts.allow file

    Hi all, At the moment in my hosts.allow file (REDHAT 6.2) Im using straight forward direct addressing i.e. in.ftpd 192.168.3. 192.168.2.5 etc... by typing in the whole ip address some octets to represent wildcards. Im not too familiar with the formal IP notation where an IP range can be...
  19. m1bzm

    /var is at 100%

    Hi all Ive got so much email coming in and out of my server now my /var volume is running out of drive space which is halting a handfull of services. Is it possible to put in a second disk and extend the /var partition so I can give it more space. Or would it be more sensible to make...
  20. m1bzm

    setting up an IDE tape drive

    I use a Colorado IDE Travan 14 Gb tape drive with the software called Taper. It works a treat. You dont need to mount the tape drive as the software autodetects it and sets itself up for you. Tapers is pretty good - it has a text based GUI also and a tree like structure display.

Part and Inventory Search

Back
Top