Log in

No account? Create an account
Linux Community's Journal
[Most Recent Entries] [Calendar View] [Friends View]

Thursday, December 9th, 2004

Time Event
how would you synchronize two directories over the network?
php. I'm sure it's THERE
I installed php with my new FC3 install (and mySQL, for that matter).

I just wrote up a php test file.

Collapse )

When I open this file in Firefox I get a prompt to open it with openoffice. The browser is not reading it, for some reason. Konqueror doesn't read it properly either, it just displays the raw code.

Now, I'm sure php is on here (I think). i twas part of the install package. If I locate php I get the following output (just the begining of it for ease).

Collapse )

That seems to indicate to me that I've got it there. Even more clear is the following:

[joe@localhost ~]$ php -v
PHP 4.3.9 (cgi) (built: Oct 20 2004 14:52:04)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

So the question is, why is this not opening properly? Grrr.

mysql . . . not so sure I have this one
It seems to me that I have mysql. I certainly have the command and a man page for it. but the service isn't recognised. I get this message (some of you may recognise this)

ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Why is that? Well, for starters it's becauuse /var/lib/mysql doesn't exist on my system. I did some searching and found that redhat (I'm using FC3) sometimes puts it in /tmp, but it's not there either. Some reasonable searching (and a updatedb just in case) proves that I do not have a mysql.sock anywhere that I can locate on my system.

I DO have a /usr/lib/php4/mysql.so, but that leads me to beliive that it's totally different. Yup. Some quick googling leads me to belive that's true.

No mysql in /var/run. Is it possible that I've got the man pages and the command without actually have it installed? is it just a bad install (it came off the FC3 cd's)?

If so, what do I do to get a clean install on my system (I've never had to remove anyhting this innindated into my system before). And if it's not there, what do I need to get it on there? Should I use the system CD's or just download some rpm's for it? I get nothing off yum.

Any help would be greatly appreciated.

Sorry for the rapid posting, but they are interconnected problems.
Simple Distributed Virtual Filesystem?
I have an interesting problem which I think I could write some scripts to manage, but I wanted to see if anyone else had heard of an existing/better solution.

The problem: I have a media box with multiple variable sized hard drives. I want a single location for my Music directory that distributes files over the two disks in a virtual fashion. For ease of use / failure recovery, I don't want any sort of RAID setup (software or hardware). So if one disk fails, I can remove that disk and still keep on chugging with half my files.

My solution: I was going to create /disk1/RealMusic/ and /disk2/RealMusic/. Then I would create /virtual/Music/ which contains symlinks pointing to each file/directory that exists on disk1 and disk2 creating one large directory that spans multiple disks. I then run a cron job with a perl script that checks /virtual/Music for any real files and moves them to the /disk?/RealMusic with the most free space available and puts a new symlink to the file in /virtual/Music.

Other solutions: I looked at ccd, coda, software raid, etc and I couldn't find anything that seemed like a good solution. Anyone know of any other solutions I might have overlooked? or ideas?

Linux on a Dell laptop
Hi all,

I got a Dell Inspiron 600M laptop yesterday. I installed FC3 on it with no problems at all. Dell had made 3 partitions on the disk:

  • A small 50MB partition for emergency
  • A normal Windows partition
  • A 3.5 GB "hidden" partition. Not sure what exactly this was for, but I think its something to do with backup/restore.

I booted into knoppix and tried to resize the Windows partition with qtparted but it didn't work. I tried partition magic and it said "one or more partitions on this drive cannot be moved. selected operation cannot be completed" or something like that. So I deleted the backup partition (partition magic wouldn't let me do even that. was it because it was an evaluation version?) and tried again with qtparted and it worked.

Fedora installation took 30 minutes and up2date finished installing updates in 10 minutes. The following don't work by default:

  • wireless (Intel PRO 2100 internal card)
  • suspend (apm -s says no kernel support)
  • ntfs (i want only read only support)

I'm currently googling to figure out how to get each of these to work, but if anyone has tips to make my life easier, you are most welcome :)

Edit: Forgot to mention, the monitor didn't get recognized during installation, because of which it booted into 800x600. During firstboot configuration I selected "Dell laptop panel 1024x768" as the monitor type, which fixed the problem.

Edit2: Got the wireless card working using ipw2100. Moderately hard, took about an hour. This and this were useful. I not sure what I should do to switch between wireless and the ethernet connections though. Any suggestions?

Edit3. NTFS works. Didn't even have to recompile the kernel. I discovered "xset dpms force suspend" and other syslog and hdparm tricks from the battery powered linux howto. That's enough for me in case I can't get suspend to work. Also, used yum for the first time and totally fell in love with it.

Thanks everybody!
Verizon DSL step by step help needed..
Got the DSL package at home today and it comes with a surprising lack of information besides the CD that can only be used with Windows.

Anyone running Verizon DSL who is willing to tell me step by step what to do to get this running or contact me via AIM at furiae1 to figure this out. I'm not a moron... I've been using linux for nearly 2 years now, but setting up DSL w/ no documentation is beyond me... I'd be very, very greatful for some help here :)


<< Previous Day 2004/12/09
Next Day >>
About LiveJournal.com