Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,207
» Latest member: Meup
» Forum threads: 4,029
» Forum posts: 16,404

Full Statistics

Online Users
There are currently 165 online users.
» 0 Member(s) | 161 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 66
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 73,831
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 30,420
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,647
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,052
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 40,631
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 103,402
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 44,149
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 34,593
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 40,152

 
  Load average is going wild
Posted by: faifas - 2008-05-25, 05:18 PM - Forum: LAMP - Replies (3)


Hello fellows,

 

I'm having a weird issue and wanted to find out if any of you know how to deal with it.

I've got myself Ubuntu box and online RPG game hosted on it.

The problem is that apache and mysqld is going wild (I mean it).

 

load average: 1.22, 1.20, 1.07

 

That's an usual load when I only have 40 players online.

Tried stopping apache, server load went to 0.02 (ircd was using it)

 

Server speed: 2.0Ghz

RAM: 500mb

apache conf:

timeout 5

 

Keepalive On

keep alive timeout 15

 

My server is good enough for such project and I can bet that I have a bug somewhere in my PHP code, that causes a never ending loop and apache with mysqld are going wild.

 

Mysql is using ~20% of CPU and few apache childs are using ~11% each, so that's really not normal.

 

What do I want you to help me with is a tool for showing php files CPU usage or something similar, so that I could find out which of my files are causing that server load.

 

Thanks in advance,

Faifas

Print this item

  Hello and HELP!!!!
Posted by: fastmouse - 2008-05-22, 11:25 AM - Forum: How Do I? - Replies (1)


Hi everyone,

 

Im extremely new to Linux etc and have been thrown right in the deepend!

 

Im currently looking after a red hat web server and im having a bit of a night mare! probably easy for you guys :)

 

Anyways Ive googled the problem and cant find an answer.

 

Here we go!

 

Ok ive been updating a few PDFs and a web page from my companies website, the guy who handed to me told me to just dropthem in the differing folders....which I have done.

 

only one PDF works from the web.

 

All open direct.

 

All links etc are ok.

 

The file permissions are ok.

 

However when i try to retrieve the files from the web im getting a "you dont have permission" 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request?

 

The only other thing I can offer is that we use Apache 2.0.52

 

As i said my knowledge of linux is very very limited just a few lines a have written down!

 

Please can somone let me know what to do?

 

many thanks

Mike

Print this item

  Fedora 9 / bootpart error
Posted by: nish_higher - 2008-05-22, 09:00 AM - Forum: Grub and Lilo - No Replies


i installed fedora 9 on my system , chose the boot loader to install into first sector of boot partition (/) ,so i can use bootpart to use it..

 

now the problem is i cant configure how to set it up..

 

 

 

my drives are--

 

/ 13.54gb

 

and /home 9.77gb

 

swap is 2gb

 

 

 

i tried various settings but it didnt work..

 

 

 

here's bootpart screenie--

 

 

 

[Image: bootpartfp5.jpg]

Print this item

  Script to update mysql
Posted by: alc_hot_dog - 2008-05-20, 07:57 PM - Forum: LAMP - Replies (1)


Hi, i'm a portuguese Linux user.

 

I need help to create a script to update my database, this script is to be launched daily on cron.

 

The query is: (update accountinfo set Entreprise="OLICAR" where TAG="admin_reg" or TAG="agro";)

 

The table accountinfo is in database "test". I use mysql-server 5.0.32 in fedora 8.

I have already searched, but I only found script's in PHP.

 

I really appreciate your answer, thank you for your help.

 

Sorry my English.

 

Cheers.

Andr

Print this item

  DEBIAN SSL BUG
Posted by: Varjagy - 2008-05-18, 06:14 PM - Forum: Security and Firewalls - Replies (1)


As we have read, there is now a weakness in the random number generator used by OpenSSL.

 

I suggest users of any Debian and Debian based system read here.

Print this item

  8.04 some testing
Posted by: Varjagy - 2008-05-16, 04:43 PM - Forum: Hardy Heron (8.04) - No Replies


A little late, but finally some notes:

 

I have now upgraded a few computers from 7.10 to 8.04. Most of them get some bugs after the upgrade, and they are very similar to the ones people experienced when they upgraded fro 7.04 to 7.10. Hopefully I'll get to test fresh installs soon.

 

Bugs so far:

- Takes ages to unpack files.

- Updata manager locks up

 

Other small notes:

- the "Screens and Graphics" button is moved to Applications - Other (Other can be found if you right click Applications - Edit Menus)

Print this item

  Setting SPF records
Posted by: thehappyappy - 2008-05-13, 10:54 AM - Forum: How Do I? - No Replies


Does anybody know who I can set up SPR records? I've created a record and it says that I need to

 

Quote:Paste this into your zone file:xxxxxxxxx.com. IN TXT "v=spf1 ip4:xxx.xxx.xxx.xx a mx ~all"
and

 

Quote:So this should also appear in DNS. You may or may not be in charge of the DNS for these entries; if you are, add them. 

mail. xxxxxxxxx.com. IN TXT "v=spf1 a -all"
I logged into the server as the root users via ssh and typed in /var/named (which my host told me to do) but all it said was

Quote:is a directory
I really need to add this because Microsoft is blocking emails from the site even though it's only an opt-in system

 

Thanks

Print this item

  Fedora 9 - Final- Screenshots
Posted by: mcduck - 2008-05-10, 11:30 PM - Forum: Fedora 9 - Replies (3)


Hey all

 

I'v been using Fedora 9 Final for a couple of days now (A special thanks go to a misconfigured fedora mirror in europe).

 

The essentials:

 

[mcduck@localhost ~]$ cat /etc/redhat-release

Fedora release 9 (Sulphur)

[mcduck@localhost ~]$ uname -a

Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 athlon i386 GNU/Linux

 

Images now mirrored. To clear up any mistakes: Fedora 9 is not "Released" yet. (This is more like a.. "leak")

 

Bandwidth graphs for the image server (web server graphs not available). Can you spot the digg effect? :)

[Image: rtgimgphpzx7.png]

 

 

Here are some shots from the install. I will not go into detail when it comes to these. One thing that has changed is the encryption option (i did not test this), that allows you to make and install to an encrypted partition.

 

the grub screen

[Image: post-67-1210461473.png]

 

Fedora 9 booting

[Image: post-67-1210461503.png]

 

create a user

[Image: post-67-1210461508.png]

 

date and time

[Image: post-67-1210461519.png]

 

hardware profile

[Image: post-67-1210461525.png]

 

fedora install

[Image: post-67-1210461539.png]

 

starting install process

[Image: post-67-1210461547.png]

 

installing ipw firmware

[Image: post-67-1210461556.png]

 

installing kernel

[Image: post-67-1210461561.png]

 

congratulations installation complete

[Image: post-67-1210461565.png]

 

what language during install process

[Image: post-67-1210461576.png]

 

select keyboard for the system

[Image: post-67-1210461581.png]

 

creating partition

[Image: post-67-1210461598.png]

 

network setup

[Image: post-67-1210461608.png]

 

time zone

[Image: post-67-1210461613.png]

 

root password

[Image: post-67-1210461617.png]

 

remove partitions

[Image: post-67-1210461621.png]

 

office and productivity

[Image: post-67-1210461625.png]

 

login screen

[Image: post-67-1210461631.png]

 

 

Finally, time for login. The login box looks rather boring. I liked the old one way better.

One thing to note; The session option (Where you can choose windows manager, for example kde or gnome) is now located as a bar on the bottom of the screen and only becomes visable after you click on your user (when your asked to type password)

 

 

Let's confirm version:

 

 

Now, lets have a look at KDE 4!

Jummy, it looks so nice! The clock is actually a widget. Notice the image in the top right corner? This is where you add / remove widgets

 

[Image: post-67-1210462712.png]

 

A little more widgets running here:

[Image: post-67-1210462712.png]

 

[Image: post-67-1210462821.png]

 

 

Turning on widgets is really easy. Just click the icon at the top right of your screen. This bring forth this menu:

[/img]http://video.linux-noob.com/screenshots/...462933.png[/img]

 

Time to look at some of the updated stuff in Fedora. One such thing is Firefox.

[Image: post-67-1210463308.png]

 

[Image: post-67-1210463500.png]

 

[Image: post-67-1210463706.png]

 

Another thing is the "Start menu". Now it works much like the one in Vista. It takes a little getting used to, but definitly better than the old one (Or the one in Vista).

[Image: post-67-1210463844.png]

 

System monitor and widgets

[Image: post-67-1210464285.png]

 

 

KDE Version

[Image: post-67-1210464394.png]

 

 

But Konquerer was not dead!

[Image: post-67-1210464437.png]

 

Please digg!

Print this item

  installing labview
Posted by: paladugu_sathya - 2008-05-10, 05:50 PM - Forum: How Do I? - No Replies


hi,

i want to install labview in my system.i downloaded LabView.8.2.linux.tar from net.i want to install it in my system.since i am new to linux(FEDORA8) plz tell further steps to install in my computer.

 

sathya.

 

[paladugu_sathya@localhost ~]$ cd Download/

[paladugu_sathya@localhost Download]$ tar xvf LabView.8.2.linux.tar

LabView.8.2.linux/

LabView.8.2.linux/labview82-appbuild_8.2-1_i386.deb

LabView.8.2.linux/labview82-ref_8.2-1_i386.deb

LabView.8.2.linux/INSTALL

LabView.8.2.linux/labview82-vxi_8.2-1_i386.deb

LabView.8.2.linux/labview-rte-aal_1.1-1_i386.deb

LabView.8.2.linux/labview82-desktop_8.2-1_i386.deb

LabView.8.2.linux/leggimi.txt

LabView.8.2.linux/niexfinder-labview82_1.0-7_i386.deb

LabView.8.2.linux/labview82-help_8.2-1_i386.deb

LabView.8.2.linux/niwebpipeline20-dep_2.0-5_i386.deb

LabView.8.2.linux/labview82-rte_8.2-1_i386.deb

LabView.8.2.linux/labview82-core_8.2-1_i386.deb

LabView.8.2.linux/niexfinder-base_1.0-7_i386.deb

LabView.8.2.linux/labview82-pro_8.2-1_i386.deb

LabView.8.2.linux/labview82-examples_8.2-1_i386.deb

Print this item

  wild iptable issues
Posted by: papermate - 2008-05-10, 05:10 AM - Forum: Security and Firewalls - No Replies


Hey all, this being my first post please go easy on me:

 

I have the following problem, I want to route all requests to port 80 to port 8171 and 443 to 8143 (both internally from within my box and externally from other computers). The following is the configuration information on the iptables status:

 

Table: filter

Chain INPUT (policy ACCEPT)

num target prot opt source destination

 

Chain FORWARD (policy ACCEPT)

num target prot opt source destination

 

Chain OUTPUT (policy ACCEPT)

num target prot opt source destination

 

Table: nat

Chain PREROUTING (policy ACCEPT)

num target prot opt source destination

1 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8171

2 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 redir ports 8143

 

Chain POSTROUTING (policy ACCEPT)

num target prot opt source destination

 

Chain OUTPUT (policy ACCEPT)

num target prot opt source destination

1 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8171

2 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 redir ports 8143

 

 

 

Here is my configuration:

 

 

# Generated by iptables-save v1.3.5 on Thu May 8 18:29:01 2008

*nat

:PREROUTING ACCEPT [22:3658]

:POSTROUTING ACCEPT [64:4788]

:OUTPUT ACCEPT [57:4368]

-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8171

-A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8143

-A OUTPUT -o lo -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8171

-A OUTPUT -o lo -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8143

COMMIT

# Completed on Thu May 8 18:29:01 2008

# Generated by iptables-save v1.3.5 on Thu May 8 18:29:01 2008

*filter

:INPUT ACCEPT [21858:11609795]

:FORWARD ACCEPT [0:0]

:OUTPUT ACCEPT [22001:18526588]

COMMIT

# Completed on Thu May 8 18:29:01 2008

 

 

Now the configuration for port 80 works fine and routs to 8171 when accessed from the box itself or from an outside computer. When I access 443 from an outside computer it correctly forwards to 8143. But when I try and access 443 from the box itself, it doesn't seem to route. What is wrong with my config???

Print this item