• Welcome to Sitemap Generator Forum.
 

Error Opening Socket

Started by ray.rodenburgh, June 17, 2008, 03:22:06 PM

Previous topic - Next topic

ray.rodenburgh

Hello,

We just purchased 'Standalone Sitemap Generator' and installed/configured.
After installing, we received an error message which was "Error Opening Socket". We also tried to enter our server's IP address in advanced options on configuration. We are running on Linux/Apache server. Any help would be appreciated.

ray.rodenburgh

And port 80 in our web server has been already opened, we just confirmed with our web host.

ray.rodenburgh

Error message which I received:


ray.rodenburgh

"Another tip: you can also check phpinfo() on your server and find IP specified as _SERVER['SERVER_ADDR'] and enter it in sitemap generator settings."


First, thanks for your reply. I followed your tip, but it is not crawling pages still.  :-\


shop14

Had this problem too -  setting IP address to 127.0.0.1 made runcrawl work but it is crawling the wrong website

On shared (apache) server with PHP 5

config:-

[ ] brackets are not real data - my edits 

$grab_parameters = array(
'xs_inc_skip' => '\\.(pdf|doc|txt|rtf)',
'xs_exc_skip' => '\\.(zip|m4a|m4v|rar|tar|bz2|tgz|exe|gif|jpg|png|class|jar|mpeg|mpg|mp3|wav|mp4|avi|wmv|gz|mov|mid|ra|ram)',
'xs_proto_skip' => '(\\#|mms:|mailto:|https:|javascript:|ftp:|news:|aim:)',
'xs_exec_time' => '900',
'xs_cache' => '',
'xs_max_pages' => '0',
'xs_initurl' => 'http://www.[mydomain].co.uk',
'xs_freq' => 'daily',
'xs_lastmod' => '0',
'xs_lastmodtime' => '2005-06-30 19:35:14',
'xs_priority' => '0.5',
'xs_descpriority' => '0.8',
'xs_autopriority' => '1',
'xs_smname' => '/var/www/[homedir...]/sitemap.xml',
'xs_smurl' => 'http://www.[mydomain].co.uk/sitemap.xml',
'xs_gping' => '0',
'xs_yping' => '',
'xs_makehtml' => '1',
'xs_maketxt' => '1',
'xs_makeror' => '1',
'xs_makebase' => '0',
'xs_compress' => '0',
'xs_excl_urls' => '',
'xs_notconfigured' => '0',
'xs_login' => '',
'xs_password' => '',
'xs_savestate_time' => '180',
'xs_ipconnection' => '127.0.0.1',
'xs_portconnection' => '80',
'xs_sm_size' => '40000',
'xs_sm_text_filename' => '',
'xs_sm_text_url' => '',
'xs_cleanurls' => '',
'xs_usecurl' => '1',
'xs_robotstxt' => '1',
'xs_dumptype' => 'serialize',
'xs_cleanpar' => 'PHPSESSID|sid|osCsid',
'xs_chlogorder' => 'asc',
'xs_exclude_check' => '1',
'xs_dateformat' => 'Y, F j',
'xs_utf8' => '0',
'xs_allow_httpcode' => '200',
'xs_chlog' => '0',
'xs_htmlname' => '/var/www/[homedir...]/xml-sitemap/data/sitemap.html',
'xs_htmlpart' => '1000',
'htmlurl' => 'http://www.[mydomain].co.uk/xml-sitemap/data/sitemap.html',
'xs_max_depth' => '0',
'xs_memlimit' => '0',
'xs_delay_req' => '3',
'xs_delay_ms' => '3',
'xs_incl_urls' => '',
'xs_incl_only' => '',
'xs_ind_attr' => '',
'xs_email' => '',
'xs_metadesc' => '0',);

BUT I AM GETTING DATA FOR:-

/var/www/[FQDN_public_webdir]/

is there anyway of telling this software where to look in the server dir tree ?

this is a dedicated server and I have root access - i want to use this on more than one virtual host directory for each website eg:

/var/www/[THIS WEBSITE/homedir...]/xml-sitemap
/var/www/[ANOTHER WEBSITE/homedir...]/xml-sitemap
/var/www/[ANOTHER WEBSITE/homedir...]/xml-sitemap

and get the right data for each site

thanks







XML-Sitemaps Support

Hello,

sitemap generator opens websites via http, so it's not possible to specify the folder name. Did you try to set IP to _SERVER['SERVER_ADDR'] from phpinfo() as described above?

shop14

sitemap generator opens websites via http, so it's not possible to specify the folder name

- other packages (eg. awstats / webmail) ARE configurable for shared hosting environment - it simply requires another configuration option so apache server FQDN home directory is not crawled and another specified  virtual host home directory is crawled as default instead !

if i had the source code i could probably fix this problem - so maybe you can too ?

Did you try to set IP to _SERVER['SERVER_ADDR'] from phpinfo() as described above?

THAT is the problem - ALL the apache virtual servers will have the same IP address on a shared server !!

shop14

is it also possible that server php configuration requires modifying - eg. safe_mode etc. ?

let me know the required settings in php ini file for xml-sitemaps to work - the ones you have tested it on

i can change php settings for entire server if you think this is also required for runcrawl






XML-Sitemaps Support

Hello,

sitemap generator should work fine with default Apache/PHP configurations, no special options are required.

Can you provide temporary FTP access via PM to check this further?