Koozali.org: home of the SME Server

I Need some Real Help.Somebody that relly knows this Program

cidhosting

So I will Start All Over! I Need someone for some Real Help. Somebody that really knows this Program! Don't tell Me to look at the manual, because I have read the three different manuals online! And It dose not say how to solve my problems. i'm Trying to build a Web Server w/email and CGI

I'm using static DSL here is the information:
192.168.1.1 (Device IP Address)
255.255.255.0 (Subnet Mask)
Static IP
Specify WAN IP Address   66.126.84.172
Subnet Mask:255.255.255.248
Default Gateway Address:66.126.84.169
DNS(Required)        
1:206.13.30.12
2:206.13.29.12
3:0.0.0.0

Server IP Address: 192.168.1.20

I put the following on the server:

Primary Domain: cvlcc.com
System Name:cvlcc
network card: Use e100 for chipset Intel Corp.:82557/8/9 [Ethernet Pro100]
local Network parameters: 192.168.1.20 (Because everything is foward to this server)
Local Subnet Mask: 255.255.255.0
Operation Mode: Server Only
Select gateway IP address: 192.168.1.1
Select DHCP Server Configuartion Off
Select master DNS Server Address: Blank
Select Proxy Server: No

My Problems Have been Not beeing able to use CGI in the domain cvlcc.com Primary domain and I can FTP upload to the server but when I want to change the attrobuts of the file in cgi I get this:
[Tester.cgi]
COMMAND:> SITE CHMOD 755 Tester.cgi
550 Tester.cgi: Permission denied

Also I can not reciving emails from the outside the server. when I send and email to the server I get a reply:
failure notice
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<admin@cvlcc.com>:
68.15.17.93 does not like recipient.
Remote host said: 554 <admin@cvlcc.com>: Relay access denied
Giving up on 68.15.17.93.

--- Below this line is a copy of the message.

Return-Path: <cidinter@sbcglobal.net>
Received: (qmail 90248 invoked by uid 60001); 30 Jun 2006 04:36:27
-0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=sbcglobal.net;
 
h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
 
b=lV8v3FqH2V5goMs1U9NDEWGRydKGAXd7pF3D7RelVa8yd3GRCTsCsVCo170K0h0oL7wF+hwJRsuZuOZ8UKC0s3Zd7HWj+hSCZUBXA2ZzCzPkvjPuSQ7wWZ9qXh5xJ8WtQEuTk3A1dFxMlY28h1i7KV1zFgSZkwQMk0Zoqem2HZI=  
;
Message-ID: <20060630043627.90246.qmail@web82508.mail.mud.yahoo.com>
Received: from [66.126.84.172] by web82508.mail.mud.yahoo.com via HTTP;
Thu, 29 Jun 2006 21:36:27 PDT
Date: Thu, 29 Jun 2006 21:36:27 -0700 (PDT)
From: William Soughers Dba <cidinter@sbcglobal.net>
Subject: Testing1
To: will Kent <admin@cvlcc.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="0-1282925037-1151642187=:89954"
Content-Transfer-Encoding: 8bit

--0-1282925037-1151642187=:89954
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

jhfdhlkiotuw[tt
--0-1282925037-1151642187=:89954
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

jhfdhlkiotuw[tt
--0-1282925037-1151642187=:89954--

Is ther any one that can help?

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
I Need some Real Help.Somebody that relly knows this Program
« Reply #1 on: June 30, 2006, 07:34:11 AM »
I will attempt to answer one of your questions, but I do have a couple of questions for you.

When you are trying to set permissions for your cgi program, how are you accessing the cgi-bin folder? are you using a ftp program, or putty? How are you loged in, as a user, or as admin?

Check out
http://wiredgorilla.com/main/article67.html


Remember that linux is case sensitive.
Try issueing chmod 755 tester.cgi (unless the "t" in tester is a cap)



The email problem is kind of explained to you in the error message. Your server appears to the rest of the world to be an email relay. These are stopped by many mail servers because it is one way spammers send their trash.  I beleive it is because your ip is showing up as belonging to some one else (SBC). If your terms of service allow you to set up a public server, I think your problem may be resolved by requesting a reverse dns entry by your isp.

I know there is someone out there with a better handle on this. I ran into the same problem when I first set up my server, and I think the reverse dns took care of it
If you think you know whats going on, you obviously have no idea whats going on!

cidhosting

I Need some Real Help.Somebody that relly knows this Program
« Reply #2 on: June 30, 2006, 08:01:01 AM »
When you are trying to set permissions for your cgi program, how are you accessing the cgi-bin folder? are you using a ftp program, or putty? How are you loged in, as a user, or as admin?
I have another server. I build Web sites for many clients of mine. But I have never had as many problems that I have with this server. I upload the server w/cute FTP program after uploading the file to the server I tired to do the change the attrobuts I get the error message:
[tester.cgi]
COMMAND:> SITE CHMOD 755 tester.cgi
550 tester.cgi: Permission denied

Check out
http://wiredgorilla.com/main/article67.html


Remember that linux is case sensitive.
Try issueing chmod 755 tester.cgi (unless the "t" in tester is a cap)I even changed the first letter to "t" just in case there was this problem, and still no change.



The email problem is kind of explained to you in the error message. Your server appears to the rest of the world to be an email relay. These are stopped by many mail servers because it is one way spammers send their trash. I beleive it is because your ip is showing up as belonging to some one else (SBC). If your terms of service allow you to set up a public server, I think your problem may be resolved by requesting a reverse dns entry by your isp. I think the problem is in the setup of the server because I have two other servers working and never had the problem like this with them.

I know there is someone out there with a better handle on this. I ran into the same problem when I first set up my server, and I think the reverse dns took care of it.  How did you fix the problem? Do you remember what or how you fixed it?

cidhosting

I Need some Real Help.Somebody that relly knows this Program
« Reply #3 on: June 30, 2006, 08:22:54 AM »
Also I keep getting this email from the serve!
Subject: cron<root@main> /ect/start mail
From: cronDaemon<root@cvlcc.co
Date: 11:00 PM
To: root@cvlcc.com

As you can see I can recieve emails from the Server(meaning it can sern email but it can't recieve emails from the outside.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
I Need some Real Help.Somebody that relly knows this Program
« Reply #4 on: June 30, 2006, 08:58:27 AM »
General remark: Use the quote button and the quote function to improve readability instead of makuing your replies in bold.

Quote from: "cidhosting"
So I will Start All Over! I Need someone for some Real Help. Somebody that really knows this Program! Don't tell Me to look at the manual, because I have read the three different manuals online! And It dose not say how to solve my problems. i'm Trying to build a Web Server w/email and CGI
Based on this thread and other threads I still get the general idae that you are trying to accomplish a task which generates a lot of problems that are a result of a lack of knowledge. If we need to, or feel the need to, we will still point you to the manual. This is the best place to start. Being polite when asking for help and posting different questions in different threads will also help a lot.

Quote from: "cidhosting"
I have another server. I build Web sites for many clients of mine. But I have never had as many problems that I have with this server.
SMEServer is a highly secure system and does not allow much per default, you might be stumbling in to some security measurement (which is probably preventing a risk) which you were probably not aware of... is your other server a SME Server or not? If not you might have security issues on that server.

Quote from: "cidhosting"
I upload the server w/cute FTP program after uploading the file to the server I tired to do the change the attrobuts I get the error message:
[tester.cgi]
COMMAND:> SITE CHMOD 755 tester.cgi
550 tester.cgi: Permission denied
[/b]
Does your user have the correct rights for this location or is allowed only read access for instance?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline NickCritten

  • *
  • 245
  • +0/-0
I Need some Real Help.Somebody that relly knows this Program
« Reply #5 on: June 30, 2006, 09:32:08 AM »
Quit using FTP!

It's about as secure as a paper bag.

Set up a user account, add the user to a group which has Write access to the I-Bay, enable remote SSH logins, and use SCP/SFTP to upload your files.

I'm assuming you're using windows, so use this http://winscp.net/eng/index.php


Once connected navigate to /home/e-smith/files/ibays/<ibay name>

Its about as easy as you can get. :-)
...
Nick

"No good deed goes unpunished." :-x...

cidhosting

I Need some Real Help.Somebody that relly knows this Program
« Reply #6 on: June 30, 2006, 10:25:48 AM »
where do I get this?
Use the Private key file box to specify path to your private key file if you are going to use public key authentication. The file must be in PuTTY format

Offline NickCritten

  • *
  • 245
  • +0/-0
I Need some Real Help.Somebody that relly knows this Program
« Reply #7 on: June 30, 2006, 10:29:10 AM »
Leave it blank,

Just use Hostname + username/password of the user with access to the ibay.
...
Nick

"No good deed goes unpunished." :-x...

cidhosting

I Need some Real Help.Somebody that relly knows this Program
« Reply #8 on: June 30, 2006, 10:41:41 AM »
I keet getting this message:
Connection has been unexpectedly closed. Server sent command exit status 9.

Offline NickCritten

  • *
  • 245
  • +0/-0
I Need some Real Help.Somebody that relly knows this Program
« Reply #9 on: June 30, 2006, 10:47:01 AM »
Is this during login, or while transferring files?

Try using the root account (temporarily!) to ensure that everything is working OK.

Make sure you have enabled SSH in Remote Access
...
Nick

"No good deed goes unpunished." :-x...

Offline NickCritten

  • *
  • 245
  • +0/-0
I Need some Real Help.Somebody that relly knows this Program
« Reply #10 on: June 30, 2006, 10:58:15 AM »
Whoops!
Sorry I forgot.

You need to change the shell of the user you want to log on as:

Code: [Select]
chsh username -s /bin/bash
...
Nick

"No good deed goes unpunished." :-x...

cidhosting

I Need some Real Help.Somebody that relly knows this Program
« Reply #11 on: June 30, 2006, 10:59:25 AM »
I just sent you an email

William