Search found 881 matches

Return to advanced search

Re: Some code seemes to have distroy the script

:evil: :evil: :evil:

How can I not see so obvious things :( added that and it works :D
Once again you have saved my life :P


btw... if the html created is broken, how come the page can be shown at all?
by Basher52
Thu Jul 28, 2011 1:46 am
 
Forum: Programming
Topic: Some code seemes to have distroy the script
Replies: 2
Views: 1469

Some code seemes to have distroy the script

In this place: http://boxerville.se/forum/ I've been asked to help out with some php coding and stuff. In the forum there's a banner centered with links to places that can help people with getting their VW's fixed that I added which uses a small mysql DB table and some smaller script to read that da...
by Basher52
Wed Jul 27, 2011 4:43 pm
 
Forum: Programming
Topic: Some code seemes to have distroy the script
Replies: 2
Views: 1469

Re: How to manually "clean up" java mess

That I know but it seems that some part(s) is not installed through RPM.
I can't recall if I have done something with long time ago.
by Basher52
Sat Jul 23, 2011 8:43 am
 
Forum: Applications
Topic: How to manually "clean up" java mess
Replies: 2
Views: 265

How to manually "clean up" java mess

Seems that my latest install of JDK of Java-1.5 doesn't work correctly and what I can see it seems that different versions of java is installed that might mess it up. Does anyone know how to manually clean this up and install the latest JDK, whatever that is, so it will work. Can't seem to find any ...
by Basher52
Thu Jul 21, 2011 7:24 am
 
Forum: Applications
Topic: How to manually "clean up" java mess
Replies: 2
Views: 265

Re: Can't find rkhunter executable

Seems that it was the SHH session that hold a cash of some sort.
Just got home from work and reconnected to the screen, and now it works :D
by Basher52
Tue Jul 19, 2011 9:07 am
 
Forum: Fedora/Red Hat
Topic: Can't find rkhunter executable
Replies: 1
Views: 305

Can't find rkhunter executable

...after I installed that from RPM instead of the old version I got from a gzip. but now it complains about that it can't fine the executable in /usr/local/bin that is used to be in. it's now under /usr/bin. Think I've had something like this before but never got it working... I think. Is there a ca...
by Basher52
Tue Jul 19, 2011 7:48 am
 
Forum: Fedora/Red Hat
Topic: Can't find rkhunter executable
Replies: 1
Views: 305

Re: Read error.

It's so weird :( I just got it to work but I have no clue what did it 'cos all I've done is kinda the same all the time. The difference is that I started all over from the original ISO image and then put these files into that. The LBA numbers all files got was very different then when I changed the ...
by Basher52
Wed Jun 29, 2011 12:03 am
 
Forum: Applications
Topic: Read error.
Replies: 7
Views: 485

Re: Read error.

If I mount it, in the boot up I get from this then I can't read the files, but if I open the CD (in that case on a windows machine) I can open any files. It gotta be something with the mounting(?) of the files from the boot up of this CD cos when reading the CD elsewhere sure works. Just can't under...
by Basher52
Sun Jun 26, 2011 4:51 pm
 
Forum: Applications
Topic: Read error.
Replies: 7
Views: 485

Re: Read error.

I tried burning it in another burner too and got the same thing. Everything works perfectly unless I add these two script files, I even tried to make totally new files and rewrite the script into that 'cos I've seen that at two times the file has something invisible in it making it corrupt when i bu...
by Basher52
Thu Jun 23, 2011 7:12 am
 
Forum: Applications
Topic: Read error.
Replies: 7
Views: 485

Re: Read error.

That's what I thought first too, but I've tried this on 4 different CDs now and exact same files get the errors :(
I'll see if I can test the drive itself.

Just tested this on two other computers, same error.

Can't understand why I can't change these in the ISO file.
I'll keep trying though...
by Basher52
Wed Jun 22, 2011 11:48 pm
 
Forum: Applications
Topic: Read error.
Replies: 7
Views: 485

Read error.

While doing some scripts and putting them on the same place I'll always done, now all of a sudden they won't be copied. 2 of the four files is not "readable" after I mount the CD and tries to copy them myself (this is normally done buy some scripting that I have no knowledge about) this is...
by Basher52
Wed Jun 22, 2011 7:18 am
 
Forum: Applications
Topic: Read error.
Replies: 7
Views: 485

Re: Where's the error

k, got it :)
by Basher52
Wed Jun 22, 2011 4:18 am
 
Forum: Applications
Topic: Where's the error
Replies: 5
Views: 597

Re: Where's the error

DOH!!! Just found it, I forgot to 'fi' the 'if' statement that has the 'else'. I'm a bit confused with all the examples I've seen when to use 'fi' Sometimes they use it and sometimes they don't, but in this case I need to use it to "quit" the 'if' before the continuation of the previous one.
by Basher52
Wed Jun 22, 2011 1:28 am
 
Forum: Applications
Topic: Where's the error
Replies: 5
Views: 597

Re: Where's the error

hmm, so you can't have an 'if' inside another as I do here? I'll color the "if's" etc so you can see what I'm thinking of. Same color means that they are related. (Seems I can't use the 'code' tag with colors :P ) #!/bin/bash for subnet in $(/sbin/ifconfig | awk '/inet addr:/ && ! ...
by Basher52
Wed Jun 22, 2011 1:26 am
 
Forum: Applications
Topic: Where's the error
Replies: 5
Views: 597

Where's the error

#!/bin/bash for subnet in $(/sbin/ifconfig | awk '/inet addr:/ && ! /127.0.0.1/{sub(/inet addr:/,""); sub(/\.[0-9]+\.[0-9]+$/,"",$1); print $1}') do if [ grep -qw $subnet ./subnet.adm ] ; then parted /dev/sda rm 3 parted /dev/sda rm 2 parted /dev/sda rm 1 if [ `zisview C...
by Basher52
Wed Jun 22, 2011 12:17 am
 
Forum: Applications
Topic: Where's the error
Replies: 5
Views: 597
PreviousNext

Return to advanced search

cron