Tom | 1 Apr 14:12 2010

[U2] FTP Users in HP-UX

We have something strange happening with FTP on our UNIX box. We have 
some users setup to FTP files from our windows server to the UNIX box. 
They were working fine until we rebooted the UNIX server. Now none of 
them have FTP access into the UNIX box. This was the first time the box 
had been rebooted since setting them up. These logins can telnet in fine 
but cannot ftp.

I have reviewed all the settings and believe they are all correct. I am 
not a UNIX guru but know enough to be dangerous;) Wish there was a 
setting up FTP for Dummies instruction manual. Any clues as to what may 
be part of the puzzle I am missing?

Hardware         : HP
Operating system : HP-UX
O.S. version     : B.11.00
UniData version  : 6.1.16

Tom
_______________________________________________
U2-Users mailing list
U2-Users <at> listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Bob Witney | 1 Apr 14:24 2010
Picon

Re: [U2] FTP Users in HP-UX

Daemon not come back up ?

-----Original Message-----
From: u2-users-bounces <at> listserver.u2ug.org
[mailto:u2-users-bounces <at> listserver.u2ug.org] On Behalf Of Tom
Sent: 01 April 2010 13:13
To: u2-users <at> listserver.u2ug.org
Subject: [U2] FTP Users in HP-UX

We have something strange happening with FTP on our UNIX box. We have 
some users setup to FTP files from our windows server to the UNIX box. 
They were working fine until we rebooted the UNIX server. Now none of 
them have FTP access into the UNIX box. This was the first time the box 
had been rebooted since setting them up. These logins can telnet in fine

but cannot ftp.

I have reviewed all the settings and believe they are all correct. I am 
not a UNIX guru but know enough to be dangerous;) Wish there was a 
setting up FTP for Dummies instruction manual. Any clues as to what may 
be part of the puzzle I am missing?

Hardware         : HP
Operating system : HP-UX
O.S. version     : B.11.00
UniData version  : 6.1.16

Tom
_______________________________________________
U2-Users mailing list
(Continue reading)

Symeon Breen | 1 Apr 14:46 2010
Picon

Re: [U2] FTP Users in HP-UX

Your ftp deamon will not have come back up - it is probably not set to
automatically start.  Not sure on your nix flavour - but it is somethinglike
'service ftpd start' to restart it

-----Original Message-----
From: u2-users-bounces <at> listserver.u2ug.org
[mailto:u2-users-bounces <at> listserver.u2ug.org] On Behalf Of Tom
Sent: 01 April 2010 13:13
To: u2-users <at> listserver.u2ug.org
Subject: [U2] FTP Users in HP-UX

We have something strange happening with FTP on our UNIX box. We have 
some users setup to FTP files from our windows server to the UNIX box. 
They were working fine until we rebooted the UNIX server. Now none of 
them have FTP access into the UNIX box. This was the first time the box 
had been rebooted since setting them up. These logins can telnet in fine 
but cannot ftp.

I have reviewed all the settings and believe they are all correct. I am 
not a UNIX guru but know enough to be dangerous;) Wish there was a 
setting up FTP for Dummies instruction manual. Any clues as to what may 
be part of the puzzle I am missing?

Hardware         : HP
Operating system : HP-UX
O.S. version     : B.11.00
UniData version  : 6.1.16

Tom
_______________________________________________
(Continue reading)

Ben Souther | 1 Apr 14:48 2010

Re: [U2] FTP Users in HP-UX

That's what it sounds like.

I would do a search on the system for a file named ftpd.

On most Linux boxen it would usually be in 
/etc/rc.d/init.d/

Once you find it, CD to the directory where it resides and type:
./ftpd start

You might need to be root to do this.

To search the entire machine for the executable:
find / -name ftpd -print

Good-Luck

On Thu, 2010-04-01 at 13:24 +0100, Bob Witney wrote:
> Daemon not come back up ?
> 
> -----Original Message-----
> From: u2-users-bounces <at> listserver.u2ug.org
> [mailto:u2-users-bounces <at> listserver.u2ug.org] On Behalf Of Tom
> Sent: 01 April 2010 13:13
> To: u2-users <at> listserver.u2ug.org
> Subject: [U2] FTP Users in HP-UX
> 
> We have something strange happening with FTP on our UNIX box. We have 
> some users setup to FTP files from our windows server to the UNIX box. 
> They were working fine until we rebooted the UNIX server. Now none of 
(Continue reading)

Tom | 1 Apr 14:53 2010

Re: [U2] FTP Users in HP-UX

I can FTP as root so I am thinking the FTP daemon is running. It just 
any other user that cannot FTP.

Tom

On 4/1/2010 8:48 AM, Ben Souther wrote:
> That's what it sounds like.
>
> I would do a search on the system for a file named ftpd.
>
> On most Linux boxen it would usually be in
> /etc/rc.d/init.d/
>
> Once you find it, CD to the directory where it resides and type:
> ./ftpd start
>
> You might need to be root to do this.
>
>
>
> To search the entire machine for the executable:
> find / -name ftpd -print
>
>
> Good-Luck
>
>
>
> On Thu, 2010-04-01 at 13:24 +0100, Bob Witney wrote:
>    
(Continue reading)

Charles_Shaffer | 1 Apr 14:54 2010

[U2] SELECT Statement question

Here's an odd thing,  I have an app that allows the user to pass in a 
select criteria string that is used to find a string containing the select 
criteria.  Like this.

ECMD = "SSELECT ":CP:" BY PART_NUM"
IF SELCRIT <> '' THEN
        ECMD := " WITH PART_NUM LIKE '...":SELCRIT:"...'" 
END
EXECUTE ECMD

This works fine most of the time, but we just noticed that when the select 
criteria is G2A, it takes that to mean a G followed with 2 alpha 
characters, so it matches many more items than desired.  Is there a way to 
force the SELECT to take the criteria as a literal G2A and not as a 
matching pattern?

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
_______________________________________________
U2-Users mailing list
U2-Users <at> listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Drew William Henderson | 1 Apr 14:56 2010

Re: [U2] FTP Users in HP-UX

It's been a while since I've worked in HP-UX, but I think the standard ftp daemon runs out of inetd.  Take a look
at your /etc/inetd.conf file to see if it is enabled there (if telnet is working, then so is inetd; this
assumes HP-UX has not moved all this to individual files, as some other Unix variants have done.)  

There are also some files in /etc that can indicate who can or cannot ftp; take a look for some files like
ftp.allow and ftp.deny (better yet, do an "ls /etc | grep ftp" [no quotes] to get a listing of any files with
"ftp" in them.)

HTH
Drew

-----Original Message-----
From: u2-users-bounces <at> listserver.u2ug.org [mailto:u2-users-bounces <at> listserver.u2ug.org] On
Behalf Of Ben Souther
Sent: Thursday, April 01, 2010 8:48 AM
To: U2 Users List
Subject: Re: [U2] FTP Users in HP-UX

That's what it sounds like.

I would do a search on the system for a file named ftpd.

On most Linux boxen it would usually be in 
/etc/rc.d/init.d/

Once you find it, CD to the directory where it resides and type:
./ftpd start

You might need to be root to do this.

(Continue reading)

Edward Brown | 1 Apr 15:00 2010
Picon

Re: [U2] SELECT Statement question

The final string needs to read as LIKE "0X'G2A'0X", so the string the
user supplies is always single quoted.

In code it would be something like this

QUOTE = '"'
USER.STRING = QUOTE:"0X'":SELCRIT:"'0X":QUOTE
ECMD := " WITH PART_NUM LIKE ":USER.STRING

Ed

-----Original Message-----
From: u2-users-bounces <at> listserver.u2ug.org
[mailto:u2-users-bounces <at> listserver.u2ug.org] On Behalf Of
Charles_Shaffer <at> ntn-bower.com
Sent: 01 April 2010 13:54
To: U2 Users List
Subject: [U2] SELECT Statement question

Here's an odd thing,  I have an app that allows the user to pass in a 
select criteria string that is used to find a string containing the
select 
criteria.  Like this.

ECMD = "SSELECT ":CP:" BY PART_NUM"
IF SELCRIT <> '' THEN
        ECMD := " WITH PART_NUM LIKE '...":SELCRIT:"...'" 
END
EXECUTE ECMD

(Continue reading)

Charles_Shaffer | 1 Apr 15:07 2010

Re: [U2] FTP Users in HP-UX

Do you get any error messages back when the ftp login fails?

Failing after rebooting made me think of a non-persistent route, except if 
you can telnet then that must not be it.
Still makes me wonder what was there before the reboot that wasn't there 
after?  Not sure about HP-UX, but on Ubuntu Linux you can verfiy that the 
ftp daemon is running with 

-bash-3.00# ps aux | grep ftpd

I get back.
root      2492  0.0  0.0  5568 1004 ?        S     2009   0:00 
/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root     17508  0.0  0.0  4076  648 pts/3    S+   08:00   0:00 grep ftpd

This shows the daemon is running and the configuration file used.

Is it possible that a fix was done to get ftp working, but the fix was not 
added to the config file to make it persistent?  I've never seen that with 
ftp, but I see it with routes a lot.

>> We have something strange happening with FTP on our UNIX box. We have
>> some users setup to FTP files from our windows server to the UNIX box.
>> They were working fine until we rebooted the UNIX server. Now none of
>> them have FTP access into the UNIX box. This was the first time the box
>> had been rebooted since setting them up. These logins can telnet in 
fine
>>
>> but cannot ftp.
>>
(Continue reading)

Charles_Shaffer | 1 Apr 15:23 2010

Re: [U2] FTP Users in HP-UX

Any chance anonymous logins are not allowed after the reboot?  Here is the 
line in the Ubuntu config.

# Allow anonymous FTP? (Beware - allowed by default if you comment this 
out).
anonymous_enable=YES

>> We have something strange happening with FTP on our UNIX box. We have
>> some users setup to FTP files from our windows server to the UNIX box.
>> They were working fine until we rebooted the UNIX server. Now none of
>> them have FTP access into the UNIX box. This was the first time the box
>> had been rebooted since setting them up. These logins can telnet in 
fine
>>
>> but cannot ftp.
>>
>> I have reviewed all the settings and believe they are all correct. I am
>> not a UNIX guru but know enough to be dangerous;) Wish there was a
>> setting up FTP for Dummies instruction manual. Any clues as to what may
>> be part of the puzzle I am missing?
>>
>> Hardware         : HP
>> Operating system : HP-UX
>> O.S. version     : B.11.00
>> UniData version  : 6.1.16
>>
>> Tom

Charles Shaffer
Senior Analyst
(Continue reading)


Gmane