[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] problem opening website


I ran ps aux and I got a whole list of stuff
here is a section of it where I found IC

root 3609 0.0 4.3 27176 11092 ? S Nov29 0:01 /usr/bin/python / root 3642 0.0 0.2 3764 612 ? Ss Nov29 0:00 xinetd -stayalive
interch   4188  0.0 11.4 34776 29164 ?       Ss   00:06   0:00 interchange
root 4970 0.0 1.7 11568 4380 ? S 04:02 0:00 /usr/sbin/snmpd - root 5508 0.1 0.8 7576 2080 ? Ss 07:40 0:00 sshd: suppressed/3 root 5510 0.0 0.3 3976 1016 ? Ss 07:40 0:00 /usr/libexec/open
root      5517  0.3  0.5  5744 1376 pts/3    Ss   07:40   0:00 -bash
root      5549  0.0  0.3  3024  768 pts/3    R+   07:40   0:00 ps aux

and it is ran by interch
there has to be something the I need to chmod or do something too.



I tried those two and they didn't work, here is what I got on the first one
suppressed ~]# /etc/init.d/interchange status
-bash: /etc/init.d/interchange: No such file or directory

Unless you have created your own start-up script you won't
have one (unless the rpm installs one?) These scripts are also
to be found in /etc/rc.d/init.d.

and the second one
suppressed ~]# ps -aux |grep interchange
Warning: bad syntax, perhaps a bogus '-'? See

Try just 'ps aux' or 'ps ax', though the result below shows it running.

/usr/share/doc/procps-3.2.3/FAQ
interch   3249  0.0 11.4 35588 29164 ?       Ss   Nov29   0:00 interchange
root      4174  0.0  0.2  4740  656 pts/3    S+   00:03   0:00 grep
interchange

so I restarted it and here is what it gave me

suppressed ~]# su -f -c /usr/local/interchange/bin/restart interch
Killing Interchange server 4180 with TERM.
Low traffic settings.
Calling UI......UI is loaded...
Interchange V5.3.0-200411290658
Running with new signals, external programs could be unreliable.
Re-run with environment variable PERL_SIGNALS set to "unsafe" to change
this.
Configuring catalog mystore...Using MySQL,
DSN=dbi:mysql:test_mystore...done.
Interchange server started in UNIX mode(s) (process id 4188)

As far as I can tell the server is running from what I am seeing
I still can go into the customer and admin entrance page, but I get the
normal We're sorry after that

Try changing your cgi link mode to 4755, and if that's no good
try just 755 - depending on your setup it may or may not need to
be suid. And ensure that it's owned by the Interchange user.
Also, you really should set your PERL_SIGNALS to unsafe as
the startup message suggests, else you will get all sorts of
intermittent and otherwise inexplicable failures. Adding:
$ENV{PERL_SIGNALS} = "unsafe";
into the top of bin/interchange, just after the #!/usr/bin/perl, will
do the trick.

Paul

HTH

-
Cheers
Lyn St George
+-----------------------------------------------------------------------------------
+ http://www.zolotek.net  eCommerce: develop, host, support
+-----------------------------------------------------------------------------------

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.