CGI shell access disabled 17/08
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- CGI shell access disabled 17/08
CGI shell access disabled 17/08
17-08-2009 10:43 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
[quote author="Service Status"]When's this work happening?
Today
What does it affect?
Shell access to our CGI hosting platform.
How long will it take?
We will announce further details regarding restoration of the service at a later date.
What does the work involve?
We are disabling SSH and telnet access whilst we investigate a recently identified problem with the platform.
Is it likely to cause problems?
Yes, you won't be unable to access the CGI platform via command line until further notice - http://usertools.plus.net/tutorials/id/18
Is there anything else I need to know?
You will still be able to access the platform using FTP and customers' websites will still be viewable via HTTP. We will post another announcement once we're in a position to be able to restore full access to the platform.
Kind Regards,
Bob Pullen
Customer Support
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: CGI shell access disabled 17/08
17-08-2009 3:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

[quote author="Service Status"]When's this work happening?
Is it likely to cause problems?
Yes, you won't be unable to access the CGI platform via command line until further notice - http://usertools.plus.net/tutorials/id/18
?
To argue with someone who has renounced the use of reason is like administering medicine to the dead - Thomas Paine
Re: CGI shell access disabled 17/08
19-08-2009 9:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
best wishes,
Doug
Re: CGI shell access disabled 17/08
22-08-2009 10:46 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Bob We are disabling SSH and telnet access whilst we investigate a recently identified problem with the platform.
Is it likely to cause problems?
Yes, you won't be unable to access the CGI platform via command line until further notice
I'd appreciate some help from anyone who has been able to populate a mysql table from a txt file (not csv) without using shell access.
About a year back, Kev Mawson kindly gave me the path for doing this on PAYH -
Quote LOAD DATA LOCAL INFILE '/var/www/vhosts/domain name/httpdocs/CHINESEtcvocab03.txt' INTO TABLE VOCABchinesetc01;
but I haven't yet been successful in executing any address-variables of such a query in the outer-database area of PHPMyAdmin, on the Force9 ccgi server.
I can import a csv file when a table is open (utf8, using CSV LOAD DATA) but all the data goes into the first column, generally (though some of the options cause it to go onto the full number of lines). I've tried numerous combinations of 'options' but nothing works as simply as a txt file imported via telnet (using a LOAD DATA LOCAL INFILE 'nameoffile.txt' INTO TABLE nameoftable; type of request).
Logic says there must be a direct filepath via which a txt file can be loaded (using php myadmin) into an emptied table, but I haven't been able to locate it and running out of time here. Currently need to populate tables for Indonesian, Urdu and Bulgarian, amongst others. I've uploaded the txt file to ccgi (Force 9) but I don't know how to tell mysql where it is (and have also tried a number of prefix variables like /files/home1/username/ without mysql having been able to locate the file). Haven't replicated things like the httpdocs in the original example because assume doesn't apply on ccgi.
Running out of ideas ^^ Any help would be much appreciated.
Regards,
Penny.
Project HappyChild - free educational resources for children + schools * my own [personal] webpage is at pennymidasrollo.plus.com
Re: CGI shell access disabled 17/08
23-08-2009 1:06 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
However I think running the command within a PHP program on CCGI should work.
The steps would be
(1) FTP the text file to the same directory as the PHP program
Within the PHP program
(2) Connect to the database
(3) $load_query = "LOAD DATA LOCAL INFILE 'nameoffile.txt' INTO TABLE nameoftable";
(4) $result = mysql_query($load_query);
(5) if ($result) {echo "table loaded successfully";}
else {echo "loading failed< br / >\n", mysql_error();}
Run the program in the browser as for a normal PHP program.
David
Re: CGI shell access disabled 17/08
23-08-2009 2:50 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: spraxyt I'm not sure that can be done within phpMyAdmin since I think "local" would refer to the MySQL server which is probably not the one where the file resides.
However I think running the command within a PHP program on CCGI should work.
Sheer genius

Barely ten minutes from reading your post, the data was loaded. Thank you sooo much.
I would probably never have thought of positioning the query where the txt file was located, rather than its intended destination. Entirely logical, though, thinking about it. Not that I would have known how to construct that query, either

Really appreciate your help.
Penny.
Project HappyChild - free educational resources for children + schools * my own [personal] webpage is at pennymidasrollo.plus.com
Re: CGI shell access disabled 17/08
24-08-2009 10:37 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Rgds,
Dave Hennings.
Re: CGI shell access disabled 17/08
24-08-2009 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: CGI shell access disabled 17/08
24-08-2009 11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: CGI shell access disabled 17/08
25-08-2009 9:09 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: CGI shell access disabled 17/08
25-08-2009 9:18 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: CGI shell access disabled 17/08
25-08-2009 11:11 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: CGI shell access disabled 17/08
25-08-2009 11:14 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: CGI shell access disabled 17/08
25-08-2009 11:37 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: CGI shell access disabled 17/08
25-08-2009 1:14 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Until now I've used MySQL Administrator & MySQL Query browser, I was going to give you the link and found it had been replaced by Workbench. I assumed it would work in a similar way. I've now downloaded workbench and seen your problem. Time for some research!
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- CGI shell access disabled 17/08