- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: CSWS 'listen setup failed' message
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 10:33 AM
тАО10-06-2006 10:33 AM
CSWS 'listen setup failed' message
No doubt this is another message that I should know but have forgotten over time; my work has taken me away from my favourite OS but
I'm fighting back :)
I'm setting up a CSWS 2.1 webserver (Alpha DS10) and it's giving me the classic socket creation message:
failed to get a socket for 0.0.0.0
Syntax error on line 156 of /apache$root/000000/conf/httpd.conf:
Listen setup failed
Line 156 is 'listen 80' as you would expect, in the unix world that message means something else is using port 80 but a "$tcpip show dev" doesn't give anything using port 80, also it doesn't seem to matter which line I use for the Listen directive, I get the same error.
I'm using the latest patches for VMS 7.3-2 and TCPIP 5.4 ECO6, and no doubt I'll be embarassed by the solution because I should've thought of it before posting.
cheers,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2006 11:36 AM
тАО10-06-2006 11:36 AM
Re: CSWS 'listen setup failed' message
a privilege (wrong user) problem?
If you can create the socket on a non-priv
port, say, 8080 instead of 80, that would be
a clue.
"Syntax error" is not what _I_ would have
said in this case, irregardful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 07:25 AM
тАО10-08-2006 07:25 AM
Re: CSWS 'listen setup failed' message
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 08:44 AM
тАО10-08-2006 08:44 AM
Re: CSWS 'listen setup failed' message
http://httpd.apache.org/
http://httpd.apache.org/docs/2.0/
http://httpd.apache.org/docs/2.0/configuring.html
http://httpd.apache.org/docs/2.0/configuring.html#syntax
I quote:
Directives in the configuration files are
case-insensitive, but arguments to
directives are often case sensitive.
I'm guessing that "80" was in the right case.
If it didn't understand "listen", my guess is
that it probably wouldn't be complaining
about failing to get a socket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 09:57 AM
тАО10-08-2006 09:57 AM
Re: CSWS 'listen setup failed' message
The 'listen' bit with a lower-L was my lazy typing, but I know that the directives aren't case-sensitive. I've tried using a non-priv port too, also in the normal state of affairs I'm using the SYSTEM account to start things running; after posting this I wondered if it was a DNS based problem, but BIND is working properly.
Also, I tried to start httpd after issuing a $set watch file/class=major and watched it reference both TCPIP$IPC_SHR and UCX$IPC_SHR which implies it's getting the same error from both of them......
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 08:45 PM
тАО10-12-2006 08:45 PM
Re: CSWS 'listen setup failed' message
yesterday I completely removed CSWS and PHP then installed 2.1-1 and PHP 1.3-update......and it started fine.
Reinstalled my customized copy of httpd.conf and.....it started fine?!
Now I'm having difficulty forcing apache to listen on port 8080 (Listen 8080 or Listen 0.0.0.0:8080) and neither of those lines work. Weird.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2006 12:28 AM
тАО10-13-2006 12:28 AM
Re: CSWS 'listen setup failed' message
Are you sure that you and the program are
looking at the same configuration file?
Any conflicting Port or VirtualHost stuff?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2006 10:37 AM
тАО10-17-2006 10:37 AM
Re: CSWS 'listen setup failed' message
$ httpd -tf apache$root:[conf]httpd.conf
[Tue Oct 17 23:27:49 2006] [crit] (57)socket is not connected : alloc_listener:
failed to get a socket for 0.0.0.0
Syntax error on line 156 of /apache$root/conf/httpd.conf:
Listen setup failed
Time to start stripping things out of that particular httpd.conf, I just *know* the answer will be something amazingly simple :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2012 04:27 AM
тАО09-25-2012 04:27 AM
Re: CSWS 'listen setup failed' message
bump!
I'm surprised I'm the only bloke to get this error in 6 years!
I now have exactly the same problem with VMS 8.4 and CSWS 2.2-1 on a BL860c I2
Nobody else seen this at all?
Cheers
Adrian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2012 05:42 AM
тАО10-11-2012 05:42 AM
Re: CSWS 'listen setup failed' message
After you resolved the CONF location issue did you try a different port?
Is it possible that something else is using port 80?