ASP Scripting On Linux Server

Oct 1, 2007

I have my site in asp scripting but it was suspended yesterday because of high resource usage on shared server. Thats why am looking for VPS, though it is difficult to find a good windows VPS, so i have decided to get a Linux VPS. But am confused that whether a linux vps will meet my requirement.

My site is using asp scripting with access databases on backend. I can host my access databases on a windows server and can provide the link in connection string. So, will webserver on a linux server be able to execute my asp scripting fine as IIS do on windows server.

Also i have music section that plays file in .wma format using windows media player, as i have used embedded object for windows media player. So there must be windows media player installed on linux server.

whether it is good decision to host site on linux server and will my objective be met in this case.

View 6 Replies


ADVERTISEMENT

Linux BASH Scripting

Dec 7, 2008

I am currently trying to create a bash script which I will run off a loop with a sleep interval that will query tcpdump (udp packets only) on a network interface, and is looking for length 10 packets.

So far so good, not that hard to code I know (Already made it / coded it this far perfectly). Now here is the tricky part, I only want the bash script to identify IP's that have sent over 15 packets with the length of 10. (This is the part that I can't seem to find a way to code).

I was thinking, from the output maybe to calculate the number of lines with the same equal IP's.

Once this script identifies that, it will automatically run a command which I have set. (Quite easy, and I can do this).

I am looking for someone to help me with this. It is a fairly simple and quick job (editing the script I have at the moment). I am willing to also pay (if needed) an amount for this to be completed too. Obvieusly not that much, but still something I am sure we can work out.

View 2 Replies View Related

Cross Scripting Attack

May 10, 2009

On IIS6 many of thesite are under cross scripting attack I tried by remove the the code but it affects again after some time I reset the ftp password and passowrd is a combination of complex alpna numeric character.I have cheked the permission it is ok.

How you guys fight with cross dcripting attack.

View 9 Replies View Related

Servage With Perl Scripting

Dec 1, 2008

I've used Servage for about 18 months. For most of that time there have been no problems. Then they decided to upgrade the cluster. This happened 3 weeks ago. Since then, there has been a catalogue of problems, mostly centred around a Perl script my site uses to implement a wiki.

The first problem was that they had removed four of the supporting Perl modules used by my Perl script. All of the missing modules are ones you would expect to find on any server that claims to support Perl. They had warned that this might happen (obviously too difficult for them to make sure that the upgraded server has all the Perl modules) so I notified them with a list of missing modules expecting the modules to be restored quickly. It actually took 1 week, during which time their support team tried their best to annoy me by giving responses related to PHP (apparently they'd managed to kill PHP scripting completely) and a non-working link to a list of installed modules (I knew what was installed already).

Having now got the script running, I hit a further problem. Prior to the upgrade the script had run under the "webserver" account. It was now running under the "you" account. This meant it couldn't write to its own data files. I had real trouble getting Servage to understand this one, let alone fix it. Most of their answers were about how to change the ownership of my script, which makes absolutely no difference to the problem. Eventually, after 4 days, they tried to fix the problem. The result was that my website became completely inaccessible. Even the static content was giving a 403 error. Again, it took support a while to understand the problem and about 1.5 days to fix it.

At this point Servage claimed to have fixed all outstanding issues. However, my script was still running under the wrong account. In frustration, I changed the ownership of all the script's data files to "you", which at least got my wiki running again.

However, I now find that people can't upload images to the site. Any attempt to do so produces an error "CGI open of tmpfile: Permission denied".

I've given up. I think my chances of getting Servage to even understand the problem are minimal. I'm not even going to try. I will be moving to another host as soon as possible - probably a VPS. That way I should be able to fix most problems myself.

View 14 Replies View Related

PHP Scripting And Permissions On Unix

Dec 26, 2007

I currently have a script with code below that works great when the permissions on the dbconnect.php file are 755. The problem with this is that anyone on the web can see this config file which contains passwords DOH! If I change it to 751, then it tells me "cannot connect". The user and group on both the page and this script are the same.

With apache, i use the setting to store http and https files in the same directory.

Any ideas how to make this a little more secure? Changing the permission to 751 would do the trick but then it breaks the script. I don't understand why the script would be running taking "other" permissions into account...it should be running with "user" permissions instead. it might even have something to do with who the apache executable is running as...

<?php

include("../../../cgi-bin/dbconnect.php");

// Connect to server and select database.
mysql_connect("$databasehost", "$dbuser", "$dbpword")or die("cannot connect");
mysql_select_db("$dbname")or die("cannot select DB");

View 2 Replies View Related

Bash Scripting :: Inode And Directory Size Counter

Apr 4, 2009

I'm writing an inode and directory size counter, but hit a snag with directories that contain a space.

Simple code, finds all directories within a folder, sets the current directory:

for i in `find . -type d`; do ls $i; done

Looks correct? It works great, until you hit directories with spaces. So I try the following methods:

for i in `find . -type d|sed 's/ / /g'`; do ls $i; done
for i in `find . -type d|sed 's/ / /g'`; do ls "$i"; done

What is happening is, at the ( for i in ), it treats each item at the first break, if its
or a ' '. Is there a flag I can set to make it only use
? When I pipe the data, it sends each chunk of the directory through.

[root@home /home/mindbend/dev_html]# for i in `find . -type d|sed 's/ / /g'`; do ls $i; done

ls: ./test: No such file or directory
ls: ing: No such file or directory
ls: 12: No such file or directory
ls: 3: No such file or directory
ls: ./test: No such file or directory
ls: ing: No such file or directory
ls: 12: No such file or directory
ls: 3/test: No such file or directory
ls: 2: No such file or directory

# ls -d test ing 12 3/
test ing 12 3/

#ls -d test ing 12 3/test 2/
test ing 12 3/test 2/

GNU bash, version 3.2.39(1)-release (i386-portbld-freebsd7.1)
Copyright (C) 2007 Free Software Foundation, Inc.

Issue exists on linux and freebsd, same code.

View 3 Replies View Related

Grant Priviledge For A User To A Database Via Bash Scripting

Jun 4, 2007

I tried grant a user to have access to a database via a shell script.

Database 'userdb' and user 'user1' are already setup.

This is my code .

Code:
#!/bin/sh

mysql -u root -pROOTPASS <<!
grant all privileges on userdb.* to user1@localhost
identified by 'dbpasswd' with grant option;
!
The code doesn't work.

View 11 Replies View Related

How To Tansfer Backup Files From Linux Server To Windows Server

Jul 4, 2007

what is the fast and best way?

View 4 Replies View Related

Plesk 12.x / Linux :: Full Server Migration To New Server With Same Hostname?

Jul 20, 2015

I'm wondering whether it is possible to perform a full server migration to a new Plesk server with the same hostname or will Plesk give an error about the hostname being the same?

The new server would not be accessible by hostname (only via IP) until DNS and glue records were changed after the migration.

View 1 Replies View Related

Samba Server :: Can Linux And Windows Exist On The Same Server?

Jan 10, 2008

I have a linux server for a video sharring site

The video encoder that I prefer to use will only work in a windows enviorment

The windows server would pass off the converted video to the Linux server.

Will a Samba server for Linux allow a Linux machine to connect and share files with a Windows machine work for this application.

Although it's probably a dumb question but can Linux and Windows exist on the same server?

View 3 Replies View Related

How To FTP My Backup Data In My Linux Server To Another Server

Jan 30, 2008

I setup one Linux server, I want use SSH transfer my website data (already .tar) to another Linux server. May I know what SSH command to use and transfer my file to another Linux server?

View 3 Replies View Related

Difference Between A Windows Server And A Linux Server ..?

Sep 11, 2008

i was wondering whats the difference between a windows server and a linux server. if a client asks me which one should they choose? which one is better? what should i tell them to go with

View 7 Replies View Related

How To Install Vnc Server Remotely On Linux Server

Aug 5, 2007

how to install VNC server such as TightVNC on linux server remotely?

i can access my server only through ssh. (putty).

is there a way to install VNCserver in linux over ssh?

View 12 Replies View Related

Which Linux For Server

May 25, 2009

I have purchased a new server with a company that has very little support (but they are great for reasons that matters). I need help from experts here to answer the following question

Quote:

We do not offer Plesk or cPanel.

Which Linux do you want installed on the server ?

I plan to install Joomla and AmemberPro software on this server

Joomla Requirements:
"Basically any Linux distribution will be fine, but for Security and Stability Debian, for useability and ease of maintenance Fedora/CentOS"

AmemberPro Requirements
* PHP version 4.1.0 or newer;
* MySQL version 3.23 or newer;
* Apache WebServer (it usually only installed on Unix hostings, and almost never on Windows);
* Ability to run one ionCube Loader or Zend Optimizer.

View 14 Replies View Related

On Linux Server

Aug 3, 2008

So far I was developing site in HTML only. I used to host them on windows based server. I use to place site in web folder using filezilla program

Now i have taken space on Linux server. I would like to know how host files on that as I have developed site in php with mysql as database with local apache server. It works ok offline.

I would like to know

1. what folders I get

2. How to upload

3. How to transfer database in mysql

View 9 Replies View Related

Best Linux OS For Server

Mar 27, 2008

What is the best FREE Linux OS for a server? As I have a new server and need to install an OS

View 14 Replies View Related

ASP/ASP.net On Linux (WHM) Server

Apr 14, 2007

trying to figure out how to get asp/aspx/asp.net working on my linux whm server....

so far i've tried installing mod_mono, both via whm as well as manually. also tried the perl module APACHE:ASP but no matter what i do it doens't work, a sample .asp page just shows regular code.

i've been told to try out chillisoft's ASP server (now owned by sun).

before i devote any more time or potentially waste more time on this, could someone point me out to a solution that actually WORKS? most of these tutorials i'm seeing are years old and most don't even work...

View 7 Replies View Related

Remove Ip From Linux Server

Apr 14, 2009

How can remove eth0:12 (for ever) from ssh server?

View 3 Replies View Related

Linux Server With 3-4 TB Transfer

Sep 27, 2008

I have read some in this forum and the sites I saw linked to others seemed ok but none I've seen really gave me options on more bandwidth.

I figured I would just post what I need and my budget and see if anyone could help me out or point me in the right direction and it be a site I havn't seen before.

I am currently with another dedicated provider that I will not name but I messed up something simple (I know what it is) while trying to add an ip to the box. I submitted a ticket Friday morning at 4am EST time explaing exactly what I need done, and how to do it just so they don't have to even research it. Needless to say the ticket was not even TOUCHED all day today (Friday) and now I am told it will not be looked at until Monday. This means I am without a server for the weekend unless I want to pay a good chunk for "emergency support". I personally find this absurd and think something simple should be a phone call away.

I typed all of this out to explain why I am looking for a new server.

I need a decent (but not hard core) processor, preferably not celeron or sempron.

Atleast 1 gig of ram and 100-200 gig or so HD. The biggest thing I need is transfer, I honestly do not care if its a 10 or 100Mbps port. I need atleast 3 to 4 TB (4000 GB) of transfer.

My price range is 100-150 USD a month.

View 7 Replies View Related

Which Script Eat Cpu On A Linux Server?

Sep 19, 2008

is there a tool to understand which php script "eat" cpu on a linux server?

View 2 Replies View Related

Linux Server Login

Jun 13, 2008

Im running Debian Etch as a webserver, on a dell poweredge 2650, it has been working great, and a few months ago it was up a little over 100 days and it just stopped allowing me to login via ssh or ftp or webmin (which uses the linux password file). i couldnt even log in at the console so i just rebooted it (power switch) and then once it came back up it worked fine. and now about 100+ days later its doing the same exact thing. I must note that all the websites on the system are still working fine, apache and mysql have not been affected, however the mail system seems to have stopped again too. Has anyone else ever had this sort of problem?

View 3 Replies View Related

Asp In Linux/unix Server

Sep 7, 2007

I see a company that support asp in linux server. i search and i found that a mod in apache server do it.

who know about this mod?

install it in my server?

View 5 Replies View Related

Linux Server Compromised

Jun 6, 2007

Linux Fedora 5

I just got a letter from my dedicated host stating we had just been compromised. These servers just were set up last week! And there is nothing on them yet. The only thing I have done is modified the /etc/hosts file via SSH.

My servers are not even public yet. Can SSH'ing in from an unsecured wireless network make me vulnerable?

What do you guys think? Best way not to let this happen again?

Oh this is great :-| He's still logged in!

[root@server~]# who
root pts/0 2007-06-06 07:12 (xxx)
test pts/2 2007-06-06 03:08 (81.89.10.92)

View 14 Replies View Related

Managing Your Linux Server

Aug 18, 2007

site or resource that offers worth thing for managing linux server from begin to end about any category for instant, linux basics, Security, Optimizing Mysql, Installing 3rd party software.... and whatever else ?

View 7 Replies View Related

Linux Mail Server

Mar 16, 2007

I have a dedicated server with a mail server on it. However we have been experiencing troubles with mails sent from not delivering to a lot of hosts. I believe it is something to do with the server not being a fully qualified domain. The server is running Debian Sarge Linux.

The solution we were thinking of was to change the server to just be a relay to the hosting company's pop mail account for the domains we have registered. Would this get around our client's filters? Also is it difficult to do?

View 14 Replies View Related

Linux Server Hardening

Nov 23, 2007

1. I don't use nor will I EVER use cPanel (royal POS in my opinion). I might, however, have DirectAdmin installed (not sure yet)

2. CentOS 5, 64-bit edition

3. Apache 2.2 latest, MYSQL 5.1 latest, PHP 5.2 latest

I usually use appears to be super busy and just not able to get the job done. No slight on him, he has a busy work schedule. So I'm looking to go outside of my comfort zone and see other companies to use. I don't think I can use Platinum as I outright refuse to even discuss cPanel as an option. If I want an underperforming, unsecure and incompatible web and database server, I'll run Windows.

So I'm looking for the usual end-to-end hardening package. I'm too lazy to do it myself and I'll forget to do something. Any recommendations out there in WHT land?

View 3 Replies View Related

How To Clear Firewall In Linux Server?

Dec 15, 2007

Hi,

can you please tell me how i can clear the firewall in my linux box?

It's CentOS but i'm not sure what type of firewall is installed on my box.

Hpe to get response soon,
toby

View 10 Replies View Related

A Virus On A Linux Server :: Cdpuvbhfzz

Apr 12, 2008

There's supposed to be a virus on one of my server (called "cdpuvbhfzz"). Anyone has any idea on how to remove it? What software to install, what do do next. Also, is transferring an infected account on a different machine is also transferring a virus?

I am on CentOS 5, using cPanel.

View 3 Replies View Related

How To Install MYSQL Server On VPS Linux

Jun 2, 2009

I want to use (Microsoft SQL Server 2005 "on my PC") to conect with my database on my VPS linux, but I can't

View 5 Replies View Related

Dedicated Server - Run Windows & Linux

Oct 23, 2009

Can I run both Windows & Linux on a dedicated server? I currently have a website hosted on a shared hosting Linux web server (uses PHP, MySQL). I want to use RED5, which seems a bit tricky to set up.

Why Windows?

I would feel more comfortable installing RED5 on a windows server (I think it'd be easier for me, no experience with Linux command line etc.).

Why Linux?

I'd prefer to keep the existing PHP/MySQL website on Linux because I have Apache specific settings.

View 10 Replies View Related

Installing MRTG In My Linux Server

Jul 24, 2009

I tried installing MRTG in my Linux Server by using help from -

[url]

What i have done till now is -

cd /usr/local/src
gunzip -c mrtg-2.16.2.tar.gz | tar xvf -
cd mrtg-2.16.2

./configure --prefix=/usr/local/mrtg-2

make

make install
After this i am unable to understand what to do, and how to start MRTG graphs.

* the next last step says,

CONFIGURATION

The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.

cfgmaker --global 'WorkDir: /home/httpd/mrtg'
--global 'Options[_]: bits,growright'
--output /home/mrtg/cfg/mrtg.cfg
community@router.abc.xyz

This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.

^^ this is what i am not able to understand.

When i ran the script, (below mention) it gave many errors, how to resolve them ?

[root@c bin]# ./cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' output /home/mrtg/cfg/mrtg.cfg eth0
Error:
can't resolve "output" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@output::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@output: as no info could be retrieved

Error:
can't resolve "/home/mrtg/cfg/mrtg.cfg" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@/home/mrtg/cfg/mrtg.cfg::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@/home/mrtg/cfg/mrtg.cfg: as no info could be retrieved

Error:
can't resolve "eth0" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@eth0::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@eth0: as no info could be retrieved

# Created by
# ./cfgmaker --global "WorkDir: /home/httpd/mrtg" --global "Options[_]: bits,growright" output /home/mrtg/cfg/mrtg.cfg eth0

### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no
WorkDir: /home/httpd/mrtg
Options[_]: bits,growright

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved