Search Results

Search: Posts Made By: noratx
4,151
Posted By noratx
Grep for string
I can't come to think of any other way than just grep, but hopefully someone can give me a hint...

In a script I am working on, I need to get which scsi channel a disk is connected to.
I know...
5,620
Posted By noratx
Thank you ilikecows, expect did the job :) I...
Thank you ilikecows, expect did the job :)
I didn't know about it until now :)

The program asking for the password is a program made specifically for our organization, so even if I told you the...
5,620
Posted By noratx
Bash answer prompt
I am working with a script to simplyfy some operations where I work, but one of the programs needs me to enter a password.
It will as me "Please enter the administrator password:"
Is there a way to...
Forum: Debian 12-12-2010
2,326
Posted By noratx
Migrate system from one machine to another
Hello!

I have a debian system running on a VPS with virtuozzo as the host.
I wish to move this system to another hosting provider, but they are running KVM/QEMU, and sadly, KVM/QEMU can't handle...
Forum: Web Development 02-21-2010
5,944
Posted By noratx
Thank you Neo. :) A few minutes after I send...
Thank you Neo. :)

A few minutes after I send the post, I got a friend online who suggested this:


$venue = $_GET[venue];
$venue = trim(ereg_replace(' +', ' ', $venue));


which seems to...
Forum: Web Development 02-21-2010
5,944
Posted By noratx
Hmm.... Hmm.. I wonder...could this have...
Hmm....

Hmm.. I wonder...could this have something to do with it all?
What I did change yesterday, was to make sure the spaces gets sent, BUT, these are changed %20

Could it by any chance be...
Forum: Web Development 02-21-2010
5,944
Posted By noratx
I wonder in that case what my problem is... ...
I wonder in that case what my problem is...

I issue the following query in phpMyAdmin:

SELECT venue, SUM( amount )
FROM IWD
WHERE venue = 'Foxy Hollow'

And get this result:
venue ...
Forum: Web Development 02-21-2010
5,944
Posted By noratx
Thank you Neo... Unfortunately, this didn't...
Thank you Neo...

Unfortunately, this didn't work.. and I think the reason behind it (in the case with your code) is because there are blank steps (spaces) in the names that I am using.

Here is...
Forum: Web Development 02-20-2010
5,944
Posted By noratx
[MYSQL] problem with spaces in rows
Hello.

I'm not sure how I can get around this, or what I am doing wrong, but I need some help. :)

I want to do an select query looking like this:


SELECT venue, SUM( amount )
FROM IWD...
Forum: Web Development 12-26-2009
4,542
Posted By noratx
[PHP]Compare dates
Hi.

I have an application that stores some dates in unix timestamp format, and I need to compare those dates.
More exactly I need some sort of if-statements that checks how long time it is from...
Forum: Web Development 10-07-2009
1,964
Posted By noratx
MySQL Join
Hey!

I hope to find someone who can help me with a join question. I just can't figure it out.

I have (among others) three tables in the database "CastControl".

They are named "cc_users",...
5,457
Posted By noratx
Start program in background (or start crontab ahead of time)
Hey!

I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.

The crontab looks like the following:
@reboot /home/user/program config.conf &

I...
Forum: Linux 11-19-2008
10,563
Posted By noratx
I really doubt that, since aparently we need that...
I really doubt that, since aparently we need that one-to-one relation in the database. Unfortunately I do not develop the tools we are using (I'm no programmer, just a 'stupid' user). =(
...
Forum: Linux 11-19-2008
10,563
Posted By noratx
Device serial number
Hey!

I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk.

If i run cat /proc/bus/usb/devices
I get this information:


T: Bus=01...
Forum: Debian 11-18-2008
6,786
Posted By noratx
I got some help from a colleague of mine today...
I got some help from a colleague of mine today with the problem. The answer was e2label. =)
Forum: Debian 11-17-2008
6,786
Posted By noratx
automount specific USB-disk to specified path
I was just talking to a friend of mine about a problem I have, and he suggested that udev could probably help me. Allthough he couldn't give me any hints on how to accomplish what i want to.

I...
4,409
Posted By noratx
Hmm... I was just starting to think... As...
Hmm... I was just starting to think...
As Mail::Toaster is a whole suite, containging both POP3/IMAP and qmail...
Wouldn't I only be needing qmail to be able to use my server as a backup MX?...
4,409
Posted By noratx
Ok... I don't know if you are familiar with...
Ok...
I don't know if you are familiar with mail::toaster.. but, the suite has a script that is setup to do some checks and send a mail to the postmaster account every 5 minutes...
I just made an...
4,409
Posted By noratx
Check that backup MX actually does its job
Hey!

I have just configured an backup MX using Mail::Toaster under FreeBSD.
As I'm a novice when it comes to mailservers, I need to ask someone how to check that this backup really does its job....
Forum: BSD 09-24-2008
5,499
Posted By noratx
with "more, but not enough", i mean this: On...
with "more, but not enough", i mean this:
On FreeBSD the dive is recognized by the system, as Dmesg shows something like this:
umass0 at uhub0 port 1 configuration 1 interface 0 "JMicron USB to...
Forum: BSD 09-24-2008
5,499
Posted By noratx
Open (and Free) BSD with Jmicron 20339 USB <-> SATA II chipset
Hello!

Some time ago I did something stupid, I bought 4 harddisk cases (sata -> USB) without checking enough if it is supported by my choise of OS.
I was thinking of using FreeBSD on my new NAS...
10,196
Posted By noratx
Ofcource... I think I was a bit to tired...
Ofcource...
I think I was a bit to tired yesterday, and i got to bed before you answered.
You were right, that was all i needed to do.

Thanks a lot! =)
10,196
Posted By noratx
Uhm... just.. one more thing.. =( I get the...
Uhm... just.. one more thing.. =(
I get the same problem after the 120 second sleep...
I change that to

sleep 120
echo "Trying...
10,196
Posted By noratx
heh, i guess you did. Thanks a lot guys,...
heh, i guess you did.

Thanks a lot guys, that worked just like a charm! =)
10,196
Posted By noratx
Hmm.. i did that, and still I have no clue why...
Hmm.. i did that, and still I have no clue why using host as argument doesn't work...
Here the output:


sh -x pingtest.sh -remote host.name
+ [ -e /tmp/no.notify ]
+ ping_count=1
+ pinger...
Showing results 1 to 25 of 40

 
All times are GMT -4. The time now is 06:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy